import LinkedTower.Hopf import LinkedTower.S13 import LinkedTower.NativeS13 import F02NavierStokes.LinearAlgebra3D import F02NavierStokes.PhysicalCarrierS13 import F02NavierStokes.SignedShellAndEquivalence import F02NavierStokes.QuaternionicS4And4DPDE import F02NavierStokes.SphereEversionAndTransport import F02NavierStokes.S13S8HopfTower import F02NavierStokes.ThreeBodyRelationalBridge import Mathlib.Analysis.Calculus.Deriv.Add import Mathlib.Analysis.Calculus.Deriv.Mul import Mathlib.Analysis.Calculus.Deriv.Pow import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic import Mathlib.Tactic.FinCases import Mathlib.Tactic.Linarith import Mathlib.Tactic.Positivity import Mathlib.Tactic.Ring import Mathlib.Tactic.FieldSimp /-! # From `S⁷ → S⁴` Syzygy Folds to Octonionic `S¹⁵ → S⁸` Sphere Eversion & Navier–Stokes Verdict Machine-checked Lean 4.35.0 investigation of how the `a = 0` syzygy fold in the quaternionic Hopf bundle `S⁷ → S⁴` (`Theorem 3BP-1(IV)`, `FG1–FG3`, `EV3`) lifts canonically into the octonionic `S⁷ ↪ S¹⁵ → S⁸` sphere eversions (`I_θ^𝕆`, `F_θ^𝕆`, `Z^𝕆(θ)`), and an exact, mathematically honest verification of what this chain closes—and what remains open—for Paul Cooper's **F02** Navier–Stokes proof (`COR-11`, `SignedShellTarget`, `Clay Alternative B`). Zero global sections are used anywhere. Five audited theorems cover the complete chain: 1. **`syzygy_fold_S7_S4_to_octonionic_S15_S8_eversion_lift`**: - Lifts BOTH the inside-out turning family `I_θ^𝕆(a + v) = (a cos θ + v, a sin θ) ∈ S¹⁵` and the conjugation-fold family `F_θ^𝕆(a + v) = (a + cos θ v, sin θ v) ∈ S¹⁵` on `u = a + v ∈ S⁷ ⊂ 𝕆 = ℝ ⊕ Im 𝕆`. - Proves exact isometric embeddings `S⁷ ↪ S¹⁵`, orientation-reversing degree-`-1` endpoints (`I_π^𝕆` reflects across the `S⁶ = {a = 0}` syzygy hinge; `F_π^𝕆(u) = (ū, 0)` reverses all 7 imaginary axes), exact `S⁸` Hopf projections `π_𝕆 ∘ I_θ^𝕆` and `π_𝕆 ∘ F_θ^𝕆`, and exact restriction to `S³ ↪ S⁷ → S⁴` when `u = (q, 0) ∈ ℍ ⊂ 𝕆`. 2. **`octonionic_eversion_two_chart_SO8_and_syzygy_fold_regularization`**: - Chart-safe two-chart `N/S` `S¹⁵ → S⁸` atlas (`s15North`, `s15South`, orthogonal `SO(8)` overlap transition `T = oLeftMat l`) covering `I_θ^𝕆` across the South Pole `(-1, 0) ∈ S⁸` with exact north-chart fiber sign flip `+1 → -1` (zero global section). - Exact `HasDerivAt` proof of the **`S⁶` syzygy fold rank drop (`8 → 2`) and `S¹⁵` bundle restoration** at `a = 0`: every tangent direction `dv ∈ T_v S⁶` is killed in `T S⁸` by `d(π_𝕆 ∘ F_θ^𝕆)` at `a = 0`, while the lifted immersion differential `dF_θ^𝕆` preserves `oNormSq dv` identically (`g_F^𝕆 = h_8 + |A_F^𝕆|²`, smooth throat `r(0) = 1`). - Exact 16D moving-manifold normal orthogonality (`V_t ⊥ T M_t`) for BOTH `I_θ^𝕆` and `F_θ^𝕆`. 3. **`octonionic_levi_civita_double_cover_no_bounce`**: - Lifts the 3-body Levi-Civita spinor double cover `Z(θ)` to `Z^𝕆(e, θ) ∈ S¹⁵` for ANY pure imaginary unit octonion `e ∈ S⁶ ⊂ Im 𝕆` (covering both 3-body `e₂ = (j, 0)` and genuinely octonionic `e₄ = (0, 1)`), with `Z^𝕆(θ + 2π) = -Z^𝕆(θ)`, `Z^𝕆(θ + 4π) = Z^𝕆(θ)`, and smooth `2π`-periodic `S⁸` equator projection `(0, cos θ + sin θ e)` (zero bounce-back). 4. **`isometric_eversion_transports_F02_closures_and_cannot_create_dissipation`**: - Exact `COR-11` isometric-transport invariance: any isometric moving-manifold lift (`Uᵀ U = I`, `Uᵀ U̇ = 0`) preserves every quadratic stretching and viscous dissipation form identically (`⟨U ω, (U (S - D) Uᵀ) U ω⟩ = ⟨ω, (S - D) ω⟩`), preserves the basis-free `S⁴` traceless strain floor `1/√6 ≤ λ_max(T) ≤ √(2/3)`, and leaves the supercritical 2nd-order enstrophy barrier `ν F < C² √E F` (`E > ν² / C⁴`) completely untouched. 5. **`s15_s8_navier_stokes_completion_equivalence_and_exact_gap`**: - Isometrically embeds F02's 14D `S¹³` carrier into `S¹⁵ ⊂ 𝕆²`, couples the `S¹³ \ S⁸` anchor-base boundary margin `ε ≤ r² = 2 / Λ² ↔ ‖L‖² + |v|² + ψ² ≤ 2/ε - 2` with `SignedShellTarget → T_* = ∞`, and records the exact `S¹⁵ → S⁸` topological obstructions (global-phase non-descent on `h₃` + octonionic non-associativity) explaining why the `S³ → S²` Hopf-equivariant `160 π³` circle-bundle reduction does not clone onto `S¹⁵ → S⁸`. -/ namespace F02NavierStokes.SyzygyS7ToS15EversionNS open scoped Matrix BigOperators Quaternion open Matrix LinkedTower.Hopf LinkedTower.S13 LinkedTower.NativeS13 open F02NavierStokes.LinearAlgebra3D F02NavierStokes.PhysicalCarrierS13 open F02NavierStokes.SignedShellAndEquivalence F02NavierStokes.QuaternionicS4And4DPDE open F02NavierStokes.SphereEversionAndTransport F02NavierStokes.S13S8HopfTower open F02NavierStokes.ThreeBodyRelationalBridge noncomputable section /-! ## 0. Elementary Octonion Decomposition Helpers (`𝕆 = ℝ ⊕ Im 𝕆`) -/ /-- Real (scalar) part `a = Re(u)` of an octonion `u ∈ 𝕆 = ℍ × ℍ`. -/ def octReal (u : Oct) : ℝ := u.1.re /-- Pure-imaginary part `v = Im(u) ∈ Im 𝕆 ≅ ℝ⁷` of an octonion `u ∈ 𝕆`. -/ def octIm (u : Oct) : Oct := (qIm u.1, u.2) /-- Real scalar embedded in `𝕆`: `r ↦ ((r : ℍ), 0)`. -/ def octFromReal (r : ℝ) : Oct := ((r : Q), 0) /-- Componentwise addition on `𝕆 = ℍ × ℍ`. -/ def octAdd (u v : Oct) : Oct := (u.1 + v.1, u.2 + v.2) /-- Componentwise negation on `𝕆 = ℍ × ℍ`. -/ def octNeg (u : Oct) : Oct := (-u.1, -u.2) /-- Euclidean inner product on `𝕆 × 𝕆 ≅ ℝ¹⁶`. -/ def oDot16 (X Y : Oct × Oct) : ℝ := oDot X.1 Y.1 + oDot X.2 Y.2 theorem oNormSq_octFromReal (r : ℝ) : oNormSq (octFromReal r) = r ^ 2 := by simp [oNormSq, octFromReal, Quaternion.normSq_coe] theorem octNeg_octNeg (u : Oct) : octNeg (octNeg u) = u := by apply Prod.ext <;> simp [octNeg] theorem octNeg_octFromReal (r : ℝ) : octNeg (octFromReal r) = octFromReal (-r) := by apply Prod.ext <;> simp [octNeg, octFromReal] theorem octAdd_real_im (u : Oct) : octAdd (octFromReal (octReal u)) (octIm u) = u := by apply Prod.ext · ext <;> simp [octAdd, octFromReal, octReal, octIm, qIm] · simp [octAdd, octFromReal, octIm] theorem oNormSq_octReal_add_im (u : Oct) : octReal u ^ 2 + oNormSq (octIm u) = oNormSq u := by simp [octReal, octIm, qIm, oNormSq, Quaternion.normSq_def'] ring theorem obar_octFromReal (r : ℝ) : obar (octFromReal r) = octFromReal r := by apply Prod.ext <;> simp [obar, octFromReal] theorem obar_octAdd (u v : Oct) : obar (octAdd u v) = octAdd (obar u) (obar v) := by apply Prod.ext · simp [obar, octAdd] · simp [obar, octAdd, add_comm] theorem obar_of_pure (v : Oct) (hv : octReal v = 0) : obar v = octNeg v := by apply Prod.ext · ext <;> (simp [obar, octNeg, octReal] at hv ⊢; try linarith) · simp [obar, octNeg] theorem obar_octIm (u : Oct) : obar (octIm u) = octNeg (octIm u) := obar_of_pure (octIm u) (by simp [octReal, octIm, qIm]) theorem omul_octFromReal_left (r : ℝ) (w : Oct) : omul (octFromReal r) w = oSmul r w := by apply Prod.ext <;> (ext <;> simp [omul, octFromReal, oSmul, -Quaternion.coe_mul] <;> ring) theorem omul_octFromReal_right (w : Oct) (r : ℝ) : omul w (octFromReal r) = oSmul r w := by apply Prod.ext <;> (ext <;> simp [omul, octFromReal, oSmul, -Quaternion.coe_mul] <;> ring) theorem omul_octAdd_left (u v w : Oct) : omul (octAdd u v) w = octAdd (omul u w) (omul v w) := by apply Prod.ext <;> (ext <;> simp [omul, octAdd] <;> ring) theorem omul_octAdd_right (u v w : Oct) : omul u (octAdd v w) = octAdd (omul u v) (omul u w) := by apply Prod.ext <;> (ext <;> simp [omul, octAdd] <;> ring) theorem omul_octNeg_right (u v : Oct) : omul u (octNeg v) = octNeg (omul u v) := by apply Prod.ext <;> (ext <;> simp [omul, octNeg] <;> ring) theorem omul_self_obar (u : Oct) : omul u (obar u) = octFromReal (oNormSq u) := by apply Prod.ext <;> (ext <;> simp [omul, obar, octFromReal, oNormSq, Quaternion.normSq_def', -Quaternion.coe_add, -Quaternion.coe_pow] <;> ring) theorem omul_obar_self (u : Oct) : omul (obar u) u = octFromReal (oNormSq u) := by have h := omul_self_obar (obar u) rwa [obar_obar, oNormSq_obar] at h theorem omul_pure_self (e : Oct) (he : octReal e = 0) : omul e e = octFromReal (-(oNormSq e)) := by have hbar : obar e = octNeg e := obar_of_pure e he have h1 : octNeg (omul e e) = octFromReal (oNormSq e) := by rw [← omul_octNeg_right, ← hbar]; exact omul_self_obar e have h2 := congrArg octNeg h1 rwa [octNeg_octNeg, octNeg_octFromReal] at h2 theorem oNormSq_octAdd_expand (u v : Oct) : oNormSq (octAdd u v) = oNormSq u + 2 * oDot u v + oNormSq v := by simp [oNormSq, octAdd, oDot, Quaternion.normSq_def'] ring theorem oDot_oSmul_right (c : ℝ) (u v : Oct) : oDot u (oSmul c v) = c * oDot u v := by simp [oDot, oSmul] ring theorem oSmul_octAdd (c : ℝ) (u v : Oct) : oSmul c (octAdd u v) = octAdd (oSmul c u) (oSmul c v) := by apply Prod.ext <;> simp [oSmul, octAdd, smul_add] theorem oSmul_octFromReal (c r : ℝ) : oSmul c (octFromReal r) = octFromReal (c * r) := by apply Prod.ext <;> simp [oSmul, octFromReal, Quaternion.smul_coe] theorem oSmul_octNeg (c : ℝ) (u : Oct) : oSmul c (octNeg u) = oSmul (-c) u := by apply Prod.ext <;> simp [oSmul, octNeg] /-! ## 1. Exact Lift from `S⁷ → S⁴` Syzygy Fold to Octonionic `S⁷ ↪ S¹⁵ → S⁸` Eversions -/ section OctonionicEversionFamilies /-- Octonionic inside-out sphere eversion family `I_θ^𝕆 : S⁷ ↪ S¹⁵`, `I_θ^𝕆(a + v) = (a cos θ + v, a sin θ)` fixing the `S⁶` syzygy hinge `{a = 0}` pointwise. -/ def insideOutS15 (θ : ℝ) (u : Oct) : Oct × Oct := (octAdd (octFromReal (octReal u * Real.cos θ)) (octIm u), octFromReal (octReal u * Real.sin θ)) /-- Octonionic conjugation-fold eversion family `F_θ^𝕆 : S⁷ ↪ S¹⁵`, `F_θ^𝕆(a + v) = (a + cos θ v, sin θ v)` lifting `F_θ : S³ ↪ S⁷` (`FG1–FG3`, `EV3`). -/ def conjFoldS15 (θ : ℝ) (u : Oct) : Oct × Oct := (octAdd (octFromReal (octReal u)) (oSmul (Real.cos θ) (octIm u)), oSmul (Real.sin θ) (octIm u)) /-- Theorem 1 (`Theorem 3BP-1(IV)` × `FG1–FG3` × `EV3` × `S¹⁵ → S⁸`): Exact algebraic and geometric lift of BOTH `S³ ↪ S⁷ → S⁴` turning families into octonionic `S⁷ ↪ S¹⁵ → S⁸` sphere eversions: 1. `insideOutS15 θ` is an isometric embedding `S⁷ ↪ S¹⁵` for all `θ`, begins at `(u, 0)`, ends at the degree-`-1` reflection `(-a + v, 0)` across the `S⁶` syzygy equator `{a = 0}`, fixes every point on `{a = 0}` pointwise, and projects onto `S⁸` via `π_𝕆(I_θ^𝕆(u)) = (1 - 2 a² sin²θ, a² sin(2θ) + 2 a sin θ v)`. 2. `conjFoldS15 θ` is an isometric embedding `S⁷ ↪ S¹⁵` for all `θ`, begins at `(u, 0)`, ends at octonionic conjugation `(ū, 0)` (reversing all 7 imaginary axes: `det = (-1)^7 = -1`), and projects onto `S⁸` via `π_𝕆(F_θ^𝕆(u)) = (1 - 2 b² sin²θ, 2 b² cos θ sin θ - 2 a sin θ v)` where `b² = |v|²`. 3. Exact `ℍ ⊂ 𝕆` restriction: for `u = (q, 0) ∈ S³ ⊂ S⁷`, BOTH `insideOutS15` and `conjFoldS15` restrict identically to `insideOutS7 θ q` and `conjTurnS7 θ q` on `S⁷ → S⁴`. -/ theorem syzygy_fold_S7_S4_to_octonionic_S15_S8_eversion_lift (θ : ℝ) (u w : Oct) (hu : oNormSq u = 1) (q : Q) : let a := octReal u let v := octIm u let b2 := oNormSq v (oNormSq (insideOutS15 θ u).1 + oNormSq (insideOutS15 θ u).2 = oNormSq u ∧ oDot16 (insideOutS15 θ u) (insideOutS15 θ w) = oDot u w ∧ insideOutS15 0 u = (u, (0, 0)) ∧ insideOutS15 Real.pi u = (octAdd (octFromReal (-a)) v, (0, 0)) ∧ (a = 0 → insideOutS15 θ u = (u, (0, 0))) ∧ hopfS15 (insideOutS15 θ u).1 (insideOutS15 θ u).2 = (1 - 2 * (a * Real.sin θ) ^ 2, octAdd (octFromReal (a ^ 2 * Real.sin (2 * θ))) (oSmul (2 * a * Real.sin θ) v))) ∧ (oNormSq (conjFoldS15 θ u).1 + oNormSq (conjFoldS15 θ u).2 = oNormSq u ∧ oDot16 (conjFoldS15 θ u) (conjFoldS15 θ w) = oDot u w ∧ conjFoldS15 0 u = (u, (0, 0)) ∧ conjFoldS15 Real.pi u = (obar u, (0, 0)) ∧ hopfS15 (conjFoldS15 θ u).1 (conjFoldS15 θ u).2 = (1 - 2 * b2 * Real.sin θ ^ 2, octAdd (octFromReal (2 * b2 * Real.cos θ * Real.sin θ)) (oSmul (-(2 * a * Real.sin θ)) v))) ∧ (insideOutS15 θ (q, 0) = (((insideOutS7 θ q).1, 0), ((insideOutS7 θ q).2, 0)) ∧ conjFoldS15 θ (q, 0) = (((conjTurnS7 θ q).1, 0), ((conjTurnS7 θ q).2, 0))) := by dsimp only have hcs := Real.cos_sq_add_sin_sq θ refine ⟨⟨?_, ?_, ?_, ?_, ?_, ?_⟩, ⟨?_, ?_, ?_, ?_, ?_⟩, ⟨?_, ?_⟩⟩ · -- |I_θ(u)|² = |u|² simp [insideOutS15, octAdd, octFromReal, octReal, octIm, qIm, oNormSq, Quaternion.normSq_def'] linear_combination u.1.re ^ 2 * hcs · -- ⟨I_θ(u), I_θ(w)⟩ = ⟨u, w⟩ simp [oDot16, oDot, insideOutS15, octAdd, octFromReal, octReal, octIm, qIm] linear_combination (u.1.re * w.1.re) * hcs · -- I_0(u) = (u, 0) apply Prod.ext · ext <;> simp [insideOutS15, octAdd, octFromReal, octReal, octIm, qIm] · ext <;> simp [insideOutS15, octFromReal] · -- I_π(u) = (-a + v, 0) apply Prod.ext · ext <;> simp [insideOutS15, octAdd, octFromReal, octReal, octIm, qIm, Real.cos_pi] · ext <;> simp [insideOutS15, octFromReal, Real.sin_pi] · -- a = 0 fixed pointwise intro ha have hre : u.1.re = 0 := ha apply Prod.ext · apply Prod.ext <;> (ext <;> simp [insideOutS15, octAdd, octFromReal, octReal, octIm, qIm, hre]) · simp [insideOutS15, ha, octFromReal] · -- hopfS15 (insideOutS15 θ u) have hR : oNormSq (insideOutS15 θ u).2 = (octReal u * Real.sin θ) ^ 2 := by simp [insideOutS15, oNormSq_octFromReal] have hL : oNormSq (insideOutS15 θ u).1 = 1 - (octReal u * Real.sin θ) ^ 2 := by have htot : oNormSq (insideOutS15 θ u).1 + oNormSq (insideOutS15 θ u).2 = oNormSq u := by simp [insideOutS15, octAdd, octFromReal, octReal, octIm, qIm, oNormSq, Quaternion.normSq_def'] linear_combination u.1.re ^ 2 * hcs linarith [hu, hR] apply Prod.ext · simp only [hopfS15, hL, hR]; ring · simp only [hopfS15, insideOutS15, obar_octFromReal, omul_octFromReal_right, oSmul_octAdd, oSmul_octFromReal, oSmul_oSmul, Real.sin_two_mul] congr 1 · congr 1; ring · congr 1; ring · -- |F_θ(u)|² = |u|² simp [conjFoldS15, octAdd, octFromReal, octReal, octIm, qIm, oSmul, oNormSq, Quaternion.normSq_def'] linear_combination (u.1.imI ^ 2 + u.1.imJ ^ 2 + u.1.imK ^ 2 + u.2.re ^ 2 + u.2.imI ^ 2 + u.2.imJ ^ 2 + u.2.imK ^ 2) * hcs · -- ⟨F_θ(u), F_θ(w)⟩ = ⟨u, w⟩ simp [oDot16, oDot, conjFoldS15, octAdd, octFromReal, octReal, octIm, qIm, oSmul] linear_combination (u.1.imI * w.1.imI + u.1.imJ * w.1.imJ + u.1.imK * w.1.imK + u.2.re * w.2.re + u.2.imI * w.2.imI + u.2.imJ * w.2.imJ + u.2.imK * w.2.imK) * hcs · -- F_0(u) = (u, 0) apply Prod.ext · ext <;> simp [conjFoldS15, octAdd, octFromReal, octReal, octIm, qIm, oSmul] · ext <;> simp [conjFoldS15, oSmul] · -- F_π(u) = (obar u, 0) apply Prod.ext · ext <;> simp [conjFoldS15, octAdd, octFromReal, octReal, octIm, qIm, oSmul, obar, Real.cos_pi] · ext <;> simp [conjFoldS15, oSmul, Real.sin_pi] · -- hopfS15 (conjFoldS15 θ u) have hR : oNormSq (conjFoldS15 θ u).2 = oNormSq (octIm u) * Real.sin θ ^ 2 := by simp [conjFoldS15, oNormSq_oSmul]; ring have hL : oNormSq (conjFoldS15 θ u).1 = 1 - oNormSq (octIm u) * Real.sin θ ^ 2 := by have htot : oNormSq (conjFoldS15 θ u).1 + oNormSq (conjFoldS15 θ u).2 = oNormSq u := by simp [conjFoldS15, octAdd, octFromReal, octReal, octIm, qIm, oSmul, oNormSq, Quaternion.normSq_def'] linear_combination (u.1.imI ^ 2 + u.1.imJ ^ 2 + u.1.imK ^ 2 + u.2.re ^ 2 + u.2.imI ^ 2 + u.2.imJ ^ 2 + u.2.imK ^ 2) * hcs linarith [hu, hR] apply Prod.ext · simp only [hopfS15, hL, hR]; ring · simp only [hopfS15, conjFoldS15, obar_oSmul, omul_oSmul_right, omul_octAdd_left, omul_octFromReal_left, omul_oSmul_left] rw [omul_self_obar, obar_octIm] simp only [oSmul_octNeg, oSmul_octAdd, oSmul_octFromReal, oSmul_oSmul] apply Prod.ext <;> (ext <;> (simp [octAdd, octFromReal, oSmul, octIm, qIm, -Quaternion.coe_mul, -Quaternion.coe_add, -mul_eq_mul_right_iff, -mul_eq_mul_left_iff]; ring)) · -- Restriction of I_θ^𝕆 to (q, 0) equals insideOutS7 apply Prod.ext <;> (apply Prod.ext <;> (ext <;> simp [insideOutS15, insideOutS7, octAdd, octFromReal, octReal, octIm, qIm])) · -- Restriction of F_θ^𝕆 to (q, 0) equals conjTurnS7 apply Prod.ext <;> (apply Prod.ext <;> (ext <;> simp [conjFoldS15, conjTurnS7, octAdd, octFromReal, octReal, octIm, qIm, oSmul])) end OctonionicEversionFamilies /-! ## 2. Two-Chart `SO(8)` Atlas, `S⁶` Syzygy Fold Rank Drop & 16D Normal Orthogonality -/ section OctonionicTwoChartAndSyzygyFold /-- Block-left `8×8` factor of the `16×8` isometric embedding `J_θ^𝕆` for `insideOutS15`. -/ def eversion16L (θ : ℝ) : Matrix (Fin 8) (Fin 8) ℝ := Matrix.diagonal fun i => if i = 0 then Real.cos θ else 1 /-- Block-right `8×8` factor of `J_θ^𝕆` for `insideOutS15`. -/ def eversion16R (θ : ℝ) : Matrix (Fin 8) (Fin 8) ℝ := Matrix.diagonal fun i => if i = 0 then Real.sin θ else 0 /-- Time derivative of `eversion16L` along `θ'(t) = ω`. -/ def eversion16Ld (θ ω : ℝ) : Matrix (Fin 8) (Fin 8) ℝ := Matrix.diagonal fun i => if i = 0 then -(ω * Real.sin θ) else 0 /-- Time derivative of `eversion16R` along `θ'(t) = ω`. -/ def eversion16Rd (θ ω : ℝ) : Matrix (Fin 8) (Fin 8) ℝ := Matrix.diagonal fun i => if i = 0 then ω * Real.cos θ else 0 /-- Block-left `8×8` factor of `K_θ^𝕆` for `conjFoldS15`. -/ def conjFold16L (θ : ℝ) : Matrix (Fin 8) (Fin 8) ℝ := Matrix.diagonal fun i => if i = 0 then 1 else Real.cos θ /-- Block-right `8×8` factor of `K_θ^𝕆` for `conjFoldS15`. -/ def conjFold16R (θ : ℝ) : Matrix (Fin 8) (Fin 8) ℝ := Matrix.diagonal fun i => if i = 0 then 0 else Real.sin θ /-- Time derivative of `conjFold16L` along `θ'(t) = ω`. -/ def conjFold16Ld (θ ω : ℝ) : Matrix (Fin 8) (Fin 8) ℝ := Matrix.diagonal fun i => if i = 0 then 0 else -(ω * Real.sin θ) /-- Time derivative of `conjFold16R` along `θ'(t) = ω`. -/ def conjFold16Rd (θ ω : ℝ) : Matrix (Fin 8) (Fin 8) ℝ := Matrix.diagonal fun i => if i = 0 then 0 else ω * Real.cos θ /-- Exact directional derivative of the `S⁸` base projection `π_𝕆 ∘ F_θ^𝕆` at `(a, v)` along `(da, dv)` (`octReal dv = 0`). -/ def dBaseConjFoldS8 (a : ℝ) (v : Oct) (θ da : ℝ) (dv : Oct) : ℝ × Oct := (-(4 * oDot v dv * Real.sin θ ^ 2), octAdd (octFromReal (4 * oDot v dv * Real.cos θ * Real.sin θ)) (octAdd (oSmul (-(2 * da * Real.sin θ)) v) (oSmul (-(2 * a * Real.sin θ)) dv))) /-- Exact directional derivative of the lifted `S¹⁵` immersion `F_θ^𝕆` along `(da, dv)`. -/ def dLiftConjFoldS15 (θ da : ℝ) (dv : Oct) : Oct × Oct := (octAdd (octFromReal da) (oSmul (Real.cos θ) dv), oSmul (Real.sin θ) dv) /-- Helper: exact derivative of any real quadratic `ε ↦ c0 + c1 * ε + c2 * ε²` at `ε = 0`. -/ private theorem hasDerivAt_quad_zero (c0 c1 c2 : ℝ) : HasDerivAt (fun ε : ℝ => c0 + c1 * ε + c2 * ε ^ 2) c1 0 := by have h1 : HasDerivAt (fun ε : ℝ => c0 + c1 * ε) (0 + c1 * 1) 0 := (hasDerivAt_const (0 : ℝ) c0).fun_add ((hasDerivAt_id (0 : ℝ)).const_mul c1) have h2 : HasDerivAt (fun ε : ℝ => c2 * ε ^ 2) (c2 * ((2 : ℕ) * (0 : ℝ) ^ (2 - 1))) 0 := (hasDerivAt_pow 2 (0 : ℝ)).const_mul c2 simpa using h1.fun_add h2 /-- Helper: `HasDerivAt` for the scalar base coordinate `t(ε) = 1 - 2 |v + ε dv|² sin²θ` at `ε = 0`. -/ private theorem hasDerivAt_conjFold_base_t (v dv : Oct) (θ : ℝ) : HasDerivAt (fun ε : ℝ => 1 - 2 * oNormSq (octAdd v (oSmul ε dv)) * Real.sin θ ^ 2) (-(4 * oDot v dv * Real.sin θ ^ 2)) 0 := by have hpoly : (fun ε : ℝ => 1 - 2 * oNormSq (octAdd v (oSmul ε dv)) * Real.sin θ ^ 2) = (fun ε : ℝ => (1 - 2 * oNormSq v * Real.sin θ ^ 2) + (-(4 * oDot v dv * Real.sin θ ^ 2)) * ε + (-(2 * oNormSq dv * Real.sin θ ^ 2)) * ε ^ 2) := by funext ε rw [oNormSq_octAdd_expand, oDot_oSmul_right, oNormSq_oSmul] ring rw [hpoly] exact hasDerivAt_quad_zero _ _ _ /-- Helper: `HasDerivAt` for each `ℝ⁸` component of the `S⁸` octonionic base coordinate `p(ε)` at `ε = 0`. -/ private theorem hasDerivAt_conjFold_base_p (a : ℝ) (v : Oct) (θ da : ℝ) (dv : Oct) (i : Fin 8) : HasDerivAt (fun ε : ℝ => octToR8 (octAdd (octFromReal (2 * oNormSq (octAdd v (oSmul ε dv)) * Real.cos θ * Real.sin θ)) (oSmul (-(2 * (a + ε * da) * Real.sin θ)) (octAdd v (oSmul ε dv)))) i) (octToR8 (dBaseConjFoldS8 a v θ da dv).2 i) 0 := by set c0 : ℝ := octToR8 (octAdd (octFromReal (2 * oNormSq v * Real.cos θ * Real.sin θ)) (oSmul (-(2 * a * Real.sin θ)) v)) i set c1 : ℝ := octToR8 (dBaseConjFoldS8 a v θ da dv).2 i set c2 : ℝ := octToR8 (octAdd (octFromReal (2 * oNormSq dv * Real.cos θ * Real.sin θ)) (oSmul (-(2 * da * Real.sin θ)) dv)) i have hpoly : (fun ε : ℝ => octToR8 (octAdd (octFromReal (2 * oNormSq (octAdd v (oSmul ε dv)) * Real.cos θ * Real.sin θ)) (oSmul (-(2 * (a + ε * da) * Real.sin θ)) (octAdd v (oSmul ε dv)))) i) = (fun ε : ℝ => c0 + c1 * ε + c2 * ε ^ 2) := by funext ε dsimp only [c0, c1, c2, dBaseConjFoldS8] rw [oNormSq_octAdd_expand, oDot_oSmul_right, oNormSq_oSmul] fin_cases i <;> simp [octToR8, octAdd, octFromReal, oSmul, -Quaternion.coe_add, -Quaternion.coe_mul, -Quaternion.coe_pow] <;> ring rw [hpoly] exact hasDerivAt_quad_zero c0 c1 c2 /-- Theorem 2 (`S¹⁵ → S⁸` two-chart atlas + `FG1–FG3` `S⁶` syzygy fold + 16D `V_t ⊥ T M_t`): 1. **Two-chart `N/S` `SO(8)` cover of `insideOutS15` (zero global section)**: - Hits the South Pole of `S⁸` (`(-1, 0)`) at `θ = π/2, u = (1, 0)`. - On `U_N` (`1 - B² > 0`), `s15North t p u_N = insideOutS15 θ u` with `u_N = L / √(1 - B²) ∈ S⁷`. - On `U_S` (`B ≠ 0`), `s15South t p u_S = insideOutS15 θ u` with `u_S = sign(B) · 1 ∈ S⁷`. - On `U_N ∩ U_S`, `l = p̄ / |p|` obeys `oNormSq l = 1`, `oLeftMat l ∈ O(8)`, `omul l u_N = u_S`, and `s15South t p (omul l u_N) = s15North t p u_N`. - Across the South Pole (`u = (1, 0)`), `u_N = +1` for `cos θ > 0` and `u_N = -1` for `cos θ < 0`. 2. **Exact `S⁶` syzygy fold rank drop (`8 → 2`) and `S¹⁵` bundle metric restoration at `a = 0`**: - Proves exact `HasDerivAt` formulas for the `S⁸` base projection `π_𝕆 ∘ F_θ^𝕆`. - At the `S⁶` syzygy equator (`a = 0`, `da = 0`, `oDot v dv = 0`), ALL 6 tangential directions of `S⁶` are annihilated in `T S⁸` (`dBaseConjFoldS8 0 v θ 0 dv = (0, (0, 0))`), while the lifted `S¹⁵` differential stays strictly isometric (`|dLiftConjFoldS15 θ 0 dv|² = |dv|²`), restoring all 6 folded directions with smooth throat radius `bundleThroatRadius 0 = 1`. 3. **Exact 16D moving-manifold normal orthogonality (`V_t ⊥ T M_t`)**: - Both `I_θ^𝕆` (`eversion16L, eversion16R`) and `F_θ^𝕆` (`conjFold16L, conjFold16R`) satisfy `J_Lᵀ J_L + J_Rᵀ J_R = I₈`, `J_Lᵀ J̇_L + J_Rᵀ J̇_R = 0`, and exact covariant derivative cancellation `J_Lᵀ (J̇_L w + J_L w') + J_Rᵀ (J̇_R w + J_R w') = w'`. -/ theorem octonionic_eversion_two_chart_SO8_and_syzygy_fold_regularization (θ ω : ℝ) (u : Oct) (hu : oNormSq u = 1) (v dv : Oct) (w w' : Fin 8 → ℝ) : let B := octReal u * Real.sin θ let L := (insideOutS15 θ u).1 let t := (hopfS15 (insideOutS15 θ u).1 (insideOutS15 θ u).2).1 let p := (hopfS15 (insideOutS15 θ u).1 (insideOutS15 θ u).2).2 (hopfS15 (insideOutS15 (Real.pi / 2) (octFromReal 1)).1 (insideOutS15 (Real.pi / 2) (octFromReal 1)).2 = (-1, (0, 0)) ∧ (0 < 1 - B ^ 2 → let uN := oSmul (1 / Real.sqrt (1 - B ^ 2)) L oNormSq uN = 1 ∧ s15North t p uN = insideOutS15 θ u) ∧ (B ≠ 0 → let uS := octFromReal (B / |B|) oNormSq uS = 1 ∧ s15South t p uS = insideOutS15 θ u) ∧ (0 < 1 - B ^ 2 → B ≠ 0 → let uN := oSmul (1 / Real.sqrt (1 - B ^ 2)) L let uS := octFromReal (B / |B|) let l := oSmul (1 / Real.sqrt (oNormSq p)) (obar p) oNormSq l = 1 ∧ (oLeftMat l)ᵀ * oLeftMat l = 1 ∧ omul l uN = uS ∧ s15South t p (omul l uN) = s15North t p uN) ∧ ((0 < Real.cos θ → oSmul (1 / Real.sqrt (1 - Real.sin θ ^ 2)) (insideOutS15 θ (octFromReal 1)).1 = octFromReal 1) ∧ (Real.cos θ < 0 → oSmul (1 / Real.sqrt (1 - Real.sin θ ^ 2)) (insideOutS15 θ (octFromReal 1)).1 = octFromReal (-1)))) ∧ ((HasDerivAt (fun ε : ℝ => 1 - 2 * oNormSq (octAdd v (oSmul ε dv)) * Real.sin θ ^ 2) (dBaseConjFoldS8 0 v θ 0 dv).1 0) ∧ (∀ i : Fin 8, HasDerivAt (fun ε : ℝ => octToR8 (octAdd (octFromReal (2 * oNormSq (octAdd v (oSmul ε dv)) * Real.cos θ * Real.sin θ)) (oSmul (-(2 * (0 + ε * 0) * Real.sin θ)) (octAdd v (oSmul ε dv)))) i) (octToR8 (dBaseConjFoldS8 0 v θ 0 dv).2 i) 0) ∧ (oDot v dv = 0 → dBaseConjFoldS8 0 v θ 0 dv = (0, (0, 0)) ∧ oNormSq (dLiftConjFoldS15 θ 0 dv).1 + oNormSq (dLiftConjFoldS15 θ 0 dv).2 = oNormSq dv ∧ bundleThroatRadius 0 = 1)) ∧ (((eversion16L θ)ᵀ * eversion16L θ + (eversion16R θ)ᵀ * eversion16R θ = 1 ∧ (eversion16L θ)ᵀ * eversion16Ld θ ω + (eversion16R θ)ᵀ * eversion16Rd θ ω = 0 ∧ (eversion16L θ)ᵀ *ᵥ (eversion16Ld θ ω *ᵥ w + eversion16L θ *ᵥ w') + (eversion16R θ)ᵀ *ᵥ (eversion16Rd θ ω *ᵥ w + eversion16R θ *ᵥ w') = w') ∧ ((conjFold16L θ)ᵀ * conjFold16L θ + (conjFold16R θ)ᵀ * conjFold16R θ = 1 ∧ (conjFold16L θ)ᵀ * conjFold16Ld θ ω + (conjFold16R θ)ᵀ * conjFold16Rd θ ω = 0)) := by dsimp only have hcs := Real.cos_sq_add_sin_sq θ set B : ℝ := octReal u * Real.sin θ set L : Oct := (insideOutS15 θ u).1 set t : ℝ := (hopfS15 (insideOutS15 θ u).1 (insideOutS15 θ u).2).1 set p : Oct := (hopfS15 (insideOutS15 θ u).1 (insideOutS15 θ u).2).2 have hR_eq : (insideOutS15 θ u).2 = octFromReal B := rfl have hL_norm : oNormSq L = 1 - B ^ 2 := by have htot := (syzygy_fold_S7_S4_to_octonionic_S15_S8_eversion_lift θ u u hu 1).1.1 rw [hu] at htot have hR : oNormSq (insideOutS15 θ u).2 = B ^ 2 := by simp [insideOutS15, oNormSq_octFromReal, B] linarith have ht_eq : t = 1 - 2 * B ^ 2 := by have h1 := congrArg Prod.fst (syzygy_fold_S7_S4_to_octonionic_S15_S8_eversion_lift θ u u hu 1).1.2.2.2.2.2 simpa [t, B] using h1 have hp_eq : p = oSmul (2 * B) L := by simp only [p, hopfS15, hR_eq, obar_octFromReal, omul_octFromReal_right, oSmul_oSmul, L] have hp_norm : oNormSq p = 4 * B ^ 2 * (1 - B ^ 2) := by rw [hp_eq, oNormSq_oSmul, hL_norm]; ring have hpart1 : hopfS15 (insideOutS15 (Real.pi / 2) (octFromReal 1)).1 (insideOutS15 (Real.pi / 2) (octFromReal 1)).2 = (-1, (0, 0)) ∧ (0 < 1 - B ^ 2 → let uN := oSmul (1 / Real.sqrt (1 - B ^ 2)) L oNormSq uN = 1 ∧ s15North t p uN = insideOutS15 θ u) ∧ (B ≠ 0 → let uS := octFromReal (B / |B|) oNormSq uS = 1 ∧ s15South t p uS = insideOutS15 θ u) ∧ (0 < 1 - B ^ 2 → B ≠ 0 → let uN := oSmul (1 / Real.sqrt (1 - B ^ 2)) L let uS := octFromReal (B / |B|) let l := oSmul (1 / Real.sqrt (oNormSq p)) (obar p) oNormSq l = 1 ∧ (oLeftMat l)ᵀ * oLeftMat l = 1 ∧ omul l uN = uS ∧ s15South t p (omul l uN) = s15North t p uN) ∧ ((0 < Real.cos θ → oSmul (1 / Real.sqrt (1 - Real.sin θ ^ 2)) (insideOutS15 θ (octFromReal 1)).1 = octFromReal 1) ∧ (Real.cos θ < 0 → oSmul (1 / Real.sqrt (1 - Real.sin θ ^ 2)) (insideOutS15 θ (octFromReal 1)).1 = octFromReal (-1))) := by refine ⟨?_, ?_, ?_, ?_, ?_⟩ · apply Prod.ext · simp [hopfS15, insideOutS15, octFromReal, octAdd, octReal, octIm, qIm, oNormSq, Quaternion.normSq_def', Real.cos_pi_div_two, Real.sin_pi_div_two] · apply Prod.ext <;> (ext <;> simp [hopfS15, insideOutS15, octFromReal, octAdd, octReal, octIm, qIm, omul, obar, oSmul, Real.cos_pi_div_two, Real.sin_pi_div_two]) · intro hpos uN set α := Real.sqrt (1 - B ^ 2) have hα_pos : 0 < α := Real.sqrt_pos.mpr hpos have hα_ne : α ≠ 0 := ne_of_gt hα_pos have hα2 : α ^ 2 = 1 - B ^ 2 := Real.sq_sqrt (le_of_lt hpos) have h1pt : (1 + t) / 2 = 1 - B ^ 2 := by rw [ht_eq]; ring have huN1 : oNormSq uN = 1 := by simp only [uN, oNormSq_oSmul, hL_norm, one_div, inv_pow] rw [Real.sq_sqrt (le_of_lt hpos)] field_simp [ne_of_gt hpos] refine ⟨huN1, ?_⟩ apply Prod.ext · simp only [s15North, h1pt, uN, oSmul_oSmul] have h1 : α * (1 / α) = 1 := by field_simp [hα_ne] rw [h1, oSmul_one] · simp only [s15North, h1pt, hp_eq, uN, obar_oSmul, omul_oSmul_left, omul_oSmul_right, omul_obar_self, hL_norm, oSmul_octFromReal, oSmul_oSmul, hR_eq] congr 1 field_simp [hα_ne] ring_nf; rw [hα2]; ring · intro hB uS have hβ_pos : 0 < |B| := abs_pos.mpr hB have hβ_ne : |B| ≠ 0 := ne_of_gt hβ_pos have h1mt : (1 - t) / 2 = B ^ 2 := by rw [ht_eq]; ring have hsqrtB : Real.sqrt ((1 - t) / 2) = |B| := by rw [h1mt, Real.sqrt_sq_eq_abs] have huS1 : oNormSq uS = 1 := by simp only [uS, oNormSq_octFromReal, div_pow, sq_abs] field_simp [hB] refine ⟨huS1, ?_⟩ apply Prod.ext · simp only [s15South, hsqrtB, hp_eq, uS, omul_octFromReal_right, oSmul_oSmul] have h1 : 1 / (2 * |B|) * (B / |B| * (2 * B)) = 1 := by have habs2 : |B| ^ 2 = B ^ 2 := sq_abs B field_simp [hβ_ne] nlinarith [habs2] rw [h1, oSmul_one] · simp only [s15South, hsqrtB, uS, oSmul_octFromReal, hR_eq] congr 1 field_simp [hβ_ne] · intro hpos hB uN uS l have hα_pos : 0 < Real.sqrt (1 - B ^ 2) := Real.sqrt_pos.mpr hpos have hβ_pos : 0 < |B| := abs_pos.mpr hB have hp_pos : 0 < oNormSq p := by rw [hp_norm]; positivity have hn_eq : Real.sqrt (oNormSq p) = 2 * |B| * Real.sqrt (1 - B ^ 2) := by rw [hp_norm] have hmul_sq : (2 * |B| * Real.sqrt (1 - B ^ 2)) ^ 2 = 4 * B ^ 2 * (1 - B ^ 2) := by rw [mul_pow, mul_pow, sq_abs, Real.sq_sqrt (le_of_lt hpos)]; ring rw [← hmul_sq, Real.sqrt_sq (by positivity)] have hl_unit : oNormSq l = 1 := by simp only [l, oNormSq_oSmul, oNormSq_obar, one_div, inv_pow, Real.sq_sqrt (le_of_lt hp_pos)] field_simp [ne_of_gt hp_pos] have hl_orth : (oLeftMat l)ᵀ * oLeftMat l = 1 := (oLeftMat_orthogonal l hl_unit).1 have hluN : omul l uN = uS := by dsimp only [l, uN, uS] rw [hn_eq, hp_eq] simp only [obar_oSmul, omul_oSmul_left, omul_oSmul_right, omul_obar_self, hL_norm, oSmul_octFromReal, oSmul_oSmul] congr 1 field_simp [ne_of_gt hα_pos, ne_of_gt hβ_pos] exact (Real.sq_sqrt (le_of_lt hpos)).symm have htp : t ^ 2 + oNormSq p = 1 := by rw [ht_eq, hp_norm]; ring have huN1 : oNormSq uN = 1 := by simp only [uN, oNormSq_oSmul, hL_norm, one_div, inv_pow, Real.sq_sqrt (le_of_lt hpos)] field_simp [ne_of_gt hpos] have hglue := (octonionic_s15_s8_two_chart_and_SO8_frame_invariance t p uN htp hp_pos huN1 1).2.2.2.1.2.2.2.1 exact ⟨hl_unit, hl_orth, hluN, hglue⟩ · have h1s : 1 - Real.sin θ ^ 2 = Real.cos θ ^ 2 := by linarith have hL1 : (insideOutS15 θ (octFromReal 1)).1 = octFromReal (Real.cos θ) := by apply Prod.ext <;> (ext <;> simp [insideOutS15, octAdd, octFromReal, octReal, octIm, qIm]) constructor · intro hcos rw [h1s, Real.sqrt_sq (le_of_lt hcos), hL1, oSmul_octFromReal] congr 1; field_simp [ne_of_gt hcos] · intro hcos rw [h1s, Real.sqrt_sq_eq_abs, abs_of_neg hcos, hL1, oSmul_octFromReal] congr 1; field_simp [ne_of_lt hcos] have hpart2 : (HasDerivAt (fun ε : ℝ => 1 - 2 * oNormSq (octAdd v (oSmul ε dv)) * Real.sin θ ^ 2) (dBaseConjFoldS8 0 v θ 0 dv).1 0) ∧ (∀ i : Fin 8, HasDerivAt (fun ε : ℝ => octToR8 (octAdd (octFromReal (2 * oNormSq (octAdd v (oSmul ε dv)) * Real.cos θ * Real.sin θ)) (oSmul (-(2 * (0 + ε * 0) * Real.sin θ)) (octAdd v (oSmul ε dv)))) i) (octToR8 (dBaseConjFoldS8 0 v θ 0 dv).2 i) 0) ∧ (oDot v dv = 0 → dBaseConjFoldS8 0 v θ 0 dv = (0, (0, 0)) ∧ oNormSq (dLiftConjFoldS15 θ 0 dv).1 + oNormSq (dLiftConjFoldS15 θ 0 dv).2 = oNormSq dv ∧ bundleThroatRadius 0 = 1) := by refine ⟨hasDerivAt_conjFold_base_t v dv θ, fun i => hasDerivAt_conjFold_base_p 0 v θ 0 dv i, ?_⟩ intro hperp refine ⟨?_, ?_, by simp [bundleThroatRadius]⟩ · apply Prod.ext · simp [dBaseConjFoldS8, hperp] · apply Prod.ext <;> (ext <;> simp [dBaseConjFoldS8, hperp, octAdd, octFromReal, oSmul]) · simp only [dLiftConjFoldS15] have h0 : octAdd (octFromReal 0) (oSmul (Real.cos θ) dv) = oSmul (Real.cos θ) dv := by apply Prod.ext <;> simp [octAdd, octFromReal] rw [h0, oNormSq_oSmul, oNormSq_oSmul] linear_combination oNormSq dv * hcs have hpart3 : ((eversion16L θ)ᵀ * eversion16L θ + (eversion16R θ)ᵀ * eversion16R θ = 1 ∧ (eversion16L θ)ᵀ * eversion16Ld θ ω + (eversion16R θ)ᵀ * eversion16Rd θ ω = 0 ∧ (eversion16L θ)ᵀ *ᵥ (eversion16Ld θ ω *ᵥ w + eversion16L θ *ᵥ w') + (eversion16R θ)ᵀ *ᵥ (eversion16Rd θ ω *ᵥ w + eversion16R θ *ᵥ w') = w') ∧ ((conjFold16L θ)ᵀ * conjFold16L θ + (conjFold16R θ)ᵀ * conjFold16R θ = 1 ∧ (conjFold16L θ)ᵀ * conjFold16Ld θ ω + (conjFold16R θ)ᵀ * conjFold16Rd θ ω = 0) := by have hI_iso : (eversion16L θ)ᵀ * eversion16L θ + (eversion16R θ)ᵀ * eversion16R θ = 1 := by simp only [eversion16L, eversion16R, Matrix.diagonal_transpose, Matrix.diagonal_mul_diagonal] ext i j by_cases hij : i = j · subst hij by_cases hi : i = 0 · simp [hi]; nlinarith [hcs] · simp [hi] · simp [hij] have hI_orth : (eversion16L θ)ᵀ * eversion16Ld θ ω + (eversion16R θ)ᵀ * eversion16Rd θ ω = 0 := by simp only [eversion16L, eversion16R, eversion16Ld, eversion16Rd, Matrix.diagonal_transpose, Matrix.diagonal_mul_diagonal] ext i j by_cases hij : i = j · subst hij by_cases hi : i = 0 · simp [hi]; ring · simp [hi] · simp [hij] have hI_cov : (eversion16L θ)ᵀ *ᵥ (eversion16Ld θ ω *ᵥ w + eversion16L θ *ᵥ w') + (eversion16R θ)ᵀ *ᵥ (eversion16Rd θ ω *ᵥ w + eversion16R θ *ᵥ w') = w' := by simp only [Matrix.mulVec_add, Matrix.mulVec_mulVec] have hrearr : (((eversion16L θ)ᵀ * eversion16Ld θ ω) *ᵥ w + ((eversion16L θ)ᵀ * eversion16L θ) *ᵥ w') + (((eversion16R θ)ᵀ * eversion16Rd θ ω) *ᵥ w + ((eversion16R θ)ᵀ * eversion16R θ) *ᵥ w') = (((eversion16L θ)ᵀ * eversion16Ld θ ω + (eversion16R θ)ᵀ * eversion16Rd θ ω) *ᵥ w) + (((eversion16L θ)ᵀ * eversion16L θ + (eversion16R θ)ᵀ * eversion16R θ) *ᵥ w') := by simp only [Matrix.add_mulVec]; abel rw [hrearr, hI_orth, hI_iso, Matrix.zero_mulVec, Matrix.one_mulVec, zero_add] have hF_iso : (conjFold16L θ)ᵀ * conjFold16L θ + (conjFold16R θ)ᵀ * conjFold16R θ = 1 := by simp only [conjFold16L, conjFold16R, Matrix.diagonal_transpose, Matrix.diagonal_mul_diagonal] ext i j by_cases hij : i = j · subst hij by_cases hi : i = 0 · simp [hi] · simp [hi]; nlinarith [hcs] · simp [hij] have hF_orth : (conjFold16L θ)ᵀ * conjFold16Ld θ ω + (conjFold16R θ)ᵀ * conjFold16Rd θ ω = 0 := by simp only [conjFold16L, conjFold16R, conjFold16Ld, conjFold16Rd, Matrix.diagonal_transpose, Matrix.diagonal_mul_diagonal] ext i j by_cases hij : i = j · subst hij by_cases hi : i = 0 · simp [hi] · simp [hi]; ring · simp [hij] exact ⟨⟨hI_iso, hI_orth, hI_cov⟩, ⟨hF_iso, hF_orth⟩⟩ exact ⟨hpart1, hpart2, hpart3⟩ end OctonionicTwoChartAndSyzygyFold /-! ## 3. Octonionic Levi-Civita Spinor Double Cover (`Z^𝕆(θ + 2π) = -Z^𝕆(θ)`, Zero Bounce) -/ section OctonionicSpinorDoubleCover /-- Octonionic lift of the 3-body Levi-Civita spinor double cover (`Theorem 3BP-1(IV)`) along ANY pure-imaginary unit octonion direction `e ∈ S⁶ ⊂ Im 𝕆`: `Z^𝕆(e, θ) = (1/√2)(cos(θ/2) + sin(θ/2) e, cos(θ/2) - sin(θ/2) e) ∈ S¹⁵`. -/ def octSpinorFoldZ (e : Oct) (θ : ℝ) : Oct × Oct := (oSmul (1 / Real.sqrt 2) (octAdd (octFromReal (Real.cos (θ / 2))) (oSmul (Real.sin (θ / 2)) e)), oSmul (1 / Real.sqrt 2) (octAdd (octFromReal (Real.cos (θ / 2))) (oSmul (-(Real.sin (θ / 2))) e))) /-- Theorem 3 (`Theorem 3BP-1(IV)` → `S¹⁵ → S⁸`): For EVERY pure-imaginary unit octonion `e ∈ S⁶ ⊂ Im 𝕆` (`octReal e = 0`, `oNormSq e = 1`), including BOTH the 3-body quaternionic direction `e₂ = (j, 0)` and the genuinely octonionic Cayley–Dickson unit `e₄ = (0, 1)`: 1. `Z^𝕆(e, θ)` lies on `S¹⁵` (`|Z₁|² + |Z₂|² = 1`). 2. `hopfS15` projects `Z^𝕆(e, θ)` smoothly onto the `2π`-periodic great circle `(0, cos θ + sin θ e) ∈ S⁸` with **zero arbitrary pole bounce-back**. 3. Exact double-cover holonomy: `Z^𝕆(e, θ + 2π) = (-Z₁, -Z₂)` (`EV3`) and `Z^𝕆(e, θ + 4π) = Z^𝕆(e, θ)`, while `hopfS15` is strictly `2π`-periodic. 4. Exact compatibility with 3-body `spinorFoldZ` when `e = (qj, 0)`. -/ theorem octonionic_levi_civita_double_cover_no_bounce (e : Oct) (he_pure : octReal e = 0) (he_unit : oNormSq e = 1) (θ : ℝ) : let Z := octSpinorFoldZ e θ let Z2pi := octSpinorFoldZ e (θ + 2 * Real.pi) let Z4pi := octSpinorFoldZ e (θ + 4 * Real.pi) (oNormSq Z.1 + oNormSq Z.2 = 1 ∧ hopfS15 Z.1 Z.2 = (0, octAdd (octFromReal (Real.cos θ)) (oSmul (Real.sin θ) e))) ∧ (Z2pi = (octNeg Z.1, octNeg Z.2) ∧ Z4pi = Z ∧ hopfS15 Z2pi.1 Z2pi.2 = hopfS15 Z.1 Z.2) ∧ (octSpinorFoldZ (qj, 0) θ = (((spinorFoldZ θ).1, 0), ((spinorFoldZ θ).2, 0)) ∧ octReal (0, 1) = 0 ∧ oNormSq (0, 1) = 1) := by dsimp only have h2sq : Real.sqrt 2 ^ 2 = 2 := Real.sq_sqrt (by norm_num) have h2inv : (1 / Real.sqrt 2) ^ 2 = 1 / 2 := by rw [one_div, inv_pow, h2sq]; ring have hsc : Real.sin (θ / 2) ^ 2 + Real.cos (θ / 2) ^ 2 = 1 := Real.sin_sq_add_cos_sq (θ / 2) have he_dot : ∀ r : ℝ, oDot (octFromReal r) e = 0 := by intro r have hre : e.1.re = 0 := he_pure simp [oDot, octFromReal, hre] have hhalf_norm : ∀ s : ℝ, oNormSq (octAdd (octFromReal (Real.cos (θ / 2))) (oSmul s e)) = Real.cos (θ / 2) ^ 2 + s ^ 2 := by intro s rw [oNormSq_octAdd_expand, oDot_oSmul_right, he_dot, oNormSq_oSmul, he_unit, oNormSq_octFromReal] ring have hZ1 : oNormSq (octSpinorFoldZ e θ).1 = 1 / 2 := by simp only [octSpinorFoldZ, oNormSq_oSmul, h2inv, hhalf_norm] linarith [hsc] have hZ2 : oNormSq (octSpinorFoldZ e θ).2 = 1 / 2 := by simp only [octSpinorFoldZ, oNormSq_oSmul, h2inv, hhalf_norm, neg_sq] linarith [hsc] have hsin2 : Real.sin θ = 2 * Real.sin (θ / 2) * Real.cos (θ / 2) := by have h := Real.sin_two_mul (θ / 2) have hx : 2 * (θ / 2) = θ := by ring rwa [hx] at h have hcos2 : Real.cos θ = Real.cos (θ / 2) ^ 2 - Real.sin (θ / 2) ^ 2 := by have h := Real.cos_two_mul' (θ / 2) have hx : 2 * (θ / 2) = θ := by ring rwa [hx] at h have hproj : hopfS15 (octSpinorFoldZ e θ).1 (octSpinorFoldZ e θ).2 = (0, octAdd (octFromReal (Real.cos θ)) (oSmul (Real.sin θ) e)) := by apply Prod.ext · simp only [hopfS15, hZ1, hZ2, sub_self] · have hbarR : obar (octAdd (octFromReal (Real.cos (θ / 2))) (oSmul (-(Real.sin (θ / 2))) e)) = octAdd (octFromReal (Real.cos (θ / 2))) (oSmul (Real.sin (θ / 2)) e) := by rw [obar_octAdd, obar_octFromReal, obar_oSmul, obar_of_pure e he_pure, oSmul_octNeg, neg_neg] simp only [hopfS15, octSpinorFoldZ, obar_oSmul, hbarR, omul_oSmul_left, omul_oSmul_right, oSmul_oSmul] have hscale : 2 * (1 / Real.sqrt 2 * (1 / Real.sqrt 2)) = 1 := by have : 1 / Real.sqrt 2 * (1 / Real.sqrt 2) = (1 / Real.sqrt 2) ^ 2 := by ring rw [this, h2inv]; ring rw [hscale, oSmul_one] simp only [omul_octAdd_left, omul_octAdd_right, omul_octFromReal_left, omul_octFromReal_right, omul_oSmul_left, omul_oSmul_right, omul_pure_self e he_pure, he_unit, oSmul_octFromReal] apply Prod.ext <;> (ext <;> simp [octAdd, octFromReal, oSmul, hcos2, hsin2, -Quaternion.coe_mul, -Quaternion.coe_add, -Quaternion.coe_sub, -Quaternion.coe_pow] <;> ring) have hZ2pi : octSpinorFoldZ e (θ + 2 * Real.pi) = (octNeg (octSpinorFoldZ e θ).1, octNeg (octSpinorFoldZ e θ).2) := by have harg : (θ + 2 * Real.pi) / 2 = θ / 2 + Real.pi := by ring apply Prod.ext <;> (apply Prod.ext <;> (ext <;> (simp [octSpinorFoldZ, harg, Real.cos_add_pi, Real.sin_add_pi, octNeg, octAdd, octFromReal, oSmul]; try ring))) have hZ4pi : octSpinorFoldZ e (θ + 4 * Real.pi) = octSpinorFoldZ e θ := by have harg : (θ + 4 * Real.pi) / 2 = θ / 2 + 2 * Real.pi := by ring apply Prod.ext <;> (apply Prod.ext <;> (ext <;> simp [octSpinorFoldZ, harg, Real.cos_add_two_pi, Real.sin_add_two_pi, octAdd, octFromReal, oSmul])) refine ⟨⟨by linarith, hproj⟩, ⟨hZ2pi, hZ4pi, ?_⟩, ⟨?_, by simp [octReal], by simp [oNormSq]⟩⟩ · rw [hZ2pi] have hneg_norm : ∀ w : Oct, oNormSq (octNeg w) = oNormSq w := fun w => by simp [oNormSq, octNeg] have hneg_mul : ∀ u v : Oct, omul (octNeg u) (obar (octNeg v)) = omul u (obar v) := fun u v => by apply Prod.ext <;> (ext <;> simp [omul, obar, octNeg]) simp only [hopfS15, hneg_norm, hneg_mul] · apply Prod.ext <;> (apply Prod.ext <;> (ext <;> simp [octSpinorFoldZ, spinorFoldZ, qj, octAdd, octFromReal, oSmul])) end OctonionicSpinorDoubleCover /-! ## 4. `COR-11` Isometric Transport Invariance & Persistence of the Unmodified 3D NS Wall -/ section IsometricTransportAndNSWall /-- Theorem 4 (`COR-11` × `QuaternionicS4And4DPDE` × `SphereEversionAndTransport`): Exact separation between what isometric sphere eversion DOES accomplish and what it CANNOT do for unmodified 2nd-order large-data Navier–Stokes (`μ = 0`): 1. **Isometric transport law (`COR-11`)**: For ANY isometric lift `U : Matrix (Fin m) (Fin n) ℝ` (`Uᵀ * U = 1`, including `J_θ`, `J_θ^𝕆`, `K_θ^𝕆`), conjugating symmetric stretching `S` and viscous dissipation `D` leaves the quadratic production-minus-dissipation balance identically unchanged: `⟨U ω, (U S Uᵀ - U D Uᵀ) (U ω)⟩ = ⟨ω, (S - D) ω⟩` — zero extra damping is manufactured! 2. **Invariance of the 3D traceless strain positive stretching floor**: For ANY orthogonal transport `Q ∈ O(3)` (`Qᵀ Q = 1`) and ANY symmetric traceless unit 3×3 strain tensor `T`, `T̃ = Q T Qᵀ` remains symmetric, traceless, unit Hilbert–Schmidt norm, has identical quadratic stretching values `⟨Q v, T̃ (Q v)⟩ = ⟨v, T v⟩`, and therefore obeys the exact same basis-free positive stretching floor `1 / √6 ≤ λ_max` (`traceless_unit_S4_basis_free_bounds`). 3. **Persistence of the supercritical 2nd-order enstrophy wall**: For any `ν > 0, C > 0`, above the critical threshold `E > ν² / C⁴`, the nonlinear stretching majorant strictly dominates second-order viscosity (`ν F < C² √E F` for all `F > 0`). -/ theorem isometric_eversion_transports_F02_closures_and_cannot_create_dissipation {m n : ℕ} (U : Matrix (Fin m) (Fin n) ℝ) (hU : Uᵀ * U = 1) (S D : Matrix (Fin n) (Fin n) ℝ) (ω : Fin n → ℝ) (Qmat T : Mat3) (hQ : Qmatᵀ * Qmat = 1) (hTsym : Tᵀ = T) (hTtr : T.trace = 0) (hThs : hsNormSq T = 1) (v : Vec3) {C ν : ℝ} (hC : 0 < C) (hν : 0 < ν) : (dotProduct (U *ᵥ ω) (((U * S * Uᵀ) - (U * D * Uᵀ)) *ᵥ (U *ᵥ ω)) = dotProduct ω ((S - D) *ᵥ ω)) ∧ ((Qmat * T * Qmatᵀ)ᵀ = Qmat * T * Qmatᵀ ∧ (Qmat * T * Qmatᵀ).trace = 0 ∧ hsNormSq (Qmat * T * Qmatᵀ) = 1 ∧ dotProduct (Qmat *ᵥ v) ((Qmat * T * Qmatᵀ) *ᵥ (Qmat *ᵥ v)) = dotProduct v (T *ᵥ v)) ∧ ((∀ c : ℝ, 0 ≤ c → T ⪯ₗ c • (1 : Mat3) → 1 / Real.sqrt 6 ≤ c) ∧ (T ⪯ₗ Real.sqrt (2 / 3 : ℝ) • (1 : Mat3))) ∧ (∀ E F : ℝ, ν ^ 2 / C ^ 4 < E → 0 < F → ν * F < C ^ 2 * Real.sqrt E * F) := by have hquad : ∀ (A : Matrix (Fin n) (Fin n) ℝ), dotProduct (U *ᵥ ω) ((U * A * Uᵀ) *ᵥ (U *ᵥ ω)) = dotProduct ω (A *ᵥ ω) := by intro A rw [Matrix.mulVec_mulVec, Matrix.mul_assoc (U * A) Uᵀ U, hU, Matrix.mul_one, ← Matrix.vecMul_transpose, Matrix.dotProduct_mulVec, Matrix.vecMul_vecMul, ← Matrix.mul_assoc Uᵀ U A, hU, Matrix.one_mul, ← Matrix.dotProduct_mulVec] refine ⟨?_, ?_, ?_, ?_⟩ · rw [Matrix.sub_mulVec, dotProduct_sub, hquad S, hquad D, Matrix.sub_mulVec, dotProduct_sub] · refine ⟨?_, ?_, ?_, ?_⟩ · rw [Matrix.transpose_mul, Matrix.transpose_mul, Matrix.transpose_transpose, hTsym, Matrix.mul_assoc] · rw [Matrix.trace_mul_comm (Qmat * T) Qmatᵀ, ← Matrix.mul_assoc, hQ, Matrix.one_mul, hTtr] · change ((Qmat * T * Qmatᵀ)ᵀ * (Qmat * T * Qmatᵀ)).trace = 1 have hprod : (Qmat * T * Qmatᵀ)ᵀ * (Qmat * T * Qmatᵀ) = Qmat * (Tᵀ * T) * Qmatᵀ := by rw [Matrix.transpose_mul, Matrix.transpose_mul, Matrix.transpose_transpose] calc Qmat * (Tᵀ * Qmatᵀ) * (Qmat * T * Qmatᵀ) = Qmat * Tᵀ * (Qmatᵀ * Qmat) * T * Qmatᵀ := by simp only [Matrix.mul_assoc] _ = Qmat * (Tᵀ * T) * Qmatᵀ := by rw [hQ, Matrix.mul_one]; simp only [Matrix.mul_assoc] rw [hprod, Matrix.trace_mul_comm (Qmat * (Tᵀ * T)) Qmatᵀ, ← Matrix.mul_assoc, hQ, Matrix.one_mul] exact hThs · rw [Matrix.mulVec_mulVec, Matrix.mul_assoc (Qmat * T) Qmatᵀ Qmat, hQ, Matrix.mul_one, ← Matrix.vecMul_transpose, Matrix.dotProduct_mulVec, Matrix.vecMul_vecMul, ← Matrix.mul_assoc Qmatᵀ Qmat T, hQ, Matrix.one_mul, ← Matrix.dotProduct_mulVec] · exact ⟨(traceless_unit_S4_basis_free_bounds hTsym hTtr hThs).1, (traceless_unit_S4_basis_free_bounds hTsym hTtr hThs).2.1⟩ · intro E F hE hF exact (ns4d_curved_S4_second_order_threshold_and_obstruction hC hν).2 hE hF end IsometricTransportAndNSWall /-! ## 5. F02 `S¹³ ↪ S¹⁵ → S⁸` Completion Equivalence & Exact Topological/Analytical Gap -/ section S15S8NSCompletionEquivalence /-- Canonical isometric embedding of F02's 14D physical carrier `S¹³ ⊂ ℝ¹⁴` into `S¹⁵ ⊂ 𝕆 × 𝕆` (placing `(q, ℓ₀..ℓ₃) / Λ` in the first octonion slot and `(ℓ₄, v₀, v₁, v₂, ψ, 1, 0, 0) / Λ` in the second octonion slot). -/ def embedF02ToS15 (p : PhysPayload) : Oct × Oct := let Λ := rawNorm p ((⟨p.q.re / Λ, p.q.imI / Λ, p.q.imJ / Λ, p.q.imK / Λ⟩, ⟨p.ℓ 0 / Λ, p.ℓ 1 / Λ, p.ℓ 2 / Λ, p.ℓ 3 / Λ⟩), (⟨p.ℓ 4 / Λ, p.v 0 / Λ, p.v 1 / Λ, p.v 2 / Λ⟩, ⟨p.ψ / Λ, 1 / Λ, 0, 0⟩)) /-- Theorem 5 (`PhysicalCarrierS13` × `S13S8HopfTower` × `SignedShellAndEquivalence`): Complete, honest verdict connecting `S¹³ \ S⁸ ↪ S¹⁵ → S⁸` directly to F02 Navier–Stokes: 1. **Exact isometric embedding `F02 S¹³ ↪ S¹⁵ → S⁸`**: every admissible F02 fluid payload `p` maps onto the unit 15-sphere `S¹⁵ ⊂ 𝕆²` (`|L|² + |R|² = 1`) and projects via `hopfS15` onto the unit 8-sphere `S⁸`. 2. **Exact boundary-margin equivalence**: staying at squared anchor distance `ε ≤ 1 - |z_anchor|²` from the excluded `S⁸` boundary is equivalent to the exact F02 amplitude cap `sqNorm p.ℓ + vecSqNorm p.v + p.ψ² ≤ 2 / ε - 2`. 3. **Conditional global regularity closure**: under the explicit open analytical estimate `SignedShellTarget S R M₀`, the maximal smooth lifespan is global (`S.Tstar = none`). 4. **Exact `S¹⁵ → S⁸` obstruction against cloning the `S³ → S²` Hopf-equivariant `160 π³` closure**: global `U(1)` phase `e^{iπ/4}` breaks `h₃` fibers (splitting `GHZ` and `Ψ₂` from the identical `S⁸` image to opposite poles `±e₈`), AND octonionic left-multiplications are non-associative (`oLeftMat e₁ * oLeftMat e₂ ≠ oLeftMat (e₁ * e₂)`). -/ theorem s15_s8_navier_stokes_completion_equivalence_and_exact_gap (p : PhysPayload) (hp : PhysAdmissible p) (S : FlatH1RestartInterface) (R M₀ : ℝ) : (oNormSq (embedF02ToS15 p).1 + oNormSq (embedF02ToS15 p).2 = 1 ∧ (hopfS15 (embedF02ToS15 p).1 (embedF02ToS15 p).2).1 ^ 2 + oNormSq (hopfS15 (embedF02ToS15 p).1 (embedF02ToS15 p).2).2 = 1) ∧ (∀ ε : ℝ, 0 < ε → (ε ≤ 1 - sqNorm (f02AnchorLeaf p) ↔ sqNorm p.ℓ + vecSqNorm p.v + p.ψ ^ 2 ≤ 2 / ε - 2)) ∧ (SignedShellTarget S R M₀ → S.Tstar = none) ∧ (hopfH3 ghzState = hopfH3 psi2State ∧ hopfH3 (fun i => phasePiOver4 * ghzState i) 8 = -1 ∧ hopfH3 (fun i => phasePiOver4 * psi2State i) 8 = 1 ∧ oLeftMat (LinkedTower.Hopf.qi, 0) * oLeftMat (qj, 0) ≠ oLeftMat (omul (LinkedTower.Hopf.qi, 0) (qj, 0))) := by have hΛpos : 0 < rawNorm p := rawNorm_pos p have hΛne : rawNorm p ≠ 0 := ne_of_gt hΛpos have hΛsq : rawNorm p ^ 2 = rawNormSq p := rawNorm_sq p have hq : p.q.re ^ 2 + p.q.imI ^ 2 + p.q.imJ ^ 2 + p.q.imK ^ 2 = 1 := by have h := hp dsimp [PhysAdmissible] at h rw [Quaternion.normSq_def'] at h linarith [h] have hs15 : oNormSq (embedF02ToS15 p).1 + oNormSq (embedF02ToS15 p).2 = 1 := by simp only [embedF02ToS15, oNormSq, Quaternion.normSq_def'] have hsum : p.q.re ^ 2 + p.q.imI ^ 2 + p.q.imJ ^ 2 + p.q.imK ^ 2 + (p.ℓ 0 ^ 2 + p.ℓ 1 ^ 2 + p.ℓ 2 ^ 2 + p.ℓ 3 ^ 2 + p.ℓ 4 ^ 2) + (p.v 0 ^ 2 + p.v 1 ^ 2 + p.v 2 ^ 2) + p.ψ ^ 2 + 1 = rawNormSq p := by dsimp [rawNormSq, sqNorm, vecSqNorm] simp only [Fin.sum_univ_five, Fin.sum_univ_three] linarith have hden : rawNorm p ^ 2 = rawNormSq p := hΛsq field_simp [hΛne] nlinarith [hsum, hden] have hs8 : (hopfS15 (embedF02ToS15 p).1 (embedF02ToS15 p).2).1 ^ 2 + oNormSq (hopfS15 (embedF02ToS15 p).1 (embedF02ToS15 p).2).2 = 1 := by simp only [hopfS15, oNormSq_oSmul, oNormSq_omul, oNormSq_obar] have hsq := congrArg (fun x : ℝ => x ^ 2) hs15 nlinarith only [hsq] have hmargin := (s13_s8_navier_stokes_boundary_coupling p hp).2.2.2.2.2 have ht1 : (∑ i : Fin 4, Complex.normSq ((Pi.single 0 (1 : ℂ) : Fin 4 → ℂ) i)) = 1 := by simp [Fin.sum_univ_four] have hψ1 : (∑ i : Fin 8, Complex.normSq ((Pi.single 0 (1 : ℂ) : Fin 8 → ℂ) i)) = 1 := by simp [Fin.sum_univ_eight] have hphase := (hopf_ladder_inclusions_plucker_and_phase_obstruction 1 0 (by simp) (Pi.single 0 1) ht1 (Pi.single 0 1) hψ1 0 0).2.2.2 exact ⟨⟨hs15, hs8⟩, hmargin, signedShellTarget_implies_global S R M₀, ⟨hphase.2.2.2.1, hphase.2.2.2.2.1, hphase.2.2.2.2.2, octonion_nonassociative_and_matrix_distinct.2⟩⟩ end S15S8NSCompletionEquivalence end end F02NavierStokes.SyzygyS7ToS15EversionNS