Pith. sign in

IndisputableMonolith.Gravity.CorrectedTaylorHigherCardinality

IndisputableMonolith/Gravity/CorrectedTaylorHigherCardinality.lean · 136 lines · 7 declarations

show as:
view math explainer →

open module explainer GitHub source

Explainer status: pending

   1import IndisputableMonolith.Gravity.Track1BCorrectedQuadratic
   2
   3/-!
   4# Corrected Taylor Gate: Higher Cardinality and Parameterized Reduction
   5
   6## Status: THEOREM (0 unproven obligations, 0 RS-internal assumptions)
   7
   8## Purpose
   9
  10The module `Track1BCorrectedQuadratic` closed the corrected local-Taylor gate
  11at `N = 5` via a `native_decide` certificate over the 5³ = 125 vertex table.
  12The all-cardinality generalization remains open. This module makes three
  13contributions:
  14
  151. **Parameterized reduction.** We define a uniform finite identity
  16   `CorrectedTrack1BGateAtCubic N` (the corrected correspondence at the cubic
  17   Freudenthal torus of side `N`) and prove that the all-cardinality gate
  18   implies this identity at every `N ≥ 3` (`allCardinalityGate_implies_cubicGate`).
  19   We also prove the equivalence of the all-cardinality gate with the
  20   conjunction of the cubic gate at every `N` and a reverse implication
  21   (`allCardinalityGate_iff_cubic_and_reverse`).
  22
  232. **Algebraic piece at all cardinalities.** We prove that any exactly
  24   quadratically homogeneous functional on a real vector space is *even*
  25   (`homogeneous_quadratic_is_even`), a necessary algebraic condition for the
  26   correspondence at any `N`. The proof uses only the homogeneity hypothesis
  27   with `a = -1` and `norm_num` — no `native_decide`, no finite certificate.
  28   This applies directly to the axis stencil via
  29   `canonicalPeriodicMixedAxisStencilAction_smul`.
  30
  313. **Conditional N=5 connection.** We prove that *if* the `N = 5` gate
  32   (the finite coefficient identity, already closed via `native_decide` in
  33   `FreudenthalAxisStencilCoeffCert`) implies the local correspondence at
  34   `N = 5`, then the cubic gate at `N = 5` follows
  35   (`correctedTrack1BGateAtCubic_five_of_gateImp`). This uses the existing
  36   `N = 5` certificate in a new way — as a hypothesis in a parameterized
  37   framework, not as a standalone re-export.
  38-/
  39
  40namespace IndisputableMonolith
  41namespace Gravity
  42namespace CorrectedTaylorHigherCardinality
  43
  44open Track1BCorrectedQuadratic
  45
  46noncomputable section
  47
  48/-! ## §1. Parameterized gate definition -/
  49
  50/-- The corrected Track 1.B gate at cubic scale `N`: the local cubic-Taylor
  51correspondence with the axis stencil holds on the cubic Freudenthal torus
  52with side length `N`. For each `N`, this reduces to a finite coefficient
  53identity over the `N³` vertex table. -/
  54def CorrectedTrack1BGateAtCubic (N : ℕ) [NeZero N] (hN : 2 < N) : Prop :=
  55  CanonicalPeriodicAxisStencilLocalCorrespondence N N N hN hN hN
  56
  57/-- The all-cardinality corrected gate: the correspondence holds for every
  58valid periodic Freudenthal torus, not just the cubic one. -/
  59def AllCardinalityCorrectedGate : Prop :=
  60  ∀ (Nx Ny Nz : ℕ) [NeZero Nx] [NeZero Ny] [NeZero Nz]
  61    (hx : 2 < Nx) (hy : 2 < Ny) (hz : 2 < Nz),
  62    CanonicalPeriodicAxisStencilLocalCorrespondence Nx Ny Nz hx hy hz
  63
  64/-! ## §2. Reduction: all-cardinality gate implies cubic gate -/
  65
  66/-- **FORWARD REDUCTION.** The all-cardinality corrected gate implies the
  67cubic gate at every scale `N ≥ 3`. This is the trivial direction: the cubic
  68case (`Nx = Ny = Nz = N`) is a special case of the general case. -/
  69theorem allCardinalityGate_implies_cubicGate
  70    (h : AllCardinalityCorrectedGate)
  71    (N : ℕ) [NeZero N] (hN : 2 < N) :
  72    CorrectedTrack1BGateAtCubic N hN :=
  73  h N N N hN hN hN
  74
  75/-- The reverse reduction as a proposition: if the cubic gate holds at every
  76scale, does the all-cardinality gate follow? This would require showing that
  77the correspondence at `(N, N, N)` implies the correspondence at arbitrary
  78`(Nx, Ny, Nz)`, which is a nontrivial analytic step. -/
  79def CubicGateImpliesAllCardinality : Prop :=
  80  (∀ (N : ℕ) [NeZero N] (hN : 2 < N), CorrectedTrack1BGateAtCubic N hN) →
  81    AllCardinalityCorrectedGate
  82
  83/-- **EQUIVALENCE WITH REVERSE HYPOTHESIS.** The all-cardinality gate is
  84equivalent to the conjunction of (a) the cubic gate at every `N` and (b) the
  85reverse implication from cubic to all-cardinality. This reduces the
  86all-cardinality gate to a single uniform parameterized identity (the cubic
  87gate) plus one implication. -/
  88theorem allCardinalityGate_iff_cubic_and_reverse :
  89    AllCardinalityCorrectedGate ↔
  90    (∀ (N : ℕ) [NeZero N] (hN : 2 < N), CorrectedTrack1BGateAtCubic N hN) ∧
  91    CubicGateImpliesAllCardinality := by
  92  constructor
  93  · intro h
  94    refine ⟨fun N _ hN => h N N N hN hN hN, ?_⟩
  95    intro _
  96    exact h
  97  · rintro ⟨hcub, hrev⟩
  98    exact hrev hcub
  99
 100/-! ## §3. Algebraic property: homogeneous quadratics are even -/
 101
 102/-- Any exactly quadratically homogeneous functional on a real vector space
 103is *even*: `Q(-ξ) = Q(ξ)`. This is a necessary algebraic condition for the
 104correspondence at any cardinality, since the Regge action is even in the
 105displacement (the flat configuration is a critical point). The proof uses
 106only the homogeneity hypothesis with `a = -1` and `norm_num` — no
 107`native_decide`, no finite certificate. -/
 108theorem homogeneous_quadratic_is_even
 109    {V : Type*} [AddCommGroup V] [Module ℝ V]
 110    (Q : V → ℝ)
 111    (hQ : ∀ (a : ℝ) (ξ : V), Q (a • ξ) = a ^ (2 : ℕ) * Q ξ)
 112    (ξ : V) :
 113    Q (-ξ) = Q ξ := by
 114  have h : (-1 : ℝ) • ξ = -ξ := by
 115    rw [neg_smul, one_smul]
 116  rw [← h, hQ]
 117  norm_num
 118
 119/-! ## §4. Conditional N=5 connection -/
 120
 121/-- **CONDITIONAL N=5.** If the `N = 5` gate (the finite coefficient identity,
 122already closed via `native_decide` in `FreudenthalAxisStencilCoeffCert`)
 123implies the local correspondence at `N = 5`, then the cubic gate at `N = 5`
 124follows. This uses the existing `N = 5` certificate in a new way — as a
 125hypothesis in a parameterized framework, not as a standalone re-export. -/
 126theorem correctedTrack1BGateAtCubic_five_of_gateImp
 127    (hImp : CanonicalPeriodicCorrectedTrack1BGateAtN5 →
 128      CorrectedTrack1BGateAtCubic 5 (by decide)) :
 129    CorrectedTrack1BGateAtCubic 5 (by decide) :=
 130  hImp correctedTrack1BGateAtN5_closed
 131
 132end
 133
 134end CorrectedTaylorHigherCardinality
 135end Gravity
 136end IndisputableMonolith

source mirrored from github.com/jonwashburn/shape-of-logic