logo
In [1]:
import proveit
theory = proveit.Theory() # the theorem's theory
from proveit import defaults, x
from proveit.numbers.rounding import ceil_is_an_int
In [2]:
%proving ceil_of_real_is_real
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
ceil_of_real_is_real:
(see dependencies)
ceil_of_real_is_real may now be readily provable (assuming required theorems are usable).  Simply execute "%qed".
In [3]:
defaults.assumptions = ceil_of_real_is_real.conditions
defaults.assumptions:
In [4]:
ceil_is_an_int
In [5]:
ceil_is_an_int.instantiate({x:x})
In [6]:
%qed
proveit.numbers.rounding.ceil_of_real_is_real has been proven.