pith. sign in
def

fromReal

definition
show as:
module
IndisputableMonolith.Foundation.RealsFromLogic
domain
Foundation
line
76 · github
papers citing
none yet

plain-language theorem explainer

fromReal supplies the forward transport that embeds any Mathlib real into the recovered real line LogicReal built from logic-derived rationals. Foundation researchers cite it whenever they need to move a standard analysis result into the Recognition Science setting for later transport back via toReal. The definition is a one-line wrapper that invokes the symmetric comparison equivalence on the Bourbaki completion.

Claim. The map $f : {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R} {R}

background

LogicReal is the wrapper structure around Mathlib's Bourbaki completion of ℚ, using the equivalence LogicRat ≃ ℚ recovered earlier in RationalsFromLogic. The wrapper isolates the completion so that algebraic instances on the standard reals are not globally polluted while still allowing reuse of Mathlib's completed theorems. The module RealsFromLogic therefore adopts a transport-first design: toReal and fromReal move data between the recovered line and the standard line, after which order and field operations are pulled back along toReal.

proof idea

The definition is a one-line wrapper that applies the symmetric form of CompareReals.compareEquiv to the input real, then packages the result inside the LogicReal constructor.

why it matters

fromReal completes the bidirectional transport pair in the reals-recovery layer and is invoked by every transcendental definition (expL, logL, coshL, cosL, piL) as well as by fromComplex. It therefore lets the Recognition framework import standard real analysis results without re-proving them inside the logic-derived setting. The step sits between the LogicRat ≃ ℚ equivalence and the later phi-ladder constructions that rely on real-valued functions.

Switch to Lean above to see the machine-checked source, dependencies, and usage graph.