logo

Axioms for the theory of proveit.numbers.divisibility

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 x, y
from proveit.logic import Equals, Exists, Forall, InSet
from proveit.numbers import Integer
from proveit.numbers import Divides, frac
In [2]:
%begin axioms
Defining axioms for theory 'proveit.numbers.divisibility'
Subsequent end-of-cell assignments will define axioms
%end_axioms will finalize the definitions
In [3]:
divides_def = Forall(
        (x, y),
        Equals(Divides(x, y), InSet(frac(y, x), Integer)))
divides_def:
In [4]:
%end axioms
These axioms may now be imported from the theory package: proveit.numbers.divisibility