def
definition
toReal
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Support.RungFractions on GitHub at line 34.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
PhiInt -
toComplex -
toComplex_im -
toComplex_ofLogicReal -
toComplex_re -
toComplex_re_eq -
coshL -
cosL -
expL -
expL_logL -
logL -
rpowL -
sinhL -
sinL -
sqrtL -
toReal_coshL -
toReal_cosL -
toReal_expL -
toReal_logL -
toReal_piL -
toReal_rpowL -
toReal_sinhL -
toReal_sinL -
toReal_sqrtL -
eq_iff_toReal_eq -
equivReal -
fromReal_toReal -
le_iff_toReal_le -
logicReal_recovered_from_completion -
lt_iff_toReal_lt -
toReal -
toReal_add -
toReal_div -
toReal_fromReal -
toReal_inv -
toReal_mul -
toReal_neg -
toReal_ofLogicRat -
toReal_ofRatCore -
toReal_one
formal source
31@[simp] def half (k : ℤ) : Rung := (k : ℚ) / 2
32
33/-- Convert a rational rung to a real exponent (for `Real.rpow`). -/
34@[simp] def toReal (r : Rung) : ℝ := (r : ℝ)
35
36theorem quarter_eq (k : ℤ) : quarter k = (k : ℚ) / 4 := rfl
37theorem half_eq (k : ℤ) : half k = (k : ℚ) / 2 := rfl
38
39end RungFractions
40end Support
41end IndisputableMonolith