structure
definition
RRFDescription
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.RRF.Foundation.SelfReference on GitHub at line 60.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
formal source
57/-! ## The Meta-RRF Structure -/
58
59/-- A description of the RRF in Lean. -/
60structure RRFDescription where
61 /-- Core definitions exist.
62 Witnessed by golden ratio φ. -/
63 core_witness : ℝ
64 /-- Theorems are proved. -/
65 theorem_count : ℕ
66 /-- Models exist (consistency). -/
67 model_witness : Nonempty (ℝ → ℝ)
68 /-- Hypotheses are explicit. -/
69 hypothesis_count : ℕ
70
71/-- The current RRF formalization. -/
72def currentRRF : RRFDescription := {
73 core_witness := IndisputableMonolith.Foundation.φ,
74 theorem_count := 10, -- Approximate count
75 model_witness := ⟨IndisputableMonolith.Cost.Jcost⟩,
76 hypothesis_count := 5
77}
78
79/-- The Meta-RRF: the framework describing itself. -/
80structure MetaRRF where
81 /-- The subject (the RRF). -/
82 subject : RRFDescription
83 /-- The description (this Lean code). -/
84 description : LeanCode
85 /-- The description is valid.
86 Witnessed by compilation success. -/
87 description_compiles : TypeCheckResult
88
89/-- This file is a MetaRRF. -/
90def thisFile : MetaRRF := {