logo
In [1]:
import proveit
theory = proveit.Theory() # the theorem's theory
from proveit import defaults
from proveit.logic import InSet
from proveit.numbers import Real
from proveit.physics.quantum.QPE import _phase_is_real, _two_pow_t_is_nat_pos
In [2]:
%proving _delta_b_is_real
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
_delta_b_is_real:
(see dependencies)
In [3]:
defaults.assumptions = _delta_b_is_real.all_conditions()
defaults.assumptions:
In [4]:
from proveit.physics.quantum.QPE import _delta_b_def
_delta_b_def
In [5]:
_delta_b_def_inst = _delta_b_def.instantiate()
_delta_b_def_inst:  ⊢  
In [6]:
InSet(_delta_b_def_inst.rhs, Real).prove()
In [7]:
%qed
proveit.physics.quantum.QPE._delta_b_is_real has been proven.