IndisputableMonolith.RRF.Foundation.SelfReference
The SelfReference module supplies definitions for type-checkable Lean code and self-referential structures inside the RRF Foundation. It introduces predicates such as isRecognized to capture code that refers to itself while remaining formally verifiable. Researchers formalizing the MetaPrinciple axiom cite it when grounding self-reference as the starting point for deriving constants from phi. The module contains only definitions and no proof obligations.
claimDefinitions for LeanCode (type-checkable code), SelfReferentialCode, isRecognized (recognition predicate), RRFDescription, currentRRF, MetaRRF, thisFile, FormalizationAsOctave, and rrf_is_fixed_point.
background
The module forms part of the foundational layer of the Reality Recognition Framework. It imports only Mathlib.Data.Real.Basic and introduces sibling definitions that formalize self-reference: LeanCode as verifiable Lean expressions, SelfReferentialCode as structures that name themselves, and isRecognized as the predicate asserting successful recognition. The parent RRF.Foundation module collects these pieces to state the single MetaPrinciple axiom together with constants derived from phi and a double-entry ledger.
proof idea
this is a definition module, no proofs
why it matters in Recognition Science
Supplies the self-referential scaffolding required by the RRF.Foundation module, which states the MetaPrinciple as the single foundational axiom and derives physical constants from phi. It supports the Recognition Science chain by providing the formal objects that later steps use to reach the eight-tick octave and D=3.
scope and limits
- Does not contain any theorem statements or proofs.
- Does not derive physical constants or the ledger.
- Does not state the MetaPrinciple axiom itself.
- Does not import other RRF modules or physics-specific libraries.
used by (1)
declarations in this module (22)
-
structure
LeanCode -
inductive
TypeCheckResult -
structure
SelfReferentialCode -
def
isRecognized -
structure
RRFDescription -
def
currentRRF -
structure
MetaRRF -
def
thisFile -
structure
FormalizationAsOctave -
def
rrfFormalizationOctave -
structure
DescriptiveFixedPoint -
def
rrf_is_fixed_point -
theorem
rrf_fixed_point_exists -
structure
InternalConsistency -
def
rrf_internally_consistent -
theorem
internal_consistency_exists -
structure
CompilationAsRecognition -
def
this_is_recognition -
theorem
recognition_event_exists -
structure
SelfReferenceComplete -
def
self_reference_complete -
theorem
self_reference_witnessed