def
definition
canonicalLayerSysPlus
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.Algebra.RecognitionCategory on GitHub at line 752.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
formal source
749
750/-- The canonical linked system built from the verified cost, `φ`, ledger, and
751 octave layers. -/
752noncomputable def canonicalLayerSysPlus (n : ℕ) : LayerSysPlusObj n where
753 costLayer := canonicalCostAlgebra
754 phiLayer := canonicalPhiRingObj
755 ledgerLayer := canonicalLedgerAlgObj n
756 octaveLayer := canonicalOctaveAlgObj
757 bridge_cost_phi := by
758 simpa [canonicalCostAlgebra] using PhiRing.J_at_phi
759 bridge_phi_octave := OctaveAlgebra.modeToken_card
760
761/-! ## §5. Functors to Domain Algebras -/
762
763/-- A **domain instance** is a functor from RecAlg to a specific domain.
764 Each domain algebra (qualia, ethics, semantics, etc.) is obtained by
765 applying such a functor to the canonical Recognition Algebra. -/
766structure DomainInstance where
767 /-- Name of the domain -/
768 name : String
769 /-- The state space of this domain -/
770 stateType : Type
771 /-- How to embed cost into domain-specific measurement -/
772 costEmbed : ℝ → ℝ
773 /-- The embedding preserves ordering (monotone) -/
774 monotone : ∀ a b : ℝ, a ≤ b → costEmbed a ≤ costEmbed b
775
776/-- **Qualia domain instance**: strain = phase_mismatch × J(intensity) -/
777noncomputable def qualiaDomain : DomainInstance where
778 name := "Qualia (ULQ)"
779 stateType := Unit -- Placeholder for actual qualia state
780 costEmbed := fun j => j -- Identity embedding (J-cost IS qualia strain)
781 monotone := fun _ _ h => h
782