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 import a, b, c, f, k, x, fa, fb, fx, alpha
from proveit.core_expr_types import alpha_k
from proveit.logic import Forall, Equals
from proveit.numbers import Add, Exp, Less, LessEq, Mult, number_ordering, subtract, Sum
from proveit.numbers import one, Interval, Integer
```

In [2]:

```
%begin axioms
```

In [3]:

```
sum_single = Forall(f,
Forall(a,
Equals(Sum(x, fx, domain=Interval(a,a)), fa),
domain=Integer)
)
```

In [4]:

```
sum_split_last = (
Forall(f,
Forall((a, b),
Equals(Sum(x, fx, domain=Interval(a, b)),
Add(Sum(x, fx, domain=Interval(a, subtract(b, one))), fb)),
domain = Integer,
conditions = [Less(a, b)])
))
```

In [5]:

```
breakup_sum = Forall(
(a, b, c),
Forall((alpha),
Equals(
Sum(k, alpha_k, domain=(Interval(a, c))),
Add(Sum(k, alpha_k, domain=(Interval(a, b))),
Sum(k, alpha_k, domain=(Interval(Add(b, one), c)))))),
domain = Integer,
conditions=[number_ordering(LessEq(a, b), LessEq(b, c))])
```

In [6]:

```
%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.