LeanProofs.Rosetta.GeometricMemoryCertificate
DefinitionGrade4_LeanProofs_Rosetta_GeometricMemoryCertificateclifford-algebraleanproofs-grade4rosetta
Foundational definitions and structural lemmas from LeanProofs.Rosetta.GeometricMemoryCertificate, required by the selected LeanProofs theorem graph.
Definition code
import Definitions.Def_Grade4_LeanProofs_Rosetta_CascadeCertificate import Definitions.Def_Grade4_LeanProofs_Rosetta_CartanCubicInvariant import Definitions.Def_Grade4_LeanProofs_Rosetta_OrientationEvenCubicNoGo import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.Linarith import Mathlib.Tactic.NormNum namespace LeanProofsGrade4P2M /-! # Finite geometric-memory certificate This module contains Level-A real-algebra and finite-stage certificates. The three coordinate types below deliberately prevent a raw quadratic invariant, a raw cubic invariant, and a normalized signed memory coordinate from being silently interchanged. A normalization scale is explicit model data. The primary declared historical pair interaction is exactly `-(J / 9) I3_left I3_right` on raw cubic coordinates. A normalized-coordinate version is separate, and its coupling conversion records both normalization scales explicitly. Neither interaction is derived here from a Clifford rotor overlap or identified with the formal sixth-order coefficient in `OrientationEvenCubicNoGo`. In particular, an exact cosine/product overlap and a finite Taylor coefficient remain different objects unless a separate remainder theorem relates them. The first finite cascade stage below has a genuinely nonzero signed residual, which its `nextStage` passes exactly to a pair-interaction stage. It therefore cannot inhabit the old `CascadeCertificate`, whose definition requires every evolved residual to be zero. A separate zero-residual retained-output stage is kept as an architectural control. Nothing in this module supplies a physical map between length scales or identifies either finite handoff with a dynamical cascade. -/ noncomputable section namespace Rosetta.GeometricMemory open Rosetta.CartanCubic open Rosetta.OrientationEvenCubic open CascadeAudit /-! ## Typed invariant and memory coordinates -/ /-- Raw quadratic invariant coordinate; not a normalized memory coordinate. -/ structure RawI2 where value : ℝ deriving DecidableEq /-- Raw signed cubic invariant coordinate; not its square or normalization. -/ structure RawI3 where value : ℝ deriving DecidableEq /-- Declared normalized signed orientation-memory coordinate. -/ structure NormalizedP where value : ℝ deriving DecidableEq /-! ## Exact declared pair interaction -/ /-! ## `I2`-only non-factorization -/ /-! ## Finite derived-pair handoff with a certified zero residual -/ namespace OrientationMemory end OrientationMemory namespace PairSymmetry end PairSymmetry namespace PairRelation end PairRelation /-! ### Honest nonzero signed-residual handoff -/ /-- Finite signed cubic memory with a distinct structural zero. `some true` and `some false` represent the two nonzero orientation memories. -/ abbrev FiniteSignedCubic := Option Bool instance finiteSignedCubicZero : Zero FiniteSignedCubic := ⟨none⟩ namespace FiniteSignedCubic end FiniteSignedCubic end Rosetta.GeometricMemory end end LeanProofsGrade4P2M
Source