In [1]:

```
import proveit
# Prepare this notebook for defining the axioms of a theory:
%axioms_notebook # Keep this at the top following 'import proveit'.
from proveit.logic import TRUE, FALSE, Not, Or, Equals, Forall, in_bool
from proveit import A, B, n, m
from proveit.core_expr_types import B_1_to_n, A_1_to_m
from proveit.numbers import Natural
```

In [2]:

```
%begin axioms
```

In [3]:

```
or_t_t = Equals(Or(TRUE, TRUE), TRUE)
```

In [4]:

```
or_t_f = Equals(Or(TRUE, FALSE), TRUE)
```

In [5]:

```
or_f_t = Equals(Or(FALSE, TRUE), TRUE)
```

In [6]:

```
or_f_f = Equals(Or(FALSE, FALSE), FALSE)
```

In [7]:

```
left_in_bool = Forall((A, B), in_bool(A), conditions=[in_bool(Or(A, B))])
```

In [8]:

```
right_in_bool = Forall((A, B), in_bool(B), conditions=[in_bool(Or(A, B))])
```

In [9]:

```
empty_disjunction = Not(Or()) # base case
```

In [10]:

```
multi_disjunction_def = \
Forall(m, Forall((A_1_to_m, B),
Equals(Or(A_1_to_m, B), Or(Or(A_1_to_m), B)).with_wrapping_at(2)),
domain=Natural)
```

In [11]:

```
%end axioms
```

These web pages were generated on 2023-08-23 by Prove-It Beta Version 0.3, licensed under the GNU Public License by Sandia Corporation.

Presented proofs are not absolutely guaranteed. For assurance, it is important to check the structure of the statement being proven, independently verify the derivation steps, track dependencies, and ensure that employed axioms are valid and properly structured. Inconsistencies may exist, unknowingly, in this system.

This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research, under the Quantum Computing Application Teams program. Sandia National Labs is managed and operated by National Technology and Engineering Solutions of Sandia, LLC, a subsidiary of Honeywell International, Inc., for the U.S. Dept. of Energy's NNSA under contract DE-NA0003525. The views expressed above do not necessarily represent the views of the DOE or the U.S. Government.

Please send questions/comments to: wwitzel@sandia.gov.