pith. sign in
def

embed

definition
show as:
module
IndisputableMonolith.Foundation.ArithmeticFromLogic
domain
Foundation
line
556 · github
papers citing
8 papers (below)

plain-language theorem explainer

The embed definition recursively maps LogicNat, the inductive type of naturals forced by the Law of Logic, into the positive reals by sending the identity constructor to 1 and each step constructor to multiplication by the value of a non-trivial Generator γ. Researchers deriving arithmetic primitives from functional equations cite this construction when realizing abstract orbits as concrete positive-real sequences. The definition is a direct pattern match on the two constructors of LogicNat with no auxiliary lemmas.

Claim. Let γ be a Generator (positive real value ≠ 1). The map embed(γ) : LogicNat → ℝ is defined by embed(γ)(identity) = 1 and embed(γ)(step n) = γ.value ⋅ embed(γ)(n).

background

In the ArithmeticFromLogic module the Law of Logic is treated as a functional equation that forces an inductive type LogicNat whose constructors identity and step mirror the orbit {1, γ, γ², …} inside ℝ₊. A Generator is the structure carrying a positive real value distinct from 1, extracted from the non_trivial witness of SatisfiesLawsOfLogic. The module imports LogicAsFunctionalEquation, so the local setting is the translation of logical comparison into arithmetic operations on positive reals.

proof idea

This is a recursive definition by pattern matching on the constructors of LogicNat. The identity case returns the constant 1; the step case multiplies the generator value by the recursive call. No tactics or lemmas are invoked; the definition itself supplies the required unfolding.

why it matters

Embed supplies the concrete numerical realization of LogicNat that is presupposed by the downstream theorems embed_add (multiplicative homomorphism), embed_eq_pow (identification with γ.value raised to toNat), and embed_injective (distinct LogicNat map to distinct reals). These results in turn feed DomainInstance functors and CoarseGrain constructions. The definition therefore closes the bridge from the abstract orbit forced by the Law of Logic to the positive-real arithmetic used throughout the Recognition framework.

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