logo
In [1]:
import proveit
theory = proveit.Theory() # the theorem's theory
from proveit.logic import InSet
from proveit.numbers import Integer
from proveit.physics.quantum.QPE import _best_floor_def
from proveit.physics.quantum.QPE import _phase_is_real, _two_pow_t_is_nat_pos
In [2]:
%proving _best_floor_is_int
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
_best_floor_is_int:
(see dependencies)
In [3]:
_best_floor_def
In [4]:
InSet(_best_floor_def.rhs, Integer).prove()