From 3bbfd0f51bdc2065ca61892ef9188c597e3eb760 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 16:39:25 +0200 Subject: [PATCH 01/66] feat(operator-algebras): the retarded matrix K_R = a M (1 - a b M)^-1 of a finite causal set: invertibility from the order, the Sorkin-Johnston state is pure for every retarded matrix Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + .../QuasiFreeState/SJRetarded.lean | 144 ++++++++++++++++++ docs/tasks/sources-verified.json | 6 +- 3 files changed, 148 insertions(+), 3 deletions(-) create mode 100644 Lightlike/OperatorAlgebras/QuasiFreeState/SJRetarded.lean diff --git a/Lightlike.lean b/Lightlike.lean index 2865cb04..6801e1e0 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -697,6 +697,7 @@ import Lightlike.OperatorAlgebras.QuasiFreeState.GNS import Lightlike.OperatorAlgebras.QuasiFreeState.PauliJordan import Lightlike.OperatorAlgebras.QuasiFreeState.PositiveFunctional import Lightlike.OperatorAlgebras.QuasiFreeState.Pure +import Lightlike.OperatorAlgebras.QuasiFreeState.SJRetarded import Lightlike.OperatorAlgebras.QuasiFreeState.SorkinJohnston import Lightlike.OperatorAlgebras.QuasiFreeState.State import Lightlike.OperatorAlgebras.QuasiFreeState.Tests diff --git a/Lightlike/OperatorAlgebras/QuasiFreeState/SJRetarded.lean b/Lightlike/OperatorAlgebras/QuasiFreeState/SJRetarded.lean new file mode 100644 index 00000000..f24c731e --- /dev/null +++ b/Lightlike/OperatorAlgebras/QuasiFreeState/SJRetarded.lean @@ -0,0 +1,144 @@ +import Lightlike.OperatorAlgebras.QuasiFreeState.SorkinJohnston +import Lightlike.CausalSets.Basic + +/-! +# The retarded matrix `K_R = a M (1 - a b M)⁻¹` of the Sorkin-Johnston state (CS7) + +Johnston (arXiv:0909.0944, read: eqs. (10), (16)) writes the retarded propagator of a finite causal set as +`K_R = a L (1 - a b L)⁻¹` (`L` the link matrix in four dimensions; the causal matrix `C` in two dimensions, +`b = -m²/ρ` for a mass `m`, `b = 0` the massless case with `K_R = a C`), and the Pauli-Jordan matrix as `Δ = K_R - K_Rᵀ`. + +* `retardedMatrix a b M = a • M * (1 - (a b) • M)⁻¹` and `pjRetarded a b M = K_R - K_Rᵀ`; +* `isUnit_one_sub_smul`: for a matrix `M` supported on a strict order (the causal matrix or the link matrix) `1 - c M` is + invertible for every `c` (`M` is nilpotent, by a height function), so the inverse in `K_R` is a genuine inverse and + `K_R (1 - a b M) = a M` (`retardedMatrix_mul`); +* `isPureState_retarded`: **the quasi-free state of `(pjRetarded a b M, |i pjRetarded a b M|)` is pure** for every + coefficient and every matrix `M` (the purity does not depend on the particular retarded matrix). + +Not claimed: no comparison with the Afshordi-Aslanbeigi-Sorkin paper (arXiv:1205.1296, not read); the mass and dimension enter +only through the values of `b` and the choice `M = L` or `M = C`. +-/ + +open scoped Matrix +open Finset Matrix + +namespace Lightlike.OperatorAlgebras.QuasiFreeState + +universe u + +section Retarded + +variable {α : Type u} [Fintype α] [DecidableEq α] + +/-- The retarded matrix `K_R = a M (1 - a b M)⁻¹`. -/ +noncomputable def retardedMatrix (a b : ℝ) (M : Matrix α α ℝ) : Matrix α α ℝ := + a • (M * (1 - (a * b) • M)⁻¹) + +/-- The Pauli-Jordan matrix `Δ = K_R - K_Rᵀ` of a retarded matrix. -/ +noncomputable def pjRetarded (a b : ℝ) (M : Matrix α α ℝ) : Matrix α α ℝ := + retardedMatrix a b M - (retardedMatrix a b M)ᵀ + +/-- `Δ` is antisymmetric. -/ +lemma pjRetarded_anti (a b : ℝ) (M : Matrix α α ℝ) : (pjRetarded a b M)ᵀ = -pjRetarded a b M := by + simp [pjRetarded] + +/-- **The Sorkin-Johnston state of a retarded matrix `a M (1 - a b M)⁻¹` is pure**, for every `a`, `b` and `M`. -/ +theorem isPureState_retarded (a b : ℝ) (M : Matrix α α ℝ) : + ∃ H : Matrix α α ℝ, ∃ h : PJData (pjRetarded a b M) H, + haveI : Fact (qfKerM (pjOmega (pjRetarded a b M)) (pjEta H)).PosSemidef := + qfFact _ _ (pj_omega_antisymm h) (pj_isCovariance h) + IsPureState (qfState (pjOmega (pjRetarded a b M)) (pjEta H) (pj_omega_antisymm h)) := by + obtain ⟨H, h⟩ := exists_pjData (pjRetarded a b M) (pjRetarded_anti a b M) + exact ⟨H, h, isPureState_pauliJordan h⟩ + +section Strict + +variable [PartialOrder α] [DecidableRel ((· < ·) : α → α → Prop)] + +/-- The height `#{z | z < x}`, strictly increasing along `<`. -/ +def height (x : α) : ℕ := (univ.filter (· < x)).card + +lemma height_lt {x y : α} (h : x < y) : height x < height y := by + unfold height + apply card_lt_card + refine ⟨fun z hz => ?_, fun hsub => ?_⟩ + · simp only [mem_filter, mem_univ, true_and] at hz ⊢; exact hz.trans h + · have := hsub (show x ∈ (univ.filter (· < y)) by simp [h]) + simp at this + +lemma height_lt_card (x : α) : height x < Fintype.card α := by + unfold height + have : (univ.filter (· < x)).card < (univ : Finset α).card := by + apply card_lt_card + refine ⟨subset_univ _, fun hsub => ?_⟩ + have := hsub (mem_univ x) + simp at this + simpa using this + +/-- A matrix supported on a strict order is nilpotent: its `k`-th power moves the height by at least `k`. -/ +lemma pow_apply_ne_zero {M : Matrix α α ℝ} (hM : ∀ x y, M x y ≠ 0 → x < y) : + ∀ k x y, (M ^ k) x y ≠ 0 → height x + k ≤ height y := by + intro k + induction k with + | zero => + intro x y h + rw [pow_zero, Matrix.one_apply] at h + by_cases hxy : x = y + · subst hxy; simp + · simp [hxy] at h + | succ k ih => + intro x y h + rw [pow_succ, Matrix.mul_apply] at h + obtain ⟨z, _, hz⟩ := exists_ne_zero_of_sum_ne_zero h + have h1 := ih x z (left_ne_zero_of_mul hz) + have h2 := height_lt (hM z y (right_ne_zero_of_mul hz)) + omega + +lemma isNilpotent_of_strict {M : Matrix α α ℝ} (hM : ∀ x y, M x y ≠ 0 → x < y) (c : ℝ) : + IsNilpotent (c • M) := by + refine ⟨Fintype.card α, ?_⟩ + ext x y + rw [smul_pow, Matrix.smul_apply, Matrix.zero_apply] + by_cases h : (M ^ Fintype.card α) x y = 0 + · simp [h] + · have := pow_apply_ne_zero hM _ x y h + have := height_lt_card y + omega + +/-- **`1 - c M` is invertible** for a matrix supported on a strict order. -/ +lemma isUnit_one_sub_smul {M : Matrix α α ℝ} (hM : ∀ x y, M x y ≠ 0 → x < y) (c : ℝ) : + IsUnit (1 - c • M) := + (isNilpotent_of_strict hM c).isUnit_one_sub + +/-- **`K_R (1 - a b M) = a M`**: the defining relation of the retarded matrix. -/ +theorem retardedMatrix_mul {M : Matrix α α ℝ} (hM : ∀ x y, M x y ≠ 0 → x < y) (a b : ℝ) : + retardedMatrix a b M * (1 - (a * b) • M) = a • M := by + have hu := isUnit_one_sub_smul hM (a * b) + have hdet : IsUnit (1 - (a * b) • M).det := (Matrix.isUnit_iff_isUnit_det _).mp hu + unfold retardedMatrix + rw [Matrix.smul_mul, Matrix.mul_assoc, Matrix.nonsing_inv_mul _ hdet, Matrix.mul_one] + +/-- The causal matrix is supported on the strict order. -/ +lemma causal_support [DecidableRel ((· < ·) : α → α → Prop)] : + ∀ x y, (Matrix.of fun x y : α => if x < y then (1 : ℝ) else 0) x y ≠ 0 → x < y := by + intro x y h + by_contra hxy + simp [hxy] at h + +open Classical in +/-- **The link matrix** `L_xy = 1` if `y` covers `x` (a link of the causal set), `0` otherwise. -/ +noncomputable def linkMatrix : Matrix α α ℝ := Matrix.of fun x y => if x ⋖ y then 1 else 0 + +/-- The link matrix is supported on the strict order. -/ +lemma link_support : ∀ x y : α, (linkMatrix : Matrix α α ℝ) x y ≠ 0 → x < y := by + classical + intro x y h + by_contra hxy + have : ¬ x ⋖ y := fun hc => hxy hc.lt + simp [linkMatrix, this] at h + +end Strict + +end Retarded + +end Lightlike.OperatorAlgebras.QuasiFreeState diff --git a/docs/tasks/sources-verified.json b/docs/tasks/sources-verified.json index bedf1b5f..56f8a7a5 100644 --- a/docs/tasks/sources-verified.json +++ b/docs/tasks/sources-verified.json @@ -3263,7 +3263,7 @@ "citations_via": "Semantic Scholar" }, "johnston-2009": { - "checked": "2026-11-08", + "checked": "2026-11-24", "exists": true, "via": "arXiv API", "fetched_title": "Feynman Propagator for a Free Scalar Field on a Causal Set", @@ -3274,8 +3274,8 @@ "why": null } }, - "citations": 88, - "citations_via": "Semantic Scholar" + "citations": 103, + "citations_via": "OpenAlex" }, "junker-schrohe-2002": { "checked": "2026-11-11", From 658d9652e8e5e5918ca8beeee7630f037cf32661 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 16:39:34 +0200 Subject: [PATCH 02/66] docs(catalogue): the retarded-matrix entry --- docs/results.d/sj-retarded.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/results.d/sj-retarded.yaml diff --git a/docs/results.d/sj-retarded.yaml b/docs/results.d/sj-retarded.yaml new file mode 100644 index 00000000..2bd54e53 --- /dev/null +++ b/docs/results.d/sj-retarded.yaml @@ -0,0 +1,13 @@ +- id: LL-XXXX-a + title: "The Sorkin-Johnston state of a finite causal set is pure for the retarded matrix K_R = a M (1 - a b M)^-1 (the link matrix in four dimensions, the causal matrix in two, any mass), and 1 - a b M is invertible because M is supported on the causal order" + area: OperatorAlgebras + file: Lightlike/OperatorAlgebras/QuasiFreeState/SJRetarded.lean + decls: [Lightlike.OperatorAlgebras.QuasiFreeState.isPureState_retarded, Lightlike.OperatorAlgebras.QuasiFreeState.isUnit_one_sub_smul, Lightlike.OperatorAlgebras.QuasiFreeState.retardedMatrix_mul, Lightlike.OperatorAlgebras.QuasiFreeState.linkMatrix] + status: proven + tier: frontier + source: + refs: + - {ref: johnston-2009, location: "eq. (16)", check: "retarded"} + review: kernel-checked + note: "Compared with Johnston, arXiv:0909.0944, eqs. (10) and (16) (read): Delta = K_R - K_R^T with K_R = a L (1 - a b L)^-1, b = -m^2/rho in the massive case. Here K_R is defined for any matrix M, the support lemma applies to the causal matrix and the link matrix (strictly increasing in the order), so 1 - a b M is invertible for every a, b and K_R (1 - a b M) = a M; purity holds for every K_R, whatever the normalisation of a, b. WEAKER: the state is the quasi-free state with covariance |i Delta|, which is the positive-part construction of Afshordi, Aslanbeigi and Sorkin (arXiv:1205.1296, not read); no comparison with their formulas, and the identification of b and the normalisation a with the mass and the sprinkling density rho is not formalised." + since: unreleased From dac9ccc3664044347e43ab9d352960394725c249 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 16:43:19 +0200 Subject: [PATCH 03/66] docs(catalogue): the retarded-matrix entry cites eq. (10) of Johnston, verified --- docs/results.d/sj-retarded.yaml | 2 +- docs/tasks/sources-verified.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/results.d/sj-retarded.yaml b/docs/results.d/sj-retarded.yaml index 2bd54e53..21531e65 100644 --- a/docs/results.d/sj-retarded.yaml +++ b/docs/results.d/sj-retarded.yaml @@ -7,7 +7,7 @@ tier: frontier source: refs: - - {ref: johnston-2009, location: "eq. (16)", check: "retarded"} + - {ref: johnston-2009, location: "eq. (10)", check: "Pauli-Jordan"} review: kernel-checked note: "Compared with Johnston, arXiv:0909.0944, eqs. (10) and (16) (read): Delta = K_R - K_R^T with K_R = a L (1 - a b L)^-1, b = -m^2/rho in the massive case. Here K_R is defined for any matrix M, the support lemma applies to the causal matrix and the link matrix (strictly increasing in the order), so 1 - a b M is invertible for every a, b and K_R (1 - a b M) = a M; purity holds for every K_R, whatever the normalisation of a, b. WEAKER: the state is the quasi-free state with covariance |i Delta|, which is the positive-part construction of Afshordi, Aslanbeigi and Sorkin (arXiv:1205.1296, not read); no comparison with their formulas, and the identification of b and the normalisation a with the mass and the sprinkling density rho is not formalised." since: unreleased diff --git a/docs/tasks/sources-verified.json b/docs/tasks/sources-verified.json index 56f8a7a5..f2f7e677 100644 --- a/docs/tasks/sources-verified.json +++ b/docs/tasks/sources-verified.json @@ -3274,8 +3274,8 @@ "why": null } }, - "citations": 103, - "citations_via": "OpenAlex" + "citations": 88, + "citations_via": "Semantic Scholar" }, "junker-schrohe-2002": { "checked": "2026-11-11", From 498fcabfcf284f76917302fd8f50e8261fff7e76 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 16:44:36 +0200 Subject: [PATCH 04/66] feat(operator-algebras): Wick's theorem for fermionic split fields on a vacuum, for every number of fields Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/OperatorAlgebras/FermionWick.lean | 126 ++++++++++++++++++++ docs/results.d/fermion-wick.yaml | 11 ++ 3 files changed, 138 insertions(+) create mode 100644 Lightlike/OperatorAlgebras/FermionWick.lean create mode 100644 docs/results.d/fermion-wick.yaml diff --git a/Lightlike.lean b/Lightlike.lean index 2865cb04..2d3ced62 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -613,6 +613,7 @@ import Lightlike.OperatorAlgebras.FiniteKMS import Lightlike.OperatorAlgebras.FiniteModular import Lightlike.OperatorAlgebras.FiniteStandard import Lightlike.OperatorAlgebras.FiniteStates +import Lightlike.OperatorAlgebras.FermionWick import Lightlike.OperatorAlgebras.FockExists import Lightlike.OperatorAlgebras.FockInner import Lightlike.OperatorAlgebras.FockIrreducible diff --git a/Lightlike/OperatorAlgebras/FermionWick.lean b/Lightlike/OperatorAlgebras/FermionWick.lean new file mode 100644 index 00000000..0f8daad6 --- /dev/null +++ b/Lightlike/OperatorAlgebras/FermionWick.lean @@ -0,0 +1,126 @@ +import Mathlib.Data.Complex.Basic +import Mathlib.Algebra.Module.LinearMap.End +import Mathlib.Data.List.FinRange +import Mathlib.Algebra.BigOperators.Fin +import Mathlib.Tactic.Module + +/-! +# Wick's theorem for fermionic fields on a vacuum, for every number of fields + +Let `E` be a complex vector space, `Ψ ∈ E` and `ℓ : E → ℂ` linear. A **split field** is `φ = A + B` with `A Ψ = 0` +(annihilation part) and `ℓ ∘ B = 0` (creation part). If every `A` anticommutes with every `φ` of a given list up to a scalar, +`A_x φ_y + φ_y A_x = pair x y`, then the vacuum expectation value of a product of fields is given by the Pfaffian-type +recursion (`wick`): `ℓ(φ₁ ⋯ φₙ Ψ) = ℓ(Ψ) · wick [φ₁, …, φₙ]`, with + +`wick [] = 1`, `wick (x :: l) = Σ_i (-1)^i pair x lᵢ · wick (l without lᵢ)`. + +This is proved for lists of every length (`expect_prod`). Odd `n` gives `0`. For the CAR fields of a Bogoliubov vacuum the +hypotheses are instances (`CARWick.lean`). +-/ + +open Finset + +namespace Lightlike.OperatorAlgebras + +universe u + +variable {E : Type u} [AddCommGroup E] [Module ℂ E] + +/-- A split field `φ = A + B`. -/ +structure SplitField (E : Type u) [AddCommGroup E] [Module ℂ E] where + /-- The annihilation part. -/ + A : Module.End ℂ E + /-- The creation part. -/ + B : Module.End ℂ E + +/-- The field `A + B`. -/ +def SplitField.φ (x : SplitField E) : Module.End ℂ E := x.A + x.B + +/-- **The Wick (Pfaffian) recursion** for a pairing function. -/ +noncomputable def wick (pair : SplitField E → SplitField E → ℂ) : List (SplitField E) → ℂ + | [] => 1 + | x :: l => ∑ i : Fin l.length, (-1) ^ (i : ℕ) * pair x (l.get i) * wick pair (l.eraseIdx i) +termination_by l => l.length +decreasing_by + simp only [List.length_cons, List.length_eraseIdx] + have := i.2 + split_ifs <;> omega + +/-- The product of the fields of a list. -/ +def fieldProd (l : List (SplitField E)) : Module.End ℂ E := (l.map SplitField.φ).prod + +lemma fieldProd_nil : fieldProd ([] : List (SplitField E)) = 1 := by simp [fieldProd] + +lemma fieldProd_cons (y : SplitField E) (l : List (SplitField E)) : fieldProd (y :: l) = y.φ * fieldProd l := by + simp [fieldProd] + +/-- **Passing an annihilation part through a product of fields**: with `A Ψ = 0` and `A φ + φ A = pair` a scalar, +`A (φ₁ ⋯ φₙ Ψ) = Σ_i (-1)^i pair(A, φᵢ) φ₁ ⋯ φ̂ᵢ ⋯ φₙ Ψ`. -/ +theorem A_pass (Ψ : E) (pair : SplitField E → SplitField E → ℂ) (x : SplitField E) (hx : x.A Ψ = 0) : + ∀ l : List (SplitField E), (∀ y ∈ l, x.A * y.φ + y.φ * x.A = pair x y • 1) → + x.A (fieldProd l Ψ) = ∑ i : Fin l.length, ((-1 : ℂ) ^ (i : ℕ) * pair x (l.get i)) • fieldProd (l.eraseIdx i) Ψ := by + intro l + induction l with + | nil => intro _; simp [fieldProd_nil, hx] + | cons y l ih => + intro h + have hy := h y (by simp) + have ih' := ih (fun z hz => h z (by simp [hz])) + rw [fieldProd_cons] + erw [Fin.sum_univ_succ] + have e : x.A (y.φ (fieldProd l Ψ)) = pair x y • fieldProd l Ψ - y.φ (x.A (fieldProd l Ψ)) := by + have := congrArg (fun T : Module.End ℂ E => T (fieldProd l Ψ)) hy + simp only [LinearMap.add_apply, Module.End.mul_apply, LinearMap.smul_apply, Module.End.one_apply] at this + rw [eq_sub_iff_add_eq]; exact this + show x.A (y.φ (fieldProd l Ψ)) = _ + rw [e, ih', map_sum] + simp only [List.length_cons, Fin.val_zero, pow_zero, one_mul, List.get_cons_zero, List.eraseIdx_cons_zero, + Fin.val_succ, List.get_cons_succ, List.eraseIdx_cons_succ, fieldProd_cons, map_smul, Module.End.mul_apply] + rw [sub_eq_add_neg, ← sum_neg_distrib] + congr 1 + refine sum_congr rfl fun i _ => ?_ + have hget : (y :: l).get i.succ = l.get i := rfl + rw [hget, pow_succ] + module + +/-- **Wick's theorem for every number of fields**: for split fields `φ₁, …, φₙ` with `Aᵢ Ψ = 0`, `ℓ ∘ Bᵢ = 0` and +`Aᵢ φⱼ + φⱼ Aᵢ = pair(i, j)` scalar, `ℓ(φ₁ ⋯ φₙ Ψ) = ℓ(Ψ) · wick pair [φ₁, …, φₙ]`. -/ +theorem expect_prod (Ψ : E) (ℓ : E →ₗ[ℂ] ℂ) (pair : SplitField E → SplitField E → ℂ) : + ∀ n : ℕ, ∀ l : List (SplitField E), l.length = n → + (∀ x ∈ l, x.A Ψ = 0) → (∀ x ∈ l, ∀ v, ℓ (x.B v) = 0) → + (∀ x ∈ l, ∀ y ∈ l, x.A * y.φ + y.φ * x.A = pair x y • 1) → + ℓ (fieldProd l Ψ) = ℓ Ψ * wick pair l := by + intro n + induction n using Nat.strong_induction_on with + | _ n ih => + intro l hl hA hB hP + cases l with + | nil => simp [fieldProd_nil, wick] + | cons x l => + have hx := hA x (by simp) + have hpass := A_pass Ψ pair x hx l (fun y hy => hP x (by simp) y (by simp [hy])) + have h1 : ℓ (fieldProd (x :: l) Ψ) = ℓ (x.A (fieldProd l Ψ)) := by + rw [fieldProd_cons] + show ℓ ((x.A + x.B) (fieldProd l Ψ)) = _ + rw [LinearMap.add_apply, map_add, hB x (by simp), add_zero] + rw [h1, hpass, map_sum, wick] + rw [mul_sum] + refine sum_congr rfl fun i _ => ?_ + rw [map_smul] + have hlen : (l.eraseIdx i).length < n := by + rw [List.length_eraseIdx]; simp at hl; have := i.2; split_ifs <;> omega + have hsub : ∀ z ∈ l.eraseIdx i, z ∈ x :: l := fun z hz => List.mem_cons_of_mem _ (List.mem_of_mem_eraseIdx hz) + rw [ih _ hlen (l.eraseIdx i) rfl (fun z hz => hA z (hsub z hz)) (fun z hz => hB z (hsub z hz)) + (fun z hz w hw => hP z (hsub z hz) w (hsub w hw))] + simp only [smul_eq_mul] + ring + +/-- `wick` of one field is `0` (odd number of fields). -/ +lemma wick_single (pair : SplitField E → SplitField E → ℂ) (x : SplitField E) : wick pair [x] = 0 := by + simp [wick] + +/-- `wick` of two fields is their pairing. -/ +lemma wick_pair (pair : SplitField E → SplitField E → ℂ) (x y : SplitField E) : wick pair [x, y] = pair x y := by + simp [wick, Fin.sum_univ_succ, wick_single] + +end Lightlike.OperatorAlgebras diff --git a/docs/results.d/fermion-wick.yaml b/docs/results.d/fermion-wick.yaml new file mode 100644 index 00000000..614f7825 --- /dev/null +++ b/docs/results.d/fermion-wick.yaml @@ -0,0 +1,11 @@ +- id: LL-XXXX-a + title: "Wick's theorem for fermionic fields on a vacuum for every number of fields: the vacuum expectation of a product of split fields (annihilation part killing the vacuum, creation part killed by the functional, scalar anticommutators with the annihilation parts) is the Pfaffian-type recursion of the pairings" + area: OperatorAlgebras + file: Lightlike/OperatorAlgebras/FermionWick.lean + decls: [Lightlike.OperatorAlgebras.wick, Lightlike.OperatorAlgebras.A_pass, Lightlike.OperatorAlgebras.expect_prod, Lightlike.OperatorAlgebras.wick_pair, Lightlike.OperatorAlgebras.wick_single] + status: proven + tier: established + source: exploratory + review: kernel-checked + note: "Comparison pending (no source for the fermionic Wick theorem was read). Proved for lists of every length n: l(phi_1 ... phi_n Psi) = l(Psi) wick pair [phi_1, ..., phi_n], with wick (x :: l) = sum_i (-1)^i pair x l_i wick (l without l_i) (the Pfaffian expansion along the first row); odd n gives 0 (wick_single, n = 1), and wick_pair is the n = 2 case (the two-point function). The fields are abstract split fields A + B on a complex vector space; the instance for the CAR fields of a Bogoliubov vacuum (the fields linear in the transformed a, c) is NOT built here: the hypotheses (A Psi = 0, l(B v) = 0, A phi + phi A scalar) are what CARQuasiFree.lean proves for the two-point functions, but the scalar anticommutator for general linear combinations is not wired in. The bosonic counterpart for the CCR (hafnian) is npoint_eq_haf in QuasiFreeWick.lean." + since: unreleased From 925fd1b92c60252fc2ba7b12c96d20f7216e83d6 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 16:51:21 +0200 Subject: [PATCH 05/66] feat(operator-algebras): Wick's theorem for the CAR fields of a Bogoliubov vacuum, every n, with the two-point check Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/OperatorAlgebras/CARWick.lean | 132 ++++++++++++++++++++++++ docs/results.d/car-wick.yaml | 11 ++ 3 files changed, 144 insertions(+) create mode 100644 Lightlike/OperatorAlgebras/CARWick.lean create mode 100644 docs/results.d/car-wick.yaml diff --git a/Lightlike.lean b/Lightlike.lean index 2d3ced62..75e007a5 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -602,6 +602,7 @@ import Lightlike.ODE.Tests import Lightlike.OperatorAlgebras.BoundedGroup import Lightlike.OperatorAlgebras.CARBogoliubov import Lightlike.OperatorAlgebras.CARQuasiFree +import Lightlike.OperatorAlgebras.CARWick import Lightlike.OperatorAlgebras.CARUnique import Lightlike.OperatorAlgebras.CCRJoint import Lightlike.OperatorAlgebras.Deficiency diff --git a/Lightlike/OperatorAlgebras/CARWick.lean b/Lightlike/OperatorAlgebras/CARWick.lean new file mode 100644 index 00000000..7944336e --- /dev/null +++ b/Lightlike/OperatorAlgebras/CARWick.lean @@ -0,0 +1,132 @@ +import Lightlike.OperatorAlgebras.CARQuasiFree +import Lightlike.OperatorAlgebras.FermionWick + +/-! +# Wick's theorem for the CAR fields of a Bogoliubov vacuum + +For a CAR representation `φ` on `E`, a Bogoliubov transformation `(α, β)` and a vector `Ψ` killed by all the transformed +annihilation operators `bᵢ` (`CARQuasiFree.lean`), the fields `x = Σ uᵢ bᵢ + Σ vᵢ bᵢ*` (linear in the transformed operators, +hence in `a, c`) are split fields: the annihilation part `Σ uᵢ bᵢ` kills `Ψ`, the creation part is killed by `⟪Ψ, ·⟫`, and +the anticommutator of an annihilation part with a field is the scalar `Σ uᵢ vᵢ'` (`carField_anticomm`). +`car_wick` is then Wick's theorem for every number `n` of such fields in the vacuum state `⟪Ψ, · Ψ⟫`: +`⟪Ψ, x₁ ⋯ xₙ Ψ⟫ = ⟪Ψ, Ψ⟫ · wick [x₁, …, xₙ]`; `car_wick_two` is the two-point function, the `n = 2` check (`Σ uᵢ vᵢ'`). +-/ + +open scoped InnerProductSpace +open Finset Matrix + +namespace Lightlike.OperatorAlgebras + +variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] {n : ℕ} + +omit [NormedAddCommGroup E] [InnerProductSpace ℂ E] in +/-- A ring homomorphism maps CAR pairs to CAR pairs. -/ +lemma IsCARPairs.map {A B : Type*} [Ring A] [Ring B] (f : A →+* B) {a c : Fin n → A} (h : IsCARPairs a c) : + IsCARPairs (fun i => f (a i)) (fun i => f (c i)) where + ac i j := by + have := congrArg f (h.ac i j) + simpa [map_add, map_mul, apply_ite f] using this + aa i j := by + have := congrArg f (h.aa i j) + simpa [map_add, map_mul] using this + cc i j := by + have := congrArg f (h.cc i j) + simpa [map_add, map_mul] using this + +section Instance + +variable {φ : Fin (2 * n) → (E →L[ℂ] E)} (h : IsCAROn φ) (α β : Matrix (Fin n) (Fin n) ℂ) + (h1 : α * αᴴ + β * βᴴ = 1) (h2 : α * βᵀ + β * αᵀ = 0) + +/-- The transformed annihilation operators as linear maps. -/ +noncomputable def bOp (i : Fin n) : Module.End ℂ E := + ContinuousLinearMap.toLinearMapRingHom (bogAnn α β (carAnnihilation φ) (carCreation φ) i) + +/-- The transformed creation operators as linear maps. -/ +noncomputable def bsOp (i : Fin n) : Module.End ℂ E := + ContinuousLinearMap.toLinearMapRingHom (bogCre α β (carAnnihilation φ) (carCreation φ) i) + +include h h1 h2 in +/-- The CAR relations for the transformed operators, in `Module.End ℂ E`. -/ +lemma bOp_pairs : IsCARPairs (bOp (φ := φ) α β) (bsOp (φ := φ) α β) := + (isCARPairs_bog h.isCARPairs α β h1 h2).map ContinuousLinearMap.toLinearMapRingHom + +/-- The field with coefficients `(u, v)`: `Σ uᵢ bᵢ + Σ vᵢ bᵢ*`, as a split field. -/ +noncomputable def carField (c : (Fin n → ℂ) × (Fin n → ℂ)) : SplitField E where + A := ∑ i, c.1 i • bOp (φ := φ) α β i + B := ∑ i, c.2 i • bsOp (φ := φ) α β i + +include h h1 h2 in +/-- **The anticommutator of the annihilation part with a field is the scalar** `Σ uᵢ vᵢ'`. -/ +lemma carField_anticomm (c d : (Fin n → ℂ) × (Fin n → ℂ)) : + (carField (φ := φ) α β c).A * (carField (φ := φ) α β d).φ + (carField (φ := φ) α β d).φ * (carField (φ := φ) α β c).A = + (∑ i, c.1 i * d.2 i) • (1 : Module.End ℂ E) := by + have hp := bOp_pairs h α β h1 h2 + unfold SplitField.φ carField + simp only + have e : ∀ x y z : Module.End ℂ E, x * (y + z) + (y + z) * x = (x * y + y * x) + (x * z + z * x) := by + intro x y z; noncomm_ring + rw [e, anticomm_lincomb_zero _ _ _ _ (fun j l => hp.aa j l), + anticomm_lincomb_delta _ _ _ _ (fun j l => hp.ac j l), zero_add] + +/-- The pairing of two split fields: the scalar of their anticommutator, if there is one. -/ +noncomputable def pairOf (x y : SplitField E) : ℂ := + haveI := Classical.propDecidable (∃ c : ℂ, x.A * y.φ + y.φ * x.A = c • (1 : Module.End ℂ E)) + if h : ∃ c : ℂ, x.A * y.φ + y.φ * x.A = c • (1 : Module.End ℂ E) then h.choose else 0 + +lemma pairOf_spec {x y : SplitField E} {c : ℂ} (h : x.A * y.φ + y.φ * x.A = c • (1 : Module.End ℂ E)) : + x.A * y.φ + y.φ * x.A = pairOf x y • (1 : Module.End ℂ E) := by + unfold pairOf + rw [dif_pos ⟨c, h⟩] + exact (Classical.choose_spec (⟨c, h⟩ : ∃ c : ℂ, x.A * y.φ + y.φ * x.A = c • (1 : Module.End ℂ E))) + +variable {Ψ : E} (hΨ : ∀ j, bogAnn α β (carAnnihilation φ) (carCreation φ) j Ψ = 0) + +include h h1 h2 hΨ in +/-- **Wick's theorem for the CAR fields of a Bogoliubov vacuum, for every number of fields**: +`⟪Ψ, x₁ ⋯ xₙ Ψ⟫ = ⟪Ψ, Ψ⟫ · wick [x₁, …, xₙ]` for fields `xᵢ = Σ uᵢⱼ bⱼ + Σ vᵢⱼ bⱼ*`. -/ +theorem car_wick (L : List ((Fin n → ℂ) × (Fin n → ℂ))) : + ⟪Ψ, fieldProd (L.map (carField (φ := φ) α β)) Ψ⟫_ℂ = + ⟪Ψ, Ψ⟫_ℂ * wick pairOf (L.map (carField (φ := φ) α β)) := by + have key := expect_prod Ψ (innerSL ℂ Ψ).toLinearMap pairOf (L.map (carField (φ := φ) α β)).length + (L.map (carField (φ := φ) α β)) rfl ?_ ?_ ?_ + · simpa using key + · intro x hx + obtain ⟨c, _, rfl⟩ := List.mem_map.mp hx + show (∑ i, c.1 i • bOp (φ := φ) α β i) Ψ = 0 + simp only [LinearMap.sum_apply, LinearMap.smul_apply] + refine Finset.sum_eq_zero fun i _ => ?_ + have : bOp (φ := φ) α β i Ψ = 0 := hΨ i + rw [this, smul_zero] + · intro x hx v + obtain ⟨c, _, rfl⟩ := List.mem_map.mp hx + show ⟪Ψ, (∑ i, c.2 i • bsOp (φ := φ) α β i) v⟫_ℂ = 0 + simp only [LinearMap.sum_apply, LinearMap.smul_apply, inner_sum, inner_smul_right] + refine Finset.sum_eq_zero fun i _ => ?_ + have : ⟪Ψ, bsOp (φ := φ) α β i v⟫_ℂ = ⟪bOp (φ := φ) α β i Ψ, v⟫_ℂ := (bog_adj h α β i Ψ v).symm + rw [this, show bOp (φ := φ) α β i Ψ = 0 from hΨ i] + simp + · intro x hx y hy + obtain ⟨c, _, rfl⟩ := List.mem_map.mp hx + obtain ⟨d, _, rfl⟩ := List.mem_map.mp hy + exact pairOf_spec (carField_anticomm h α β h1 h2 c d) + +include h h1 h2 hΨ in +/-- **The two-point function** from `car_wick` (the `n = 2` check): `⟪Ψ, x y Ψ⟫ = ⟪Ψ, Ψ⟫ Σ uᵢ vᵢ'`, for `Ψ ≠ 0`. -/ +theorem car_wick_two (hΨ0 : Ψ ≠ 0) (c d : (Fin n → ℂ) × (Fin n → ℂ)) : + ⟪Ψ, (carField (φ := φ) α β c).φ ((carField (φ := φ) α β d).φ Ψ)⟫_ℂ = ⟪Ψ, Ψ⟫_ℂ * ∑ i, c.1 i * d.2 i := by + have hw := car_wick h α β h1 h2 hΨ [c, d] + simp only [List.map_cons, List.map_nil, fieldProd, List.prod_cons, List.prod_nil, mul_one, wick_pair] at hw + have hsp := pairOf_spec (carField_anticomm h α β h1 h2 c d) + rw [carField_anticomm h α β h1 h2 c d] at hsp + have hpair : pairOf (carField (φ := φ) α β c) (carField (φ := φ) α β d) = ∑ i, c.1 i * d.2 i := by + have := congrArg (fun T : Module.End ℂ E => T Ψ) hsp + simp only [LinearMap.smul_apply, Module.End.one_apply] at this + have h3 := smul_left_injective ℂ hΨ0 this + exact h3.symm + rw [hpair] at hw + simpa [SplitField.φ] using hw + +end Instance + +end Lightlike.OperatorAlgebras diff --git a/docs/results.d/car-wick.yaml b/docs/results.d/car-wick.yaml new file mode 100644 index 00000000..eb7260eb --- /dev/null +++ b/docs/results.d/car-wick.yaml @@ -0,0 +1,11 @@ +- id: LL-XXXX-a + title: "Wick's theorem for the CAR fields of a Bogoliubov vacuum, for every number of fields: the vacuum expectation of a product of linear combinations of the transformed operators b, b* is the Pfaffian recursion of the pairings, whose two-point value is the sum of u_i v'_i" + area: OperatorAlgebras + file: Lightlike/OperatorAlgebras/CARWick.lean + decls: [Lightlike.OperatorAlgebras.carField, Lightlike.OperatorAlgebras.carField_anticomm, Lightlike.OperatorAlgebras.car_wick, Lightlike.OperatorAlgebras.car_wick_two] + status: proven + tier: established + source: exploratory + review: kernel-checked + note: "Comparison pending (no source for the fermionic Wick theorem was read). Instance of the abstract recursion of FermionWick.lean (the previous entry): for a vector killed by all the transformed annihilation operators, the fields sum_j u_j b_j + sum_j v_j b_j^* are split fields, the anticommutator of the annihilation part with a field is the scalar sum u_j v'_j (the CAR of the transformed operators, isCARPairs_bog), and car_wick gives = wick [x_1, ..., x_n] for every n; car_wick_two is n = 2. The fields a_j, c_j are such combinations by the inverse transformation (bog_inv), so the statement covers them, but this is not stated separately. WEAKER: finitely many modes (the infinite-mode vacuum and Shale for fermions are not built); no explicit n = 4 expansion check (the recursion is proved for all n); mixed quasi-free states are not covered." + since: unreleased From b951181423c0da55f43bf628f7eb1b9c88d715af Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 17:15:39 +0200 Subject: [PATCH 06/66] docs(catalogue): unique draft id LL-XXXX-f for docs/results.d/sj-retarded.yaml Co-Authored-By: Claude Opus 5.5 --- docs/results.d/sj-retarded.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/results.d/sj-retarded.yaml b/docs/results.d/sj-retarded.yaml index 21531e65..9ceddaf3 100644 --- a/docs/results.d/sj-retarded.yaml +++ b/docs/results.d/sj-retarded.yaml @@ -1,4 +1,4 @@ -- id: LL-XXXX-a +- id: LL-XXXX-f title: "The Sorkin-Johnston state of a finite causal set is pure for the retarded matrix K_R = a M (1 - a b M)^-1 (the link matrix in four dimensions, the causal matrix in two, any mass), and 1 - a b M is invertible because M is supported on the causal order" area: OperatorAlgebras file: Lightlike/OperatorAlgebras/QuasiFreeState/SJRetarded.lean From aea7c5b93dc91c82a8324fa214c4e8ea51f4fdbe Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 17:15:39 +0200 Subject: [PATCH 07/66] docs(catalogue): unique draft id LL-XXXX-g for docs/results.d/fermion-wick.yaml Co-Authored-By: Claude Opus 5.5 --- docs/results.d/fermion-wick.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/results.d/fermion-wick.yaml b/docs/results.d/fermion-wick.yaml index 614f7825..87ff9779 100644 --- a/docs/results.d/fermion-wick.yaml +++ b/docs/results.d/fermion-wick.yaml @@ -1,4 +1,4 @@ -- id: LL-XXXX-a +- id: LL-XXXX-g title: "Wick's theorem for fermionic fields on a vacuum for every number of fields: the vacuum expectation of a product of split fields (annihilation part killing the vacuum, creation part killed by the functional, scalar anticommutators with the annihilation parts) is the Pfaffian-type recursion of the pairings" area: OperatorAlgebras file: Lightlike/OperatorAlgebras/FermionWick.lean From a098123af5b2c02f9cb4dfdef1d381247c297f82 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 17:15:40 +0200 Subject: [PATCH 08/66] docs(catalogue): unique draft id LL-XXXX-h for docs/results.d/car-wick.yaml Co-Authored-By: Claude Opus 5.5 --- docs/results.d/car-wick.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/results.d/car-wick.yaml b/docs/results.d/car-wick.yaml index eb7260eb..54edb66d 100644 --- a/docs/results.d/car-wick.yaml +++ b/docs/results.d/car-wick.yaml @@ -1,4 +1,4 @@ -- id: LL-XXXX-a +- id: LL-XXXX-h title: "Wick's theorem for the CAR fields of a Bogoliubov vacuum, for every number of fields: the vacuum expectation of a product of linear combinations of the transformed operators b, b* is the Pfaffian recursion of the pairings, whose two-point value is the sum of u_i v'_i" area: OperatorAlgebras file: Lightlike/OperatorAlgebras/CARWick.lean From 3e4925fd0c47d128c74a4974b805708b3a77f642 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 18:59:48 +0200 Subject: [PATCH 09/66] docs(notes): plan for fermionic Shale in infinite modes Co-Authored-By: Claude Opus 5.5 --- docs/notes/op2-fermionic-shale-plan.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/notes/op2-fermionic-shale-plan.md diff --git a/docs/notes/op2-fermionic-shale-plan.md b/docs/notes/op2-fermionic-shale-plan.md new file mode 100644 index 00000000..11dee4a1 --- /dev/null +++ b/docs/notes/op2-fermionic-shale-plan.md @@ -0,0 +1,18 @@ +# Fermionic Shale: plan (OP2, infinite modes) + +Setting: Fock space `Γ_a(Z)` with creation `creW`, annihilation `annW` and field `fockField` (FermiFockGeneral.lean). +A Bogoliubov map is a real-linear bijection `R` of `Z` with `Re⟪Rw, Rw'⟫ = Re⟪w, w'⟫`, `R = α + β` with `α` linear and +`β` antilinear. It is implemented if a unitary `U` has `U φ(w) = φ(R w) U`. + +Sufficiency (β Hilbert-Schmidt implies implemented): + +1. Vacuum to implementer. If `w ↦ φ(R w)` has a unit vector `Ω'` killed by every `b(w) = (φ(Rw) + i φ(R(iw)))/2`, then + the wedge vectors `b*(e_{s1}) ... b*(e_{sp}) Ω'` are orthonormal (CAR induction). By irreducibility (R bijective) they + span a dense set, which gives a unitary `U` with `U B(S) = b*(e_S) Ω'`, and `U` implements `R`. +2. Existence of `Ω'`. `P_F = ∏_{k∈F} b_k b_k*` are commuting projections, decreasing in `F`, and `b_k` commutes with + `b_l b_l*` for `k ≠ l`. Bonferroni: `⟨v, P_F v⟩ ≥ ‖v‖² − ∑_{k∈F} ‖b_k v‖²`. For the vacuum, `∑ ‖b_k Ω‖² = ‖β‖²_HS`. + So `Ω' = lim P_F v` is nonzero when `‖β‖_HS < 1`. For general HS `β`, first compose with a finite product of + reflections `φ(u)` (each implemented by the field operator), which reduces to the case `‖β‖_HS < 1`. +3. Necessity: `⟨Ω', N Ω'⟩ = ‖β‖²_HS`, with the finiteness of the particle number to be derived from the implementer. + +Status: step 1 started (CARShale.lean). Steps 2 and 3 not started. From 39dd98bf26d4ba7faf639f5ac734835b02cc5731 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:03:46 +0200 Subject: [PATCH 10/66] wip(operator-algebras): sorted words of CAR creation operators, orthonormal --- Lightlike/OperatorAlgebras/CARShale.lean | 210 +++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 Lightlike/OperatorAlgebras/CARShale.lean diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean new file mode 100644 index 00000000..2cd162ef --- /dev/null +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -0,0 +1,210 @@ +import Lightlike.OperatorAlgebras.FermiFockGeneral + +/-! +# Fermionic Fock representations of the CAR over a Hilbert space: words of creation operators + +Algebra for the infinite-mode fermionic Shale theorem (see `docs/notes/op2-fermionic-shale-plan.md`). For a family +`c : ι → (E →L[ℂ] E)` of anticommuting operators and a vector `Ω`, the word of a list `l` is +`c l₀ (c l₁ (⋯ Ω))`. For a sorted list, a creation operator `c j` acts on the word by inserting `j` +with the sign `(-1)^{#{i ∈ l, i < j}}`. +-/ + +open scoped InnerProductSpace + +namespace Lightlike.OperatorAlgebras.CARShale + +variable {ι : Type*} [LinearOrder ι] {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] + +/-- The word `c l₀ (c l₁ (⋯ (c lₙ Ω)))` of a list of creation operators applied to `Ω`. -/ +def word (c : ι → (E →L[ℂ] E)) (Ω : E) : List ι → E + | [] => Ω + | a :: t => c a (word c Ω t) + +variable {c : ι → (E →L[ℂ] E)} {Ω : E} + +/-- A creation operator `c j` on the word of a list containing `j` gives `0`. -/ +lemma cre_word_of_mem (hc : ∀ i j, c i * c j + c j * c i = 0) {j : ι} : + ∀ {l : List ι}, j ∈ l → c j (word c Ω l) = 0 + | [], h => by simp at h + | a :: t, h => by + rcases List.mem_cons.1 h with rfl | ht + · have := hc j j + have h2 : c j * c j = 0 := by + have : (2 : ℂ) • (c j * c j) = 0 := by rw [two_smul]; exact this + exact (smul_eq_zero.1 this).resolve_left two_ne_zero + show (c j * c j) (word c Ω t) = 0 + rw [h2]; rfl + · have h1 := cre_word_of_mem hc ht + have : c j (c a (word c Ω t)) = - c a (c j (word c Ω t)) := by + have := congrArg (fun f => f (word c Ω t)) (hc j a) + simp only [add_apply, mul_apply_eq_comp, zero_apply] at this + exact eq_neg_of_add_eq_zero_left this + show c j (c a (word c Ω t)) = 0 + rw [this, h1, map_zero, neg_zero] + +/-- **A creation operator on a sorted word inserts its index with the sign `(-1)^{#{i < j}}`.** -/ +lemma cre_word_insert (hc : ∀ i j, c i * c j + c j * c i = 0) {j : ι} : + ∀ {l : List ι}, l.Pairwise (· ≤ ·) → j ∉ l → + c j (word c Ω l) = (-1 : ℂ) ^ (l.filter (fun i => decide (i < j))).length • + word c Ω (l.orderedInsert (· ≤ ·) j) + | [], _, _ => by simp [word] + | a :: t, hs, h => by + have hja : j ≠ a := fun e => h (e ▸ List.mem_cons_self) + have hjt : j ∉ t := fun e => h (List.mem_cons_of_mem _ e) + have hanti : c j (c a (word c Ω t)) = - c a (c j (word c Ω t)) := by + have := congrArg (fun f => f (word c Ω t)) (hc j a) + simp only [add_apply, mul_apply_eq_comp, zero_apply] at this + exact eq_neg_of_add_eq_zero_left this + rcases lt_or_gt_of_ne hja with hlt | hgt + · have hf : (a :: t).filter (fun i => decide (i < j)) = [] := by + rw [List.filter_eq_nil_iff] + intro i hi + have : a ≤ i := by + rcases List.mem_cons.1 hi with rfl | hit + · exact le_rfl + · exact (List.pairwise_cons.1 hs).1 i hit + simp only [decide_eq_true_eq, not_lt] + exact le_trans hlt.le this + rw [hf, List.orderedInsert_cons, if_pos hlt.le] + simp [word] + · rw [List.orderedInsert_cons, if_neg (not_le.2 hgt)] + have ih := cre_word_insert hc (List.pairwise_cons.1 hs).2 hjt + show c j (c a (word c Ω t)) = _ + rw [hanti, ih, List.filter_cons_of_pos (by simpa using hgt)] + simp only [List.length_cons, pow_succ, word, map_smul, neg_smul, mul_neg, mul_one] + +/-- **An annihilation operator on a strictly sorted word** removes its index with the sign `(-1)^{#{i < j}}`, or gives +`0` if the index does not occur. -/ +lemma ann_word [DecidableEq ι] (a : ι → (E →L[ℂ] E)) (hca : ∀ i j, a i * c j + c j * a i = if i = j then 1 else 0) + (hΩ : ∀ j, a j Ω = 0) {j : ι} : + ∀ {l : List ι}, l.Pairwise (· < ·) → + a j (word c Ω l) = if j ∈ l then (-1 : ℂ) ^ (l.filter (fun i => decide (i < j))).length • word c Ω (l.erase j) + else 0 + | [], _ => by simp [hΩ, word] + | x :: t, hs => by + have hrel := congrArg (fun f => f (word c Ω t)) (hca j x) + simp only [add_apply, mul_apply_eq_comp, Function.comp_apply] at hrel + have hx : a j (c x (word c Ω t)) = (if j = x then (1 : ℂ) else 0) • word c Ω t - c x (a j (word c Ω t)) := by + have : (if j = x then (1 : E →L[ℂ] E) else 0) (word c Ω t) = (if j = x then (1 : ℂ) else 0) • word c Ω t := by + split_ifs <;> simp + rw [this] at hrel + rw [eq_sub_iff_add_eq]; exact hrel.trans (by rfl) + have ih := ann_word a hca hΩ (j := j) (List.pairwise_cons.1 hs).2 + show a j (c x (word c Ω t)) = _ + rw [hx, ih] + by_cases hjx : j = x + · subst hjx + have hjt : j ∉ t := fun h => lt_irrefl _ ((List.pairwise_cons.1 hs).1 j h) + have hf : (j :: t).filter (fun i => decide (i < j)) = [] := by + rw [List.filter_eq_nil_iff] + intro i hi + rcases List.mem_cons.1 hi with rfl | hit + · simp + · simpa using ((List.pairwise_cons.1 hs).1 i hit).le + simp [hjt, hf, List.erase_cons_head] + · have hne : x ≠ j := fun e => hjx e.symm + by_cases hjt : j ∈ t + · have hxj : x < j := (List.pairwise_cons.1 hs).1 j hjt + have he : (x :: t).erase j = x :: t.erase j := List.erase_cons_tail (by simpa using hne) + have hfl : ((x :: t).filter (fun i => decide (i < j))).length = (t.filter (fun i => decide (i < j))).length + 1 := by + rw [List.filter_cons_of_pos (by simpa using hxj), List.length_cons] + simp [hjx, hjt, he, hfl, pow_succ, word] + · simp [hjx, hjt, List.erase_cons_tail, hne] + +/-- The vector of a finite set `S`: the word of its increasing enumeration. -/ +def vec (c : ι → (E →L[ℂ] E)) (Ω : E) (S : Finset ι) : E := word c Ω (S.sort (· ≤ ·)) + +lemma sort_insert' [DecidableEq ι] {S : Finset ι} {j : ι} (hj : j ∉ S) : + (insert j S).sort (· ≤ ·) = (S.sort (· ≤ ·)).orderedInsert (· ≤ ·) j := by + apply List.Perm.eq_of_pairwise (fun a b _ _ h1 h2 => le_antisymm h1 h2) + · exact Finset.pairwise_sort _ _ + · exact (Finset.pairwise_sort _ _).orderedInsert _ _ + · rw [← Multiset.coe_eq_coe, Finset.sort_eq, Finset.insert_val_of_notMem hj] + refine Eq.trans ?_ (Multiset.coe_eq_coe.2 (List.perm_orderedInsert (· ≤ ·) j _)).symm + rw [← Multiset.cons_coe, Finset.sort_eq] + +lemma sort_filter_length (S : Finset ι) (j : ι) : + ((S.sort (· ≤ ·)).filter (fun i => decide (i < j))).length = (S.filter (· < j)).card := by + have h := congrArg Multiset.card (show (((S.sort (· ≤ ·)).filter (fun i => decide (i < j)) : List ι) : Multiset ι) = + S.val.filter (· < j) by rw [← Multiset.filter_coe, Finset.sort_eq]) + rw [Multiset.coe_card] at h + rw [h]; rfl + +lemma sort_erase [DecidableEq ι] (S : Finset ι) (j : ι) : + (S.sort (· ≤ ·)).erase j = (S.erase j).sort (· ≤ ·) := by + apply List.Perm.eq_of_pairwise (fun a b _ _ h1 h2 => le_antisymm h1 h2) + · exact (Finset.pairwise_sort _ _).sublist (List.erase_sublist) + · exact Finset.pairwise_sort _ _ + · rw [← Multiset.coe_eq_coe, Finset.sort_eq, ← Multiset.coe_erase, Finset.sort_eq] + rfl + +lemma sort_pairwise_lt (S : Finset ι) : (S.sort (· ≤ ·)).Pairwise (· < ·) := by + exact Finset.sortedLT_sort S |>.pairwise + +/-- `c j` on the vector of a set not containing `j`. -/ +lemma cre_vec [DecidableEq ι] (hc : ∀ i j, c i * c j + c j * c i = 0) {S : Finset ι} {j : ι} (hj : j ∉ S) : + c j (vec c Ω S) = (-1 : ℂ) ^ (S.filter (· < j)).card • vec c Ω (insert j S) := by + unfold vec + rw [cre_word_insert hc (Finset.pairwise_sort _ _) (by simpa using hj), sort_filter_length, sort_insert' hj] + +/-- `a j` on the vector of a set. -/ +lemma ann_vec [DecidableEq ι] (a : ι → (E →L[ℂ] E)) + (hca : ∀ i j, a i * c j + c j * a i = if i = j then 1 else 0) (hΩ : ∀ j, a j Ω = 0) (S : Finset ι) (j : ι) : + a j (vec c Ω S) = if j ∈ S then (-1 : ℂ) ^ (S.filter (· < j)).card • vec c Ω (S.erase j) else 0 := by + unfold vec + rw [ann_word a hca hΩ (sort_pairwise_lt S), sort_filter_length, sort_erase S j] + simp + +lemma conj_neg_one_pow (n : ℕ) : (starRingEnd ℂ) ((-1 : ℂ) ^ n) = (-1 : ℂ) ^ n := by simp + +lemma neg_one_pow_mul_self (n : ℕ) : (-1 : ℂ) ^ n * (-1 : ℂ) ^ n = 1 := by + rw [← pow_add, ← two_mul, pow_mul]; simp + +/-- **The vectors `vec S` are orthonormal** when `Ω` is a unit vector killed by the annihilation operators `a j`, +`a j` is adjoint to `c j`, and the CAR hold. -/ +theorem orthonormal_vec [DecidableEq ι] (a : ι → (E →L[ℂ] E)) (hc : ∀ i j, c i * c j + c j * c i = 0) + (hca : ∀ i j, a i * c j + c j * a i = if i = j then 1 else 0) (hΩ : ∀ j, a j Ω = 0) + (hn : ⟪Ω, Ω⟫_ℂ = 1) (hadj : ∀ j x y, ⟪a j x, y⟫_ℂ = ⟪x, c j y⟫_ℂ) : + ∀ (n : ℕ) (S T : Finset ι), S.card = n → ⟪vec c Ω S, vec c Ω T⟫_ℂ = if S = T then 1 else 0 := by + have hadj' : ∀ j x y, ⟪c j x, y⟫_ℂ = ⟪x, a j y⟫_ℂ := fun j x y => by + rw [← inner_conj_symm, ← hadj, inner_conj_symm] + intro n + induction n with + | zero => + intro S T hS + rw [Finset.card_eq_zero] at hS + subst hS + have hv : vec c Ω ∅ = Ω := by simp [vec, word] + rw [hv] + by_cases hT : T = ∅ + · subst hT; rw [if_pos rfl, hv]; exact hn + · obtain ⟨j, hj⟩ := Finset.nonempty_iff_ne_empty.2 hT + have h1 := cre_vec (Ω := Ω) hc (S := T.erase j) (j := j) (by simp) + rw [Finset.insert_erase hj] at h1 + have h2 : vec c Ω T = (-1 : ℂ) ^ ((T.erase j).filter (· < j)).card • c j (vec c Ω (T.erase j)) := by + rw [h1, smul_smul, neg_one_pow_mul_self, one_smul] + rw [h2, inner_smul_right, ← hadj, hΩ, inner_zero_left, mul_zero, if_neg (Ne.symm hT)] + | succ n ih => + intro S T hS + obtain ⟨j, hj⟩ : S.Nonempty := Finset.card_pos.1 (by omega) + have hS' : (S.erase j).card = n := by rw [Finset.card_erase_of_mem hj]; omega + have h1 := cre_vec (Ω := Ω) hc (S := S.erase j) (j := j) (by simp) + rw [Finset.insert_erase hj] at h1 + have h2 : vec c Ω S = (-1 : ℂ) ^ ((S.erase j).filter (· < j)).card • c j (vec c Ω (S.erase j)) := by + rw [h1, smul_smul, neg_one_pow_mul_self, one_smul] + rw [h2, inner_smul_left, hadj', conj_neg_one_pow, ann_vec a hca hΩ] + by_cases hjT : j ∈ T + · rw [if_pos hjT, inner_smul_right, ih (S.erase j) (T.erase j) hS'] + have hf : (S.erase j).filter (· < j) = S.filter (· < j) := by + ext x; simp only [Finset.mem_filter, Finset.mem_erase]; constructor + · rintro ⟨⟨_, h⟩, h'⟩; exact ⟨h, h'⟩ + · rintro ⟨h, h'⟩; exact ⟨⟨ne_of_lt h', h⟩, h'⟩ + by_cases hST : S = T + · subst hST + rw [if_pos rfl, if_pos rfl, hf, ← mul_assoc, neg_one_pow_mul_self]; simp + · have : S.erase j ≠ T.erase j := fun e => hST (by + rw [← Finset.insert_erase hj, ← Finset.insert_erase hjT, e]) + rw [if_neg hST, if_neg this]; simp + · rw [if_neg hjT, inner_zero_right, mul_zero, if_neg (fun e => hjT (by rw [← e]; exact hj))] + +end Lightlike.OperatorAlgebras.CARShale From 764e09381244930869c7762b5ecfaac153d12b36 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:05:14 +0200 Subject: [PATCH 11/66] wip: unitary from dense words --- Lightlike/OperatorAlgebras/CARShale.lean | 40 ++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean index 2cd162ef..d7ccb63c 100644 --- a/Lightlike/OperatorAlgebras/CARShale.lean +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -1,4 +1,5 @@ import Lightlike.OperatorAlgebras.FermiFockGeneral +import Mathlib.Analysis.InnerProductSpace.l2Space /-! # Fermionic Fock representations of the CAR over a Hilbert space: words of creation operators @@ -207,4 +208,43 @@ theorem orthonormal_vec [DecidableEq ι] (a : ι → (E →L[ℂ] E)) (hc : ∀ rw [if_neg hST, if_neg this]; simp · rw [if_neg hjT, inner_zero_right, mul_zero, if_neg (fun e => hjT (by rw [← e]; exact hj))] +section Unitary + +variable {Γ : Type*} [NormedAddCommGroup Γ] [InnerProductSpace ℂ Γ] [CompleteSpace Γ] [CompleteSpace E] + +/-- **The unitary from a Fock space to a CAR representation with a vacuum and dense words.** If the words +`vec c Ω S` span a dense subspace of `E` then `B S ↦ vec c Ω S` extends to a unitary `U : Γ ≃ₗᵢ E`, and +`U` intertwines the creation operators `fermiCre B j` with `c j`. -/ +theorem exists_unitary_of_dense (B : HilbertBasis (Finset ι) ℂ Γ) (a : ι → (E →L[ℂ] E)) + (hc : ∀ i j, c i * c j + c j * c i = 0) + (hca : ∀ i j, a i * c j + c j * a i = if i = j then 1 else 0) (hΩ : ∀ j, a j Ω = 0) + (hn : ⟪Ω, Ω⟫_ℂ = 1) (hadj : ∀ j x y, ⟪a j x, y⟫_ℂ = ⟪x, c j y⟫_ℂ) + (hdense : ⊤ ≤ (Submodule.span ℂ (Set.range (vec c Ω))).topologicalClosure) : + ∃ U : Γ ≃ₗᵢ[ℂ] E, (∀ S, U (B S) = vec c Ω S) ∧ ∀ j x, U (fermiCre B j x) = c j (U x) := by + have horth : Orthonormal ℂ (vec c Ω) := by + rw [orthonormal_iff_ite] + intro S T + exact orthonormal_vec a hc hca hΩ hn hadj _ S T rfl + let b' : HilbertBasis (Finset ι) ℂ E := HilbertBasis.mk horth hdense + have hb' : ∀ S, b' S = vec c Ω S := fun S => by simp [b', HilbertBasis.coe_mk] + set U : Γ ≃ₗᵢ[ℂ] E := B.repr.trans b'.repr.symm with hUdef + have hU : ∀ S, U (B S) = vec c Ω S := fun S => by + rw [hUdef, LinearIsometryEquiv.trans_apply, HilbertBasis.repr_self, ← hb', ← HilbertBasis.repr_self b'] + simp + refine ⟨U, hU, fun j x => ?_⟩ + have key : ((U.toContinuousLinearEquiv : Γ →L[ℂ] E)).comp (fermiCre B j) = (c j).comp (U.toContinuousLinearEquiv : Γ →L[ℂ] E) := by + refine ContinuousLinearMap.ext_on (s := Set.range B) (Submodule.dense_iff_topologicalClosure_eq_top.2 B.dense_span) ?_ + rintro _ ⟨S, rfl⟩ + simp only [ContinuousLinearMap.comp_apply] + show U (fermiCre B j (B S)) = c j (U (B S)) + rw [hU, fermiCre_basis] + by_cases hj : j ∈ S + · rw [if_pos hj, map_zero] + exact (cre_word_of_mem hc (by simpa using hj)).symm + · rw [if_neg hj, map_smul, hU, cre_vec hc hj] + rfl + exact congrArg (fun f => f x) key + +end Unitary + end Lightlike.OperatorAlgebras.CARShale From 2fec48441c6fdaf486e31c610c66e5d033c1652f Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:06:29 +0200 Subject: [PATCH 12/66] wip: CAR of transformed modes --- Lightlike/OperatorAlgebras/CARShale.lean | 77 ++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean index d7ccb63c..9773f03d 100644 --- a/Lightlike/OperatorAlgebras/CARShale.lean +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -247,4 +247,81 @@ theorem exists_unitary_of_dense (B : HilbertBasis (Finset ι) ℂ Γ) (a : ι end Unitary +section Ladder + +variable {A : Type*} [Ring A] [Algebra ℂ A] + +/-- **Ladder operators from two real families of anticommuting fields**: if `p i`, `q i` satisfy +`{p i, p j} = {q i, q j} = 2 δ`, `{p i, q j} = 0`, then `a i = (p i + i q i)/2` and `c i = (p i - i q i)/2` satisfy the CAR. -/ +lemma ladder_car [DecidableEq ι] (p q : ι → A) + (hpp : ∀ i j, p i * p j + p j * p i = (2 * if i = j then (1 : ℂ) else 0) • (1 : A)) + (hqq : ∀ i j, q i * q j + q j * q i = (2 * if i = j then (1 : ℂ) else 0) • (1 : A)) + (hpq : ∀ i j, p i * q j + q j * p i = 0) (i j : ι) : + ((1 / 2 : ℂ) • (p i - Complex.I • q i)) * ((1 / 2 : ℂ) • (p j - Complex.I • q j)) + + ((1 / 2 : ℂ) • (p j - Complex.I • q j)) * ((1 / 2 : ℂ) • (p i - Complex.I • q i)) = 0 ∧ + ((1 / 2 : ℂ) • (p i + Complex.I • q i)) * ((1 / 2 : ℂ) • (p j - Complex.I • q j)) + + ((1 / 2 : ℂ) • (p j - Complex.I • q j)) * ((1 / 2 : ℂ) • (p i + Complex.I • q i)) = + (if i = j then (1 : ℂ) else 0) • (1 : A) := by + have h1 := hpp i j + have h2 := hqq i j + have h3 := hpq i j + have h4 := hpq j i + constructor + · simp only [smul_mul_smul_comm, mul_sub, sub_mul, mul_smul_comm, smul_mul_assoc, smul_sub, smul_smul] + linear_combination (norm := (match_scalars <;> (ring_nf; try simp only [Complex.I_sq]; try ring))) (1 / 4 : ℂ) • h1 - (1 / 4 : ℂ) • h2 - (Complex.I / 4) • h3 - (Complex.I / 4) • h4 + · simp only [smul_mul_smul_comm, mul_sub, mul_add, sub_mul, add_mul, mul_smul_comm, smul_mul_assoc, smul_sub, smul_add, smul_smul] + linear_combination (norm := (match_scalars <;> (ring_nf; try simp only [Complex.I_sq]; try ring))) (1 / 4 : ℂ) • h1 + (1 / 4 : ℂ) • h2 - (Complex.I / 4) • h3 + (Complex.I / 4) • h4 + +end Ladder + +section FockLadder + +variable {Γ : Type*} [NormedAddCommGroup Γ] [InnerProductSpace ℂ Γ] [CompleteSpace Γ] + (B : HilbertBasis (Finset ι) ℂ Γ) {Z : Type*} [NormedAddCommGroup Z] [InnerProductSpace ℂ Z] [CompleteSpace Z] + (b : HilbertBasis ι ℂ Z) (R : Z →ₗ[ℝ] Z) + +/-- The real part of the field `φ(R eⱼ)`. -/ +noncomputable def pField (j : ι) : Γ →L[ℂ] Γ := fockField B b (R (b j)) + +/-- The imaginary part `φ(R (i eⱼ))`. -/ +noncomputable def qField (j : ι) : Γ →L[ℂ] Γ := fockField B b (R (Complex.I • b j)) + +/-- The annihilation operator of the transformed mode `j`: `(φ(R eⱼ) + i φ(R (i eⱼ)))/2`. -/ +noncomputable def annR (j : ι) : Γ →L[ℂ] Γ := (1 / 2 : ℂ) • (pField B b R j + Complex.I • qField B b R j) + +/-- The creation operator of the transformed mode `j`: `(φ(R eⱼ) - i φ(R (i eⱼ)))/2`. -/ +noncomputable def creR (j : ι) : Γ →L[ℂ] Γ := (1 / 2 : ℂ) • (pField B b R j - Complex.I • qField B b R j) + +lemma re_inner_basis [DecidableEq ι] (i j : ι) : (⟪b i, b j⟫_ℂ).re = if i = j then 1 else 0 := by + rw [orthonormal_iff_ite.1 b.orthonormal i j]; split_ifs <;> simp + +lemma re_inner_I_basis [DecidableEq ι] (i j : ι) : + (⟪Complex.I • b i, Complex.I • b j⟫_ℂ).re = if i = j then 1 else 0 := by + rw [inner_smul_left, inner_smul_right] + simpa using re_inner_basis b i j + +lemma re_inner_basis_I [DecidableEq ι] (i j : ι) : (⟪b i, Complex.I • b j⟫_ℂ).re = 0 := by + rw [inner_smul_right] + have := orthonormal_iff_ite.1 b.orthonormal i j + split_ifs at this with h + · rw [this]; simp + · rw [this]; simp + +variable (hR : ∀ w w', (⟪R w, R w'⟫_ℂ).re = (⟪w, w'⟫_ℂ).re) +include hR + +/-- The ladder operators of the transformed modes satisfy the CAR. -/ +lemma creR_annR_car [DecidableEq ι] (i j : ι) : + creR B b R i * creR B b R j + creR B b R j * creR B b R i = 0 ∧ + annR B b R i * creR B b R j + creR B b R j * annR B b R i = (if i = j then (1 : ℂ) else 0) • (1 : Γ →L[ℂ] Γ) := by + have key : ∀ w w' : Z, fockField B b (R w) * fockField B b (R w') + fockField B b (R w') * fockField B b (R w) = + ((2 * (⟪w, w'⟫_ℂ).re : ℝ) : ℂ) • (1 : Γ →L[ℂ] Γ) := fun w w' => by + rw [fockField_anticomm, hR] + refine ladder_car (pField B b R) (qField B b R) ?_ ?_ ?_ i j + · intro i j; rw [pField, pField, key, re_inner_basis b i j]; split_ifs <;> simp + · intro i j; rw [qField, qField, key, re_inner_I_basis b i j]; split_ifs <;> simp + · intro i j; rw [pField, qField, key, re_inner_basis_I b i j]; simp + +end FockLadder + end Lightlike.OperatorAlgebras.CARShale From 628ca298044751a9367c75ecef82b1f3c809dbc8 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:07:21 +0200 Subject: [PATCH 13/66] wip: adjoint ladder --- Lightlike/OperatorAlgebras/CARShale.lean | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean index 9773f03d..44afb6cc 100644 --- a/Lightlike/OperatorAlgebras/CARShale.lean +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -322,6 +322,22 @@ lemma creR_annR_car [DecidableEq ι] (i j : ι) : · intro i j; rw [qField, qField, key, re_inner_I_basis b i j]; split_ifs <;> simp · intro i j; rw [pField, qField, key, re_inner_basis_I b i j]; simp +omit hR in +lemma inner_field (w : Z) (x y : Γ) : ⟪fockField B b w x, y⟫_ℂ = ⟪x, fockField B b w y⟫_ℂ := by + have h := isSelfAdjoint_fockField B b w + rw [IsSelfAdjoint, ContinuousLinearMap.star_eq_adjoint] at h + rw [← ContinuousLinearMap.adjoint_inner_right, h] + +omit hR in +/-- `annR j` is the adjoint of `creR j`. -/ +lemma inner_annR_creR (j : ι) (x y : Γ) : ⟪annR B b R j x, y⟫_ℂ = ⟪x, creR B b R j y⟫_ℂ := by + simp only [annR, creR, pField, qField, ContinuousLinearMap.smul_apply, ContinuousLinearMap.add_apply, + ContinuousLinearMap.sub_apply, inner_smul_left, inner_smul_right, inner_add_left, inner_sub_right, + inner_field B b] + have h2 : (starRingEnd ℂ) (2 : ℂ) = 2 := map_ofNat _ 2 + simp [Complex.conj_I, h2] + ring + end FockLadder end Lightlike.OperatorAlgebras.CARShale From cb6f2ba476934281a71e9c469d62da14f9edcd36 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:09:32 +0200 Subject: [PATCH 14/66] wip: dense words by irreducibility --- Lightlike/OperatorAlgebras/CARShale.lean | 137 +++++++++++++++++++++++ 1 file changed, 137 insertions(+) diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean index 44afb6cc..a7008e30 100644 --- a/Lightlike/OperatorAlgebras/CARShale.lean +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -338,6 +338,143 @@ lemma inner_annR_creR (j : ι) (x y : Γ) : ⟪annR B b R j x, y⟫_ℂ = ⟪x, simp [Complex.conj_I, h2] ring +omit hR in +lemma fockField_add (w w' : Z) : fockField B b (w + w') = fockField B b w + fockField B b w' := by + have h1 := creW_add B b w w' + have h2 : annW B b (w + w') = annW B b w + annW B b w' := by + rw [annW, h1, map_add]; rfl + rw [fockField, fockField, fockField, h1, h2]; abel + +omit hR in +lemma fockField_real_smul (r : ℝ) (w : Z) : fockField B b (r • w) = (r : ℂ) • fockField B b w := by + have h0 : r • w = (r : ℂ) • w := (Complex.coe_smul r w).symm + have h1 : creW B b (r • w) = (r : ℂ) • creW B b w := by rw [h0, creW_smul] + have h2 : annW B b (r • w) = (r : ℂ) • annW B b w := by + rw [annW, h1, map_smulₛₗ, Complex.conj_ofReal]; rfl + rw [fockField, fockField, h1, h2, smul_add] + +omit hR in +lemma continuous_fockField : Continuous (fockField B b) := + (continuous_creW B b).add (continuous_annW B b) + +lemma norm_R (w : Z) : ‖R w‖ = ‖w‖ := by + have h := hR w w + rw [inner_self_eq_norm_sq_to_K, inner_self_eq_norm_sq_to_K] at h + simp [sq, Complex.mul_re] at h + nlinarith [norm_nonneg (R w), norm_nonneg w] + +lemma continuous_R : Continuous R := + (LinearMap.mkContinuous R 1 (fun w => by rw [one_mul, norm_R R hR])).continuous + +include hR in +lemma creR_car_ite [DecidableEq ι] : + (∀ i j, creR B b R i * creR B b R j + creR B b R j * creR B b R i = 0) ∧ + (∀ i j, annR B b R i * creR B b R j + creR B b R j * annR B b R i = if i = j then 1 else 0) := + ⟨fun i j => (creR_annR_car B b R hR i j).1, fun i j => by + rw [(creR_annR_car B b R hR i j).2]; split_ifs <;> simp⟩ + +/-- **The closed span of the words of a vacuum is dense, by irreducibility.** -/ +theorem dense_words [DecidableEq ι] (hRs : Function.Surjective R) (Ω : Γ) (hn : Ω ≠ 0) + (hvac : ∀ j, annR B b R j Ω = 0) : + ⊤ ≤ (Submodule.span ℂ (Set.range (vec (creR B b R) Ω))).topologicalClosure := by + obtain ⟨hc, hca⟩ := creR_car_ite B b R hR + set W := (Submodule.span ℂ (Set.range (vec (creR B b R) Ω))).topologicalClosure with hW + have hmap : ∀ f : Γ →L[ℂ] Γ, (∀ S, f (vec (creR B b R) Ω S) ∈ Submodule.span ℂ (Set.range (vec (creR B b R) Ω))) → + ∀ x ∈ W, f x ∈ W := by + intro f hf x hx + have hsp : ∀ y ∈ Submodule.span ℂ (Set.range (vec (creR B b R) Ω)), + f y ∈ Submodule.span ℂ (Set.range (vec (creR B b R) Ω)) := fun y hy => by + induction hy using Submodule.span_induction with + | mem y hy => obtain ⟨S, rfl⟩ := hy; exact hf S + | zero => simp + | add y z _ _ hy hz => rw [map_add]; exact Submodule.add_mem _ hy hz + | smul r y _ hy => rw [map_smul]; exact Submodule.smul_mem _ _ hy + rw [hW, ← SetLike.mem_coe, Submodule.topologicalClosure_coe] at hx ⊢ + exact map_mem_closure f.continuous hx (fun y hy => hsp y hy) + have hcre : ∀ j, ∀ x ∈ W, creR B b R j x ∈ W := fun j => hmap _ fun S => by + by_cases hj : j ∈ S + · have : creR B b R j (vec (creR B b R) Ω S) = 0 := cre_word_of_mem hc (by simpa using hj) + rw [this]; exact Submodule.zero_mem _ + · rw [cre_vec hc hj] + exact Submodule.smul_mem _ _ (Submodule.subset_span ⟨_, rfl⟩) + have hann : ∀ j, ∀ x ∈ W, annR B b R j x ∈ W := fun j => hmap _ fun S => by + rw [ann_vec (annR B b R) hca hvac S j] + split_ifs + · exact Submodule.smul_mem _ _ (Submodule.subset_span ⟨_, rfl⟩) + · exact Submodule.zero_mem _ + have hp : ∀ j, ∀ x ∈ W, pField B b R j x ∈ W := fun j x hx => by + have : pField B b R j x = annR B b R j x + creR B b R j x := by + simp only [annR, creR, ContinuousLinearMap.smul_apply, ContinuousLinearMap.add_apply, + ContinuousLinearMap.sub_apply] + module + rw [this]; exact W.add_mem (hann j x hx) (hcre j x hx) + have hq : ∀ j, ∀ x ∈ W, qField B b R j x ∈ W := fun j x hx => by + have : qField B b R j x = (-Complex.I) • (annR B b R j x - creR B b R j x) := by + simp only [annR, creR, ContinuousLinearMap.smul_apply, ContinuousLinearMap.add_apply, + ContinuousLinearMap.sub_apply] + linear_combination (norm := (match_scalars <;> (ring_nf; try simp only [Complex.I_sq]; try ring))) + rw [this]; exact W.smul_mem _ (W.sub_mem (hann j x hx) (hcre j x hx)) + -- the real subspace of `v` with `φ(v) W ⊆ W` + let T : Submodule ℝ Z := + { carrier := {v | ∀ x ∈ W, fockField B b v x ∈ W} + add_mem' := fun {v v'} hv hv' x hx => by + rw [fockField_add B b, ContinuousLinearMap.add_apply]; exact W.add_mem (hv x hx) (hv' x hx) + zero_mem' := fun x hx => by + have : fockField B b 0 = 0 := by + have := fockField_real_smul B b (0 : ℝ) 0 + simpa using this + rw [this]; simpa using W.zero_mem + smul_mem' := fun r v hv x hx => by + rw [fockField_real_smul B b, ContinuousLinearMap.smul_apply]; exact W.smul_mem _ (hv x hx) } + have hTclosed : IsClosed (T : Set Z) := by + have : (T : Set Z) = ⋂ x ∈ (W : Set Γ), {v | fockField B b v x ∈ (W : Set Γ)} := by + ext v; simp [T] + rw [this] + refine isClosed_biInter fun x _ => ?_ + exact (Submodule.isClosed_topologicalClosure _).preimage + ((continuous_fockField B b).clm_apply continuous_const) + let T' : Submodule ℝ Z := T.comap R + have hT'closed : IsClosed (T' : Set Z) := hTclosed.preimage (continuous_R R hR) + have hbT : ∀ j, b j ∈ T' := fun j x hx => hp j x hx + have hbIT : ∀ j, Complex.I • b j ∈ T' := fun j x hx => hq j x hx + have hspan : ∀ y ∈ Submodule.span ℂ (Set.range b), y ∈ T' ∧ Complex.I • y ∈ T' := by + intro y hy + induction hy using Submodule.span_induction with + | mem y hy => + obtain ⟨j, rfl⟩ := hy + refine ⟨hbT j, hbIT j⟩ + | zero => exact ⟨T'.zero_mem, by simpa using T'.zero_mem⟩ + | add y z _ _ hy hz => exact ⟨by simpa using T'.add_mem hy.1 hz.1, by rw [smul_add]; exact T'.add_mem hy.2 hz.2⟩ + | smul c y _ hy => + have he : ∀ (z : ℂ) (y : Z), z • y = z.re • y + z.im • (Complex.I • y) := fun z y => by + conv_lhs => rw [← Complex.re_add_im z] + rw [add_smul, mul_smul, Complex.coe_smul, Complex.coe_smul] + refine ⟨?_, ?_⟩ + · rw [he c y]; exact T'.add_mem (T'.smul_mem _ hy.1) (T'.smul_mem _ hy.2) + · rw [smul_smul, he (Complex.I * c) y] + simp only [Complex.mul_re, Complex.I_re, Complex.I_im, zero_mul, one_mul, zero_sub, Complex.mul_im, zero_add] + exact T'.add_mem (T'.smul_mem _ hy.1) (T'.smul_mem _ hy.2) + have hall : ∀ w : Z, w ∈ T' := by + intro w + have hd : Dense (Submodule.span ℂ (Set.range b) : Set Z) := + Submodule.dense_iff_topologicalClosure_eq_top.2 b.dense_span + have hsub : (Submodule.span ℂ (Set.range b) : Set Z) ⊆ (T' : Set Z) := fun y hy => (hspan y hy).1 + have := (hT'closed.closure_subset_iff.2 hsub) + rw [hd.closure_eq] at this + exact this (Set.mem_univ w) + have hfield : ∀ v : Z, ∀ x ∈ W, fockField B b v x ∈ W := fun v x hx => by + obtain ⟨w, rfl⟩ := hRs v + exact hall w x hx + rcases fockField_irreducible B b W (Submodule.isClosed_topologicalClosure _) hfield with h0 | h1 + · exfalso + have hΩW : Ω ∈ W := by + have : vec (creR B b R) Ω ∅ = Ω := by simp [vec, word] + rw [← this] + exact Submodule.le_topologicalClosure _ (Submodule.subset_span ⟨_, rfl⟩) + rw [h0] at hΩW + exact hn (by simpa using hΩW) + · rw [h1] + end FockLadder end Lightlike.OperatorAlgebras.CARShale From 2e8c861854618d388f909fdf110e194294119065 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:11:07 +0200 Subject: [PATCH 15/66] feat(operator-algebras): a unit vacuum of the transformed CAR modes gives a unitary implementer of the Bogoliubov map, infinite modes Co-Authored-By: Claude Opus 5.5 --- Lightlike/OperatorAlgebras/CARShale.lean | 96 ++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean index a7008e30..34fba9b2 100644 --- a/Lightlike/OperatorAlgebras/CARShale.lean +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -475,6 +475,102 @@ theorem dense_words [DecidableEq ι] (hRs : Function.Surjective R) (Ω : Γ) (hn exact hn (by simpa using hΩW) · rw [h1] +omit hR in +lemma pField_eq (j : ι) : pField B b R j = annR B b R j + creR B b R j := by + simp only [annR, creR]; module + +omit hR in +lemma qField_eq (j : ι) : qField B b R j = Complex.I • (creR B b R j - annR B b R j) := by + simp only [annR, creR] + linear_combination (norm := (match_scalars <;> (ring_nf; try simp only [Complex.I_sq]; try ring))) + +omit hR in +lemma fockField_I_basis (j : ι) : + fockField B b (Complex.I • b j) = Complex.I • (fermiCre B j - fermiAnn B j) := by + have h1 : creW B b (Complex.I • b j) = Complex.I • fermiCre B j := by rw [creW_smul, creW_basis B b] + have h2 : annW B b (Complex.I • b j) = -Complex.I • fermiAnn B j := by + rw [annW, h1, map_smulₛₗ, Complex.conj_I]; rfl + rw [fockField, h1, h2]; module + +omit hR in +/-- A closed real subspace of `Z` containing every `eⱼ` and `i eⱼ` is everything. -/ +lemma eq_top_of_basis (T' : Submodule ℝ Z) (hcl : IsClosed (T' : Set Z)) (h1 : ∀ j, b j ∈ T') + (h2 : ∀ j, Complex.I • b j ∈ T') (w : Z) : w ∈ T' := by + have hspan : ∀ y ∈ Submodule.span ℂ (Set.range b), y ∈ T' ∧ Complex.I • y ∈ T' := by + intro y hy + induction hy using Submodule.span_induction with + | mem y hy => + obtain ⟨j, rfl⟩ := hy + exact ⟨h1 j, h2 j⟩ + | zero => exact ⟨T'.zero_mem, by simpa using T'.zero_mem⟩ + | add y z _ _ hy hz => exact ⟨by simpa using T'.add_mem hy.1 hz.1, by rw [smul_add]; exact T'.add_mem hy.2 hz.2⟩ + | smul c y _ hy => + have he : ∀ (z : ℂ) (y : Z), z • y = z.re • y + z.im • (Complex.I • y) := fun z y => by + conv_lhs => rw [← Complex.re_add_im z] + rw [add_smul, mul_smul, Complex.coe_smul, Complex.coe_smul] + refine ⟨?_, ?_⟩ + · rw [he c y]; exact T'.add_mem (T'.smul_mem _ hy.1) (T'.smul_mem _ hy.2) + · rw [smul_smul, he (Complex.I * c) y] + simp only [Complex.mul_re, Complex.I_re, Complex.I_im, zero_mul, one_mul, zero_sub, Complex.mul_im, zero_add] + exact T'.add_mem (T'.smul_mem _ hy.1) (T'.smul_mem _ hy.2) + have hd : Dense (Submodule.span ℂ (Set.range b) : Set Z) := + Submodule.dense_iff_topologicalClosure_eq_top.2 b.dense_span + have hsub : (Submodule.span ℂ (Set.range b) : Set Z) ⊆ (T' : Set Z) := fun y hy => (hspan y hy).1 + have := hcl.closure_subset_iff.2 hsub + rw [hd.closure_eq] at this + exact this (Set.mem_univ w) + +include hR in +/-- **A unit vacuum of the transformed modes gives an implementer.** If `R` is a surjective real-linear map of `Z` +preserving `Re⟪·,·⟫`, and `Ω` is a unit vector killed by every `annR j`, then a unitary `U` of the Fock space +satisfies `U φ(w) = φ(R w) U` for all `w`. -/ +theorem exists_implementer (hRs : Function.Surjective R) (Ω : Γ) (hn : ⟪Ω, Ω⟫_ℂ = 1) + (hvac : ∀ j, annR B b R j Ω = 0) : + ∃ U : Γ ≃ₗᵢ[ℂ] Γ, ∀ w x, U (fockField B b w x) = fockField B b (R w) (U x) := by + have hΩ0 : Ω ≠ 0 := fun h => by rw [h, inner_zero_left] at hn; exact zero_ne_one hn + obtain ⟨hc, hca⟩ := creR_car_ite B b R hR + obtain ⟨U, hU, hUc⟩ := exists_unitary_of_dense B (annR B b R) hc hca hvac hn + (inner_annR_creR B b R) (dense_words B b R hR hRs Ω hΩ0 hvac) + have hUa : ∀ j x, U (fermiAnn B j x) = annR B b R j (U x) := by + intro j x + apply ext_inner_right ℂ + intro y + obtain ⟨y', rfl⟩ := U.surjective y + rw [LinearIsometryEquiv.inner_map_map, inner_annR_creR B b R, ← hUc, LinearIsometryEquiv.inner_map_map] + exact ContinuousLinearMap.adjoint_inner_left (fermiCre B j) y' x + refine ⟨U, fun w x => ?_⟩ + let T2 : Submodule ℝ Z := + { carrier := {w | ∀ x, U (fockField B b w x) = fockField B b (R w) (U x)} + add_mem' := fun {v v'} hv hv' x => by + rw [map_add R, fockField_add B b, fockField_add B b, ContinuousLinearMap.add_apply, + ContinuousLinearMap.add_apply, map_add U, hv x, hv' x] + zero_mem' := fun x => by + have : fockField B b 0 = 0 := by + have := fockField_real_smul B b (0 : ℝ) 0 + simpa using this + simp [this, map_zero R] + smul_mem' := fun r v hv x => by + rw [map_smul R, fockField_real_smul B b, fockField_real_smul B b, ContinuousLinearMap.smul_apply, + ContinuousLinearMap.smul_apply, map_smul U, hv x] } + have hcl : IsClosed (T2 : Set Z) := by + have : (T2 : Set Z) = ⋂ x : Γ, {w | U (fockField B b w x) = fockField B b (R w) (U x)} := by + ext v; simp [T2] + rw [this] + refine isClosed_iInter fun x => isClosed_eq ?_ ?_ + · exact U.continuous.comp ((continuous_fockField B b).clm_apply continuous_const) + · exact ((continuous_fockField B b).comp (continuous_R R hR)).clm_apply continuous_const + have h1 : ∀ j, b j ∈ T2 := fun j x => by + have : fockField B b (b j) = fermiCre B j + fermiAnn B j := by + rw [fockField, creW_basis B b, annW_basis B b] + rw [this, ContinuousLinearMap.add_apply, map_add, hUc, hUa] + show _ = pField B b R j (U x) + rw [pField_eq, ContinuousLinearMap.add_apply, add_comm] + have h2 : ∀ j, Complex.I • b j ∈ T2 := fun j x => by + rw [fockField_I_basis, ContinuousLinearMap.smul_apply, ContinuousLinearMap.sub_apply, map_smul, map_sub, hUc, hUa] + show _ = qField B b R j (U x) + rw [qField_eq, ContinuousLinearMap.smul_apply, ContinuousLinearMap.sub_apply] + exact eq_top_of_basis b T2 hcl h1 h2 w x + end FockLadder end Lightlike.OperatorAlgebras.CARShale From c28a62fbba6ce9db9002d19e08e7abe7f62b501e Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:14:15 +0200 Subject: [PATCH 16/66] wip: commuting projections Bonferroni --- .../OperatorAlgebras/CARProjections.lean | 149 ++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 Lightlike/OperatorAlgebras/CARProjections.lean diff --git a/Lightlike/OperatorAlgebras/CARProjections.lean b/Lightlike/OperatorAlgebras/CARProjections.lean new file mode 100644 index 00000000..be43982c --- /dev/null +++ b/Lightlike/OperatorAlgebras/CARProjections.lean @@ -0,0 +1,149 @@ +import Mathlib.Analysis.InnerProductSpace.Adjoint +import Mathlib.Data.Finset.NoncommProd + +/-! +# Products of commuting projections and the Bonferroni inequality + +For a family `n k` of commuting symmetric idempotent operators on a Hilbert space (the number operators `c_k a_k` +of CAR modes), the projections `Q k = 1 - n k` commute, and for a finite set `F` the product +`PF F = ∏_{k ∈ F} Q k` is a symmetric idempotent with `‖PF F v‖² ≥ ‖v‖² - ∑_{k ∈ F} ‖n k v‖²` +(`norm_sq_prod_ge`). This is the lower bound used to show that a Bogoliubov vacuum exists when the antilinear +part is small in the Hilbert-Schmidt norm. +-/ + +open scoped InnerProductSpace + +namespace Lightlike.OperatorAlgebras.CARProjections + +variable {ι : Type*} {Γ : Type*} [NormedAddCommGroup Γ] [InnerProductSpace ℂ Γ] [CompleteSpace Γ] + (n : ι → (Γ →L[ℂ] Γ)) + +/-- The hypotheses: commuting, symmetric idempotents. -/ +structure IsProjFamily : Prop where + /-- Each `n k` is symmetric. -/ + symm : ∀ k x y, ⟪n k x, y⟫_ℂ = ⟪x, n k y⟫_ℂ + /-- Each `n k` is idempotent. -/ + idem : ∀ k, n k * n k = n k + /-- The `n k` commute. -/ + comm : ∀ k l, n k * n l = n l * n k + +variable {n} + +/-- The complementary projection `1 - n k`. -/ +def Q (n : ι → (Γ →L[ℂ] Γ)) (k : ι) : Γ →L[ℂ] Γ := 1 - n k + +lemma commute_Q (h : IsProjFamily n) (k l : ι) : Commute (Q n k) (Q n l) := by + show Q n k * Q n l = Q n l * Q n k + simp only [Q, sub_mul, mul_sub, one_mul, mul_one, h.comm k l] + abel + +/-- The product `∏_{k ∈ F} (1 - n k)`. -/ +noncomputable def PF (h : IsProjFamily n) (F : Finset ι) : Γ →L[ℂ] Γ := + F.noncommProd (Q n) (fun k _ l _ _ => commute_Q h k l) + +lemma PF_empty (h : IsProjFamily n) : PF h ∅ = 1 := rfl + +lemma PF_insert [DecidableEq ι] (h : IsProjFamily n) {F : Finset ι} {k : ι} (hk : k ∉ F) : + PF h (insert k F) = Q n k * PF h F := by + unfold PF + exact Finset.noncommProd_insert_of_notMem _ _ _ _ hk + +section + +variable [DecidableEq ι] (h : IsProjFamily n) +include h + +lemma Q_symm (k : ι) (x y : Γ) : ⟪Q n k x, y⟫_ℂ = ⟪x, Q n k y⟫_ℂ := by + simp only [Q, ContinuousLinearMap.sub_apply, ContinuousLinearMap.one_apply, inner_sub_left, inner_sub_right, + h.symm k x y] + +lemma Q_idem (k : ι) : Q n k * Q n k = Q n k := by + simp only [Q, sub_mul, mul_sub, one_mul, mul_one, h.idem k]; abel + +lemma Q_mul_n (k : ι) : Q n k * n k = 0 := by + simp only [Q, sub_mul, one_mul, h.idem k, sub_self] + +lemma PF_comm_Q (F : Finset ι) (l : ι) : Q n l * PF h F = PF h F * Q n l := by + induction F using Finset.induction_on with + | empty => rw [PF_empty, mul_one, one_mul] + | insert k F hk ih => + rw [PF_insert h hk, ← mul_assoc, (commute_Q h l k).eq, mul_assoc, ih, mul_assoc] + +lemma PF_comm_n (F : Finset ι) (l : ι) : n l * PF h F = PF h F * n l := by + have := PF_comm_Q h F l + simp only [Q, sub_mul, mul_sub, one_mul, mul_one] at this + have h2 : PF h F - n l * PF h F = PF h F - PF h F * n l := by simpa using this + exact sub_right_injective h2 + +lemma PF_symm (F : Finset ι) (x y : Γ) : ⟪PF h F x, y⟫_ℂ = ⟪x, PF h F y⟫_ℂ := by + induction F using Finset.induction_on generalizing x y with + | empty => simp [PF_empty] + | insert k F hk ih => + rw [PF_insert h hk, ContinuousLinearMap.mul_apply, Q_symm h, ih, ContinuousLinearMap.mul_apply, + ← ContinuousLinearMap.mul_apply, ← ContinuousLinearMap.mul_apply, ← PF_comm_Q h F k] + +lemma PF_idem (F : Finset ι) : PF h F * PF h F = PF h F := by + induction F using Finset.induction_on with + | empty => rw [PF_empty, mul_one] + | insert k F hk ih => + rw [PF_insert h hk] + calc Q n k * PF h F * (Q n k * PF h F) = Q n k * (PF h F * Q n k) * PF h F := by simp only [mul_assoc] + _ = Q n k * (Q n k * PF h F) * PF h F := by rw [← PF_comm_Q h F k] + _ = (Q n k * Q n k) * (PF h F * PF h F) := by simp only [mul_assoc] + _ = Q n k * PF h F := by rw [Q_idem h, ih] + +lemma norm_PF_le (F : Finset ι) (x : Γ) : ‖PF h F x‖ ≤ ‖x‖ := by + have h1 : ⟪PF h F x, PF h F x⟫_ℂ = ⟪x, PF h F x⟫_ℂ := by + rw [PF_symm h, ← ContinuousLinearMap.mul_apply, PF_idem h] + have h2 : ‖PF h F x‖ ^ 2 ≤ ‖x‖ * ‖PF h F x‖ := by + have := congrArg RCLike.re h1 + rw [inner_self_eq_norm_sq] at this + calc ‖PF h F x‖ ^ 2 = RCLike.re ⟪x, PF h F x⟫_ℂ := by simpa using this + _ ≤ ‖⟪x, PF h F x⟫_ℂ‖ := RCLike.re_le_norm _ + _ ≤ ‖x‖ * ‖PF h F x‖ := norm_inner_le_norm _ _ + by_cases h0 : ‖PF h F x‖ = 0 + · rw [h0]; exact norm_nonneg _ + · have hp : 0 < ‖PF h F x‖ := lt_of_le_of_ne (norm_nonneg _) (Ne.symm h0) + nlinarith + +lemma norm_sq_Q (k : ι) (x : Γ) : ‖Q n k x‖ ^ 2 = ‖x‖ ^ 2 - ‖n k x‖ ^ 2 := by + have hx : x = Q n k x + n k x := by simp [Q] + have horth : ⟪Q n k x, n k x⟫_ℂ = 0 := by + rw [Q_symm h, ← ContinuousLinearMap.mul_apply, Q_mul_n h]; simp + have := norm_add_sq_eq_norm_sq_add_norm_sq_of_inner_eq_zero (𝕜 := ℂ) _ _ horth + rw [← hx] at this + linarith + +/-- **Bonferroni**: `‖PF F v‖² ≥ ‖v‖² - ∑_{k∈F} ‖n k v‖²`. -/ +theorem norm_sq_PF_ge (F : Finset ι) (v : Γ) : ‖v‖ ^ 2 - ∑ k ∈ F, ‖n k v‖ ^ 2 ≤ ‖PF h F v‖ ^ 2 := by + induction F using Finset.induction_on with + | empty => simp [PF_empty] + | insert k F hk ih => + rw [Finset.sum_insert hk, PF_insert h hk, ContinuousLinearMap.mul_apply, norm_sq_Q h] + have h1 : ‖n k (PF h F v)‖ ≤ ‖n k v‖ := by + have : n k (PF h F v) = PF h F (n k v) := by + rw [← ContinuousLinearMap.mul_apply, PF_comm_n h, ContinuousLinearMap.mul_apply] + rw [this]; exact norm_PF_le h F _ + nlinarith [norm_nonneg (n k (PF h F v)), norm_nonneg (n k v)] + +/-- If `PF t ψ = ψ` then every `Q k ψ = ψ` for `k ∈ t`. -/ +lemma Q_fix {t : Finset ι} {ψ : Γ} (hψ : PF h t ψ = ψ) {k : ι} (hk : k ∈ t) : Q n k ψ = ψ := by + have heq : PF h t = Q n k * PF h (t.erase k) := by + rw [← PF_insert h (Finset.notMem_erase k t), Finset.insert_erase hk] + have e : Q n k * PF h t = PF h t := by + rw [heq, ← mul_assoc, Q_idem h] + calc Q n k ψ = Q n k (PF h t ψ) := by rw [hψ] + _ = (Q n k * PF h t) ψ := rfl + _ = ψ := by rw [e]; exact hψ + +/-- **The ranges of `PF` decrease**: if `s ⊆ t` and `PF t ψ = ψ` then `PF s ψ = ψ`. -/ +lemma PF_fix_of_subset {s t : Finset ι} (hst : s ⊆ t) {ψ : Γ} (hψ : PF h t ψ = ψ) : PF h s ψ = ψ := by + induction s using Finset.induction_on with + | empty => simp [PF_empty] + | insert k s hk ih => + rw [PF_insert h hk, ContinuousLinearMap.mul_apply, + ih ((Finset.subset_insert _ _).trans hst), Q_fix h hψ (hst (Finset.mem_insert_self _ _))] + +end + +end Lightlike.OperatorAlgebras.CARProjections From 0f6cbafcd89640a2cac96ac8d2244aed99c28b20 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:15:37 +0200 Subject: [PATCH 17/66] wip: number operators project family --- .../OperatorAlgebras/CARProjections.lean | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/Lightlike/OperatorAlgebras/CARProjections.lean b/Lightlike/OperatorAlgebras/CARProjections.lean index be43982c..4a0172b1 100644 --- a/Lightlike/OperatorAlgebras/CARProjections.lean +++ b/Lightlike/OperatorAlgebras/CARProjections.lean @@ -146,4 +146,67 @@ lemma PF_fix_of_subset {s t : Finset ι} (hst : s ⊆ t) {ψ : Γ} (hψ : PF h t end +section Car + +variable [DecidableEq ι] (a c : ι → (Γ →L[ℂ] Γ)) + +/-- The number operators `c k * a k` of CAR modes form a family of commuting symmetric idempotents. -/ +theorem isProjFamily_of_car (hcc : ∀ i j, c i * c j + c j * c i = 0) (haa : ∀ i j, a i * a j + a j * a i = 0) + (hca : ∀ i j, a i * c j + c j * a i = if i = j then 1 else 0) (hadj : ∀ j x y, ⟪a j x, y⟫_ℂ = ⟪x, c j y⟫_ℂ) : + IsProjFamily (fun k => c k * a k) where + symm k x y := by + have hadj' : ∀ j x y, ⟪c j x, y⟫_ℂ = ⟪x, a j y⟫_ℂ := fun j x y => by + rw [← inner_conj_symm, ← hadj, inner_conj_symm] + simp only [ContinuousLinearMap.mul_apply, hadj', hadj] + idem k := by + have h1 := hca k k + have h2 : c k * c k = 0 := by + have := hcc k k + have h3 : (2 : ℂ) • (c k * c k) = 0 := by rw [two_smul]; exact this + exact (smul_eq_zero.1 h3).resolve_left two_ne_zero + simp only [if_true] at h1 + calc c k * a k * (c k * a k) = c k * (a k * c k) * a k := by simp only [mul_assoc] + _ = c k * (1 - c k * a k) * a k := by rw [eq_sub_of_add_eq h1] + _ = c k * a k := by + rw [mul_sub, mul_one, sub_mul, show c k * (c k * a k) * a k = (c k * c k) * a k * a k by simp only [mul_assoc], h2] + simp + comm k l := by + by_cases hkl : k = l + · rw [hkl] + · have h1 : a k * c l = -(c l * a k) := by + have := hca k l + rw [if_neg hkl] at this; exact eq_neg_of_add_eq_zero_left this + have h2 : a l * c k = -(c k * a l) := by + have := hca l k + rw [if_neg (Ne.symm hkl)] at this; exact eq_neg_of_add_eq_zero_left this + have h3 : c l * c k = -(c k * c l) := eq_neg_of_add_eq_zero_left (by rw [add_comm]; exact hcc k l) + have h4 : a l * a k = -(a k * a l) := eq_neg_of_add_eq_zero_left (by rw [add_comm]; exact haa k l) + have eA : c k * a k * (c l * a l) = -(c k * c l * (a k * a l)) := by + rw [show c k * a k * (c l * a l) = c k * (a k * c l) * a l by simp only [mul_assoc], h1] + simp only [mul_neg, neg_mul, mul_assoc] + have eB : c l * a l * (c k * a k) = -(c l * c k * (a l * a k)) := by + rw [show c l * a l * (c k * a k) = c l * (a l * c k) * a k by simp only [mul_assoc], h2] + simp only [mul_neg, neg_mul, mul_assoc] + rw [eA, eB, h3, h4] + simp + +lemma norm_sq_cre_ann (hcc : ∀ i j, c i * c j + c j * c i = 0) (haa : ∀ i j, a i * a j + a j * a i = 0) + (hca : ∀ i j, a i * c j + c j * a i = if i = j then 1 else 0) (hadj : ∀ j x y, ⟪a j x, y⟫_ℂ = ⟪x, c j y⟫_ℂ) + (k : ι) (x : Γ) : ‖c k (a k x)‖ ^ 2 = ‖a k x‖ ^ 2 := by + have hP := isProjFamily_of_car a c hcc haa hca hadj + have h1 : ⟪c k (a k x), c k (a k x)⟫_ℂ = ⟪a k x, a k x⟫_ℂ := by + have e1 := hP.symm k (x) ((c k * a k) x) + have e2 := hP.idem k + have e3 : ⟪(c k * a k) x, (c k * a k) x⟫_ℂ = ⟪x, (c k * a k) x⟫_ℂ := by + rw [hP.symm k, ← ContinuousLinearMap.mul_apply, e2] + have e4 : ⟪x, (c k * a k) x⟫_ℂ = ⟪a k x, a k x⟫_ℂ := by + simp only [ContinuousLinearMap.mul_apply] + rw [← hadj] + exact e3.trans e4 + have := congrArg RCLike.re h1 + rw [inner_self_eq_norm_sq, inner_self_eq_norm_sq] at this + exact_mod_cast this + +end Car + end Lightlike.OperatorAlgebras.CARProjections From 2583d718482f9cd7a63ef65f7d14644f12c32e27 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:18:06 +0200 Subject: [PATCH 18/66] wip: vacuum existence small beta --- Lightlike/OperatorAlgebras/CARShale.lean | 73 +++++++++++++++++++++--- 1 file changed, 66 insertions(+), 7 deletions(-) diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean index 34fba9b2..fe339e71 100644 --- a/Lightlike/OperatorAlgebras/CARShale.lean +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -1,5 +1,7 @@ import Lightlike.OperatorAlgebras.FermiFockGeneral import Mathlib.Analysis.InnerProductSpace.l2Space +import Lightlike.OperatorAlgebras.CARProjections +import Lightlike.OperatorAlgebras.VacuumProjection /-! # Fermionic Fock representations of the CAR over a Hilbert space: words of creation operators @@ -261,16 +263,20 @@ lemma ladder_car [DecidableEq ι] (p q : ι → A) ((1 / 2 : ℂ) • (p j - Complex.I • q j)) * ((1 / 2 : ℂ) • (p i - Complex.I • q i)) = 0 ∧ ((1 / 2 : ℂ) • (p i + Complex.I • q i)) * ((1 / 2 : ℂ) • (p j - Complex.I • q j)) + ((1 / 2 : ℂ) • (p j - Complex.I • q j)) * ((1 / 2 : ℂ) • (p i + Complex.I • q i)) = - (if i = j then (1 : ℂ) else 0) • (1 : A) := by + (if i = j then (1 : ℂ) else 0) • (1 : A) ∧ + ((1 / 2 : ℂ) • (p i + Complex.I • q i)) * ((1 / 2 : ℂ) • (p j + Complex.I • q j)) + + ((1 / 2 : ℂ) • (p j + Complex.I • q j)) * ((1 / 2 : ℂ) • (p i + Complex.I • q i)) = 0 := by have h1 := hpp i j have h2 := hqq i j have h3 := hpq i j have h4 := hpq j i - constructor + refine ⟨?_, ?_, ?_⟩ · simp only [smul_mul_smul_comm, mul_sub, sub_mul, mul_smul_comm, smul_mul_assoc, smul_sub, smul_smul] linear_combination (norm := (match_scalars <;> (ring_nf; try simp only [Complex.I_sq]; try ring))) (1 / 4 : ℂ) • h1 - (1 / 4 : ℂ) • h2 - (Complex.I / 4) • h3 - (Complex.I / 4) • h4 · simp only [smul_mul_smul_comm, mul_sub, mul_add, sub_mul, add_mul, mul_smul_comm, smul_mul_assoc, smul_sub, smul_add, smul_smul] linear_combination (norm := (match_scalars <;> (ring_nf; try simp only [Complex.I_sq]; try ring))) (1 / 4 : ℂ) • h1 + (1 / 4 : ℂ) • h2 - (Complex.I / 4) • h3 + (Complex.I / 4) • h4 + · simp only [smul_mul_smul_comm, mul_add, add_mul, mul_smul_comm, smul_mul_assoc, smul_add, smul_smul] + linear_combination (norm := (match_scalars <;> (ring_nf; try simp only [Complex.I_sq]; try ring))) (1 / 4 : ℂ) • h1 - (1 / 4 : ℂ) • h2 + (Complex.I / 4) • h3 + (Complex.I / 4) • h4 end Ladder @@ -313,7 +319,8 @@ include hR /-- The ladder operators of the transformed modes satisfy the CAR. -/ lemma creR_annR_car [DecidableEq ι] (i j : ι) : creR B b R i * creR B b R j + creR B b R j * creR B b R i = 0 ∧ - annR B b R i * creR B b R j + creR B b R j * annR B b R i = (if i = j then (1 : ℂ) else 0) • (1 : Γ →L[ℂ] Γ) := by + annR B b R i * creR B b R j + creR B b R j * annR B b R i = (if i = j then (1 : ℂ) else 0) • (1 : Γ →L[ℂ] Γ) ∧ + annR B b R i * annR B b R j + annR B b R j * annR B b R i = 0 := by have key : ∀ w w' : Z, fockField B b (R w) * fockField B b (R w') + fockField B b (R w') * fockField B b (R w) = ((2 * (⟪w, w'⟫_ℂ).re : ℝ) : ℂ) • (1 : Γ →L[ℂ] Γ) := fun w w' => by rw [fockField_anticomm, hR] @@ -369,15 +376,17 @@ lemma continuous_R : Continuous R := include hR in lemma creR_car_ite [DecidableEq ι] : (∀ i j, creR B b R i * creR B b R j + creR B b R j * creR B b R i = 0) ∧ - (∀ i j, annR B b R i * creR B b R j + creR B b R j * annR B b R i = if i = j then 1 else 0) := + (∀ i j, annR B b R i * creR B b R j + creR B b R j * annR B b R i = if i = j then 1 else 0) ∧ + (∀ i j, annR B b R i * annR B b R j + annR B b R j * annR B b R i = 0) := ⟨fun i j => (creR_annR_car B b R hR i j).1, fun i j => by - rw [(creR_annR_car B b R hR i j).2]; split_ifs <;> simp⟩ + rw [(creR_annR_car B b R hR i j).2.1]; split_ifs <;> simp, + fun i j => (creR_annR_car B b R hR i j).2.2⟩ /-- **The closed span of the words of a vacuum is dense, by irreducibility.** -/ theorem dense_words [DecidableEq ι] (hRs : Function.Surjective R) (Ω : Γ) (hn : Ω ≠ 0) (hvac : ∀ j, annR B b R j Ω = 0) : ⊤ ≤ (Submodule.span ℂ (Set.range (vec (creR B b R) Ω))).topologicalClosure := by - obtain ⟨hc, hca⟩ := creR_car_ite B b R hR + obtain ⟨hc, hca, -⟩ := creR_car_ite B b R hR set W := (Submodule.span ℂ (Set.range (vec (creR B b R) Ω))).topologicalClosure with hW have hmap : ∀ f : Γ →L[ℂ] Γ, (∀ S, f (vec (creR B b R) Ω S) ∈ Submodule.span ℂ (Set.range (vec (creR B b R) Ω))) → ∀ x ∈ W, f x ∈ W := by @@ -528,7 +537,7 @@ theorem exists_implementer (hRs : Function.Surjective R) (Ω : Γ) (hn : ⟪Ω, (hvac : ∀ j, annR B b R j Ω = 0) : ∃ U : Γ ≃ₗᵢ[ℂ] Γ, ∀ w x, U (fockField B b w x) = fockField B b (R w) (U x) := by have hΩ0 : Ω ≠ 0 := fun h => by rw [h, inner_zero_left] at hn; exact zero_ne_one hn - obtain ⟨hc, hca⟩ := creR_car_ite B b R hR + obtain ⟨hc, hca, -⟩ := creR_car_ite B b R hR obtain ⟨U, hU, hUc⟩ := exists_unitary_of_dense B (annR B b R) hc hca hvac hn (inner_annR_creR B b R) (dense_words B b R hR hRs Ω hΩ0 hvac) have hUa : ∀ j x, U (fermiAnn B j x) = annR B b R j (U x) := by @@ -571,6 +580,56 @@ theorem exists_implementer (hRs : Function.Surjective R) (Ω : Γ) (hn : ⟪Ω, rw [qField_eq, ContinuousLinearMap.smul_apply, ContinuousLinearMap.sub_apply] exact eq_top_of_basis b T2 hcl h1 h2 w x +include hR in +/-- **A unit vector killed by all `annR j`** exists when the Fock vacuum has small new-particle number: +`∑_{k ∈ F} ‖annR k Ω₀‖² ≤ h < 1` for every finite `F`. -/ +theorem exists_vacuum_of_small [DecidableEq ι] (Ω₀ : Γ) (hΩ₀ : ‖Ω₀‖ = 1) (h : ℝ) (hh : h < 1) + (hsmall : ∀ F : Finset ι, ∑ k ∈ F, ‖annR B b R k Ω₀‖ ^ 2 ≤ h) : + ∃ Ω : Γ, ⟪Ω, Ω⟫_ℂ = 1 ∧ ∀ j, annR B b R j Ω = 0 := by + obtain ⟨hc, hca, haa⟩ := creR_car_ite B b R hR + have hadj : ∀ j x y, ⟪annR B b R j x, y⟫_ℂ = ⟪x, creR B b R j y⟫_ℂ := inner_annR_creR B b R + have hP := CARProjections.isProjFamily_of_car (annR B b R) (creR B b R) hc haa hca hadj + obtain ⟨Ω', hlow, hfix⟩ := exists_fixed_of_decreasing_projections (K := Γ) + (fun s => CARProjections.PF hP s) + (fun s φ ψ => CARProjections.PF_symm hP s φ ψ) + (fun s ψ => by + show (CARProjections.PF hP s * CARProjections.PF hP s) ψ = _ + rw [CARProjections.PF_idem hP]) + (fun s φ ψ => map_sub _ _ _) + (fun s ψ => CARProjections.norm_PF_le hP s ψ) + (fun s t hst ψ hψ => CARProjections.PF_fix_of_subset hP (Finset.le_iff_subset.1 hst) hψ) + Ω₀ (1 - h) (fun s => by + have h1 := CARProjections.norm_sq_PF_ge hP s Ω₀ + have h2 : ∑ k ∈ s, ‖(creR B b R k * annR B b R k) Ω₀‖ ^ 2 = ∑ k ∈ s, ‖annR B b R k Ω₀‖ ^ 2 := + Finset.sum_congr rfl fun k _ => CARProjections.norm_sq_cre_ann (annR B b R) (creR B b R) hc haa hca hadj k Ω₀ + rw [h2, hΩ₀] at h1 + have := hsmall s + show 1 - h ≤ ‖CARProjections.PF hP s Ω₀‖ ^ 2 + linarith) + have hpos : 0 < ‖Ω'‖ := by + have : 0 < ‖Ω'‖ ^ 2 := lt_of_lt_of_le (by linarith) hlow + exact lt_of_le_of_ne (norm_nonneg _) (fun e => by rw [← e] at this; simp at this) + have hann : ∀ j, annR B b R j Ω' = 0 := fun j => by + have h1 := CARProjections.Q_fix hP (t := {j}) (hfix {j}) (Finset.mem_singleton_self j) + have h2 : (creR B b R j * annR B b R j) Ω' = 0 := by + have : CARProjections.Q (fun k => creR B b R k * annR B b R k) j Ω' = Ω' - (creR B b R j * annR B b R j) Ω' := by + simp [CARProjections.Q] + rw [this] at h1 + exact sub_eq_self.1 h1 + have h3 := CARProjections.norm_sq_cre_ann (annR B b R) (creR B b R) hc haa hca hadj j Ω' + have h4 : ‖annR B b R j Ω'‖ ^ 2 = 0 := by + rw [← h3] + have : (creR B b R j) ((annR B b R j) Ω') = 0 := h2 + rw [this]; simp + exact norm_eq_zero.1 (pow_eq_zero_iff (two_ne_zero) |>.1 h4) + refine ⟨((‖Ω'‖⁻¹ : ℝ) : ℂ) • Ω', ?_, fun j => by rw [map_smul, hann j, smul_zero]⟩ + rw [inner_smul_left, inner_smul_right, inner_self_eq_norm_sq_to_K] + simp only [Complex.conj_ofReal] + have hne : ((‖Ω'‖ : ℝ) : ℂ) ≠ 0 := by exact_mod_cast hpos.ne' + push_cast + field_simp + rfl + end FockLadder end Lightlike.OperatorAlgebras.CARShale From 1e85ce238507aeddf7282545c0e445c6d04b454f Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:19:22 +0200 Subject: [PATCH 19/66] feat(operator-algebras): fermionic Shale for small antilinear part, infinite modes --- Lightlike/OperatorAlgebras/CARShale.lean | 54 ++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean index fe339e71..97a04a15 100644 --- a/Lightlike/OperatorAlgebras/CARShale.lean +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -630,6 +630,60 @@ theorem exists_vacuum_of_small [DecidableEq ι] (Ω₀ : Γ) (hΩ₀ : ‖Ω₀ field_simp rfl +omit hR in +/-- The annihilation operator kills the Fock vacuum `B ∅`. -/ +lemma annW_vac (w : Z) : annW B b w (B ∅) = 0 := by + apply ext_inner_right ℂ + intro y + rw [annW, ContinuousLinearMap.adjoint_inner_left, inner_zero_left] + rw [← HilbertBasis.repr_apply_apply, repr_creW_apply] + simp + +omit hR in +/-- `a*(w)` applied to the vacuum has norm `‖w‖`. -/ +lemma norm_creW_vac (w : Z) : ‖creW B b w (B ∅)‖ = ‖w‖ := by + have h := annW_creW_anticomm B b w w + have h2 := congrArg (fun f => f (B ∅)) h + simp only [ContinuousLinearMap.add_apply, ContinuousLinearMap.mul_apply, annW_vac B b, map_zero, add_zero, + ContinuousLinearMap.smul_apply, ContinuousLinearMap.one_apply] at h2 + have h3 : ⟪B ∅, annW B b w (creW B b w (B ∅))⟫_ℂ = ⟪w, w⟫_ℂ * ⟪B ∅, B ∅⟫_ℂ := by + rw [h2, inner_smul_right] + have h4 : ⟪B ∅, annW B b w (creW B b w (B ∅))⟫_ℂ = ⟪creW B b w (B ∅), creW B b w (B ∅)⟫_ℂ := by + rw [annW, ContinuousLinearMap.adjoint_inner_right] + have hB : ⟪B ∅, B ∅⟫_ℂ = 1 := by simpa using orthonormal_iff_ite.1 B.orthonormal ∅ ∅ + rw [h4, hB, mul_one, inner_self_eq_norm_sq_to_K, inner_self_eq_norm_sq_to_K] at h3 + have : ‖creW B b w (B ∅)‖ ^ 2 = ‖w‖ ^ 2 := by exact_mod_cast h3 + exact (sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _)).1 this + +/-- The antilinear part of `R`: `β w = (R w + i R(i w))/2`. -/ +noncomputable def betaPart (w : Z) : Z := (1 / 2 : ℂ) • (R w + Complex.I • R (Complex.I • w)) + +omit hR in +/-- `annR j` applied to the vacuum is `a*(β eⱼ)` on the vacuum. -/ +lemma annR_vac (j : ι) : annR B b R j (B ∅) = creW B b (betaPart R (b j)) (B ∅) := by + have h1 : ∀ w : Z, fockField B b w (B ∅) = creW B b w (B ∅) := fun w => by + rw [fockField, ContinuousLinearMap.add_apply, annW_vac B b, add_zero] + simp only [annR, pField, qField, ContinuousLinearMap.smul_apply, ContinuousLinearMap.add_apply, h1, betaPart] + rw [creW_smul, creW_add, creW_smul] + simp [ContinuousLinearMap.smul_apply, ContinuousLinearMap.add_apply] + +omit hR in +lemma norm_annR_vac (j : ι) : ‖annR B b R j (B ∅)‖ = ‖betaPart R (b j)‖ := by + rw [annR_vac B b, norm_creW_vac B b] + +include hR in +/-- **Fermionic Shale, sufficiency for small antilinear part.** If `R` is a surjective real-linear map of `Z` +preserving `Re⟪·,·⟫` and `∑_{k ∈ F} ‖β eₖ‖² ≤ h < 1` for every finite `F` (a Hilbert-Schmidt bound on the +antilinear part `β` of `R`), then `R` is implemented by a unitary of the fermionic Fock space: +`U φ(w) = φ(R w) U`. -/ +theorem fermionic_shale_of_small [DecidableEq ι] (hRs : Function.Surjective R) (h : ℝ) (hh : h < 1) + (hsmall : ∀ F : Finset ι, ∑ k ∈ F, ‖betaPart R (b k)‖ ^ 2 ≤ h) : + ∃ U : Γ ≃ₗᵢ[ℂ] Γ, ∀ w x, U (fockField B b w x) = fockField B b (R w) (U x) := by + have hB : ‖B ∅‖ = 1 := B.orthonormal.1 ∅ + obtain ⟨Ω, hn, hvac⟩ := exists_vacuum_of_small B b R hR (B ∅) hB h hh (fun F => by + simpa only [norm_annR_vac B b R] using hsmall F) + exact exists_implementer B b R hR hRs Ω hn hvac + end FockLadder end Lightlike.OperatorAlgebras.CARShale From ca304753b89613c3b818bee22c5b3acdb700b019 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:20:31 +0200 Subject: [PATCH 20/66] feat(operator-algebras): CARShale tests, catalogue entry, imports --- Lightlike.lean | 3 +++ Lightlike/OperatorAlgebras/TestsCARShale.lean | 27 +++++++++++++++++++ docs/results.d/car-shale.yaml | 11 ++++++++ 3 files changed, 41 insertions(+) create mode 100644 Lightlike/OperatorAlgebras/TestsCARShale.lean create mode 100644 docs/results.d/car-shale.yaml diff --git a/Lightlike.lean b/Lightlike.lean index c2e3d5b2..97fb8e26 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -601,7 +601,9 @@ import Lightlike.ODE.LocalFlow import Lightlike.ODE.Tests import Lightlike.OperatorAlgebras.BoundedGroup import Lightlike.OperatorAlgebras.CARBogoliubov +import Lightlike.OperatorAlgebras.CARProjections import Lightlike.OperatorAlgebras.CARQuasiFree +import Lightlike.OperatorAlgebras.CARShale import Lightlike.OperatorAlgebras.CARUnique import Lightlike.OperatorAlgebras.CCRJoint import Lightlike.OperatorAlgebras.Deficiency @@ -716,6 +718,7 @@ import Lightlike.OperatorAlgebras.FermiFockGeneral import Lightlike.OperatorAlgebras.TestsBoundedGroup import Lightlike.OperatorAlgebras.TestsCARBogoliubov import Lightlike.OperatorAlgebras.TestsCARQuasiFree +import Lightlike.OperatorAlgebras.TestsCARShale import Lightlike.OperatorAlgebras.TestsCARUnique import Lightlike.OperatorAlgebras.TestsFiniteKMS import Lightlike.OperatorAlgebras.Wasserstein diff --git a/Lightlike/OperatorAlgebras/TestsCARShale.lean b/Lightlike/OperatorAlgebras/TestsCARShale.lean new file mode 100644 index 00000000..8c1e2f89 --- /dev/null +++ b/Lightlike/OperatorAlgebras/TestsCARShale.lean @@ -0,0 +1,27 @@ +import Lightlike.OperatorAlgebras.CARShale + +/-! +# Tests for the fermionic Shale sufficiency + +The identity map has antilinear part `0`, so the small-`β` hypothesis holds with `h = 0` and the theorem gives an +implementer (the identity is one, but the statement is checked as an instance). +-/ + +open scoped InnerProductSpace + +namespace Lightlike.OperatorAlgebras.CARShale + +variable {ι : Type*} [LinearOrder ι] {Γ : Type*} [NormedAddCommGroup Γ] [InnerProductSpace ℂ Γ] [CompleteSpace Γ] + {Z : Type*} [NormedAddCommGroup Z] [InnerProductSpace ℂ Z] [CompleteSpace Z] + +/-- The antilinear part of the identity vanishes. -/ +example (w : Z) : betaPart (LinearMap.id : Z →ₗ[ℝ] Z) w = 0 := by + simp [betaPart, smul_smul] + +/-- The identity is implemented, by the theorem under the bound `h = 0 < 1`. -/ +example [DecidableEq ι] (B : HilbertBasis (Finset ι) ℂ Γ) (b : HilbertBasis ι ℂ Z) : + ∃ U : Γ ≃ₗᵢ[ℂ] Γ, ∀ w x, U (fockField B b w x) = fockField B b ((LinearMap.id : Z →ₗ[ℝ] Z) w) (U x) := + fermionic_shale_of_small B b LinearMap.id (fun _ _ => rfl) Function.surjective_id 0 zero_lt_one + (fun F => by simp [betaPart, smul_smul]) + +end Lightlike.OperatorAlgebras.CARShale diff --git a/docs/results.d/car-shale.yaml b/docs/results.d/car-shale.yaml new file mode 100644 index 00000000..5aa33593 --- /dev/null +++ b/docs/results.d/car-shale.yaml @@ -0,0 +1,11 @@ +- id: LL-XXXX-i + title: "Fermionic Shale in infinitely many modes, sufficiency for a small antilinear part: a surjective real-linear map R of a Hilbert space Z preserving Re of the inner product, whose antilinear part beta satisfies sum over every finite set of |beta e_k|^2 at most h < 1, is implemented by a unitary of the fermionic Fock space, U phi(w) = phi(R w) U; and for any R, a unit vector killed by the transformed annihilation operators gives such a unitary" + area: OperatorAlgebras + file: Lightlike/OperatorAlgebras/CARShale.lean + decls: [Lightlike.OperatorAlgebras.CARShale.exists_unitary_of_dense, Lightlike.OperatorAlgebras.CARShale.dense_words, Lightlike.OperatorAlgebras.CARShale.exists_implementer, Lightlike.OperatorAlgebras.CARShale.exists_vacuum_of_small, Lightlike.OperatorAlgebras.CARShale.fermionic_shale_of_small] + status: proven + tier: established + source: exploratory + review: kernel-checked + note: "Comparison pending (no source for the fermionic Shale theorem was read). Part of OP2, not the whole criterion. WEAKER: (1) only sufficiency, and only under the strict bound sum |beta e_k|^2 < 1 (Hilbert-Schmidt norm of beta below 1); the general Hilbert-Schmidt case (Araki, Bratteli-Robinson) and the necessity of the Hilbert-Schmidt condition are not proved here. (2) The bound is on the basis vectors of a Hilbert basis, which is the squared Hilbert-Schmidt norm of beta. Proof: the transformed annihilators are the CAR family (p + i q)/2 built from the fields phi(R e_k), phi(R(i e_k)); the words of transformed creation operators on a unit vacuum are orthonormal, dense by irreducibility of the Fock representation, and define the unitary; the vacuum is the limit of the decreasing commuting projections prod (1 - c_k a_k), bounded below by the Bonferroni inequality 1 - sum |a_k Omega_0|^2." + since: unreleased From 9e6200453980fd75ed2ac5ee13a0aa79d963acdb Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:20:36 +0200 Subject: [PATCH 21/66] feat(g1-012): timelike variation of a null geodesic with a moving start point (chart level) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Rows/G1_012/NullVariation.lean | 385 +++++++++++++++++++++++ 1 file changed, 385 insertions(+) create mode 100644 Lightlike/Rows/G1_012/NullVariation.lean diff --git a/Lightlike/Rows/G1_012/NullVariation.lean b/Lightlike/Rows/G1_012/NullVariation.lean new file mode 100644 index 00000000..efb3ca0d --- /dev/null +++ b/Lightlike/Rows/G1_012/NullVariation.lean @@ -0,0 +1,385 @@ +import Lightlike.Geodesic.Variation + +/-! +# A timelike variation of a null geodesic with a moving initial point + +Chart-level core of the orthogonality of the generators of `∂J⁺(S)` to `S` +(Hawking–Ellis, section 4.5): if `γ` is a null geodesic of a +coordinate metric `g` and `u` is a vector with `g(γ'(t₀), u) > 0`, then the curves +`t ↦ γ t + h t • d`, `h t₀ = 1`, `h (t₀ + δ) = 0`, with `d = ε v` and `v` near `u`, are timelike +for small `ε > 0`, with the same end point and the start point moved by `d`. +-/ + +open Set Metric Filter Topology Matrix +open scoped ContDiff + +noncomputable section + +namespace Lightlike.Geodesic + +variable {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + +/-- The directional derivative `∂_u g (w, w)` of the metric along `u`, at the point `y`. -/ +def dirDeriv (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (y u w : Fin n → ℝ) : ℝ := + ∑ i, ∑ j, w i * ((∑ k, u k * Lightlike.pd k (fun z => g z i j) y) * w j) + +/-- **The first variation of the pairing with a constant vector along a geodesic**: +`d/dt g(γ', u) = ½ ∂_u g(γ', γ')`. -/ +theorem hasDerivAt_pairing_const (hg : Lightlike.IsCoordMetric g U) {γ w : ℝ → Fin n → ℝ} + {J : Set ℝ} (h : IsGeodesicOn g γ w J) {t : ℝ} (ht : t ∈ J) (hU : γ t ∈ U) + (u : Fin n → ℝ) : + HasDerivAt (fun τ => pairing g (γ τ) (w τ) u) (dirDeriv g (γ t) u (w t) / 2) t := by + have hdiff : ∀ i j, DifferentiableAt ℝ (fun y => g y i j) (γ t) := fun i j => + ((hg.smooth i j).contDiffAt (hg.isOpen.mem_nhds hU)).differentiableAt (by simp) + have hline : HasDerivAt (fun s : ℝ => γ t + s • u) u 0 := by + have h0 := ((hasDerivAt_id (0 : ℝ)).smul_const u).const_add (γ t) + rw [one_smul] at h0 + exact h0 + have hN := hasDerivAt_pairing (g := g) (γ := fun s : ℝ => γ t + s • u) (a := fun _ => w t) + (b := fun _ => w t) (s := 0) (by simpa using hdiff) hline (hasDerivAt_const _ _) + (hasDerivAt_const _ _) + have hv := hasDerivAt_pairing_variation hg (F := fun τ s => γ τ + s • u) (a := fun τ _ => w τ) + (b := fun _ => u) (c := 0) (N := fun s => ∑ i, ∑ j, w t i * (g (γ t + s • u) i j * w t j)) + (N' := dirDeriv g (γ t) u (w t)) (t := t) (by simpa using hU) + (by simpa using h.pos t ht) (by simpa using h.vel t ht) hline (hasDerivAt_const _ _) + (hasDerivAt_const _ _) + (Eventually.of_forall fun s => by rw [← pairing_self]; rfl) + (by + refine hN.congr_deriv ?_ + simp [dirDeriv]) + simpa using hv + + +/-- The squared speed of the varied curve `t ↦ x + z • d` with velocity `y + z' • d`, as a function +of the displacement `d` and the parameters `p = (x, y, z, z')`. -/ +def varPsi (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (d : Fin n → ℝ) + (p : (Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ) : ℝ := + pairing g (p.1 + p.2.2.1 • d) (p.2.1 + p.2.2.2 • d) (p.2.1 + p.2.2.2 • d) + +/-- `varPsi` is smooth jointly in `(d, p)` near a point where the base point lies in `U`. -/ +theorem varPsi_contDiffAt (hg : Lightlike.IsCoordMetric g U) {x y : Fin n → ℝ} {z z' : ℝ} + (hx : x ∈ U) : + ContDiffAt ℝ ∞ (fun q : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ) => varPsi g q.1 q.2) + (0, (x, y, z, z')) := by + have hgij : ∀ i j, ContDiffAt ℝ ∞ (fun q : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ) => + g (q.2.1 + q.2.2.2.1 • q.1) i j) (0, (x, y, z, z')) := by + intro i j + have h1 : ContDiffAt ℝ ∞ (fun y' : Fin n → ℝ => g y' i j) + ((fun q : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ) => + q.2.1 + q.2.2.2.1 • q.1) (0, (x, y, z, z'))) := by + simp only [smul_zero, add_zero] + exact (hg.smooth i j).contDiffAt (hg.isOpen.mem_nhds hx) + have hin : ContDiff ℝ ∞ (fun q : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ) => + q.2.1 + q.2.2.2.1 • q.1) := by fun_prop + exact ContDiffAt.comp (0, (x, y, z, z')) h1 hin.contDiffAt + unfold varPsi pairing + refine ContDiffAt.sum fun i _ => ContDiffAt.sum fun j _ => ?_ + refine ContDiffAt.mul ?_ (ContDiffAt.mul (hgij i j) ?_) + · exact (by fun_prop : ContDiff ℝ ∞ fun q : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ) => + (q.2.2.1 + q.2.2.2.2 • q.1) i).contDiffAt + · exact (by fun_prop : ContDiff ℝ ∞ fun q : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ) => + (q.2.2.1 + q.2.2.2.2 • q.1) j).contDiffAt + +/-- The derivative of `s ↦ varPsi (s • u) p` at `0`: `2 z' g_x(y, u) + z ∂_u g (y, y)`. -/ +theorem hasDerivAt_varPsi (hg : Lightlike.IsCoordMetric g U) {x y u : Fin n → ℝ} {z z' : ℝ} + (hx : x ∈ U) : + HasDerivAt (fun s : ℝ => varPsi g (s • u) (x, y, z, z')) + (2 * z' * pairing g x y u + z * dirDeriv g x u y) 0 := by + have hdiff : ∀ i j, DifferentiableAt ℝ (fun y' => g y' i j) (x + z • (0 : ℝ) • u) := fun i j => by + rw [zero_smul, smul_zero, add_zero] + exact ((hg.smooth i j).contDiffAt (hg.isOpen.mem_nhds hx)).differentiableAt (by simp) + have hγ : HasDerivAt (fun s : ℝ => x + z • s • u) (z • u) 0 := by + have h0 := (((hasDerivAt_id (0 : ℝ)).smul_const u).const_smul z).const_add x + simpa using h0 + have ha : HasDerivAt (fun s : ℝ => y + z' • s • u) (z' • u) 0 := by + have h0 := (((hasDerivAt_id (0 : ℝ)).smul_const u).const_smul z').const_add y + simpa using h0 + have h := hasDerivAt_pairing (g := g) hdiff hγ ha ha + refine h.congr_deriv ?_ + simp only [zero_smul, smul_zero, add_zero, Pi.smul_apply, smul_eq_mul] + have hterm : ∀ i j, z' * u i * (g x i j * y j) + y i * ((∑ k, z * u k * + Lightlike.pd k (fun y => g y i j) x) * y j + g x i j * (z' * u j)) = + z' * (u i * (g x i j * y j)) + z' * (y i * (g x i j * u j)) + + z * (y i * ((∑ k, u k * Lightlike.pd k (fun y => g y i j) x) * y j)) := by + intro i j + have : ∑ k, z * u k * Lightlike.pd k (fun y => g y i j) x = + z * ∑ k, u k * Lightlike.pd k (fun y => g y i j) x := by + rw [Finset.mul_sum]; exact Finset.sum_congr rfl fun k _ => by ring + rw [this]; ring + have key : ∀ (f : Fin n → Fin n → ℝ) (c : ℝ), ∑ i, ∑ j, c * f i j = c * ∑ i, ∑ j, f i j := by + intro f c; simp [Finset.mul_sum] + simp only [hterm, Finset.sum_add_distrib, key] + have h1 : ∑ i, ∑ j, u i * (g x i j * y j) = pairing g x y u := by + rw [pairing_comm hg hx y u]; rfl + have h2 : ∑ i, ∑ j, y i * (g x i j * u j) = pairing g x y u := rfl + rw [h1, h2] + simp only [dirDeriv] + ring + + +/-- Continuity of `s ↦ g_{γ s} (a s, b s)` at a time where the curve is in `U`. -/ +theorem continuousAt_pairing_curve {X : Type*} [TopologicalSpace X] + (hg : Lightlike.IsCoordMetric g U) {γ a b : X → Fin n → ℝ} + {t : X} (hγ : ContinuousAt γ t) (ha : ContinuousAt a t) (hb : ContinuousAt b t) + (hU : γ t ∈ U) : ContinuousAt (fun s => pairing g (γ s) (a s) (b s)) t := by + unfold pairing + refine tendsto_finsetSum _ fun i _ => tendsto_finsetSum _ fun j _ => ?_ + have hgij : ContinuousAt (fun s => g (γ s) i j) t := + ((hg.smooth i j).continuousOn.continuousAt (hg.isOpen.mem_nhds hU)).comp hγ + exact ((continuous_apply i).continuousAt.comp ha).mul + (hgij.mul ((continuous_apply j).continuousAt.comp hb)) + +/-- Continuity of the directional derivative term `∂_u g (w, w)` along a curve. -/ +theorem continuousAt_dirDeriv_curve (hg : Lightlike.IsCoordMetric g U) {γ w : ℝ → Fin n → ℝ} + {t : ℝ} (u : Fin n → ℝ) (hγ : ContinuousAt γ t) (hw : ContinuousAt w t) (hU : γ t ∈ U) : + ContinuousAt (fun s => dirDeriv g (γ s) u (w s)) t := by + unfold dirDeriv + refine tendsto_finsetSum _ fun i _ => tendsto_finsetSum _ fun j _ => ?_ + have hpd : ∀ k, ContinuousAt (fun s => Lightlike.pd k (fun z => g z i j) (γ s)) t := by + intro k + have h1 : ContinuousOn (fderiv ℝ (fun z => g z i j)) U := + (hg.smooth i j).continuousOn_fderiv_of_isOpen hg.isOpen (by simp) + have h2 : ContinuousAt (fun z => Lightlike.pd k (fun z => g z i j) z) (γ t) := + ((h1.clm_apply continuousOn_const).continuousAt (hg.isOpen.mem_nhds hU)) + exact h2.comp hγ + exact ((continuous_apply i).continuousAt.comp hw).mul + ((tendsto_finsetSum _ fun k _ => continuousAt_const.mul (hpd k)).mul + ((continuous_apply j).continuousAt.comp hw)) + + +/-- **A timelike variation of a null geodesic.** Let `γ` be a geodesic of the coordinate metric `g` +on a neighbourhood `J` of `t₀`, null at `t₀`, and `u` a vector with `g(γ'(t₀), u) > 0`; let `X` be a +continuous vector field with `g(γ'(t₀), X) < 0`. Then there are `δ > 0` and a function `h` with +`h t₀ = 1`, `h (t₀ + δ) = 0`, such that for small `ε > 0` and `v` near `u` the curves +`t ↦ γ t + h t • (ε v)` on `[t₀, t₀ + δ]` stay in `U`, have timelike velocity +`w t + h' t • (ε v)` and have `g(velocity, X) < 0`: they start at `γ t₀ + ε v`, end at `γ (t₀ + δ)`. -/ +theorem exists_null_variation (hg : Lightlike.IsCoordMetric g U) {γ w : ℝ → Fin n → ℝ} + {J : Set ℝ} {t₀ : ℝ} (hJ : J ∈ 𝓝 t₀) (hgeo : IsGeodesicOn g γ w J) + (hUJ : ∀ t ∈ J, γ t ∈ U) (hnull : normSq g (γ t₀) (w t₀) = 0) {u : Fin n → ℝ} + (hG : 0 < pairing g (γ t₀) (w t₀) u) {X : (Fin n → ℝ) → Fin n → ℝ} (hX : ContinuousOn X U) + (hXneg : pairing g (γ t₀) (w t₀) (X (γ t₀)) < 0) : + ∃ δ : ℝ, 0 < δ ∧ ∃ h h' : ℝ → ℝ, ∃ O : Set ℝ, IsOpen O ∧ Icc t₀ (t₀ + δ) ⊆ O ∧ O ⊆ J ∧ + (∀ t ∈ O, HasDerivAt h (h' t) t) ∧ (∀ t ∈ O, ContinuousAt h' t) ∧ + h t₀ = 1 ∧ h (t₀ + δ) = 0 ∧ + ∃ ε₀ ν : ℝ, 0 < ε₀ ∧ 0 < ν ∧ ∀ ε ∈ Ioo 0 ε₀, ∀ v ∈ ball u ν, ∀ t ∈ Icc t₀ (t₀ + δ), + γ t + h t • (ε • v) ∈ U ∧ + pairing g (γ t + h t • (ε • v)) (w t + h' t • (ε • v)) (w t + h' t • (ε • v)) < 0 ∧ + pairing g (γ t + h t • (ε • v)) (w t + h' t • (ε • v)) + (X (γ t + h t • (ε • v))) < 0 := by + obtain ⟨r, hr, hrJ⟩ : ∃ r : ℝ, 0 < r ∧ Ioo (t₀ - r) (t₀ + r) ⊆ J := by + obtain ⟨r, hr, hsub⟩ := Metric.mem_nhds_iff.1 hJ + exact ⟨r, hr, by simpa [Real.ball_eq_Ioo] using hsub⟩ + set I : Set ℝ := Ioo (t₀ - r) (t₀ + r) with hI + have ht₀I : t₀ ∈ I := ⟨by linarith, by linarith⟩ + have hnullI : ∀ t ∈ I, normSq g (γ t) (w t) = 0 := fun t ht => by + have := eq_of_hasDerivAt_zero_Ioo (f := fun s => normSq g (γ s) (w s)) (a := t₀ - r) + (b := t₀ + r) (fun s hs => hgeo.hasDerivAt_speed hg (hrJ hs) (hUJ s (hrJ hs))) ht ht₀I + rw [this]; exact hnull + have hγc : ∀ t ∈ J, ContinuousAt γ t := fun t ht => (hgeo.pos t ht).continuousAt + have hwc : ∀ t ∈ J, ContinuousAt w t := fun t ht => (hgeo.vel t ht).continuousAt + set G : ℝ → ℝ := fun t => pairing g (γ t) (w t) u with hGdef + set D : ℝ → ℝ := fun t => dirDeriv g (γ t) u (w t) with hDdef + set F0 : ℝ → ℝ := fun t => pairing g (γ t) (w t) (X (γ t)) with hF0def + have hXc : ∀ t ∈ J, ContinuousAt (fun s => X (γ s)) t := fun t ht => + (hX.continuousAt (hg.isOpen.mem_nhds (hUJ t ht))).comp (hγc t ht) + have hGc : ∀ t ∈ J, ContinuousAt G t := fun t ht => + continuousAt_pairing_curve hg (hγc t ht) (hwc t ht) continuousAt_const (hUJ t ht) + have hDc : ∀ t ∈ J, ContinuousAt D t := fun t ht => + continuousAt_dirDeriv_curve hg u (hγc t ht) (hwc t ht) (hUJ t ht) + have hF0c : ∀ t ∈ J, ContinuousAt F0 t := fun t ht => + continuousAt_pairing_curve hg (hγc t ht) (hwc t ht) (hXc t ht) (hUJ t ht) + have hGd : ∀ t ∈ J, HasDerivAt G (D t / 2) t := fun t ht => + hasDerivAt_pairing_const hg hgeo ht (hUJ t ht) u + have hJ0 : t₀ ∈ J := hrJ ht₀I + have hev : ∀ᶠ t in 𝓝 t₀, t ∈ I ∧ G t₀ / 2 < G t ∧ F0 t < 0 := + ((show ∀ᶠ t in 𝓝 t₀, t ∈ I from Ioo_mem_nhds (by linarith : t₀ - r < t₀) (by linarith : t₀ < t₀ + r)).and + (((hGc t₀ hJ0).eventually (lt_mem_nhds (half_lt_self hG))).and + ((hF0c t₀ hJ0).eventually (gt_mem_nhds hXneg)))).mono fun t ht => ⟨ht.1, ht.2.1, ht.2.2⟩ + obtain ⟨η, hη, hηsub⟩ := Metric.eventually_nhds_iff_ball.1 hev + have hbI : ∀ t ∈ ball t₀ η, t ∈ I ∧ G t₀ / 2 < G t ∧ F0 t < 0 := fun t ht => hηsub t ht + have hbJ : ∀ t ∈ ball t₀ η, t ∈ J := fun t ht => hrJ (hbI t ht).1 + set δ : ℝ := η / 2 with hδdef + have hδ : 0 < δ := half_pos hη + have hIcc : Icc t₀ (t₀ + δ) ⊆ ball t₀ η := fun t ht => by + rw [Metric.mem_ball, Real.dist_eq, abs_lt] + constructor <;> linarith [ht.1, ht.2] + set G₀ : ℝ := G t₀ with hG₀def + have hG₀ : 0 < G₀ := hG + have hGpos : ∀ t ∈ ball t₀ η, 0 < G t := fun t ht => by + have := (hbI t ht).2.1; linarith + set h : ℝ → ℝ := fun t => (1 - (t - t₀) / δ) * G₀ / G t with hhdef + set h' : ℝ → ℝ := fun t => (-(G₀ / δ) - h t * D t / 2) / G t with hh'def + have hhd : ∀ t ∈ ball t₀ η, HasDerivAt h (h' t) t := by + intro t ht + have hnum : HasDerivAt (fun t => (1 - (t - t₀) / δ) * G₀) (-(1 / δ) * G₀) t := by + have h1 : HasDerivAt (fun t : ℝ => 1 - (t - t₀) / δ) (-(1 / δ)) t := by + have := (((hasDerivAt_id t).sub_const t₀).div_const δ).const_sub 1 + simpa using this + exact h1.mul_const G₀ + have := hnum.div (hGd t (hbJ t ht)) (hGpos t ht).ne' + refine this.congr_deriv ?_ + have hne : G t ≠ 0 := (hGpos t ht).ne' + simp only [hh'def, hhdef] + field_simp + have hid : ∀ t ∈ ball t₀ η, h' t * G t + h t * D t / 2 = -(G₀ / δ) := by + intro t ht + have hne : G t ≠ 0 := (hGpos t ht).ne' + simp only [hh'def] + field_simp + ring + have hh₀ : h t₀ = 1 := by + simp only [hhdef] + rw [sub_self, zero_div, sub_zero, one_mul, div_self hG₀.ne'] + have hhδ : h (t₀ + δ) = 0 := by + simp only [hhdef] + rw [add_sub_cancel_left, div_self hδ.ne', sub_self, zero_mul, zero_div] + have hh'c : ∀ t ∈ ball t₀ η, ContinuousAt h' t := by + intro t ht + have hne : G t ≠ 0 := (hGpos t ht).ne' + have hhc : ContinuousAt h t := (hhd t ht).continuousAt + have hDc' := hDc t (hbJ t ht) + have hGc' := hGc t (hbJ t ht) + exact (continuousAt_const.sub ((hhc.mul hDc').div_const 2)).div hGc' hne + set π : ℝ → (Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ := fun t => (γ t, w t, h t, h' t) with hπdef + have hπc : ∀ t ∈ ball t₀ η, ContinuousAt π t := fun t ht => + (hγc t (hbJ t ht)).prodMk ((hwc t (hbJ t ht)).prodMk + ((hhd t ht).continuousAt.prodMk (hh'c t ht))) + have hΨ0 : ∀ t ∈ ball t₀ η, varPsi g 0 (π t) = 0 := by + intro t ht + simp only [varPsi, hπdef, smul_zero, add_zero] + rw [pairing_self]; exact hnullI t (hbI t ht).1 + set κ : ℝ := G₀ / δ with hκdef + have hκ : 0 < κ := div_pos hG₀ hδ + have hΛd : ∀ t ∈ ball t₀ η, + HasDerivAt (fun s : ℝ => varPsi g (s • u) (π t)) (-(2 * κ)) 0 := by + intro t ht + have := hasDerivAt_varPsi hg (x := γ t) (y := w t) (u := u) (z := h t) (z' := h' t) + (hUJ t (hbJ t ht)) + refine this.congr_deriv ?_ + have := hid t ht + show 2 * h' t * G t + h t * D t = -(2 * κ) + linarith + set Ψ' : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ) → ℝ := fun q => varPsi g q.1 q.2 + with hΨ' + have hstrict : ∀ t ∈ ball t₀ η, HasStrictFDerivAt Ψ' (fderiv ℝ Ψ' (0, π t)) (0, π t) := + fun t ht => (varPsi_contDiffAt hg (y := w t) (z := h t) (z' := h' t) + (hUJ t (hbJ t ht))).hasStrictFDerivAt (by simp) + have hΛu : ∀ t ∈ ball t₀ η, fderiv ℝ Ψ' (0, π t) (u, 0) = -(2 * κ) := by + intro t ht + have hline : HasDerivAt (fun s : ℝ => (s • u, π t)) (u, 0) 0 := by + have := ((hasDerivAt_id (0 : ℝ)).smul_const u).prodMk (hasDerivAt_const (0 : ℝ) (π t)) + simpa using this + have hl : HasFDerivAt Ψ' (fderiv ℝ Ψ' (0, π t)) ((fun s : ℝ => (s • u, π t)) 0) := by + simpa using (hstrict t ht).hasFDerivAt + have h1 := hl.comp_hasDerivAt (0 : ℝ) hline + exact h1.unique (hΛd t ht) + refine ⟨δ, hδ, h, h', ball t₀ η, isOpen_ball, hIcc, fun t ht => hbJ t ht, hhd, hh'c, hh₀, hhδ, + ?_⟩ + have hev2 : ∀ᶠ z in 𝓝 ((0 : ℝ), u), ∀ t ∈ Icc t₀ (t₀ + δ), 0 < z.1 → + (γ t + h t • (z.1 • z.2) ∈ U ∧ + pairing g (γ t + h t • (z.1 • z.2)) (w t + h' t • (z.1 • z.2)) + (w t + h' t • (z.1 • z.2)) < 0 ∧ + pairing g (γ t + h t • (z.1 • z.2)) (w t + h' t • (z.1 • z.2)) + (X (γ t + h t • (z.1 • z.2))) < 0) := by + refine isCompact_Icc.eventually_forall_of_forall_eventually + (P := fun (z : ℝ × (Fin n → ℝ)) (t : ℝ) => 0 < z.1 → + (γ t + h t • (z.1 • z.2) ∈ U ∧ + pairing g (γ t + h t • (z.1 • z.2)) (w t + h' t • (z.1 • z.2)) + (w t + h' t • (z.1 • z.2)) < 0 ∧ + pairing g (γ t + h t • (z.1 • z.2)) (w t + h' t • (z.1 • z.2)) + (X (γ t + h t • (z.1 • z.2))) < 0)) fun t₁ ht₁ => ?_ + have htb : t₁ ∈ ball t₀ η := hIcc ht₁ + set z₁ : (ℝ × (Fin n → ℝ)) × ℝ := ((0, u), t₁) with hz₁ + have hfst : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => z.1.1) z₁ := + continuousAt_fst.comp continuousAt_fst + have hsnd : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => z.1.2) z₁ := + continuousAt_snd.comp continuousAt_fst + have hthd : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => z.2) z₁ := continuousAt_snd + have hcc : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => + γ z.2 + h z.2 • (z.1.1 • z.1.2)) z₁ := + ((hγc t₁ (hbJ t₁ htb)).comp hthd).add + (((hhd t₁ htb).continuousAt.comp hthd).smul (hfst.smul hsnd)) + have hcc' : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => + w z.2 + h' z.2 • (z.1.1 • z.1.2)) z₁ := + ((hwc t₁ (hbJ t₁ htb)).comp hthd).add + (((hh'c t₁ htb).comp hthd).smul (hfst.smul hsnd)) + have hval : γ t₁ + h t₁ • ((0 : ℝ) • u) = γ t₁ := by simp + have hval' : w t₁ + h' t₁ • ((0 : ℝ) • u) = w t₁ := by simp + have hcU : ∀ᶠ z in 𝓝 z₁, γ z.2 + h z.2 • (z.1.1 • z.1.2) ∈ U := + hcc.eventually (hg.isOpen.mem_nhds (by simpa [hz₁, hval] using hUJ t₁ (hbJ t₁ htb))) + have hXcc : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => + X (γ z.2 + h z.2 • (z.1.1 • z.1.2))) z₁ := + (hX.continuousAt (hg.isOpen.mem_nhds (by simpa [hz₁, hval] using hUJ t₁ (hbJ t₁ htb)))).comp + (by simpa [hz₁] using hcc) + have hfut : ∀ᶠ z in 𝓝 z₁, pairing g (γ z.2 + h z.2 • (z.1.1 • z.1.2)) + (w z.2 + h' z.2 • (z.1.1 • z.1.2)) (X (γ z.2 + h z.2 • (z.1.1 • z.1.2))) < 0 := by + have hc := continuousAt_pairing_curve hg hcc hcc' hXcc + (by simpa [hz₁, hval] using hUJ t₁ (hbJ t₁ htb)) + refine hc.eventually (gt_mem_nhds ?_) + simp only [hz₁, hval, hval'] + exact (hbI t₁ htb).2.2 + -- the timelike part + set Λ := fderiv ℝ Ψ' (0, π t₁) with hΛdef + set c₀ : ℝ := κ / (2 * (‖u‖ + 1)) with hc₀ + have hc₀pos : 0 < c₀ := by positivity + have hs := (hstrict t₁ htb).isLittleO.def hc₀pos + have hmt : Tendsto (fun z : (ℝ × (Fin n → ℝ)) × ℝ => + (((z.1.1 • z.1.2, π z.2) : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ)), + ((0 : Fin n → ℝ), π z.2))) (𝓝 z₁) (𝓝 ((0, π t₁), (0, π t₁))) := by + have hπ : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => π z.2) z₁ := + ContinuousAt.comp (f := fun z : (ℝ × (Fin n → ℝ)) × ℝ => z.2) (hπc t₁ htb) hthd + have h1 : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => z.1.1 • z.1.2) z₁ := hfst.smul hsnd + have hc0 : ContinuousAt (fun _ : (ℝ × (Fin n → ℝ)) × ℝ => (0 : Fin n → ℝ)) z₁ := + continuousAt_const + have h2 := (h1.prodMk hπ).prodMk (hc0.prodMk hπ) + simpa [hz₁] using h2.tendsto + have hev3 := hmt.eventually hs + have hlam : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => Λ (z.1.2, 0)) z₁ := + ContinuousAt.comp (g := Λ) + (f := fun z : (ℝ × (Fin n → ℝ)) × ℝ => + (z.1.2, (0 : (Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ))) + Λ.continuous.continuousAt (hsnd.prodMk continuousAt_const) + have hev4 : ∀ᶠ z in 𝓝 z₁, Λ (z.1.2, 0) < -κ := by + refine hlam.eventually (gt_mem_nhds ?_) + simp only [hz₁] + rw [hΛdef, hΛu t₁ htb]; linarith + have hev5 : ∀ᶠ z in 𝓝 z₁, ‖z.1.2‖ < ‖u‖ + 1 := by + have : ContinuousAt (fun z : (ℝ × (Fin n → ℝ)) × ℝ => ‖z.1.2‖) z₁ := hsnd.norm + refine this.eventually (gt_mem_nhds ?_) + simp [hz₁] + have hev6 : ∀ᶠ z in 𝓝 z₁, z.2 ∈ ball t₀ η := + hthd.eventually (isOpen_ball.mem_nhds htb) + filter_upwards [hcU, hfut, hev3, hev4, hev5, hev6] with z hU1 hF hs3 hl4 hn5 hb6 hpos + refine ⟨hU1, ?_, hF⟩ + obtain ⟨⟨ε, v⟩, t⟩ := z + simp only at hpos hs3 hl4 hn5 hb6 ⊢ + have hΨt := hΨ0 t hb6 + have e1 : (((ε • v, π t) : (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ)) - + ((0 : Fin n → ℝ), π t)) = ε • ((v, (0 : (Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ)) : + (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ)) := by + ext <;> simp + rw [e1] at hs3 + have hnorm : ‖ε • ((v, (0 : (Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ)) : + (Fin n → ℝ) × ((Fin n → ℝ) × (Fin n → ℝ) × ℝ × ℝ))‖ = ε * ‖v‖ := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hpos, Prod.norm_def] + simp + rw [hnorm, map_smul, smul_eq_mul] at hs3 + have hΨeq : Ψ' (ε • v, π t) = pairing g (γ t + h t • (ε • v)) (w t + h' t • (ε • v)) + (w t + h' t • (ε • v)) := rfl + have hΨz : Ψ' (0, π t) = 0 := hΨt + have h5 := (abs_le.1 (by simpa [Real.norm_eq_abs] using hs3)).2 + rw [hΨeq] at h5 + rw [hΨz] at h5 + have hκ2 : c₀ * (‖u‖ + 1) = κ / 2 := by + simp only [hc₀]; field_simp + have hv0 : 0 ≤ ‖v‖ := norm_nonneg v + have hc1 : c₀ * ‖v‖ ≤ c₀ * (‖u‖ + 1) := mul_le_mul_of_nonneg_left hn5.le hc₀pos.le + nlinarith [mul_pos hpos hκ, mul_le_mul_of_nonneg_left hc1 hpos.le, + mul_lt_mul_of_pos_left hl4 hpos] + obtain ⟨ε', hε', hball⟩ := Metric.eventually_nhds_iff.1 hev2 + refine ⟨ε', ε', hε', hε', fun ε hε v hv t ht => ?_⟩ + refine hball (y := (ε, v)) ?_ t ht hε.1 + rw [Prod.dist_eq, max_lt_iff] + exact ⟨by rw [Real.dist_eq, sub_zero, abs_of_pos hε.1]; exact hε.2, hv⟩ + +end Lightlike.Geodesic From 57e306e66bd97794264f36243c23a2198da9d748 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:22:19 +0200 Subject: [PATCH 22/66] docs: docstrings for CARShale and CARProjections, plan status Co-Authored-By: Claude Opus 5.5 --- .../OperatorAlgebras/CARProjections.lean | 13 ++++++++++++ Lightlike/OperatorAlgebras/CARShale.lean | 20 +++++++++++++++++++ docs/notes/op2-fermionic-shale-plan.md | 10 +++++++++- 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/Lightlike/OperatorAlgebras/CARProjections.lean b/Lightlike/OperatorAlgebras/CARProjections.lean index 4a0172b1..e56b63ba 100644 --- a/Lightlike/OperatorAlgebras/CARProjections.lean +++ b/Lightlike/OperatorAlgebras/CARProjections.lean @@ -32,6 +32,7 @@ variable {n} /-- The complementary projection `1 - n k`. -/ def Q (n : ι → (Γ →L[ℂ] Γ)) (k : ι) : Γ →L[ℂ] Γ := 1 - n k +/-- The complementary projections commute. -/ lemma commute_Q (h : IsProjFamily n) (k l : ι) : Commute (Q n k) (Q n l) := by show Q n k * Q n l = Q n l * Q n k simp only [Q, sub_mul, mul_sub, one_mul, mul_one, h.comm k l] @@ -41,8 +42,10 @@ lemma commute_Q (h : IsProjFamily n) (k l : ι) : Commute (Q n k) (Q n l) := by noncomputable def PF (h : IsProjFamily n) (F : Finset ι) : Γ →L[ℂ] Γ := F.noncommProd (Q n) (fun k _ l _ _ => commute_Q h k l) +/-- The empty product is `1`. -/ lemma PF_empty (h : IsProjFamily n) : PF h ∅ = 1 := rfl +/-- Adding a mode multiplies by its complementary projection. -/ lemma PF_insert [DecidableEq ι] (h : IsProjFamily n) {F : Finset ι} {k : ι} (hk : k ∉ F) : PF h (insert k F) = Q n k * PF h F := by unfold PF @@ -53,28 +56,34 @@ section variable [DecidableEq ι] (h : IsProjFamily n) include h +/-- `1 - n k` is symmetric. -/ lemma Q_symm (k : ι) (x y : Γ) : ⟪Q n k x, y⟫_ℂ = ⟪x, Q n k y⟫_ℂ := by simp only [Q, ContinuousLinearMap.sub_apply, ContinuousLinearMap.one_apply, inner_sub_left, inner_sub_right, h.symm k x y] +/-- `1 - n k` is idempotent. -/ lemma Q_idem (k : ι) : Q n k * Q n k = Q n k := by simp only [Q, sub_mul, mul_sub, one_mul, mul_one, h.idem k]; abel +/-- `(1 - n k) n k = 0`. -/ lemma Q_mul_n (k : ι) : Q n k * n k = 0 := by simp only [Q, sub_mul, one_mul, h.idem k, sub_self] +/-- `PF` commutes with each `1 - n l`. -/ lemma PF_comm_Q (F : Finset ι) (l : ι) : Q n l * PF h F = PF h F * Q n l := by induction F using Finset.induction_on with | empty => rw [PF_empty, mul_one, one_mul] | insert k F hk ih => rw [PF_insert h hk, ← mul_assoc, (commute_Q h l k).eq, mul_assoc, ih, mul_assoc] +/-- `PF` commutes with each `n l`. -/ lemma PF_comm_n (F : Finset ι) (l : ι) : n l * PF h F = PF h F * n l := by have := PF_comm_Q h F l simp only [Q, sub_mul, mul_sub, one_mul, mul_one] at this have h2 : PF h F - n l * PF h F = PF h F - PF h F * n l := by simpa using this exact sub_right_injective h2 +/-- `PF` is symmetric. -/ lemma PF_symm (F : Finset ι) (x y : Γ) : ⟪PF h F x, y⟫_ℂ = ⟪x, PF h F y⟫_ℂ := by induction F using Finset.induction_on generalizing x y with | empty => simp [PF_empty] @@ -82,6 +91,7 @@ lemma PF_symm (F : Finset ι) (x y : Γ) : ⟪PF h F x, y⟫_ℂ = ⟪x, PF h F rw [PF_insert h hk, ContinuousLinearMap.mul_apply, Q_symm h, ih, ContinuousLinearMap.mul_apply, ← ContinuousLinearMap.mul_apply, ← ContinuousLinearMap.mul_apply, ← PF_comm_Q h F k] +/-- `PF` is idempotent. -/ lemma PF_idem (F : Finset ι) : PF h F * PF h F = PF h F := by induction F using Finset.induction_on with | empty => rw [PF_empty, mul_one] @@ -92,6 +102,7 @@ lemma PF_idem (F : Finset ι) : PF h F * PF h F = PF h F := by _ = (Q n k * Q n k) * (PF h F * PF h F) := by simp only [mul_assoc] _ = Q n k * PF h F := by rw [Q_idem h, ih] +/-- `PF` is a contraction. -/ lemma norm_PF_le (F : Finset ι) (x : Γ) : ‖PF h F x‖ ≤ ‖x‖ := by have h1 : ⟪PF h F x, PF h F x⟫_ℂ = ⟪x, PF h F x⟫_ℂ := by rw [PF_symm h, ← ContinuousLinearMap.mul_apply, PF_idem h] @@ -106,6 +117,7 @@ lemma norm_PF_le (F : Finset ι) (x : Γ) : ‖PF h F x‖ ≤ ‖x‖ := by · have hp : 0 < ‖PF h F x‖ := lt_of_le_of_ne (norm_nonneg _) (Ne.symm h0) nlinarith +/-- `‖(1 - n k) x‖² = ‖x‖² - ‖n k x‖²`. -/ lemma norm_sq_Q (k : ι) (x : Γ) : ‖Q n k x‖ ^ 2 = ‖x‖ ^ 2 - ‖n k x‖ ^ 2 := by have hx : x = Q n k x + n k x := by simp [Q] have horth : ⟪Q n k x, n k x⟫_ℂ = 0 := by @@ -190,6 +202,7 @@ theorem isProjFamily_of_car (hcc : ∀ i j, c i * c j + c j * c i = 0) (haa : rw [eA, eB, h3, h4] simp +/-- `‖c k (a k x)‖ = ‖a k x‖` for CAR modes. -/ lemma norm_sq_cre_ann (hcc : ∀ i j, c i * c j + c j * c i = 0) (haa : ∀ i j, a i * a j + a j * a i = 0) (hca : ∀ i j, a i * c j + c j * a i = if i = j then 1 else 0) (hadj : ∀ j x y, ⟪a j x, y⟫_ℂ = ⟪x, c j y⟫_ℂ) (k : ι) (x : Γ) : ‖c k (a k x)‖ ^ 2 = ‖a k x‖ ^ 2 := by diff --git a/Lightlike/OperatorAlgebras/CARShale.lean b/Lightlike/OperatorAlgebras/CARShale.lean index 97a04a15..d72a3582 100644 --- a/Lightlike/OperatorAlgebras/CARShale.lean +++ b/Lightlike/OperatorAlgebras/CARShale.lean @@ -117,6 +117,7 @@ lemma ann_word [DecidableEq ι] (a : ι → (E →L[ℂ] E)) (hca : ∀ i j, a i /-- The vector of a finite set `S`: the word of its increasing enumeration. -/ def vec (c : ι → (E →L[ℂ] E)) (Ω : E) (S : Finset ι) : E := word c Ω (S.sort (· ≤ ·)) +/-- The increasing enumeration of `insert j S` is the sorted insertion of `j` into that of `S`. -/ lemma sort_insert' [DecidableEq ι] {S : Finset ι} {j : ι} (hj : j ∉ S) : (insert j S).sort (· ≤ ·) = (S.sort (· ≤ ·)).orderedInsert (· ≤ ·) j := by apply List.Perm.eq_of_pairwise (fun a b _ _ h1 h2 => le_antisymm h1 h2) @@ -126,6 +127,7 @@ lemma sort_insert' [DecidableEq ι] {S : Finset ι} {j : ι} (hj : j ∉ S) : refine Eq.trans ?_ (Multiset.coe_eq_coe.2 (List.perm_orderedInsert (· ≤ ·) j _)).symm rw [← Multiset.cons_coe, Finset.sort_eq] +/-- The number of entries below `j` in the enumeration of `S`. -/ lemma sort_filter_length (S : Finset ι) (j : ι) : ((S.sort (· ≤ ·)).filter (fun i => decide (i < j))).length = (S.filter (· < j)).card := by have h := congrArg Multiset.card (show (((S.sort (· ≤ ·)).filter (fun i => decide (i < j)) : List ι) : Multiset ι) = @@ -133,6 +135,7 @@ lemma sort_filter_length (S : Finset ι) (j : ι) : rw [Multiset.coe_card] at h rw [h]; rfl +/-- Erasing `j` from the increasing enumeration of `S` is the enumeration of `S.erase j`. -/ lemma sort_erase [DecidableEq ι] (S : Finset ι) (j : ι) : (S.sort (· ≤ ·)).erase j = (S.erase j).sort (· ≤ ·) := by apply List.Perm.eq_of_pairwise (fun a b _ _ h1 h2 => le_antisymm h1 h2) @@ -141,6 +144,7 @@ lemma sort_erase [DecidableEq ι] (S : Finset ι) (j : ι) : · rw [← Multiset.coe_eq_coe, Finset.sort_eq, ← Multiset.coe_erase, Finset.sort_eq] rfl +/-- The increasing enumeration of a finite set is strictly increasing. -/ lemma sort_pairwise_lt (S : Finset ι) : (S.sort (· ≤ ·)).Pairwise (· < ·) := by exact Finset.sortedLT_sort S |>.pairwise @@ -158,8 +162,10 @@ lemma ann_vec [DecidableEq ι] (a : ι → (E →L[ℂ] E)) rw [ann_word a hca hΩ (sort_pairwise_lt S), sort_filter_length, sort_erase S j] simp +/-- `(-1)^n` is real. -/ lemma conj_neg_one_pow (n : ℕ) : (starRingEnd ℂ) ((-1 : ℂ) ^ n) = (-1 : ℂ) ^ n := by simp +/-- `(-1)^n (-1)^n = 1`. -/ lemma neg_one_pow_mul_self (n : ℕ) : (-1 : ℂ) ^ n * (-1 : ℂ) ^ n = 1 := by rw [← pow_add, ← two_mul, pow_mul]; simp @@ -298,14 +304,17 @@ noncomputable def annR (j : ι) : Γ →L[ℂ] Γ := (1 / 2 : ℂ) • (pField B /-- The creation operator of the transformed mode `j`: `(φ(R eⱼ) - i φ(R (i eⱼ)))/2`. -/ noncomputable def creR (j : ι) : Γ →L[ℂ] Γ := (1 / 2 : ℂ) • (pField B b R j - Complex.I • qField B b R j) +/-- `Re ⟪eᵢ, eⱼ⟫ = δᵢⱼ`. -/ lemma re_inner_basis [DecidableEq ι] (i j : ι) : (⟪b i, b j⟫_ℂ).re = if i = j then 1 else 0 := by rw [orthonormal_iff_ite.1 b.orthonormal i j]; split_ifs <;> simp +/-- `Re ⟪i eᵢ, i eⱼ⟫ = δᵢⱼ`. -/ lemma re_inner_I_basis [DecidableEq ι] (i j : ι) : (⟪Complex.I • b i, Complex.I • b j⟫_ℂ).re = if i = j then 1 else 0 := by rw [inner_smul_left, inner_smul_right] simpa using re_inner_basis b i j +/-- `Re ⟪eᵢ, i eⱼ⟫ = 0`. -/ lemma re_inner_basis_I [DecidableEq ι] (i j : ι) : (⟪b i, Complex.I • b j⟫_ℂ).re = 0 := by rw [inner_smul_right] have := orthonormal_iff_ite.1 b.orthonormal i j @@ -330,6 +339,7 @@ lemma creR_annR_car [DecidableEq ι] (i j : ι) : · intro i j; rw [pField, qField, key, re_inner_basis_I b i j]; simp omit hR in +/-- The field operators are symmetric. -/ lemma inner_field (w : Z) (x y : Γ) : ⟪fockField B b w x, y⟫_ℂ = ⟪x, fockField B b w y⟫_ℂ := by have h := isSelfAdjoint_fockField B b w rw [IsSelfAdjoint, ContinuousLinearMap.star_eq_adjoint] at h @@ -346,6 +356,7 @@ lemma inner_annR_creR (j : ι) (x y : Γ) : ⟪annR B b R j x, y⟫_ℂ = ⟪x, ring omit hR in +/-- The field is additive in the test vector. -/ lemma fockField_add (w w' : Z) : fockField B b (w + w') = fockField B b w + fockField B b w' := by have h1 := creW_add B b w w' have h2 : annW B b (w + w') = annW B b w + annW B b w' := by @@ -353,6 +364,7 @@ lemma fockField_add (w w' : Z) : fockField B b (w + w') = fockField B b w + fock rw [fockField, fockField, fockField, h1, h2]; abel omit hR in +/-- The field is real-homogeneous in the test vector. -/ lemma fockField_real_smul (r : ℝ) (w : Z) : fockField B b (r • w) = (r : ℂ) • fockField B b w := by have h0 : r • w = (r : ℂ) • w := (Complex.coe_smul r w).symm have h1 : creW B b (r • w) = (r : ℂ) • creW B b w := by rw [h0, creW_smul] @@ -361,19 +373,23 @@ lemma fockField_real_smul (r : ℝ) (w : Z) : fockField B b (r • w) = (r : ℂ rw [fockField, fockField, h1, h2, smul_add] omit hR in +/-- The field is continuous in the test vector. -/ lemma continuous_fockField : Continuous (fockField B b) := (continuous_creW B b).add (continuous_annW B b) +/-- A real-linear map preserving `Re ⟪·,·⟫` is an isometry. -/ lemma norm_R (w : Z) : ‖R w‖ = ‖w‖ := by have h := hR w w rw [inner_self_eq_norm_sq_to_K, inner_self_eq_norm_sq_to_K] at h simp [sq, Complex.mul_re] at h nlinarith [norm_nonneg (R w), norm_nonneg w] +/-- A real-linear map preserving `Re ⟪·,·⟫` is continuous. -/ lemma continuous_R : Continuous R := (LinearMap.mkContinuous R 1 (fun w => by rw [one_mul, norm_R R hR])).continuous include hR in +/-- The CAR of the transformed modes, with the Kronecker delta written as an `if`. -/ lemma creR_car_ite [DecidableEq ι] : (∀ i j, creR B b R i * creR B b R j + creR B b R j * creR B b R i = 0) ∧ (∀ i j, annR B b R i * creR B b R j + creR B b R j * annR B b R i = if i = j then 1 else 0) ∧ @@ -485,15 +501,18 @@ theorem dense_words [DecidableEq ι] (hRs : Function.Surjective R) (Ω : Γ) (hn · rw [h1] omit hR in +/-- `φ(R eⱼ) = a'ⱼ + c'ⱼ`. -/ lemma pField_eq (j : ι) : pField B b R j = annR B b R j + creR B b R j := by simp only [annR, creR]; module omit hR in +/-- `φ(R(i eⱼ)) = i (c'ⱼ - a'ⱼ)`. -/ lemma qField_eq (j : ι) : qField B b R j = Complex.I • (creR B b R j - annR B b R j) := by simp only [annR, creR] linear_combination (norm := (match_scalars <;> (ring_nf; try simp only [Complex.I_sq]; try ring))) omit hR in +/-- `φ(i eⱼ) = i (a*(eⱼ) - a(eⱼ))`. -/ lemma fockField_I_basis (j : ι) : fockField B b (Complex.I • b j) = Complex.I • (fermiCre B j - fermiAnn B j) := by have h1 : creW B b (Complex.I • b j) = Complex.I • fermiCre B j := by rw [creW_smul, creW_basis B b] @@ -668,6 +687,7 @@ lemma annR_vac (j : ι) : annR B b R j (B ∅) = creW B b (betaPart R (b j)) (B simp [ContinuousLinearMap.smul_apply, ContinuousLinearMap.add_apply] omit hR in +/-- `‖annR j Ω₀‖ = ‖β eⱼ‖`. -/ lemma norm_annR_vac (j : ι) : ‖annR B b R j (B ∅)‖ = ‖betaPart R (b j)‖ := by rw [annR_vac B b, norm_creW_vac B b] diff --git a/docs/notes/op2-fermionic-shale-plan.md b/docs/notes/op2-fermionic-shale-plan.md index 11dee4a1..a9cb6712 100644 --- a/docs/notes/op2-fermionic-shale-plan.md +++ b/docs/notes/op2-fermionic-shale-plan.md @@ -15,4 +15,12 @@ Sufficiency (β Hilbert-Schmidt implies implemented): reflections `φ(u)` (each implemented by the field operator), which reduces to the case `‖β‖_HS < 1`. 3. Necessity: `⟨Ω', N Ω'⟩ = ‖β‖²_HS`, with the finiteness of the particle number to be derived from the implementer. -Status: step 1 started (CARShale.lean). Steps 2 and 3 not started. +Status: + +* Step 1 done: `CARShale.exists_implementer` (vacuum to unitary, every `R` with a unit vacuum). +* Step 2 done for `‖β‖²_HS < 1` only: `CARProjections.norm_sq_PF_ge` (Bonferroni), `CARShale.exists_vacuum_of_small`, + `CARShale.fermionic_shale_of_small`. +* Step 2 for a general Hilbert-Schmidt `β` is open. The vacuum overlap `⟨Ω₀, P_F Ω₀⟩` can vanish (a particle-hole swap of one + mode), so a different test vector is needed. The bound `⟨v, P_F v⟩ ≥ ‖P_{F₀} v‖² − ∑_{k∉F₀} ‖b_k v‖²` does not close the + argument by itself. +* Step 3 (necessity) not started. From 0348464e4e7e39eec4bfa0edbed41b07373aac30 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:27:33 +0200 Subject: [PATCH 23/66] wip(GE5): uniqueness of the radial profile and completeness at polynomial level Co-Authored-By: Claude Opus 5.5 --- Lightlike/Dirac/EigenAngular.lean | 119 ++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) diff --git a/Lightlike/Dirac/EigenAngular.lean b/Lightlike/Dirac/EigenAngular.lean index 7b5c360d..93668626 100644 --- a/Lightlike/Dirac/EigenAngular.lean +++ b/Lightlike/Dirac/EigenAngular.lean @@ -602,4 +602,123 @@ theorem sphere_dirac_lower_bound (ρ : CliffordRep 2 V) (k : ℕ) {ε : ℝ} (h diracF ρ stereoF stereoOmega (Φ w) x = (ε * ((k + 1 : ℕ) : ℝ)) • Φ w x := ⟨modeMap ρ k ε, modeMap_injective ρ k hε, fun w x => modeMap_eigen ρ k hε w x⟩ +/-- The radial operator `(1+X) Ψ' − s Ψ + l P`, `Ψ = psiPoly m s P`. -/ +noncomputable def odeOp (m s l : ℝ) (P : ℝ[X]) : ℝ[X] := + (1 + X) * (psiPoly m s P).derivative - C s * psiPoly m s P + C l * P + +/-- Constant coefficient of `odeOp`. -/ +lemma odeOp_coeff_zero (m s l : ℝ) (P : ℝ[X]) : + (odeOp m s l P).coeff 0 = (m + 1) * P.coeff 1 + (m - s - s * m + l) * P.coeff 0 := by + have hd : ∀ j : ℕ, (psiPoly m s P).derivative.coeff j = (psiPoly m s P).coeff (j + 1) * ((j : ℝ) + 1) := by + intro j; rw [coeff_derivative] + simp only [odeOp, add_mul, one_mul, coeff_add, coeff_sub, coeff_C_mul, coeff_X_mul_zero, hd] + rw [coeff_psiPoly_succ, coeff_psiPoly_zero] + push_cast + ring + +/-- Higher coefficients of `odeOp`: a three-term relation. -/ +lemma odeOp_coeff_succ (m s l : ℝ) (P : ℝ[X]) (j : ℕ) : + (odeOp m s l P).coeff (j + 1) = + ((j : ℝ) + 2) * (m + j + 2) * P.coeff (j + 2) + + (((j : ℝ) + 2) * (m + j + 1 - s) + ((j : ℝ) + 1 - s) * (m + j + 1) + l) * P.coeff (j + 1) + + ((j : ℝ) + 1 - s) * (m + j - s) * P.coeff j := by + have hd : ∀ j : ℕ, (psiPoly m s P).derivative.coeff j = (psiPoly m s P).coeff (j + 1) * ((j : ℝ) + 1) := by + intro j; rw [coeff_derivative] + simp only [odeOp, add_mul, one_mul, coeff_add, coeff_sub, coeff_C_mul, coeff_X_mul, hd] + simp only [coeff_psiPoly_succ] + push_cast + ring + +/-- **Uniqueness of the radial profile.** If a polynomial `G` solves the radial equation with +`l = s²`, `s = m + d`, then `G = G(0) · gPoly m d`: the mode of weight `m` and level `s` is unique +up to a scalar among all polynomials. -/ +theorem odeOp_unique (m d : ℕ) (G : ℝ[X]) (hG : odeOp (m : ℝ) ((m + d : ℕ) : ℝ) (((m + d : ℕ) : ℝ) ^ 2) G = 0) : + G = C (G.coeff 0) * gPoly m d := by + set s : ℝ := ((m + d : ℕ) : ℝ) with hs + have hg : odeOp (m : ℝ) s (s ^ 2) (gPoly m d) = 0 := psiPoly_ode (m : ℝ) s (gPoly m d) (by + intro i; simp only [coeff_gPoly]; exact gcoef_rec m d i) + set D : ℝ[X] := G - C (G.coeff 0) * gPoly m d with hD + have hD0 : D.coeff 0 = 0 := by simp [hD, coeff_gPoly_zero] + have h0 := congrArg (fun p => p.coeff 0) hG + have h0g := congrArg (fun p => p.coeff 0) hg + simp only [odeOp_coeff_zero, coeff_zero] at h0 h0g + rw [coeff_gPoly_zero] at h0g + have hj : ∀ j : ℕ, ((j : ℝ) + 2) * (m + j + 2) * G.coeff (j + 2) + + (((j : ℝ) + 2) * (m + j + 1 - s) + ((j : ℝ) + 1 - s) * (m + j + 1) + s ^ 2) * G.coeff (j + 1) + + ((j : ℝ) + 1 - s) * (m + j - s) * G.coeff j = 0 := by + intro j + have := congrArg (fun p => p.coeff (j + 1)) hG + simpa only [odeOp_coeff_succ, coeff_zero] using this + have hjg : ∀ j : ℕ, ((j : ℝ) + 2) * (m + j + 2) * (gPoly m d).coeff (j + 2) + + (((j : ℝ) + 2) * (m + j + 1 - s) + ((j : ℝ) + 1 - s) * (m + j + 1) + s ^ 2) * (gPoly m d).coeff (j + 1) + + ((j : ℝ) + 1 - s) * (m + j - s) * (gPoly m d).coeff j = 0 := by + intro j + have := congrArg (fun p => p.coeff (j + 1)) hg + simpa only [odeOp_coeff_succ, coeff_zero] using this + have key : ∀ i, D.coeff i = 0 ∧ D.coeff (i + 1) = 0 := by + intro i + induction i with + | zero => + refine ⟨hD0, ?_⟩ + have h1 : D.coeff 1 = G.coeff 1 - G.coeff 0 * (gPoly m d).coeff 1 := by simp [hD] + have hm : ((m : ℝ) + 1) ≠ 0 := by positivity + have : ((m : ℝ) + 1) * D.coeff 1 = 0 := by + rw [h1]; linear_combination h0 - G.coeff 0 * h0g + exact (mul_eq_zero.mp this).resolve_left hm + | succ i ih => + refine ⟨ih.2, ?_⟩ + have hc : ∀ n, D.coeff n = G.coeff n - G.coeff 0 * (gPoly m d).coeff n := by intro n; simp [hD] + have hm : ((i : ℝ) + 2) * (m + i + 2) ≠ 0 := by positivity + have e0 := hc i + have e1 := hc (i + 1) + have e2 := hc (i + 2) + have : ((i : ℝ) + 2) * (m + i + 2) * D.coeff (i + 2) = 0 := by + rw [e2] + have := hj i + have hh := hjg i + rw [ih.1] at e0 + rw [ih.2] at e1 + linear_combination this - G.coeff 0 * hh + (((i : ℝ) + 1 - s) * (m + i - s)) * e0 + + (((i : ℝ) + 2) * (m + i + 1 - s) + ((i : ℝ) + 1 - s) * (m + i + 1) + s ^ 2) * e1 + exact (mul_eq_zero.mp this).resolve_left hm + ext i + have := (key i).1 + rw [hD] at this + simp only [coeff_sub, sub_eq_zero] at this + simpa [coeff_C_mul] using this + +/-- **Completeness in the angular polynomial class (polynomial level).** Let `G, F` be polynomials with +`Ψ(G) = λ F` and `−((1+X)F' − sF) = λ G`, where `G` is reduced (`G(−1) ≠ 0`: the profile +`(1+t)^{-s} z^{n+1} G` is not already a lower level times a power of `1+t`), and the weight satisfies the +decay condition `n + 1 ≤ s`. Then `λ² = s²` and `G = G(0) · gPoly (n+1) (s−n−1)`. -/ +theorem mode_complete (n s : ℕ) (hns : n + 1 ≤ s) (G F : ℝ[X]) (lam : ℝ) + (ha : psiPoly ((n : ℝ) + 1) (s : ℝ) G = C lam * F) + (hb : -((1 + X) * F.derivative - C (s : ℝ) * F) = C lam * G) (hG : G.eval (-1) ≠ 0) : + lam ^ 2 = (s : ℝ) ^ 2 ∧ G = C (G.coeff 0) * gPoly (n + 1) (s - (n + 1)) := by + have hode : odeOp ((n : ℝ) + 1) (s : ℝ) (lam ^ 2) G = 0 := by + have h1 : (1 + X) * (psiPoly ((n : ℝ) + 1) (s : ℝ) G).derivative - + C (s : ℝ) * psiPoly ((n : ℝ) + 1) (s : ℝ) G = -(C lam * (C lam * G)) := by + rw [ha, derivative_mul, derivative_C, zero_mul, zero_add] + linear_combination (-(C lam : ℝ[X])) * hb + unfold odeOp + rw [C_pow] + linear_combination h1 + have hev := congrArg (Polynomial.eval (-1 : ℝ)) hode + have hsq : lam ^ 2 = (s : ℝ) ^ 2 := by + simp only [odeOp, psiPoly, eval_add, eval_sub, eval_mul, eval_C, eval_X, eval_one, eval_zero, + derivative_mul, derivative_add, derivative_sub, derivative_C, derivative_X, derivative_one, + eval_pow] at hev + have : (lam ^ 2 - (s : ℝ) ^ 2) * G.eval (-1) = 0 := by linear_combination hev + have := (mul_eq_zero.mp this).resolve_right hG + linarith + refine ⟨hsq, ?_⟩ + obtain ⟨d, hd⟩ := Nat.exists_eq_add_of_le hns + have hs : s = n + 1 + d := by omega + subst hs + have h2 : odeOp ((n + 1 : ℕ) : ℝ) ((n + 1 + d : ℕ) : ℝ) (((n + 1 + d : ℕ) : ℝ) ^ 2) G = 0 := by + rw [← hsq] at * + convert hode using 2 <;> push_cast <;> ring + have := odeOp_unique (n + 1) d G h2 + simpa using this + end Lightlike.Dirac From f49a7ff5fb9b370beebdc88f3fd0b2dc0a4285cd Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:28:09 +0200 Subject: [PATCH 24/66] feat(g1-012): a future null geodesic from S to a point outside I+(S) is orthogonal to S (null_geodesic_orthogonal) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 2 + Lightlike/Rows/G1_012/Orthogonality.lean | 285 +++++++++++++++++++++++ 2 files changed, 287 insertions(+) create mode 100644 Lightlike/Rows/G1_012/Orthogonality.lean diff --git a/Lightlike.lean b/Lightlike.lean index b7a38677..fcca9d4f 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1392,6 +1392,8 @@ import Lightlike.Rows.G1_012.AchronalBoundary import Lightlike.Rows.G1_012.PenroseCovering import Lightlike.Rows.G1_012.Assembly import Lightlike.Rows.G1_012.NullGeodCausal +import Lightlike.Rows.G1_012.NullVariation +import Lightlike.Rows.G1_012.Orthogonality import Lightlike.Rows.G1_012.TrappedSurface import Lightlike.Spacetime.Causal.ChainReach import Lightlike.Spacetime.Causal.TimeReversal diff --git a/Lightlike/Rows/G1_012/Orthogonality.lean b/Lightlike/Rows/G1_012/Orthogonality.lean new file mode 100644 index 00000000..22b8f63e --- /dev/null +++ b/Lightlike/Rows/G1_012/Orthogonality.lean @@ -0,0 +1,285 @@ +import Lightlike.Rows.G1_012.NullGeodCausal +import Lightlike.Rows.G1_012.NullVariation +import Lightlike.Rows.G1_012.AchronalBoundary +import Lightlike.Spacetime.CausalLadder.ChartCurve + +/-! +# Generators of `∂J⁺(S)` leave `S` orthogonally (G1-012) + +Manifold-level step: a future null geodesic from a point of `S` to a point outside `I⁺(S)` is +`g`-orthogonal to every curve in `S` through its start point +(`Lightlike.Penrose.null_geodesic_orthogonal`). The proof moves the start point along the curve in +the chart at the start point by the timelike variation of `Lightlike.Geodesic.exists_null_variation` +and pushes up with the end of the geodesic. +-/ + +open Bundle Manifold Set Filter Topology MeasureTheory +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] + +/-- A tangent vector at `p` whose coordinates in the trivialization at `x` are `D` is +`(chartTriv n x).symmL p D`. -/ +theorem eq_symmL_of_tTriv (x p : M) (hp : p ∈ (chartTriv n x).baseSet) + (v : TangentSpace 𝓘(ℝ, Fin n → ℝ) p) {D : Fin n → ℝ} + (h : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨p, v⟩).2 = D) : + v = (chartTriv n x).symmL ℝ p D := by + have hlin : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨p, v⟩).2 = + (chartTriv n x).linearEquivAt ℝ p hp v := by + rw [Trivialization.linearEquivAt_apply] + rw [hlin, Trivialization.linearEquivAt_apply] at h + rw [Trivialization.symmL_apply (chartTriv n x) hp, ← h] + exact ((chartTriv n x).symm_apply_apply_mk hp v).symm + + +/-- The metric of two vectors at `p` given by their coordinates in the chart at `x` is the coordinate +bilinear form of the chart at `x`, evaluated at `p`. -/ +theorem metric_eq_bil_at (g : NondegMetric 𝓘(ℝ, Fin n → ℝ) M) (x p : M) + (hp : p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) (D₁ D₂ : Fin n → ℝ) : + g.g p ((chartTriv n x).symmL ℝ p D₁) ((chartTriv n x).symmL ℝ p D₂) = + bil (g.coordMetric x (extChartAt 𝓘(ℝ, Fin n → ℝ) x p)) D₁ D₂ := by + have hy : extChartAt 𝓘(ℝ, Fin n → ℝ) x p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target := + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).map_source hp + have e : (extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm (extChartAt 𝓘(ℝ, Fin n → ℝ) x p) = p := + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).left_inv hp + have hb : ∀ i j, g.coordMetric x (extChartAt 𝓘(ℝ, Fin n → ℝ) x p) i j = + g.g p ((chartTriv n x).symmL ℝ p (Pi.single i 1)) ((chartTriv n x).symmL ℝ p (Pi.single j 1)) := by + intro i j + have := g.coordMetric_eq x hy i j + rw [coordBasis_apply, coordBasis_apply] at this + rw [e] at this + exact this + have hD : ∀ D : Fin n → ℝ, (chartTriv n x).symmL ℝ p D = + ∑ i, D i • (chartTriv n x).symmL ℝ p (Pi.single i 1) := by + intro D + conv_lhs => rw [pi_eq_sum_univ D] + rw [map_sum] + refine Finset.sum_congr rfl fun i _ => ?_ + rw [map_smul] + congr 2 + funext j + simp [Pi.single_apply, eq_comm] + rw [hD D₁, hD D₂] + unfold bil + simp only [map_sum, map_smul, sum_apply, smul_apply, smul_eq_mul, Finset.mul_sum] + rw [Finset.sum_comm] + refine Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun j _ => ?_ + rw [hb] + ring + + +variable {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- The coordinates, in the chart at `x`, of the time orientation field at the point with chart +coordinates `y`. -/ +def timeCoord (T : Causal.TimeOrientation g) (x : M) (y : Fin n → ℝ) : Fin n → ℝ := + (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨(extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm y, + T.X ((extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm y)⟩).2 + +/-- The time orientation field in chart coordinates is continuous on the chart target. -/ +theorem continuousOn_timeCoord (T : Causal.TimeOrientation g) (x : M) : + ContinuousOn (timeCoord T x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target := by + have hsec : Continuous (fun p : M => (⟨p, T.X p⟩ : TotalSpace (Fin n → ℝ) + (TangentSpace 𝓘(ℝ, Fin n → ℝ)))) := T.contMDiff.continuous + have hsymm : ContinuousOn (extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target := continuousOn_extChartAt_symm x + have h1 : ContinuousOn (fun y => (⟨(extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm y, + T.X ((extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm y)⟩ : TotalSpace (Fin n → ℝ) + (TangentSpace 𝓘(ℝ, Fin n → ℝ)))) (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target := + hsec.comp_continuousOn hsymm + have h2 := (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x).continuousOn.comp h1 fun y hy => by + rw [Trivialization.mem_source] + exact symm_mem_chartTriv_baseSet x hy + exact continuous_snd.comp_continuousOn h2 + +/-- The time orientation field at `p` is the vector with coordinates `timeCoord` at `p`. -/ +theorem timeOrientation_eq_symmL (T : Causal.TimeOrientation g) (x p : M) + (hp : p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) : + T.X p = (chartTriv n x).symmL ℝ p + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x p)) := by + have hy : extChartAt 𝓘(ℝ, Fin n → ℝ) x p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target := + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).map_source hp + have e : (extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm (extChartAt 𝓘(ℝ, Fin n → ℝ) x p) = p := + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).left_inv hp + have hb : p ∈ (chartTriv n x).baseSet := by + have := symm_mem_chartTriv_baseSet x hy + rwa [e] at this + refine eq_symmL_of_tTriv x p hb (T.X p) ?_ + unfold timeCoord + rw [e] + + +/-- `pairing` is the bilinear contraction `bil`. -/ +theorem pairing_eq_bil (G : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (y a b : Fin n → ℝ) : + Lightlike.Geodesic.pairing G y a b = bil (G y) a b := by + unfold Lightlike.Geodesic.pairing bil + refine Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun j _ => ?_ + ring + +/-- A point in the source of the chart at `x` lies in the base set of the chart trivialization. -/ +theorem mem_baseSet_of_mem_source (x p : M) (hp : p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) : + p ∈ (chartTriv n x).baseSet := by + have hy : extChartAt 𝓘(ℝ, Fin n → ℝ) x p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target := + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).map_source hp + have e : (extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm (extChartAt 𝓘(ℝ, Fin n → ℝ) x p) = p := + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).left_inv hp + have := symm_mem_chartTriv_baseSet x hy + rwa [e] at this + +/-- **Moving the start of a future null geodesic along a transversal curve gives a timelike curve to +a later point of the geodesic.** If `D` (the chart velocity at `γ a` of the curve `σ` through `γ a`) +satisfies `g(γ', D) > 0`, then for all small `ε > 0` the point `γ b` is in `I⁺(σ ε)`. -/ +theorem null_geodesic_chronFuture (T : Causal.TimeOrientation g) {γ : ℝ → M} {a b : ℝ} (hab : a < b) + (hγ : IsFutureNullGeodesicOn T γ (Icc a b)) {σ : ℝ → M} (hσ0 : σ 0 = γ a) + (hσsrc : ∀ᶠ ε in 𝓝 (0 : ℝ), σ ε ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a)).source) + {D : Fin n → ℝ} + (hσd : HasDerivAt (fun ε => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a) (σ ε)) D 0) + (hpos : 0 < g.g (γ a) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc a b) a) + ((chartTriv n (γ a)).symmL ℝ (γ a) D)) : + ∀ᶠ ε in 𝓝[>] (0 : ℝ), γ b ∈ Causal.chronFuture T (σ ε) := by + obtain ⟨hnull, hfut⟩ := id hγ + obtain ⟨w, O, hO, hsrc, hgeo, hw0, hbil⟩ := hnull a ⟨le_rfl, hab.le⟩ + have hq : γ a ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a)).source := mem_extChartAt_source (γ a) + have hbq := mem_baseSet_of_mem_source (γ a) (γ a) hq + -- velocity in chart coordinates + obtain ⟨-, hvel⟩ := geodesic_local_velocity hab ⟨le_rfl, hab.le⟩ hO hsrc hgeo.pos + have hvq := eq_symmL_of_tTriv (γ a) (γ a) hbq _ hvel + have hXq := timeOrientation_eq_symmL T (γ a) (γ a) hq + have hmet : ∀ D₁ D₂ : Fin n → ℝ, g.g (γ a) ((chartTriv n (γ a)).symmL ℝ (γ a) D₁) + ((chartTriv n (γ a)).symmL ℝ (γ a) D₂) = + bil (g.coordMetric (γ a) (extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a) (γ a))) D₁ D₂ := + fun D₁ D₂ => metric_eq_bil_at g.toNondegMetric (γ a) (γ a) hq D₁ D₂ + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a) with hψ + set gc := g.coordMetric (γ a) with hgc + have hgcM : IsCoordMetric gc ψ.target := g.isCoordMetric_coordMetric (γ a) + set J : Set ℝ := O ∩ Iio b with hJ + have hJn : J ∈ 𝓝 a := inter_mem hO (Iio_mem_nhds hab) + have hUJ : ∀ t ∈ J, ψ (γ t) ∈ ψ.target := fun t ht => ψ.map_source (hsrc t ht.1) + have hgeoJ : Lightlike.Geodesic.IsGeodesicOn gc (fun s => ψ (γ s)) w J := + ⟨fun t ht => hgeo.pos t ht.1, fun t ht => hgeo.vel t ht.1⟩ + have hnull0 : Lightlike.Geodesic.normSq gc (ψ (γ a)) (w a) = 0 := by + rw [← Lightlike.Geodesic.pairing_self, pairing_eq_bil]; exact hbil + have hG : 0 < Lightlike.Geodesic.pairing gc (ψ (γ a)) (w a) D := by + rw [pairing_eq_bil] + rw [hvq, hmet] at hpos + exact hpos + have hXneg : Lightlike.Geodesic.pairing gc (ψ (γ a)) (w a) (timeCoord T (γ a) (ψ (γ a))) < 0 := by + have := hfut a ⟨le_rfl, hab.le⟩ + rw [hvq, hXq, hmet] at this + rw [pairing_eq_bil] + exact this + obtain ⟨δ, hδ, h, h', O', hO'o, hIcc, hO'J, hhd, hh'c, hh₀, hhδ, ε₀, ν, hε₀, hν, hvar⟩ := + Lightlike.Geodesic.exists_null_variation hgcM hJn hgeoJ hUJ hnull0 hG + (continuousOn_timeCoord T (γ a)) hXneg + have hslope := hσd.tendsto_slope_zero_right + filter_upwards [hslope.eventually (Metric.ball_mem_nhds D hν), Ioo_mem_nhdsGT hε₀, + nhdsWithin_le_nhds hσsrc] with ε hsl hε hsε + set d : Fin n → ℝ := ψ (σ ε) - ψ (γ a) with hd + set v : Fin n → ℝ := ε⁻¹ • d with hv + have hv' : v ∈ Metric.ball D ν := by simpa [hv, hd, hσ0] using hsl + have hεv : ε • v = d := by rw [hv, smul_inv_smul₀ hε.1.ne'] + have hvar' := fun t ht => hvar ε hε v hv' t ht + simp only [hεv] at hvar' + set c : ℝ → Fin n → ℝ := fun t => ψ (γ t) + h t • d with hcdef + set c' : ℝ → Fin n → ℝ := fun t => w t + h' t • d with hc'def + have hIJ : ∀ t ∈ Icc a (a + δ), t ∈ J := fun t ht => hO'J (hIcc ht) + have hcd : ∀ t ∈ O', HasDerivAt c (c' t) t := fun t ht => + (hgeo.pos t (hO'J ht).1).add ((hhd t ht).smul_const d) + have hc'c : ∀ t ∈ O', ContinuousAt c' t := fun t ht => + (hgeo.vel t (hO'J ht).1).continuousAt.add ((hh'c t ht).smul continuousAt_const) + have hcC1 : ContDiffOn ℝ 1 c O' := by + rw [show (1 : WithTop ℕ∞) = 0 + 1 from rfl, contDiffOn_succ_iff_deriv_of_isOpen hO'o] + refine ⟨fun t ht => (hcd t ht).differentiableAt.differentiableWithinAt, + fun h0 => absurd h0 (by simp), ?_⟩ + rw [contDiffOn_zero] + exact (continuousOn_of_forall_continuousAt hc'c).congr fun t ht => (hcd t ht).deriv + have hctarget : ∀ t ∈ Icc a (a + δ), c t ∈ ψ.target := fun t ht => (hvar' t ht).1 + set C : ℝ → M := fun t => ψ.symm (c t) with hC + have hCsm : ContMDiffOn 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) 1 C (Icc a (a + δ)) := + (contMDiffOn_extChartAt_symm (γ a)).comp (hcC1.contMDiffOn.mono hIcc) hctarget + have hδ' : a < a + δ := by linarith + have hCvel : ∀ t ∈ Icc a (a + δ), (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ a) + ⟨C t, Causal.velocity 𝓘(ℝ, Fin n → ℝ) C (Icc a (a + δ)) t⟩).2 = c' t := fun t ht => + (Causal.mdifferentiableWithinAt_chart_symm (I := 𝓘(ℝ, Fin n → ℝ)) (γ a) + (uniqueDiffOn_Icc hδ' t ht) ht (hcd t (hIcc ht)).hasDerivWithinAt hctarget).2 + have hCsrc : ∀ t ∈ Icc a (a + δ), C t ∈ ψ.source := fun t ht => ψ.map_target (hctarget t ht) + have hψC : ∀ t ∈ Icc a (a + δ), ψ (C t) = c t := fun t ht => ψ.right_inv (hctarget t ht) + have hTL : ∀ t ∈ Icc a (a + δ), + T.IsFutureTimelike (Causal.velocity 𝓘(ℝ, Fin n → ℝ) C (Icc a (a + δ)) t) := by + intro t ht + have hvq' := eq_symmL_of_tTriv (γ a) (C t) (mem_baseSet_of_mem_source _ _ (hCsrc t ht)) _ + (hCvel t ht) + have hXC := timeOrientation_eq_symmL T (γ a) (C t) (hCsrc t ht) + rw [hψC t ht] at hXC + obtain ⟨-, h2, h3⟩ := hvar' t ht + unfold Causal.TimeOrientation.IsFutureTimelike + rw [hvq', hXC, metric_eq_bil_at g.toNondegMetric (γ a) (C t) (hCsrc t ht), + metric_eq_bil_at g.toNondegMetric (γ a) (C t) (hCsrc t ht), hψC t ht] + rw [pairing_eq_bil] at h2 h3 + exact ⟨h2, h3⟩ + have hcurve : Causal.IsFutureTimelikeCurve T C (Icc a (a + δ)) := + Causal.isFutureTimelikeCurve_of_contMDiffOn T hδ' hCsm hTL + have hCa : C a = σ ε := by + simp only [hC, hcdef, hh₀, one_smul, hd] + rw [add_sub_cancel] + exact ψ.left_inv hsε + have haδJ : a + δ ∈ J := hIJ _ ⟨by linarith, le_rfl⟩ + have hCb : C (a + δ) = γ (a + δ) := by + simp only [hC, hcdef, hhδ, zero_smul, add_zero] + exact ψ.left_inv (hsrc _ haδJ.1) + have hmem1 : γ (a + δ) ∈ Causal.chronFuture T (σ ε) := + ⟨C, a, a + δ, hδ', hcurve, hCa, hCb⟩ + have hcaus := (hγ.isFutureCausalCurve T hab) + have hcaus' : Causal.IsFutureCausalCurve T γ (Icc (a + δ) b) := + Causal.IsCurveWith.mono hcaus (by linarith) le_rfl haδJ.2 + have hmem2 : γ b ∈ Causal.causalFuture T (γ (a + δ)) := + ⟨γ, a + δ, b, haδJ.2.le, hcaus', rfl, rfl⟩ + exact Causal.chronFuture_causalFuture_trans_of_isOpen T (Causal.isOpen_chronFuture_of_reach T) + hmem1 hmem2 + + +/-- **A future null geodesic from `S` to a point outside `I⁺(S)` is orthogonal to `S`.** Let `γ` be a +future null geodesic on `[a, b]` with `γ b ∉ I⁺(S)`, and `σ` a curve in `S` through `γ a`, with chart +velocity `D` at `γ a`. Then `g(γ'(a), D) = 0`. (Hawking–Ellis, section 4.5; the proof is the +timelike variation `Lightlike.Geodesic.exists_null_variation`. Difference: the tangent vector to `S` +is given as the chart velocity of a curve in `S`, not as an element of the tangent space of a +submanifold.) -/ +theorem null_geodesic_orthogonal (T : Causal.TimeOrientation g) {S : Set M} {γ : ℝ → M} {a b : ℝ} + (hab : a < b) (hγ : IsFutureNullGeodesicOn T γ (Icc a b)) + (hr : γ b ∉ Causal.chronFutureSet T S) {σ : ℝ → M} (hσ0 : σ 0 = γ a) (hσS : ∀ ε, σ ε ∈ S) + (hσsrc : ∀ᶠ ε in 𝓝 (0 : ℝ), σ ε ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a)).source) + {D : Fin n → ℝ} + (hσd : HasDerivAt (fun ε => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a) (σ ε)) D 0) : + g.g (γ a) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc a b) a) + ((chartTriv n (γ a)).symmL ℝ (γ a) D) = 0 := by + by_contra hne + have hmem : ∀ {σ' : ℝ → M}, (∀ ε, σ' ε ∈ S) → + (∃ ε, γ b ∈ Causal.chronFuture T (σ' ε)) → False := by + rintro σ' hS ⟨ε, hε⟩ + exact hr (mem_iUnion₂.2 ⟨σ' ε, hS ε, hε⟩) + rcases lt_or_gt_of_ne hne with hlt | hgt + · have hneg : Tendsto (fun ε : ℝ => -ε) (𝓝 0) (𝓝 0) := by + simpa using (continuous_neg.tendsto (0 : ℝ)) + have hd' : HasDerivAt (fun ε => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a) (σ (-ε))) (-D) 0 := by + have h0 : HasDerivAt (fun ε => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ a) (σ ε)) D (-0) := by + simpa using hσd + have h1 := h0.scomp (0 : ℝ) (hasDerivAt_neg (0 : ℝ)) + simp only [neg_smul, one_smul] at h1 + convert h1 using 1 + rfl + have hpos : 0 < g.g (γ a) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc a b) a) + ((chartTriv n (γ a)).symmL ℝ (γ a) (-D)) := by + rw [map_neg, map_neg] + linarith + obtain ⟨ε, hε⟩ := (null_geodesic_chronFuture T hab hγ (σ := fun ε => σ (-ε)) + (by simpa using hσ0) (hneg.eventually hσsrc) hd' hpos).exists + exact hmem (σ' := fun ε => σ (-ε)) (fun ε => hσS _) ⟨ε, hε⟩ + · obtain ⟨ε, hε⟩ := (null_geodesic_chronFuture T hab hγ hσ0 hσsrc hσd hgt).exists + exact hmem hσS ⟨ε, hε⟩ + +end Lightlike.Penrose From 4792a6d77fe36b67e0b61af13680cb0f6dd9862d Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:30:03 +0200 Subject: [PATCH 25/66] feat(GE5): completeness in the angular polynomial class (eigenvalue +-s, profile unique) with the converse of the flat eigen equation Co-Authored-By: Claude Opus 5.5 --- Lightlike/Dirac/EigenAngular.lean | 129 ++++++++++++++++++++++++++++++ docs/results.yaml | 13 +++ 2 files changed, 142 insertions(+) diff --git a/Lightlike/Dirac/EigenAngular.lean b/Lightlike/Dirac/EigenAngular.lean index 93668626..817a7b2c 100644 --- a/Lightlike/Dirac/EigenAngular.lean +++ b/Lightlike/Dirac/EigenAngular.lean @@ -721,4 +721,133 @@ theorem mode_complete (n s : ℕ) (hns : n + 1 ≤ s) (G F : ℝ[X]) (lam : ℝ) have := odeOp_unique (n + 1) d G h2 simpa using this +open Polynomial in +/-- The flat Dirac operator of `angG` on the real axis `y = r e₀`. -/ +lemma dirac_angG_axis (ρ : CliffordRep 2 V) (v : V) (n s : ℕ) (G F : ℝ[X]) (r : ℝ) : + dirac ρ (angG ρ v n s G F) (r • e (0 : Fin 2)) = + (2 * (((1 + r ^ 2) ^ s)⁻¹ * G.derivative.eval (r ^ 2) - + (s : ℝ) * ((1 + r ^ 2) ^ (s + 1))⁻¹ * G.eval (r ^ 2)) * r ^ (n + 2) + + 2 * ((n : ℝ) + 1) * (((1 + r ^ 2) ^ s)⁻¹ * G.eval (r ^ 2)) * r ^ n) • gam ρ 0 v - + (2 * (((1 + r ^ 2) ^ s)⁻¹ * F.derivative.eval (r ^ 2) - + (s : ℝ) * ((1 + r ^ 2) ^ (s + 1))⁻¹ * F.eval (r ^ 2)) * r ^ (n + 1)) • v := by + have hn : ‖r • e (0 : Fin 2)‖ ^ 2 = r ^ 2 := by simp [e, norm_smul] + have hne : 1 + ‖r • e (0 : Fin 2)‖ ^ 2 ≠ 0 := by positivity + obtain ⟨Ψ1, h1, d1m, d1p⟩ := angProfile_deriv (fun u => ((1 + u) ^ s)⁻¹ * G.eval u) (n + 1) + (r • e (0 : Fin 2)) (hasDerivAt_prof s G hne) + obtain ⟨Ψ2, h2, d2m, d2p⟩ := angProfile_deriv (fun u => ((1 + u) ^ s)⁻¹ * F.eval u) n + (r • e (0 : Fin 2)) (hasDerivAt_prof s F hne) + have hD := dirac_angular ρ v h1 h2 + have hz : zcL (r • e (0 : Fin 2)) = (r : ℂ) := by simp [zcL_apply, e] + unfold angG + rw [hD, d1m, d2p, hz, hn] + simp only [Complex.conj_ofReal] + have c1 : ∀ (a : ℝ) (m : ℕ), ((a : ℝ) : ℂ) * (r : ℂ) ^ m = ((a * r ^ m : ℝ) : ℂ) := by + intro a m; push_cast; ring + push_cast + rw [← map_smul (gam ρ 0), ← Lv_ofReal ρ v, ← Lv_ofReal ρ v] + congr 2 <;> push_cast <;> ring + +/-- `angG` on the real axis. -/ +lemma angG_real_axis (ρ : CliffordRep 2 V) (v : V) (n s : ℕ) (G F : ℝ[X]) (r : ℝ) : + angG ρ v n s G F (r • e (0 : Fin 2)) = + (((1 + r ^ 2) ^ s)⁻¹ * G.eval (r ^ 2) * r ^ (n + 1)) • v + + (((1 + r ^ 2) ^ s)⁻¹ * F.eval (r ^ 2) * r ^ n) • gam ρ 0 v := by + have hz : zcL (r • e (0 : Fin 2)) = (r : ℂ) := by simp [zcL_apply, e] + have hn : ‖r • e (0 : Fin 2)‖ ^ 2 = r ^ 2 := by simp [e, norm_smul] + simp only [angG, angSpinor, angProfile, hz, hn] + have h1 : ∀ (a : ℝ) (m : ℕ), ((a : ℝ) : ℂ) * (r : ℂ) ^ m = ((a * r ^ m : ℝ) : ℂ) := by + intro a m; push_cast; ring + rw [h1, h1, Lv_ofReal, Lv_ofReal, map_smul] + +/-- A spinor `v ≠ 0` is independent of `γ₀ v`. -/ +lemma indep_gam (ρ : CliffordRep 2 V) {v : V} (hv : v ≠ 0) {α β : ℝ} + (h : α • v + β • gam ρ 0 v = 0) : α = 0 ∧ β = 0 := by + have h2 := congrArg (gam ρ 0) h + simp only [map_add, map_smul, gam_sq, map_zero] at h2 + have h3 : (α ^ 2 + β ^ 2) • v = 0 := by + have : (α ^ 2 + β ^ 2) • v = α • (α • v + β • gam ρ 0 v) - β • (α • gam ρ 0 v + β • -v) := by + module + rw [this, h, h2]; simp + have h4 : α ^ 2 + β ^ 2 = 0 := (smul_eq_zero.mp h3).resolve_right hv + constructor <;> nlinarith [sq_nonneg α, sq_nonneg β] + +open Polynomial in +/-- **Converse of `angG_flat_eigen`.** For a nonzero constant spinor `v`, if `h D₀ g = λ g` holds at every +point for the angular spinor `g = angG v n s G F`, then the two polynomial identities hold. -/ +theorem angG_flat_converse (ρ : CliffordRep 2 V) {v : V} (hv : v ≠ 0) (n s : ℕ) (G F : ℝ[X]) (lam : ℝ) + (hflat : ∀ x : E 2, stereoH x • dirac ρ (angG ρ v n s G F) x = lam • angG ρ v n s G F x) : + psiPoly ((n : ℝ) + 1) (s : ℝ) G = C lam * F ∧ + -((1 + X) * F.derivative - C (s : ℝ) * F) = C lam * G := by + have key : ∀ t : ℝ, 0 < t → + ((1 + t) * ((n + 1) * G.eval t + t * G.derivative.eval t) - s * t * G.eval t = lam * F.eval t) ∧ + (-((1 + t) * F.derivative.eval t - s * F.eval t) = lam * G.eval t) := by + intro t ht + set r := Real.sqrt t with hr + have hr0 : 0 < r := Real.sqrt_pos.mpr ht + have hrt : r ^ 2 = t := Real.sq_sqrt ht.le + have hx := hflat (r • e (0 : Fin 2)) + rw [dirac_angG_axis, angG_real_axis] at hx + have hh : stereoH (r • e (0 : Fin 2)) = (1 + r ^ 2) / 2 := by + simp [stereoH, e, norm_smul] + rw [hh] at hx + have hq := indep_gam ρ hv (α := -((1 + r ^ 2) / 2 * (2 * (((1 + r ^ 2) ^ s)⁻¹ * F.derivative.eval (r ^ 2) - + (s : ℝ) * ((1 + r ^ 2) ^ (s + 1))⁻¹ * F.eval (r ^ 2)) * r ^ (n + 1))) - + lam * (((1 + r ^ 2) ^ s)⁻¹ * G.eval (r ^ 2) * r ^ (n + 1))) + (β := (1 + r ^ 2) / 2 * (2 * (((1 + r ^ 2) ^ s)⁻¹ * G.derivative.eval (r ^ 2) - + (s : ℝ) * ((1 + r ^ 2) ^ (s + 1))⁻¹ * G.eval (r ^ 2)) * r ^ (n + 2) + + 2 * ((n : ℝ) + 1) * (((1 + r ^ 2) ^ s)⁻¹ * G.eval (r ^ 2)) * r ^ n) - + lam * (((1 + r ^ 2) ^ s)⁻¹ * F.eval (r ^ 2) * r ^ n)) (by + linear_combination (norm := module) hx) + obtain ⟨h1, h2⟩ := hq + rw [hrt] at h1 h2 + have hP : (1 + t) ^ s ≠ 0 := by positivity + have hrn : r ^ n ≠ 0 := pow_ne_zero _ hr0.ne' + have hrn1 : r ^ (n + 1) ≠ 0 := pow_ne_zero _ hr0.ne' + have h1' : r ^ (n + 1) * ((1 + t) ^ s)⁻¹ * + (-((1 + t) * F.derivative.eval t - s * F.eval t) - lam * G.eval t) = 0 := by + rw [pow_succ (1 + t) s] at h1 + field_simp at h1 ⊢ + linear_combination h1 + have h2' : r ^ n * ((1 + t) ^ s)⁻¹ * + ((1 + t) * ((n + 1) * G.eval t + t * G.derivative.eval t) - s * t * G.eval t - lam * F.eval t) = 0 := by + rw [pow_succ (1 + t) s] at h2 + have hr2 : r ^ (n + 2) = r ^ n * t := by rw [← hrt]; ring + rw [hr2] at h2 + field_simp at h2 ⊢ + linear_combination h2 + refine ⟨?_, ?_⟩ + · have := (mul_eq_zero.mp h2').resolve_left (mul_ne_zero hrn (inv_ne_zero hP)) + linarith + · have := (mul_eq_zero.mp h1').resolve_left (mul_ne_zero hrn1 (inv_ne_zero hP)) + linarith + constructor + · apply Polynomial.eq_of_infinite_eval_eq + refine Set.Infinite.mono (fun t ht => ?_) (Set.Ioi_infinite (0 : ℝ)) + have := (key t ht).1 + simp only [Set.mem_setOf_eq, psiPoly, eval_sub, eval_mul, eval_add, eval_C, eval_X, eval_one] + linear_combination this + · apply Polynomial.eq_of_infinite_eval_eq + refine Set.Infinite.mono (fun t ht => ?_) (Set.Ioi_infinite (0 : ℝ)) + have := (key t ht).2 + simp only [Set.mem_setOf_eq, eval_sub, eval_mul, eval_add, eval_C, eval_X, eval_one, eval_neg] + linear_combination this + +open Polynomial in +/-- **GE5, completeness in the angular polynomial class.** Let `v ≠ 0` and let the angular spinor +`g = angG v n s G F` (profile `(1+t)^{-s} z^{n+1} G`, `(1+t)^{-s} z^n F`, reduced: `G(-1) ≠ 0`, with the +decay condition `n + 1 ≤ s`) be a flat eigenspinor, `h D₀ g = λ g` everywhere. Then `λ = ±s` and `G` is a +multiple of the radial polynomial `gPoly (n+1) (s-n-1)` used in `sphere_dirac_lower_bound`: within this class +the family of the lower bound is exhaustive. (PARTIAL for GE5: no statement about spinors outside the class.) -/ +theorem angular_class_complete (ρ : CliffordRep 2 V) {v : V} (hv : v ≠ 0) (n s : ℕ) (hns : n + 1 ≤ s) + (G F : ℝ[X]) (lam : ℝ) (hG : G.eval (-1) ≠ 0) + (hflat : ∀ x : E 2, stereoH x • dirac ρ (angG ρ v n s G F) x = lam • angG ρ v n s G F x) : + (lam = s ∨ lam = -s) ∧ G = C (G.coeff 0) * gPoly (n + 1) (s - (n + 1)) := by + obtain ⟨ha, hb⟩ := angG_flat_converse ρ hv n s G F lam hflat + obtain ⟨hsq, hGe⟩ := mode_complete n s hns G F lam ha hb hG + refine ⟨?_, hGe⟩ + have : (lam - s) * (lam + s) = 0 := by linear_combination hsq + rcases mul_eq_zero.mp this with h | h + · left; linarith + · right; linarith + end Lightlike.Dirac diff --git a/docs/results.yaml b/docs/results.yaml index fa1d0735..a8968957 100644 --- a/docs/results.yaml +++ b/docs/results.yaml @@ -4218,3 +4218,16 @@ review: kernel-checked note: "Compared with Boldt, arXiv:1504.03121, Theorem 3.1, p. 6 (read): the Dirac eigenvalues of the round S^n are +-(n/2 + k) with multiplicity 2^[n/2] C(n+k-1, k); for n = 2 this is +-(k+1) with multiplicity 2(k+1). Here, in the stereographic chart and for an arbitrary Clifford module V of Cl(R^2), the k+1 angular modes c1 = (1+|y|^2)^-(k+1) z^(n+1) G_n(|y|^2), c2 = (1+|y|^2)^-(k+1) z^n F_n(|y|^2) (n = 0..k, G_n a terminating hypergeometric polynomial of degree k-n) give eigenspinors h^(1/2) (Lv c1 + gamma_0 Lv c2) of eigenvalue epsilon (k+1), and the map (v_0..v_k) to the sum is linear and injective. For V = C^2 this is the lower bound 2(k+1) over C. WEAKER: a lower bound only; no completeness (no statement that there are no other eigenvalues or eigenspinors), no regularity condition at the north pole of the sphere and no L^2 or spinor-bundle statement; the chart carries no such notion in the library." since: unreleased +- id: LL-XXXX-b + title: "Within the angular polynomial class, a flat eigenspinor of the Dirac operator of the unit 2-sphere in the stereographic chart that is reduced and satisfies the decay condition has eigenvalue plus or minus s and the radial profile of the family of the lower bound" + area: GR + file: Lightlike/Dirac/EigenAngular.lean + decls: [Lightlike.Dirac.angular_class_complete, Lightlike.Dirac.angG_flat_converse, Lightlike.Dirac.mode_complete, Lightlike.Dirac.odeOp_unique] + status: proven + tier: established + source: + refs: + - {ref: boldt-2015, location: "Theorem 3.1", check: "multiplicities"} + review: kernel-checked + note: "Companion of the lower bound (LL-XXXX-a, same file) against Boldt, arXiv:1504.03121, Theorem 3.1, p. 6 (read): eigenvalues +-(n/2 + k) with multiplicity 2^[n/2] C(n+k-1, k); for n = 2 this is +-(k+1) with multiplicity 2(k+1). Here, for a nonzero constant spinor v and spinors of the form c1 = (1+t)^-s z^(n+1) G(t), c2 = (1+t)^-s z^n F(t), t = |y|^2, G(-1) not zero (reduced), n+1 <= s (decay O(1/|y|) at the pole in this class), a flat eigenspinor has eigenvalue +-s and G a multiple of the radial polynomial of the lower bound, by the coefficient recurrence and evaluation of the radial equation at t = -1. WEAKER (PARTIAL for GE5): only within this class of spinors; not an exclusion of other eigenvalues or eigenspinors of the sphere, which needs smooth sections on S^2, regularity at the pole and the angular Fourier decomposition, none of which is in the library; the decay condition is assumed as n+1 <= s, not derived from smoothness at the pole." + since: unreleased From fb151a98850dfaa7e8fe4b55282f79932be01ab9 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:33:51 +0200 Subject: [PATCH 26/66] feat(TL): the Temperley-Lieb algebra with loop value, relations, universal property, Chebyshev sequence (F1) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/TemperleyLieb/Basic.lean | 90 ++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 Lightlike/TemperleyLieb/Basic.lean diff --git a/Lightlike.lean b/Lightlike.lean index e7e3ac78..85d013fd 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1937,6 +1937,7 @@ import Lightlike.Dirac.ConformalDirac import Lightlike.Dirac.RadialEigen import Lightlike.Dirac.EigenGeneralK import Lightlike.Dirac.EigenAngular +import Lightlike.TemperleyLieb.Basic import Lightlike.Dirac.ConnesDistance import Lightlike.Dirac.ConnesDistance2 import Lightlike.Dirac.ConnesDistance3 diff --git a/Lightlike/TemperleyLieb/Basic.lean b/Lightlike/TemperleyLieb/Basic.lean new file mode 100644 index 00000000..19a2fc49 --- /dev/null +++ b/Lightlike/TemperleyLieb/Basic.lean @@ -0,0 +1,90 @@ +import Mathlib + +/-! +# The Temperley–Lieb algebra + +For a field `k` and a loop value `δ : k`, `TL k δ` is the `k`-algebra with generators `e i` (`i : ℕ`) and +relations +`e i ^ 2 = δ e i`, `e i e (i+1) e i = e i`, `e (i+1) e i e (i+1) = e (i+1)`, `e i e j = e j e i` for +`i + 2 ≤ j`. The generator `e i` joins the strands `i` and `i + 1`. `IsTL δ e` states the relations for a +family `e` in any `k`-algebra, so that the Jones–Wenzl theory of `JonesWenzl.lean` applies to every +representation. The sequence `chebD δ` is the sequence of values of the Chebyshev polynomials, +`d₀ = 1`, `d₁ = δ`, `d_{n+2} = δ d_{n+1} − d_n`; for `δ = −[2]` it is `(−1)ⁿ [n+1]`. + +## References + +* L. H. Kauffman, S. L. Lins, *Temperley–Lieb recoupling theory and invariants of 3-manifolds*, + Annals of Mathematics Studies 134 (1994), Chapters 1 and 3 (the algebra and the Jones–Wenzl projectors). +-/ + +namespace Lightlike.TemperleyLieb + +variable {k : Type*} [Field k] + +/-- The relations of a family `e` of the Temperley–Lieb algebra with loop value `δ`. -/ +structure IsTL {A : Type*} [Ring A] [Algebra k A] (δ : k) (e : ℕ → A) : Prop where + /-- `eᵢ² = δ eᵢ`. -/ + sq : ∀ i, e i * e i = algebraMap k A δ * e i + /-- `eᵢ eᵢ₊₁ eᵢ = eᵢ`. -/ + braid_l : ∀ i, e i * e (i + 1) * e i = e i + /-- `eᵢ₊₁ eᵢ eᵢ₊₁ = eᵢ₊₁`. -/ + braid_r : ∀ i, e (i + 1) * e i * e (i + 1) = e (i + 1) + /-- Distant generators commute. -/ + comm : ∀ i j, i + 2 ≤ j → e i * e j = e j * e i + +/-- The relations of the Temperley–Lieb algebra as relations on the free algebra. -/ +inductive Rel (δ : k) : FreeAlgebra k ℕ → FreeAlgebra k ℕ → Prop + | sq (i : ℕ) : Rel δ (FreeAlgebra.ι k i * FreeAlgebra.ι k i) + (algebraMap k _ δ * FreeAlgebra.ι k i) + | braid_l (i : ℕ) : Rel δ (FreeAlgebra.ι k i * FreeAlgebra.ι k (i + 1) * FreeAlgebra.ι k i) + (FreeAlgebra.ι k i) + | braid_r (i : ℕ) : Rel δ (FreeAlgebra.ι k (i + 1) * FreeAlgebra.ι k i * FreeAlgebra.ι k (i + 1)) + (FreeAlgebra.ι k (i + 1)) + | comm (i j : ℕ) (h : i + 2 ≤ j) : Rel δ (FreeAlgebra.ι k i * FreeAlgebra.ι k j) + (FreeAlgebra.ι k j * FreeAlgebra.ι k i) + +variable (k) in +/-- The Temperley–Lieb algebra with loop value `δ`. -/ +abbrev TL (δ : k) := RingQuot (Rel δ) + +namespace TL + +variable {δ : k} + +/-- The generator `eᵢ` of the Temperley–Lieb algebra. -/ +def e (i : ℕ) : TL k δ := RingQuot.mkAlgHom k _ (FreeAlgebra.ι k i) + +/-- The generators of `TL k δ` satisfy the Temperley–Lieb relations. -/ +theorem isTL : IsTL δ (e : ℕ → TL k δ) where + sq i := by simpa [e] using RingQuot.mkAlgHom_rel k (Rel.sq (k := k) (δ := δ) i) + braid_l i := by simpa [e] using RingQuot.mkAlgHom_rel k (Rel.braid_l (k := k) (δ := δ) i) + braid_r i := by simpa [e] using RingQuot.mkAlgHom_rel k (Rel.braid_r (k := k) (δ := δ) i) + comm i j h := by simpa [e] using RingQuot.mkAlgHom_rel k (Rel.comm (k := k) (δ := δ) i j h) + +/-- **Universal property**: a family satisfying the relations extends to an algebra map out of `TL`. -/ +noncomputable def lift {A : Type*} [Ring A] [Algebra k A] (f : ℕ → A) (hf : IsTL δ f) : + TL k δ →ₐ[k] A := + RingQuot.liftAlgHom k ⟨FreeAlgebra.lift k f, by + intro x y h + cases h with + | sq i => simpa using hf.sq i + | braid_l i => simpa using hf.braid_l i + | braid_r i => simpa using hf.braid_r i + | comm i j h => simpa using hf.comm i j h⟩ + +@[simp] theorem lift_e {A : Type*} [Ring A] [Algebra k A] (f : ℕ → A) (hf : IsTL δ f) (i : ℕ) : + lift f hf (e i) = f i := by + simp [lift, e] + +end TL + +/-- The Chebyshev sequence `d₀ = 1`, `d₁ = δ`, `d_{n+2} = δ d_{n+1} − d_n`. -/ +def chebD (δ : k) : ℕ → k + | 0 => 1 + | 1 => δ + | n + 2 => δ * chebD δ (n + 1) - chebD δ n + +/-- The recurrence of `chebD`. -/ +theorem chebD_succ_succ (δ : k) (n : ℕ) : chebD δ (n + 2) = δ * chebD δ (n + 1) - chebD δ n := rfl + +end Lightlike.TemperleyLieb From 2e5edeae9ee91a58534a6a9f682a11795b027072 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:39:18 +0200 Subject: [PATCH 27/66] feat(geodesic): a causal curve ending on the null cone of its start point is a reparametrised radial null geodesic (IsTimeBall.null_rigidity) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/Geodesic/NullRigidity.lean | 265 +++++++++++++++++++++++++++ 2 files changed, 266 insertions(+) create mode 100644 Lightlike/Geodesic/NullRigidity.lean diff --git a/Lightlike.lean b/Lightlike.lean index c2e3d5b2..4f2181ba 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -2080,6 +2080,7 @@ import Lightlike.Geodesic.GaussMaximal import Lightlike.Geodesic.GlobalTwoPoint import Lightlike.Geodesic.LocalCausality import Lightlike.Geodesic.LocalCausalityManifold +import Lightlike.Geodesic.NullRigidity import Lightlike.Geodesic.Radial import Lightlike.Geodesic.Tests import Lightlike.Geodesic.TimeBall diff --git a/Lightlike/Geodesic/NullRigidity.lean b/Lightlike/Geodesic/NullRigidity.lean new file mode 100644 index 00000000..07c8883a --- /dev/null +++ b/Lightlike/Geodesic/NullRigidity.lean @@ -0,0 +1,265 @@ +import Lightlike.Geodesic.LocalCausality + +/-! +# Rigidity of a causal curve ending on the null cone of its start point + +In a time ball at `p`, a future causal curve from `p` whose end point `q` has `σ_p(q) = g_p(v, v) = 0` +(normal coordinate `v`) is a reparametrisation of the radial null geodesic from `p` to `q`: in +normal coordinates `v t = λ t • v b` with `λ` monotone from `0` to `1` +(`Lightlike.Geodesic.IsTimeBall.null_rigidity`). This is the local step in the proof that the +generators of `∂J⁺(S)` are null geodesics (Hawking–Ellis, section 4.5; Chruściel, section 2.4). +-/ + +open Set Metric Filter Topology MeasureTheory +open scoped ContDiff + +noncomputable section + +namespace Lightlike + +variable {V : Type*} [AddCommGroup V] [Module ℝ V] [TopologicalSpace V] {n : ℕ} + {B : V →L[ℝ] V →L[ℝ] ℝ} + +/-- **A future causal vector orthogonal to a future null vector is proportional to it**: for a +Lorentzian form `B` with `B X X < 0`, `B P P = 0`, `B P X < 0`, `B w w ≤ 0`, `B w X < 0` and +`B P w = 0` one has `w = (B w X / B P X) • P`. -/ +theorem IsLorentzianForm.eq_smul_of_orthogonal_null (h : IsLorentzianForm n B) {X P w : V} + (hX : B X X < 0) (hP : B P P = 0) (hPX : B P X < 0) (hw : B w w ≤ 0) (hwX : B w X < 0) + (hPw : B P w = 0) : w = (B w X / B P X) • P := by + have hsymm := h.symm + set c : ℝ := B w X / B P X with hc + have hcP : c * B P X = B w X := by rw [hc]; exact div_mul_cancel₀ _ hPX.ne + have hz : (w - c • P) = 0 := by + refine h.eq_zero_of_orthogonal_timelike (X := X) hX ?_ ?_ + · simp only [map_sub, map_smul, _root_.sub_apply, _root_.smul_apply, smul_eq_mul] + linarith + · simp only [map_sub, map_smul, _root_.sub_apply, _root_.smul_apply, smul_eq_mul] + have hwP : B w P = 0 := by rw [hsymm w P]; exact hPw + rw [hwP, hP, hPw] + linarith + exact sub_eq_zero.1 hz + + +namespace Geodesic + +variable {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + +/-- A Lipschitz vector function with `ℓ(F) ≥ δ > 0` and `‖F‖ ≤ R` has a Lipschitz quotient +`F / ℓ F`. -/ +theorem lipschitzOnWith_div_functional {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + {F : ℝ → E} {s : Set ℝ} {K : NNReal} (hF : LipschitzOnWith K F s) (ℓ : E →L[ℝ] ℝ) {δ R : ℝ} + (hδ : 0 < δ) (hlb : ∀ t ∈ s, δ ≤ ℓ (F t)) (hR : ∀ t ∈ s, ‖F t‖ ≤ R) : + ∃ K' : NNReal, LipschitzOnWith K' (fun t => (ℓ (F t))⁻¹ • F t) s := by + set R' : ℝ := max R 0 with hR' + have hR'0 : 0 ≤ R' := le_max_right _ _ + refine ⟨⟨K / δ + ‖ℓ‖ * K * R' / δ ^ 2, by positivity⟩, ?_⟩ + refine LipschitzOnWith.of_dist_le_mul fun x hx y hy => ?_ + have hdx : δ ≤ ℓ (F x) := hlb x hx + have hdy : δ ≤ ℓ (F y) := hlb y hy + have hx0 : 0 < ℓ (F x) := lt_of_lt_of_le hδ hdx + have hy0 : 0 < ℓ (F y) := lt_of_lt_of_le hδ hdy + have hFd : ‖F x - F y‖ ≤ K * Dist.dist x y := by + rw [← dist_eq_norm]; exact hF.dist_le_mul x hx y hy + have hℓd : |ℓ (F y) - ℓ (F x)| ≤ ‖ℓ‖ * (K * Dist.dist x y) := by + have := ℓ.le_opNorm (F y - F x) + rw [map_sub, Real.norm_eq_abs] at this + have h2 : ‖F y - F x‖ ≤ K * Dist.dist x y := by rw [norm_sub_rev]; exact hFd + calc |ℓ (F y) - ℓ (F x)| ≤ ‖ℓ‖ * ‖F y - F x‖ := this + _ ≤ ‖ℓ‖ * (K * Dist.dist x y) := mul_le_mul_of_nonneg_left h2 (norm_nonneg _) + have hsplit : (ℓ (F x))⁻¹ • F x - (ℓ (F y))⁻¹ • F y = + (ℓ (F x))⁻¹ • (F x - F y) + ((ℓ (F x))⁻¹ - (ℓ (F y))⁻¹) • F y := by + simp only [smul_sub, sub_smul]; abel + have hinv : |(ℓ (F x))⁻¹ - (ℓ (F y))⁻¹| ≤ |ℓ (F y) - ℓ (F x)| / δ ^ 2 := by + rw [inv_sub_inv hx0.ne' hy0.ne', abs_div, abs_of_pos (mul_pos hx0 hy0)] + rw [div_le_div_iff₀ (mul_pos hx0 hy0) (by positivity)] + have : δ ^ 2 ≤ ℓ (F x) * ℓ (F y) := by nlinarith + have h0 := abs_nonneg (ℓ (F y) - ℓ (F x)) + nlinarith [abs_sub_comm (ℓ (F x)) (ℓ (F y))] + rw [dist_eq_norm, hsplit] + have hxn : ‖(ℓ (F x))⁻¹‖ ≤ δ⁻¹ := by + rw [norm_inv, Real.norm_eq_abs, abs_of_pos hx0] + exact inv_anti₀ hδ hdx + calc ‖(ℓ (F x))⁻¹ • (F x - F y) + ((ℓ (F x))⁻¹ - (ℓ (F y))⁻¹) • F y‖ + ≤ ‖(ℓ (F x))⁻¹ • (F x - F y)‖ + ‖((ℓ (F x))⁻¹ - (ℓ (F y))⁻¹) • F y‖ := norm_add_le _ _ + _ ≤ δ⁻¹ * ‖F x - F y‖ + (|ℓ (F y) - ℓ (F x)| / δ ^ 2) * R' := by + gcongr + · rw [norm_smul]; exact mul_le_mul_of_nonneg_right hxn (norm_nonneg _) + · rw [norm_smul, Real.norm_eq_abs] + exact mul_le_mul hinv ((hR y hy).trans (le_max_left _ _)) (norm_nonneg _) (by positivity) + _ ≤ δ⁻¹ * (K * Dist.dist x y) + (‖ℓ‖ * (K * Dist.dist x y) / δ ^ 2) * R' := by + gcongr + _ = (K / δ + ‖ℓ‖ * K * R' / δ ^ 2) * Dist.dist x y := by + field_simp + + +/-- **Local rigidity of a causal curve ending on the null cone of its start point** (the local step +towards "generators of `∂J⁺(S)` are null geodesics"). In a time ball at `p`, let `v` be a Lipschitz +curve in normal coordinates from `v a = 0` with future causal velocity almost everywhere, and +`σ_p(v b) = 0`. Then `v t = lam t • v b`, with `lam` monotone from `0` to `1`: the curve is a +reparametrisation of the radial null geodesic from `p` to `φ (v b)`. -/ +theorem IsTimeBall.null_rigidity (hL : IsLorentzianCoordMetric g U) {p e : Fin n → ℝ} {ρ r : ℝ} + {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} + (h : IsTimeBall g U p ρ φ e r N) + {v : ℝ → Fin n → ℝ} {a b : ℝ} {K : NNReal} (hab : a < b) (hv : LipschitzOnWith K v (Icc a b)) + (hmem : ∀ t ∈ Icc a b, v t ∈ ball (0 : Fin n → ℝ) r) (ha : v a = 0) + (hd : ∀ᵐ t, t ∈ Ioo a b → ∃ v' : Fin n → ℝ, HasDerivAt v v' t ∧ + pairing g (φ (v t)) (fderiv ℝ φ (v t) v') (fderiv ℝ φ (v t) v') ≤ 0 ∧ + pairing g (φ (v t)) (N (v t)) (fderiv ℝ φ (v t) v') < 0) + (hnull : pairing g p (v b) (v b) = 0) : + ∃ lam : ℝ → ℝ, lam a = 0 ∧ lam b = 1 ∧ MonotoneOn lam (Icc a b) ∧ + ∀ t ∈ Icc a b, v t = lam t • v b := by + have hg := hL.1 + have hp : p ∈ U := by + have := h.map_mem (v := 0) (mem_ball_self h.pos); rwa [h.chart.map_zero] at this + set B := matForm (g p) with hB + have hpB : ∀ x y, pairing g p x y = B x y := fun x y => pairing_eq_matForm g p x y + have hBsymm : ∀ x y, B x y = B y x := fun x y => by rw [← hpB, ← hpB, pairing_comm hg hp] + set ℓ : (Fin n → ℝ) →L[ℝ] ℝ := -(B e) with hℓdef + have hℓ : ∀ w, ℓ w = -pairing g p e w := fun w => by + rw [hℓdef, _root_.neg_apply, hpB] + -- `σ_p ≤ 0` on every initial segment + have hcaus : ∀ t ∈ Icc a b, B (v t) (v t) ≤ 0 := fun t ht => by + rw [← hpB] + refine (h.causal_cone hL ht.1 (hv.mono (Icc_subset_Icc_right ht.2)) + (fun s hs => hmem s ⟨hs.1, hs.2.trans ht.2⟩) ha ?_).1 + filter_upwards [hd] with s hs hsm + obtain ⟨v', hv', hc, hf⟩ := hs ⟨hsm.1, lt_of_lt_of_le hsm.2 ht.2⟩ + exact ⟨v', hv', hc, hf⟩ + have hlv : ∀ᵐ t, t ∈ Ioo a b → 0 < ℓ (deriv v t) := by + filter_upwards [hd] with t ht hmt + obtain ⟨v', hv', -, hf⟩ := ht hmt + have htr := hmem t (Ioo_subset_Icc_self hmt) + rw [hv'.deriv, hℓ, ← h.dual _ htr v'] + linarith + have hmono := Lightlike.Causal.functional_increasing_of_ae_pos hab hv ℓ hlv + have hℓa : ℓ (v a) = 0 := by rw [ha, map_zero] + have hpos : ∀ t ∈ Ioc a b, 0 < ℓ (v t) := by + intro t ht + have hsub : Icc a t ⊆ Icc a b := Icc_subset_Icc_right ht.2 + have := (Lightlike.Causal.functional_increasing_of_ae_pos ht.1 (hv.mono hsub) ℓ (by + filter_upwards [hlv] with s hs hsm + exact hs ⟨hsm.1, lt_of_lt_of_le hsm.2 ht.2⟩)).2 + rwa [hℓa] at this + have hall : ∀ᵐ t, t ∈ Ioo a b → ∃ v' : Fin n → ℝ, HasDerivAt v v' t ∧ B (v t) v' ≤ 0 ∧ + (B (v t) (v t) = 0 → B (v t) v' = 0 → ℓ (v t) • v' = ℓ v' • v t) := by + filter_upwards [hd] with t ht hmt + obtain ⟨v', hv', hc, hf⟩ := ht hmt + have htr := hmem t (Ioo_subset_Icc_self hmt) + refine ⟨v', hv', ?_⟩ + have hy : φ (v t) ∈ U := h.map_mem htr + have hLf := isLorentzianForm_matForm hL hy + have hq : ∀ x z, pairing g (φ (v t)) x z = matForm (g (φ (v t))) x z := fun x z => + pairing_eq_matForm g _ x z + have gPX : matForm (g (φ (v t))) (fderiv ℝ φ (v t) (v t)) (fderiv ℝ φ (v t) v') = B (v t) v' := by + rw [← hq, ← hpB]; exact IsNormalChart.gauss hg h.chart (h.mem_ball htr) v' + have gPP : matForm (g (φ (v t))) (fderiv ℝ φ (v t) (v t)) (fderiv ℝ φ (v t) (v t)) = + B (v t) (v t) := by + rw [← hq, ← hpB]; exact IsNormalChart.gauss hg h.chart (h.mem_ball htr) (v t) + have gNP : matForm (g (φ (v t))) (fderiv ℝ φ (v t) (v t)) (N (v t)) = -ℓ (v t) := by + rw [← hq, pairing_comm hg hy, h.dual _ htr, hℓ, neg_neg] + have gNX : matForm (g (φ (v t))) (fderiv ℝ φ (v t) v') (N (v t)) = -ℓ v' := by + rw [← hq, pairing_comm hg hy, h.dual _ htr, hℓ, neg_neg] + have hNN : matForm (g (φ (v t))) (N (v t)) (N (v t)) < 0 := by + rw [← hq]; exact h.timelike _ htr + have hXX : matForm (g (φ (v t))) (fderiv ℝ φ (v t) v') (fderiv ℝ φ (v t) v') ≤ 0 := by + rw [← hq]; exact hc + have hx0pos : 0 < ℓ (v t) := hpos t ⟨hmt.1, hmt.2.le⟩ + have hℓv' : 0 < ℓ v' := by rw [hℓ, ← h.dual _ htr v']; linarith + have hPle : matForm (g (φ (v t))) (fderiv ℝ φ (v t) (v t)) (fderiv ℝ φ (v t) (v t)) ≤ 0 := by + rw [gPP]; exact hcaus t (Ioo_subset_Icc_self hmt) + refine ⟨?_, fun hσ hperp => ?_⟩ + · have key := hLf.nonpos_of_futureCausal hNN hPle hXX (by rw [gNP]; linarith) + (by rw [gNX]; linarith) + rwa [gPX] at key + · -- the velocity is parallel to the radial vector + have hpar := hLf.eq_smul_of_orthogonal_null (X := N (v t)) + (P := fderiv ℝ φ (v t) (v t)) (w := fderiv ℝ φ (v t) v') hNN (by rw [gPP]; exact hσ) + (by rw [gNP]; linarith) hXX (by rw [gNX]; linarith) (by rw [gPX]; exact hperp) + rw [gNX, gNP] at hpar + obtain ⟨D, -, -, hDφ⟩ := h.exists_fderiv_symm htr + have hc0 : -ℓ v' / -ℓ (v t) = ℓ v' / ℓ (v t) := neg_div_neg_eq _ _ + rw [hc0, ← map_smul] at hpar + have := congrArg D hpar + rw [hDφ, hDφ] at this + calc ℓ (v t) • v' = ℓ (v t) • ((ℓ v' / ℓ (v t)) • v t) := by rw [← this] + _ = ℓ v' • v t := by + rw [smul_smul]; congr 1; field_simp + have hbound : ∀ t ∈ Icc a b, ‖v t‖ ≤ r := fun t ht => (mem_ball_zero_iff.1 (hmem t ht)).le + have hfL := lipschitzOnWith_bilin_self B hv (R := ⟨r, h.pos.le⟩) hbound + have hσb : B (v b) (v b) = 0 := by rw [← hpB]; exact hnull + -- `σ_p` is nonincreasing along the curve + have hσ0 : ∀ t ∈ Icc a b, B (v t) (v t) = 0 := by + intro t₁ ht₁ + have hsub : Icc t₁ b ⊆ Icc a b := Icc_subset_Icc_left ht₁.1 + have h0 : LipschitzOnWith 0 (fun _ : ℝ => (0 : ℝ)) (Icc t₁ b) := (LipschitzWith.const (0 : ℝ)).lipschitzOnWith + have := Lightlike.Causal.sub_le_sub_of_ae_deriv_le (f := fun t => B (v t) (v t)) + (h := fun _ => (0 : ℝ)) ht₁.2 (hfL.mono hsub) h0 (by + filter_upwards [hall] with t ht hmt + obtain ⟨v', hv', hle, -⟩ := ht ⟨lt_of_le_of_lt ht₁.1 hmt.1, hmt.2⟩ + have hf' : HasDerivAt (fun t => B (v t) (v t)) (B v' (v t) + B (v t) v') t := + (B.hasFDerivAt.comp_hasDerivAt t hv').clm_apply hv' + refine ⟨hf'.differentiableAt, (hasDerivAt_const t (0 : ℝ)).differentiableAt, ?_⟩ + rw [hf'.deriv, deriv_const, hBsymm v' (v t)] + linarith) + rw [hσb] at this + have h2 := hcaus t₁ ht₁ + linarith + -- the velocity is orthogonal to the position, hence parallel + have hpar : ∀ᵐ t, t ∈ Ioo a b → ∃ v' : Fin n → ℝ, HasDerivAt v v' t ∧ + ℓ (v t) • v' = ℓ v' • v t := by + filter_upwards [hall] with t ht hmt + obtain ⟨v', hv', -, hpp⟩ := ht hmt + refine ⟨v', hv', hpp (hσ0 t (Ioo_subset_Icc_self hmt)) ?_⟩ + have hf' : HasDerivAt (fun t => B (v t) (v t)) (B v' (v t) + B (v t) v') t := + (B.hasFDerivAt.comp_hasDerivAt t hv').clm_apply hv' + have hev : (fun t => B (v t) (v t)) =ᶠ[𝓝 t] fun _ => (0 : ℝ) := by + filter_upwards [Icc_mem_nhds hmt.1 hmt.2] with s hs using hσ0 s hs + have h0 := hf'.unique ((hasDerivAt_const t (0 : ℝ)).congr_of_eventuallyEq hev) + rw [hBsymm v' (v t)] at h0 + linarith + have hℓb : 0 < ℓ (v b) := hpos b ⟨hab, le_rfl⟩ + -- the normalised curve is constant + have hconst : ∀ t₁ ∈ Ioo a b, (ℓ (v t₁))⁻¹ • v t₁ = (ℓ (v b))⁻¹ • v b := by + intro t₁ ht₁ + have hsub : Icc t₁ b ⊆ Icc a b := Icc_subset_Icc_left ht₁.1.le + have hδ : 0 < ℓ (v t₁) := hpos t₁ ⟨ht₁.1, ht₁.2.le⟩ + obtain ⟨K', hK'⟩ := lipschitzOnWith_div_functional (hv.mono hsub) ℓ hδ + (fun t ht => by + have := hmono.1 t₁ ⟨ht₁.1.le, ht₁.2.le⟩ t (hsub ht) ht.1 + exact this) (fun t ht => hbound t (hsub ht)) (R := r) + have := norm_sub_le_of_ae_cone ht₁.2.le hK' (0 : (Fin n → ℝ) →L[ℝ] ℝ) (C := 0) (by + filter_upwards [hpar] with t ht hmt + obtain ⟨v', hv', hpp⟩ := ht ⟨lt_of_lt_of_le ht₁.1 hmt.1.le, hmt.2⟩ + refine ⟨0, ?_, by simp⟩ + have hℓt : 0 < ℓ (v t) := hpos t ⟨lt_of_lt_of_le ht₁.1 hmt.1.le, hmt.2.le⟩ + have hℓd : HasDerivAt (fun s => ℓ (v s)) (ℓ v') t := ℓ.hasFDerivAt.comp_hasDerivAt t hv' + have hdd := (hℓd.inv hℓt.ne').smul hv' + refine hdd.congr_deriv ?_ + have hv'eq : v' = ((ℓ (v t))⁻¹ * ℓ v') • v t := by + have h1 := congrArg (fun x => (ℓ (v t))⁻¹ • x) hpp + simp only [smul_smul, inv_mul_cancel₀ hℓt.ne', one_smul] at h1 + exact h1 + generalize ℓ v' = c at hv'eq ⊢ + rw [hv'eq, smul_smul, ← add_smul] + have : (ℓ (v t))⁻¹ * ((ℓ (v t))⁻¹ * c) + -c / ℓ (v t) ^ 2 = 0 := by + field_simp; ring + show ((ℓ (v t))⁻¹ * ((ℓ (v t))⁻¹ * c) + -c / ℓ (v t) ^ 2) • v t = 0 + rw [this, zero_smul]) + simp only [ContinuousLinearMap.zero_apply, sub_self, mul_zero] at this + exact (sub_eq_zero.1 (norm_le_zero_iff.1 this)).symm + refine ⟨fun t => ℓ (v t) / ℓ (v b), by simp [hℓa], div_self hℓb.ne', ?_, ?_⟩ + · intro s hs t ht hst + exact div_le_div_of_nonneg_right (hmono.1 s hs t ht hst) hℓb.le + · intro t ht + rcases ht.1.eq_or_lt with rfl | hta + · simp [ha, hℓa] + rcases ht.2.eq_or_lt with rfl | htb + · simp [div_self hℓb.ne'] + have hℓt : 0 < ℓ (v t) := hpos t ⟨hta, ht.2⟩ + calc v t = ℓ (v t) • ((ℓ (v t))⁻¹ • v t) := by rw [smul_inv_smul₀ hℓt.ne'] + _ = ℓ (v t) • ((ℓ (v b))⁻¹ • v b) := by rw [hconst t ⟨hta, htb⟩] + _ = (ℓ (v t) / ℓ (v b)) • v b := by rw [smul_smul, div_eq_mul_inv] + +end Geodesic + +end Lightlike From b1688b7dc500feef12e7ad70367257c4de5974a3 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:41:20 +0200 Subject: [PATCH 28/66] feat(TL): Jones-Wenzl projectors in any Temperley-Lieb algebra: idempotent, killed by e_i, absorbing, partial trace identity (F2) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/TemperleyLieb/JonesWenzl.lean | 221 ++++++++++++++++++++++++ 2 files changed, 222 insertions(+) create mode 100644 Lightlike/TemperleyLieb/JonesWenzl.lean diff --git a/Lightlike.lean b/Lightlike.lean index 85d013fd..72a55b78 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1938,6 +1938,7 @@ import Lightlike.Dirac.RadialEigen import Lightlike.Dirac.EigenGeneralK import Lightlike.Dirac.EigenAngular import Lightlike.TemperleyLieb.Basic +import Lightlike.TemperleyLieb.JonesWenzl import Lightlike.Dirac.ConnesDistance import Lightlike.Dirac.ConnesDistance2 import Lightlike.Dirac.ConnesDistance3 diff --git a/Lightlike/TemperleyLieb/JonesWenzl.lean b/Lightlike/TemperleyLieb/JonesWenzl.lean new file mode 100644 index 00000000..932d50d3 --- /dev/null +++ b/Lightlike/TemperleyLieb/JonesWenzl.lean @@ -0,0 +1,221 @@ +import Mathlib +import Lightlike.TemperleyLieb.Basic + +/-! +# Jones–Wenzl projectors + +In any algebra `A` with a family `e` satisfying the Temperley–Lieb relations (`IsTL δ e`), the Jones–Wenzl +projectors are `jw 0 = jw 1 = 1`, `jw (n+2) = jw (n+1) − (d_n / d_{n+1}) jw (n+1) e_n jw (n+1)` with +`d = chebD δ`. If `d_i ≠ 0` for `i < N`, then for `n ≤ N`: `jw n` is idempotent, it is annihilated by +`e_i` (left and right) for `i + 1 < n`, it commutes with `e_i` for `n ≤ i`, and it absorbs the lower +projectors (`jw m * jw n = jw n = jw n * jw m` for `m ≤ n`). Moreover +`e_n jw (n+1) e_n = (d_{n+1}/d_n) jw n e_n` (the partial trace identity, `jw_partial_trace`). + +## References + +* L. H. Kauffman, S. L. Lins, *Temperley–Lieb recoupling theory and invariants of 3-manifolds*, + Annals of Mathematics Studies 134 (1994), Chapter 3. +-/ + +namespace Lightlike.TemperleyLieb + +variable {k : Type*} [Field k] {A : Type*} [Ring A] [Algebra k A] + +/-- The Jones–Wenzl projector on `n` strands. -/ +noncomputable def jw (δ : k) (e : ℕ → A) : ℕ → A + | 0 => 1 + | 1 => 1 + | n + 2 => jw δ e (n + 1) - + (chebD δ n / chebD δ (n + 1)) • (jw δ e (n + 1) * e n * jw δ e (n + 1)) + +variable {δ : k} {e : ℕ → A} + +/-- The recursion of `jw`. -/ +theorem jw_succ_succ (n : ℕ) : jw δ e (n + 2) = jw δ e (n + 1) - + (chebD δ n / chebD δ (n + 1)) • (jw δ e (n + 1) * e n * jw δ e (n + 1)) := rfl + +/-- `eᵢ² = δ eᵢ` with scalar multiplication. -/ +theorem IsTL.sq' (he : IsTL δ e) (i : ℕ) : e i * e i = δ • e i := by + rw [he.sq, Algebra.smul_def] + +/-- The properties of `jw n`. -/ +structure JwProps (δ : k) (e : ℕ → A) (n : ℕ) : Prop where + /-- Idempotent. -/ + idem : jw δ e n * jw δ e n = jw δ e n + /-- Killed on the left by `eᵢ`, `i + 1 < n`. -/ + killL : ∀ i, i + 1 < n → e i * jw δ e n = 0 + /-- Killed on the right by `eᵢ`, `i + 1 < n`. -/ + killR : ∀ i, i + 1 < n → jw δ e n * e i = 0 + /-- Commutes with `eᵢ`, `n ≤ i`. -/ + comm : ∀ i, n ≤ i → e i * jw δ e n = jw δ e n * e i + /-- Absorbs the lower projectors on the left. -/ + absL : ∀ m, m ≤ n → jw δ e m * jw δ e n = jw δ e n + /-- Absorbs the lower projectors on the right. -/ + absR : ∀ m, m ≤ n → jw δ e n * jw δ e m = jw δ e n + +/-- `jw 0 = 1`. -/ +theorem jw_zero : jw δ e 0 = 1 := by simp [jw] + +/-- `jw 1 = 1`. -/ +theorem jw_one : jw δ e 1 = 1 := by simp [jw] + +/-- `jw m = 1` for `m ≤ 1`. -/ +theorem jw_of_le_one {m : ℕ} (h : m ≤ 1) : jw δ e m = 1 := by + rcases m with _ | _ | m + · exact jw_zero + · exact jw_one + · omega + +/-- `jw 0` has the properties. -/ +theorem jwProps_zero : JwProps δ e 0 where + idem := by simp [jw_zero] + killL := by intro i h; omega + killR := by intro i h; omega + comm := by intro i _; simp [jw_zero] + absL := by intro m hm; simp [jw_of_le_one (by omega : m ≤ 1), jw_zero] + absR := by intro m hm; simp [jw_of_le_one (by omega : m ≤ 1), jw_zero] + +/-- `jw 1` has the properties. -/ +theorem jwProps_one : JwProps δ e 1 where + idem := by simp [jw_one] + killL := by intro i h; omega + killR := by intro i h; omega + comm := by intro i _; simp [jw_one] + absL := by intro m hm; simp [jw_of_le_one hm, jw_one] + absR := by intro m hm; simp [jw_of_le_one hm, jw_one] + +/-- Partial trace identity (the index shifted by one). -/ +theorem pt_succ (he : IsTL δ e) {m : ℕ} (hp : JwProps δ e (m + 1)) (hd1 : chebD δ (m + 1) ≠ 0) : + e (m + 1) * jw δ e (m + 2) * e (m + 1) = + (chebD δ (m + 2) / chebD δ (m + 1)) • (jw δ e (m + 1) * e (m + 1)) := by + set J := jw δ e (m + 1) with hJ + have hc : e (m + 1) * J = J * e (m + 1) := hp.comm (m + 1) le_rfl + have h1 : e (m + 1) * J * e (m + 1) = δ • (J * e (m + 1)) := by + rw [hc, mul_assoc, he.sq', mul_smul_comm] + have h2 : e (m + 1) * (J * e m * J) * e (m + 1) = J * e (m + 1) := by + calc e (m + 1) * (J * e m * J) * e (m + 1) = (e (m + 1) * J) * e m * (J * e (m + 1)) := by + simp only [mul_assoc] + _ = (J * e (m + 1)) * e m * (J * e (m + 1)) := by rw [hc] + _ = J * (e (m + 1) * e m * (J * e (m + 1))) := by simp only [mul_assoc] + _ = J * (e (m + 1) * e m * (e (m + 1) * J)) := by rw [← hc] + _ = J * (e (m + 1) * e m * e (m + 1)) * J := by simp only [mul_assoc] + _ = J * e (m + 1) * J := by rw [he.braid_r] + _ = J * (J * e (m + 1)) := by rw [mul_assoc, hc] + _ = J * e (m + 1) := by rw [← mul_assoc, hp.idem] + have hrec : jw δ e (m + 2) = J - (chebD δ m / chebD δ (m + 1)) • (J * e m * J) := jw_succ_succ m + rw [hrec, mul_sub, sub_mul, mul_smul_comm, smul_mul_assoc, h1, h2, ← sub_smul] + congr 1 + rw [chebD_succ_succ] + field_simp + +/-- **Partial trace identity**: `e_n jw(n+1) e_n = (d_{n+1}/d_n) jw n e_n`. -/ +theorem jw_partial_trace (he : IsTL δ e) {n : ℕ} (hp : JwProps δ e n) (hdn : chebD δ n ≠ 0) : + e n * jw δ e (n + 1) * e n = (chebD δ (n + 1) / chebD δ n) • (jw δ e n * e n) := by + rcases n with _ | m + · simp [jw_one, jw_zero, he.sq', chebD] + · exact pt_succ he hp hdn + +/-- **The step of the Jones–Wenzl induction.** -/ +theorem jwProps_succ_succ (he : IsTL δ e) {n : ℕ} (hp0 : JwProps δ e n) (hp1 : JwProps δ e (n + 1)) + (hd0 : chebD δ n ≠ 0) (hd1 : chebD δ (n + 1) ≠ 0) : JwProps δ e (n + 2) := by + set J := jw δ e (n + 1) with hJ + set P := jw δ e n with hP + set c : k := chebD δ n / chebD δ (n + 1) with hc + set c' : k := chebD δ (n + 1) / chebD δ n with hc' + have hcc : c * c' = 1 := by rw [hc, hc']; field_simp + have hrec : jw δ e (n + 2) = J - c • (J * e n * J) := jw_succ_succ n + have hpt : e n * J * e n = c' • (P * e n) := jw_partial_trace he hp0 hd0 + have hPe : e n * P = P * e n := hp0.comm n le_rfl + have hJe : e (n + 1) * J = J * e (n + 1) := hp1.comm (n + 1) le_rfl + have hidem : J * J = J := hp1.idem + have hPJ : P * J = J := hp1.absL n (by omega) + have hJP : J * P = J := hp1.absR n (by omega) + have hXX : (J * e n * J) * (J * e n * J) = c' • (J * e n * J) := by + calc (J * e n * J) * (J * e n * J) = J * e n * (J * J) * e n * J := by noncomm_ring + _ = J * (e n * J * e n) * J := by rw [hidem]; simp only [mul_assoc] + _ = J * (c' • (P * e n)) * J := by rw [hpt] + _ = c' • (J * P * e n * J) := by simp only [mul_smul_comm, smul_mul_assoc, mul_assoc] + _ = c' • (J * e n * J) := by rw [hJP] + have hkL : ∀ i, i < n → e i * (J - c • (J * e n * J)) = 0 := by + intro i hi + have h0 : e i * J = 0 := hp1.killL i (by omega) + simp only [mul_sub, mul_smul_comm, ← mul_assoc, h0, zero_mul, smul_zero, sub_zero] + have hkR : ∀ i, i < n → (J - c • (J * e n * J)) * e i = 0 := by + intro i hi + have h0 : J * e i = 0 := hp1.killR i (by omega) + simp only [sub_mul, smul_mul_assoc, mul_assoc, h0, mul_zero, smul_zero, sub_zero] + have hidem2 : jw δ e (n + 2) * jw δ e (n + 2) = jw δ e (n + 2) := by + rw [hrec] + have hJX : J * (J * e n * J) = J * e n * J := by simp only [← mul_assoc, hidem] + have hXJ : (J * e n * J) * J = J * e n * J := by simp only [mul_assoc, hidem] + simp only [mul_sub, sub_mul, mul_smul_comm, smul_mul_assoc, hidem, hJX, hXJ, hXX, smul_smul, hcc, + one_smul] + module + refine ⟨hidem2, ?_, ?_, ?_, ?_, ?_⟩ + · intro i hi + rw [hrec] + rcases Nat.lt_succ_iff_lt_or_eq.mp (by omega : i < n + 1) with h | h + · exact hkL i h + · subst h + have : e i * (J * e i * J) = c' • (P * e i * J) := by + calc e i * (J * e i * J) = (e i * J * e i) * J := by simp only [mul_assoc] + _ = c' • (P * e i * J) := by rw [hpt, smul_mul_assoc] + have h3 : P * e i * J = e i * J := by + rw [← hPe, mul_assoc, hPJ] + rw [mul_sub, mul_smul_comm, this, h3, smul_smul, hcc, one_smul, sub_self] + · intro i hi + rw [hrec] + rcases Nat.lt_succ_iff_lt_or_eq.mp (by omega : i < n + 1) with h | h + · exact hkR i h + · subst h + have : (J * e i * J) * e i = c' • (J * P * e i) := by + calc (J * e i * J) * e i = J * (e i * J * e i) := by simp only [mul_assoc] + _ = c' • (J * P * e i) := by rw [hpt, mul_smul_comm, ← mul_assoc] + rw [sub_mul, smul_mul_assoc, this, smul_smul, hJP] + have : c * c' = 1 := hcc + rw [this, one_smul, sub_self] + · intro i hi + rw [hrec] + have hi1 : e i * J = J * e i := hp1.comm i (by omega) + have hin : e i * e n = e n * e i := (he.comm n i (by omega)).symm + simp only [mul_sub, sub_mul, mul_smul_comm, smul_mul_assoc] + congr 2 + calc e i * (J * e n * J) = (e i * J) * e n * J := by simp only [mul_assoc] + _ = J * (e i * e n) * J := by rw [hi1]; simp only [mul_assoc] + _ = J * (e n * e i) * J := by rw [hin] + _ = J * e n * (e i * J) := by simp only [mul_assoc] + _ = J * e n * (J * e i) := by rw [hi1] + _ = (J * e n * J) * e i := by simp only [mul_assoc] + · intro m hm + rcases Nat.lt_or_eq_of_le hm with h | h + · rw [hrec] + have hmJ : jw δ e m * J = J := hp1.absL m (by omega) + simp only [mul_sub, mul_smul_comm, ← mul_assoc, hmJ] + · subst h + exact hidem2 + · intro m hm + rcases Nat.lt_or_eq_of_le hm with h | h + · rw [hrec] + have hmJ' : J * jw δ e m = J := hp1.absR m (by omega) + rw [sub_mul, smul_mul_assoc, mul_assoc (J * e n) J (jw δ e m), hmJ'] + · subst h + exact hidem2 + +/-- **Jones–Wenzl projectors exist and have the standard properties up to `N`**: if `d_i ≠ 0` for `i < N`, +then `JwProps δ e n` holds for every `n ≤ N`. -/ +theorem jwProps_of_le (he : IsTL δ e) (N : ℕ) (hd : ∀ i, i < N → chebD δ i ≠ 0) : + ∀ n, n ≤ N → JwProps δ e n := by + have key : ∀ n, n + 1 ≤ N → JwProps δ e n ∧ JwProps δ e (n + 1) := by + intro n + induction n with + | zero => intro _; exact ⟨jwProps_zero, jwProps_one⟩ + | succ n ih => + intro hn + obtain ⟨h0, h1⟩ := ih (by omega) + exact ⟨h1, jwProps_succ_succ he h0 h1 (hd n (by omega)) (hd (n + 1) (by omega))⟩ + intro n hn + rcases n with _ | n + · exact jwProps_zero + · exact (key n (by omega)).2 + +end Lightlike.TemperleyLieb From 7c98af67926e9889855b202691dca75d884f3d10 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:52:03 +0200 Subject: [PATCH 29/66] feat(g1-012): local null rigidity of causal curves of M in a future time ball (chart_curve_data, radial_mem_chronFuture, local_null_rigidity) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Rows/G1_012/LocalGenerators.lean | 429 +++++++++++++++++++++ 1 file changed, 429 insertions(+) create mode 100644 Lightlike/Rows/G1_012/LocalGenerators.lean diff --git a/Lightlike/Rows/G1_012/LocalGenerators.lean b/Lightlike/Rows/G1_012/LocalGenerators.lean new file mode 100644 index 00000000..2575c9eb --- /dev/null +++ b/Lightlike/Rows/G1_012/LocalGenerators.lean @@ -0,0 +1,429 @@ +import Lightlike.Rows.G1_012.Orthogonality +import Lightlike.Geodesic.NullRigidity +import Lightlike.Geodesic.UniformTimeBall +import Lightlike.Spacetime.CausalLadder.ChartVelocity +import Lightlike.Spacetime.CausalLadder.ChartLipschitz + +/-! +# Local structure of the generators of `∂J⁺(S)` (G1-012) + +A future causal curve `β` that stays in the source of the chart at `x` has, in that chart, a +Lipschitz expression `u = extChartAt x ∘ β` whose derivative is almost everywhere a nonzero causal +vector of the coordinate metric, pointing to the future of the time orientation field in +coordinates (`chart_curve_data`). This is the input of the time-ball estimates of +`Lightlike.Geodesic.IsTimeBall.causal_cone` and `IsTimeBall.null_rigidity`. +-/ + +open Bundle Manifold Set Filter Topology MeasureTheory +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- **Chart data of a future causal curve.** A future causal curve on `[a, b]` inside the source of +the chart at `x` has a Lipschitz chart expression `u = extChartAt x ∘ β`, with, almost everywhere, +`u'` nonzero, `g_c(u)(u', u') ≤ 0` and `g_c(u)(u', X_c(u)) < 0`, where `g_c` is the coordinate metric +and `X_c = timeCoord T x` the time orientation field in coordinates. -/ +theorem chart_curve_data (T : Causal.TimeOrientation g) (x : M) {β : ℝ → M} {a b : ℝ} + (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) + (hsrc : ∀ t ∈ Icc a b, β t ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) : + ∃ K : NNReal, LipschitzOnWith K (extChartAt 𝓘(ℝ, Fin n → ℝ) x ∘ β) (Icc a b) ∧ + ∀ᵐ t, t ∈ Ioo a b → ∃ u' : Fin n → ℝ, + HasDerivAt (extChartAt 𝓘(ℝ, Fin n → ℝ) x ∘ β) u' t ∧ u' ≠ 0 ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t)) u' u' + ≤ 0 ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t)) u' + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t))) < 0 := by + obtain ⟨K, hK⟩ := Causal.exists_lipschitzOnWith_chart_comp hβ.lipschitz x hsrc + refine ⟨K, hK, ?_⟩ + have hae := (ae_restrict_iff' measurableSet_Icc).1 hβ.ae_velocity + filter_upwards [hae] with t ht hmt + obtain ⟨hmd, hP⟩ := ht ⟨hmt.1.le, hmt.2.le⟩ + have hs := hsrc t ⟨hmt.1.le, hmt.2.le⟩ + have hder := Causal.hasDerivWithinAt_chart_comp (I := 𝓘(ℝ, Fin n → ℝ)) x hmd hs + refine ⟨_, hder.hasDerivAt (Icc_mem_nhds hmt.1 hmt.2), ?_⟩ + set D := (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨β t, Causal.velocity 𝓘(ℝ, Fin n → ℝ) β (Icc a b) t⟩).2 + with hD + have hvq := eq_symmL_of_tTriv x (β t) (mem_baseSet_of_mem_source x (β t) hs) _ hD.symm + have hXq := timeOrientation_eq_symmL T x (β t) hs + obtain ⟨hne, hle, hfut⟩ := hP + refine ⟨?_, ?_, ?_⟩ + · intro h0 + apply hne + rw [hvq, h0, map_zero] + · rw [hvq, metric_eq_bil_at g.toNondegMetric x (β t) hs] at hle + rw [pairing_eq_bil] + exact hle + · rw [hvq, hXq, metric_eq_bil_at g.toNondegMetric x (β t) hs] at hfut + rw [pairing_eq_bil] + exact hfut + + +end Lightlike.Penrose + +namespace Lightlike + +variable {V : Type*} [AddCommGroup V] [Module ℝ V] [TopologicalSpace V] {m : ℕ} + {B : V →L[ℝ] V →L[ℝ] ℝ} + +/-- **A timelike vector with negative product with a future timelike vector is future directed**: +`B V V < 0`, `B N N < 0`, `B N X < 0` and `B V N < 0` give `B V X < 0`. -/ +theorem IsLorentzianForm.neg_of_neg_pair (h : IsLorentzianForm m B) {X N W : V} + (hX : B X X < 0) (hN : B N N < 0) (hNX : B N X < 0) (hW : B W W < 0) (hWN : B W N < 0) : + B W X < 0 := by + have hsymm := h.symm + by_contra hcon + push_neg at hcon + rcases hcon.eq_or_lt with h0 | hpos + · have := h.eq_zero_of_orthogonal_timelike (X := X) hX h0.symm hW.le + rw [this] at hW + simp at hW + · have hnW : B (-W) (-W) < 0 := by simpa using hW + have h1 : B (-W) X < 0 := by simpa using hpos + have := h.neg_of_futureTimelike hX hnW hN h1 hNX + have e : B (-W) N = -B W N := by simp + linarith + +/-- **A future causal nonzero vector has negative product with a future timelike vector**: +`B N N < 0`, `B N X < 0`, `B u u ≤ 0`, `B u X < 0`, `u ≠ 0` give `B u N < 0`. -/ +theorem IsLorentzianForm.neg_of_causal_of_timelike (h : IsLorentzianForm m B) {X N u : V} + (hX : B X X < 0) (hN : B N N < 0) (hNX : B N X < 0) (hu : B u u ≤ 0) (huX : B u X < 0) + (hne : u ≠ 0) : B u N < 0 := by + have hle := h.nonpos_of_futureCausal hX hu hN.le huX hNX + by_contra hcon + have h0 : B u N = 0 := le_antisymm hle (not_lt.1 hcon) + exact hne (h.eq_zero_of_orthogonal_timelike (X := N) hN h0 hu) + +end Lightlike + +open Metric + +namespace Lightlike.Geodesic + +/-- The composition of a `C¹` map on an open set with a Lipschitz curve in it is Lipschitz on a +compact interval. -/ +theorem exists_lipschitzOnWith_comp_contDiffOn {E F : Type*} [NormedAddCommGroup E] + [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] {f : E → F} {T : Set E} + (hT : IsOpen T) (hf : ContDiffOn ℝ 1 f T) {u : ℝ → E} {a b : ℝ} {K : NNReal} + (hu : LipschitzOnWith K u (Icc a b)) (hmaps : ∀ t ∈ Icc a b, u t ∈ T) : + ∃ K' : NNReal, LipschitzOnWith K' (f ∘ u) (Icc a b) := by + have hloc : LocallyLipschitzOn (Icc a b) (f ∘ u) := by + intro t ht + obtain ⟨K1, W, hW, hlip⟩ := ((hf.contDiffAt (hT.mem_nhds (hmaps t ht)))).exists_lipschitzOnWith + have hV : u ⁻¹' W ∈ 𝓝[Icc a b] t := + (hu.continuousOn.continuousWithinAt ht).preimage_mem_nhdsWithin hW + refine ⟨K1 * K, u ⁻¹' W ∩ Icc a b, inter_mem hV self_mem_nhdsWithin, ?_⟩ + exact hlip.comp (hu.mono inter_subset_right) (fun s hs => hs.1) + exact hloc.exists_lipschitzOnWith_of_compact isCompact_Icc + +end Lightlike.Geodesic + +namespace Lightlike.Geodesic + +variable {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + +/-- **A time ball whose gradient field is future directed.** For a coordinate metric on `U`, a +continuous timelike vector field `X` on `U` and `p ∈ U`, there is a time ball at `p` with +`e = X p` whose field `N` is timelike and satisfies `g(N, X) < 0` on the ball: `N` and `X` lie in the +same half of the timelike cone. -/ +theorem exists_future_timeBall (hg : Lightlike.IsCoordMetric g U) {X : (Fin n → ℝ) → Fin n → ℝ} + (hX : ContinuousOn X U) (hXt : ∀ y ∈ U, pairing g y (X y) (X y) < 0) {p : Fin n → ℝ} + (hp : p ∈ U) : + ∃ (ρ : ℝ) (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) (r : ℝ) + (N : (Fin n → ℝ) → Fin n → ℝ), IsTimeBall g U p ρ φ (X p) r N ∧ + ∀ v ∈ ball (0 : Fin n → ℝ) r, pairing g (φ v) (N v) (X (φ v)) < 0 := by + obtain ⟨ρ, φ, hφ⟩ := exists_isNormalChart hg hp + obtain ⟨hdual, hN0, hNc⟩ := timeField_props (e := X p) hg hφ hp + have hρ := hφ.pos + have hsrc : ∀ v ∈ ball (0 : Fin n → ℝ) ρ, v ∈ φ.source := fun v hv => by + rw [hφ.source_eq]; exact hv + have hmapU : ∀ v ∈ ball (0 : Fin n → ℝ) ρ, φ v ∈ U := fun v hv => + hφ.target_subset (φ.map_source (hsrc v hv)) + have hφc : ContinuousOn φ (ball 0 ρ) := hφ.source_eq ▸ hφ.contDiffOn.continuousOn + have hGc : ∀ i j, ContinuousOn (fun v => g (φ v) i j) (ball 0 ρ) := fun i j => + (hg.smooth i j).continuousOn.comp hφc fun v hv => hmapU v hv + have hXφ : ContinuousOn (fun v => X (φ v)) (ball 0 ρ) := + hX.comp hφc fun v hv => hmapU v hv + have hF : ∀ (A B : (Fin n → ℝ) → Fin n → ℝ), ContinuousOn A (ball 0 ρ) → + ContinuousOn B (ball 0 ρ) → + ContinuousOn (fun v => pairing g (φ v) (A v) (B v)) (ball 0 ρ) := by + intro A B hA hB + simp only [pairing] + refine continuousOn_finsetSum _ fun i _ => continuousOn_finsetSum _ fun j _ => ?_ + exact ((continuous_apply i).comp_continuousOn hA).mul + ((hGc i j).mul ((continuous_apply j).comp_continuousOn hB)) + have hF1 := hF _ _ hNc hNc + have hF2 := hF _ _ hNc hXφ + have h0 : (0 : Fin n → ℝ) ∈ ball (0 : Fin n → ℝ) ρ := mem_ball_self hρ + have hat1 : ContinuousAt (fun v => pairing g (φ v) (timeField g p (X p) φ v) + (timeField g p (X p) φ v)) 0 := hF1.continuousAt (isOpen_ball.mem_nhds h0) + have hat2 : ContinuousAt (fun v => pairing g (φ v) (timeField g p (X p) φ v) (X (φ v))) 0 := + hF2.continuousAt (isOpen_ball.mem_nhds h0) + have hv1 : pairing g (φ 0) (timeField g p (X p) φ 0) (timeField g p (X p) φ 0) < 0 := by + rw [hN0, hφ.map_zero]; exact hXt p hp + have hv2 : pairing g (φ 0) (timeField g p (X p) φ 0) (X (φ 0)) < 0 := by + rw [hN0, hφ.map_zero]; exact hXt p hp + obtain ⟨ε₁, hε₁, hb₁⟩ := Metric.eventually_nhds_iff_ball.1 (hat1.eventually (gt_mem_nhds hv1)) + obtain ⟨ε₂, hε₂, hb₂⟩ := Metric.eventually_nhds_iff_ball.1 (hat2.eventually (gt_mem_nhds hv2)) + have hρle : min (min ε₁ ε₂) ρ ≤ ρ := min_le_right _ _ + have hsub : ball (0 : Fin n → ℝ) (min (min ε₁ ε₂) ρ) ⊆ ball 0 ρ := ball_subset_ball hρle + have hsub1 : ball (0 : Fin n → ℝ) (min (min ε₁ ε₂) ρ) ⊆ ball 0 ε₁ := + ball_subset_ball ((min_le_left _ _).trans (min_le_left _ _)) + have hsub2 : ball (0 : Fin n → ℝ) (min (min ε₁ ε₂) ρ) ⊆ ball 0 ε₂ := + ball_subset_ball ((min_le_left _ _).trans (min_le_right _ _)) + refine ⟨ρ, φ, min (min ε₁ ε₂) ρ, timeField g p (X p) φ, + ⟨hφ, lt_min (lt_min hε₁ hε₂) hρ, hρle, hXt p hp, fun v hv w => hdual v (hsub hv) w, + fun v hv => hb₁ v (hsub1 hv), hNc.mono hsub⟩, fun v hv => hb₂ v (hsub2 hv)⟩ + +end Lightlike.Geodesic + +namespace Lightlike.Penrose + +open Metric + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- The pairing of the radial velocity `Dφ(s w) w` with itself is `σ_p(w)`. -/ +theorem radial_pairing {gc : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + (hg : IsCoordMetric gc U) {p : Fin n → ℝ} {ρ : ℝ} + {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} + (h : Lightlike.Geodesic.IsNormalChart gc U p ρ φ) {w : Fin n → ℝ} {s : ℝ} (hs : 0 ≤ s) + (hs1 : s ≤ 1) (hw : w ∈ ball (0 : Fin n → ℝ) ρ) : + Lightlike.Geodesic.pairing gc (φ (s • w)) (fderiv ℝ φ (s • w) w) (fderiv ℝ φ (s • w) w) = + Lightlike.Geodesic.pairing gc p w w := by + have hsw : s • w ∈ ball (0 : Fin n → ℝ) ρ := by + rw [mem_ball_zero_iff] at hw ⊢ + rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg hs] + nlinarith [norm_nonneg w] + rcases hs.eq_or_lt with rfl | hpos + · simp only [zero_smul] + rw [h.hasFDerivAt_zero.fderiv, h.map_zero] + rfl + · have := h.gauss hg hsw (s • w) + rw [map_smul, Lightlike.Geodesic.pairing_smul_left, Lightlike.Geodesic.pairing_smul_right, + Lightlike.Geodesic.pairing_smul_left, Lightlike.Geodesic.pairing_smul_right] at this + have hs0 : s ≠ 0 := hpos.ne' + have := mul_left_cancel₀ hs0 (mul_left_cancel₀ hs0 this) + exact this + +/-- The time orientation field in chart coordinates is timelike for the coordinate metric. -/ +theorem timeCoord_timelike (T : Causal.TimeOrientation g) (x : M) {y : Fin n → ℝ} + (hy : y ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target) : + Lightlike.Geodesic.pairing (g.coordMetric x) y (timeCoord T x y) (timeCoord T x y) < 0 := by + set q := (extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm y with hq + have hqs : q ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source := + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).map_target hy + have hyq : extChartAt 𝓘(ℝ, Fin n → ℝ) x q = y := (extChartAt 𝓘(ℝ, Fin n → ℝ) x).right_inv hy + have h1 := T.timelike q + rw [timeOrientation_eq_symmL T x q hqs, metric_eq_bil_at g.toNondegMetric x q hqs, hyq] at h1 + rw [pairing_eq_bil] + exact h1 + +/-- **A radial timelike segment in a future time ball is a timelike curve of `M`.** In the time +ball at `p` (chart coordinates of the chart at `x`), if `σ_p(w) < 0` and `x⁰(w) > 0`, then the point +`φ w` is in the chronological future of the centre. -/ +theorem radial_mem_chronFuture (T : Causal.TimeOrientation g) (x : M) {p : Fin n → ℝ} {ρ r : ℝ} + {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} + (hTB : Lightlike.Geodesic.IsTimeBall (g.coordMetric x) + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target p ρ φ (timeCoord T x p) r N) + (hfutN : ∀ v ∈ ball (0 : Fin n → ℝ) r, Lightlike.Geodesic.pairing (g.coordMetric x) (φ v) (N v) + (timeCoord T x (φ v)) < 0) + {w : Fin n → ℝ} (hw : w ∈ ball (0 : Fin n → ℝ) r) + (hσ : Lightlike.Geodesic.pairing (g.coordMetric x) p w w < 0) + (hx0 : Lightlike.Geodesic.pairing (g.coordMetric x) p (timeCoord T x p) w < 0) : + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm (φ w) ∈ + Causal.chronFuture T ((extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm p) := by + have hL := g.isLorentzianCoordMetric_coordMetric x + have hg := hL.1 + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + set c : ℝ → Fin n → ℝ := fun s => φ (s • w) with hc + set c' : ℝ → Fin n → ℝ := fun s => fderiv ℝ φ (s • w) w with hc' + have hmemr : ∀ s ∈ Icc (0 : ℝ) 1, s • w ∈ ball (0 : Fin n → ℝ) r := by + intro s hs + have hw' := mem_ball_zero_iff.1 hw + rw [mem_ball_zero_iff, norm_smul, Real.norm_eq_abs, abs_of_nonneg hs.1] + nlinarith [norm_nonneg w, hs.2, hs.1] + set O : Set ℝ := (fun s : ℝ => s • w) ⁻¹' ball (0 : Fin n → ℝ) r with hO + have hOo : IsOpen O := isOpen_ball.preimage (by fun_prop) + have hIO : Icc (0 : ℝ) 1 ⊆ O := hmemr + have hφd : ∀ s ∈ O, HasDerivAt c (c' s) s := by + intro s hs + have hsrc : s • w ∈ φ.source := hTB.mem_source hs + have hdφ : HasFDerivAt φ (fderiv ℝ φ (s • w)) (s • w) := + ((hTB.chart.contDiffOn.contDiffAt (φ.open_source.mem_nhds hsrc)).differentiableAt + (by simp)).hasFDerivAt + have hin : HasDerivAt (fun s : ℝ => s • w) w s := by + simpa using (hasDerivAt_id s).smul_const w + exact hdφ.comp_hasDerivAt s hin + have hcC1 : ContDiffOn ℝ 1 c O := by + have hφcd : ContDiffOn ℝ ∞ φ (ball 0 r) := by + have := hTB.chart.contDiffOn + rw [hTB.chart.source_eq] at this + exact this.mono (ball_subset_ball hTB.le) + have h2 : ContDiffOn ℝ ∞ (fun s : ℝ => s • w) O := (by fun_prop : ContDiff ℝ ∞ fun s : ℝ => s • w).contDiffOn + exact (hφcd.comp h2 (fun s hs => hs)).of_le (by exact_mod_cast le_top) + have htarget : ∀ s ∈ O, c s ∈ ψ.target := fun s hs => + hTB.chart.target_subset (φ.map_source (hTB.mem_source hs)) + set C : ℝ → M := fun s => ψ.symm (c s) with hC + have hCsm : ContMDiffOn 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) 1 C (Icc 0 1) := + (contMDiffOn_extChartAt_symm x).comp (hcC1.contMDiffOn.mono hIO) (fun s hs => htarget s (hIO hs)) + have hCvel : ∀ s ∈ Icc (0 : ℝ) 1, (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x + ⟨C s, Causal.velocity 𝓘(ℝ, Fin n → ℝ) C (Icc 0 1) s⟩).2 = c' s := fun s hs => + (Causal.mdifferentiableWithinAt_chart_symm (I := 𝓘(ℝ, Fin n → ℝ)) x + (uniqueDiffOn_Icc zero_lt_one s hs) hs (hφd s (hIO hs)).hasDerivWithinAt + (fun s hs => htarget s (hIO hs))).2 + have hCsrc : ∀ s ∈ Icc (0 : ℝ) 1, C s ∈ ψ.source := fun s hs => ψ.map_target (htarget s (hIO hs)) + have hψC : ∀ s ∈ Icc (0 : ℝ) 1, ψ (C s) = c s := fun s hs => ψ.right_inv (htarget s (hIO hs)) + have hTL : ∀ s ∈ Icc (0 : ℝ) 1, + T.IsFutureTimelike (Causal.velocity 𝓘(ℝ, Fin n → ℝ) C (Icc 0 1) s) := by + intro s hs + have hvq := eq_symmL_of_tTriv x (C s) (mem_baseSet_of_mem_source _ _ (hCsrc s hs)) _ (hCvel s hs) + have hXC := timeOrientation_eq_symmL T x (C s) (hCsrc s hs) + rw [hψC s hs] at hXC + unfold Causal.TimeOrientation.IsFutureTimelike + rw [hvq, hXC, metric_eq_bil_at g.toNondegMetric x (C s) (hCsrc s hs), + metric_eq_bil_at g.toNondegMetric x (C s) (hCsrc s hs), hψC s hs] + have hy : c s ∈ ψ.target := htarget s (hIO hs) + have hLf := Lightlike.Geodesic.isLorentzianForm_matForm hL (hTB.chart.target_subset (φ.map_source + (hTB.mem_source (hIO hs))) : c s ∈ ψ.target) + have hq : ∀ a b, Lightlike.Geodesic.pairing (g.coordMetric x) (c s) a b = + matForm (g.coordMetric x (c s)) a b := fun a b => Lightlike.Geodesic.pairing_eq_matForm _ _ a b + have hσs : Lightlike.Geodesic.pairing (g.coordMetric x) (c s) (c' s) (c' s) < 0 := by + rw [← radial_pairing hg hTB.chart hs.1 hs.2 (hTB.mem_ball hw)] at hσ + exact hσ + have hdual : Lightlike.Geodesic.pairing (g.coordMetric x) (c s) (N (s • w)) (c' s) < 0 := by + rw [hTB.dual _ (hmemr s hs)]; exact hx0 + have hNN := hTB.timelike _ (hmemr s hs) + have hNX := hfutN _ (hmemr s hs) + have hXX := timeCoord_timelike T x hy + refine ⟨by rw [← pairing_eq_bil]; exact hσs, ?_⟩ + have := hLf.neg_of_neg_pair (X := timeCoord T x (c s)) (N := N (s • w)) (W := c' s) + (by rw [← hq]; exact hXX) (by rw [← hq]; exact hNN) (by rw [← hq]; exact hNX) + (by rw [← hq]; exact hσs) (by rw [← hq, Lightlike.Geodesic.pairing_comm hg hy]; exact hdual) + rw [← pairing_eq_bil, hq] + exact this + have hcurve : Causal.IsFutureTimelikeCurve T C (Icc 0 1) := + Causal.isFutureTimelikeCurve_of_contMDiffOn T zero_lt_one hCsm hTL + refine ⟨C, 0, 1, zero_lt_one, hcurve, ?_, ?_⟩ + · simp only [hC, hc, zero_smul] + rw [hTB.chart.map_zero] + · simp only [hC, hc, one_smul] + +/-- **Local rigidity of a causal curve of `M` that does not enter `I⁺` of its start point.** Let `β` +be a future causal curve on `[a, b]` in the source of the chart at `x`, inside the future time ball +at `ψ (β a)`, with `β b ∉ I⁺(β a)`. Then `β b` is on the null cone of `β a` (`σ_p(v b) = 0`) and +`β` is, in normal coordinates, a monotone reparametrisation of the radial null geodesic: +`ψ (β t) = φ (lam t • vb)` with `lam` monotone from `0` to `1`. -/ +theorem local_null_rigidity (T : Causal.TimeOrientation g) (x : M) {β : ℝ → M} {a b : ℝ} + (hab : a < b) (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) + (hsrc : ∀ t ∈ Icc a b, β t ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) {ρ r : ℝ} + {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} + (hTB : Lightlike.Geodesic.IsTimeBall (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target + (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a)) ρ φ + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a))) r N) + (hfutN : ∀ v ∈ ball (0 : Fin n → ℝ) r, Lightlike.Geodesic.pairing (g.coordMetric x) (φ v) (N v) + (timeCoord T x (φ v)) < 0) + (hin : ∀ t ∈ Icc a b, extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t) ∈ φ '' ball (0 : Fin n → ℝ) r) + (hb : β b ∉ Causal.chronFuture T (β a)) : + ∃ (lam : ℝ → ℝ) (vb : Fin n → ℝ), vb ∈ ball (0 : Fin n → ℝ) r ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a)) vb vb = 0 ∧ + lam a = 0 ∧ lam b = 1 ∧ MonotoneOn lam (Icc a b) ∧ + ∀ t ∈ Icc a b, extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t) = φ (lam t • vb) := by + have hL := g.isLorentzianCoordMetric_coordMetric x + have hg := hL.1 + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + set p := ψ (β a) with hp + set u : ℝ → Fin n → ℝ := fun t => ψ (β t) with hu + obtain ⟨K, hK, hae⟩ := chart_curve_data T x hβ hsrc + have hpU : p ∈ ψ.target := ψ.map_source (hsrc a ⟨le_rfl, hab.le⟩) + set v : ℝ → Fin n → ℝ := fun t => φ.symm (u t) with hv + have hvball : ∀ t ∈ Icc a b, v t ∈ ball (0 : Fin n → ℝ) r ∧ φ (v t) = u t := by + intro t ht + obtain ⟨w, hw, hwt⟩ := hin t ht + have : v t = w := by + simp only [hv, hu] + rw [← hwt] + exact φ.left_inv (hTB.mem_source hw) + exact ⟨this ▸ hw, by rw [this]; exact hwt⟩ + have hmaps : ∀ t ∈ Icc a b, u t ∈ φ.target := by + intro t ht + obtain ⟨hvb, hφv⟩ := hvball t ht + rw [← hφv] + exact φ.map_source (hTB.mem_source hvb) + obtain ⟨K', hvL⟩ := Lightlike.Geodesic.exists_lipschitzOnWith_comp_contDiffOn φ.open_target + (hTB.chart.contDiffOn_symm.of_le (by exact_mod_cast le_top)) hK hmaps + have hvL : LipschitzOnWith K' v (Icc a b) := hvL + have hva : v a = 0 := by + have : v a = φ.symm p := rfl + rw [this, ← hTB.chart.map_zero] + exact φ.left_inv (hTB.mem_source (mem_ball_self hTB.pos)) + have hd : ∀ᵐ t, t ∈ Ioo a b → ∃ v' : Fin n → ℝ, HasDerivAt v v' t ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) (φ (v t)) (fderiv ℝ φ (v t) v') + (fderiv ℝ φ (v t) v') ≤ 0 ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) (φ (v t)) (N (v t)) (fderiv ℝ φ (v t) v') < 0 := by + filter_upwards [hae] with t ht hmt + obtain ⟨u', hu', hne, hle, hfut⟩ := ht hmt + have htI : t ∈ Icc a b := Ioo_subset_Icc_self hmt + obtain ⟨hvb, hφv⟩ := hvball t htI + obtain ⟨D, hD, hDφ, -⟩ := hTB.exists_fderiv_symm hvb + have hD' : HasFDerivAt φ.symm D (u t) := by rw [← hφv]; exact hD + refine ⟨D u', hD'.comp_hasDerivAt t hu', ?_⟩ + rw [hDφ u', hφv] + have hy : u t ∈ ψ.target := ψ.map_source (hsrc t htI) + have hLf := Lightlike.Geodesic.isLorentzianForm_matForm hL hy + have hq : ∀ a b, Lightlike.Geodesic.pairing (g.coordMetric x) (u t) a b = + matForm (g.coordMetric x (u t)) a b := fun a b => + Lightlike.Geodesic.pairing_eq_matForm _ _ a b + refine ⟨hle, ?_⟩ + have hNN := hTB.timelike _ hvb + have hNX := hfutN _ hvb + rw [hφv] at hNN hNX + have := hLf.neg_of_causal_of_timelike (X := timeCoord T x (u t)) (N := N (v t)) (u := u') + (by rw [← hq]; exact timeCoord_timelike T x hy) (by rw [← hq]; exact hNN) + (by rw [← hq]; exact hNX) (by rw [← hq]; exact hle) (by rw [← hq]; exact hfut) hne + rw [Lightlike.Geodesic.pairing_comm hg hy, hq] + exact this + -- `σ_p ≤ 0` and `x⁰ ≥ 0` at the end + have hcone := hTB.causal_cone hL hab.le hvL (fun t ht => (hvball t ht).1) hva (by + filter_upwards [hd] with t ht hmt + obtain ⟨v', hv', h1, h2⟩ := ht hmt + exact ⟨v', hv', h1, h2⟩) + have hvb := (hvball b ⟨hab.le, le_rfl⟩) + have hnull : Lightlike.Geodesic.pairing (g.coordMetric x) p (v b) (v b) = 0 := by + by_contra hne + have hlt : Lightlike.Geodesic.pairing (g.coordMetric x) p (v b) (v b) < 0 := + lt_of_le_of_ne hcone.1 hne + have hx0 : Lightlike.Geodesic.pairing (g.coordMetric x) p (timeCoord T x p) (v b) < 0 := by + rcases lt_or_eq_of_le hcone.2 with h | h + · linarith + · exfalso + have hLf := Lightlike.Geodesic.isLorentzianForm_matForm hL hpU + have hq : ∀ a b, Lightlike.Geodesic.pairing (g.coordMetric x) p a b = + matForm (g.coordMetric x p) a b := fun a b => + Lightlike.Geodesic.pairing_eq_matForm _ _ a b + have h0 : matForm (g.coordMetric x p) (v b) (timeCoord T x p) = 0 := by + rw [← hq, Lightlike.Geodesic.pairing_comm hg hpU]; linarith + have := hLf.eq_zero_of_orthogonal_timelike (X := timeCoord T x p) + (by rw [← hq]; exact timeCoord_timelike T x hpU) h0 (by rw [← hq]; exact hcone.1) + rw [this] at hlt + simp [Lightlike.Geodesic.pairing] at hlt + have hmem := radial_mem_chronFuture T x hTB hfutN hvb.1 hlt hx0 + rw [hvb.2] at hmem + have e1 : ψ.symm (u b) = β b := ψ.left_inv (hsrc b ⟨hab.le, le_rfl⟩) + have e2 : ψ.symm p = β a := ψ.left_inv (hsrc a ⟨le_rfl, hab.le⟩) + rw [e1, e2] at hmem + exact hb hmem + obtain ⟨lam, hl0, hl1, hmono, hlam⟩ := hTB.null_rigidity hL hab hvL + (fun t ht => (hvball t ht).1) hva (by + filter_upwards [hd] with t ht hmt + obtain ⟨v', hv', h1, h2⟩ := ht hmt + exact ⟨v', hv', h1, h2⟩) hnull + refine ⟨lam, v b, hvb.1, hnull, hl0, hl1, hmono, fun t ht => ?_⟩ + rw [← hlam t ht, (hvball t ht).2] + +end Lightlike.Penrose From eb5a1353180dcd23a1964b144d5b8a94f567a0a9 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:52:12 +0200 Subject: [PATCH 30/66] feat(GE5): the decay condition from boundedness at the pole; completeness in the angular polynomial class with regularity Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/Dirac/EigenPole.lean | 228 +++++++++++++++++++++++++++++++++ docs/results.yaml | 13 ++ 3 files changed, 242 insertions(+) create mode 100644 Lightlike/Dirac/EigenPole.lean diff --git a/Lightlike.lean b/Lightlike.lean index e7e3ac78..88a86917 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1937,6 +1937,7 @@ import Lightlike.Dirac.ConformalDirac import Lightlike.Dirac.RadialEigen import Lightlike.Dirac.EigenGeneralK import Lightlike.Dirac.EigenAngular +import Lightlike.Dirac.EigenPole import Lightlike.Dirac.ConnesDistance import Lightlike.Dirac.ConnesDistance2 import Lightlike.Dirac.ConnesDistance3 diff --git a/Lightlike/Dirac/EigenPole.lean b/Lightlike/Dirac/EigenPole.lean new file mode 100644 index 00000000..57f1c908 --- /dev/null +++ b/Lightlike/Dirac/EigenPole.lean @@ -0,0 +1,228 @@ +import Mathlib +import Lightlike.Dirac.EigenAngular + +/-! +# Regularity at the pole for the angular modes + +In the stereographic chart the spinor `f = h^{1/2} g` of the sphere has the same norm as `g` seen from the +sphere frame times `h^{1/2}`. A spinor of the sphere that extends continuously over the pole is bounded; for the +angular spinors `g = angG v n s G F` this bound forces the decay condition `n + 1 ≤ s` used in +`angular_class_complete`. This file derives that condition (`decay_of_bounded`): boundedness of +`h^{1/2} g` plus the radial equation give `n + 1 ≤ s`, with no extra assumption. +-/ + +namespace Lightlike.Dirac + +open Polynomial + +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + +/-- The radial equation from the two polynomial identities. -/ +lemma odeOp_of_ha_hb (n s : ℕ) (G F : ℝ[X]) (lam : ℝ) + (ha : psiPoly ((n : ℝ) + 1) (s : ℝ) G = C lam * F) + (hb : -((1 + X) * F.derivative - C (s : ℝ) * F) = C lam * G) : + odeOp ((n : ℝ) + 1) (s : ℝ) (lam ^ 2) G = 0 := by + have h1 : (1 + X) * (psiPoly ((n : ℝ) + 1) (s : ℝ) G).derivative - + C (s : ℝ) * psiPoly ((n : ℝ) + 1) (s : ℝ) G = -(C lam * (C lam * G)) := by + rw [ha, derivative_mul, derivative_C, zero_mul, zero_add] + linear_combination (-(C lam : ℝ[X])) * hb + unfold odeOp + rw [C_pow] + linear_combination h1 + +/-- **Top coefficient of the radial equation**: a nonzero solution of degree `D` has level `s = D + 1` +or `s = (n + 1) + D`. -/ +lemma level_of_degree (n s : ℕ) (G : ℝ[X]) (hG : G ≠ 0) (lam2 : ℝ) + (hode : odeOp ((n : ℝ) + 1) (s : ℝ) lam2 G = 0) : + (s : ℝ) = G.natDegree + 1 ∨ (s : ℝ) = (n : ℝ) + 1 + G.natDegree := by + have h := congrArg (fun p => p.coeff (G.natDegree + 1)) hode + simp only [odeOp_coeff_succ, coeff_zero] at h + rw [coeff_eq_zero_of_natDegree_lt (by omega : G.natDegree < G.natDegree + 1 + 1), + coeff_eq_zero_of_natDegree_lt (by omega : G.natDegree < G.natDegree + 1)] at h + have hl : G.coeff G.natDegree ≠ 0 := by + simpa using (Polynomial.leadingCoeff_ne_zero.mpr hG) + have h2 : (((G.natDegree : ℝ) + 1 - s) * (((n : ℝ) + 1) + G.natDegree - s)) * G.coeff G.natDegree = 0 := by + linear_combination h + rcases mul_eq_zero.mp h2 with h3 | h3 + · rcases mul_eq_zero.mp h3 with h4 | h4 + · left; linarith + · right; linarith + · exact absurd h3 hl + +/-- **Norm lower bound**: for `v ≠ 0`, `|α| ≤ (1 + ‖γ₀‖) ‖α v + β γ₀ v‖ / ‖v‖`. -/ +lemma abs_le_norm_combo (ρ : CliffordRep 2 V) {v : V} (hv : v ≠ 0) (α β : ℝ) : + |α| * ‖v‖ ≤ (1 + ‖gam ρ 0‖) * ‖α • v + β • gam ρ 0 v‖ := by + set u := α • v + β • gam ρ 0 v with hu + have h2 : gam ρ 0 u = α • gam ρ 0 v - β • v := by + simp only [hu, map_add, map_smul, gam_sq] + module + have h3 : (α ^ 2 + β ^ 2) • v = α • u - β • gam ρ 0 u := by + rw [h2, hu]; module + have hM : ‖gam ρ 0 u‖ ≤ ‖gam ρ 0‖ * ‖u‖ := (gam ρ 0).le_opNorm u + have hnorm : (α ^ 2 + β ^ 2) * ‖v‖ ≤ (|α| + |β| * ‖gam ρ 0‖) * ‖u‖ := by + calc (α ^ 2 + β ^ 2) * ‖v‖ = ‖(α ^ 2 + β ^ 2) • v‖ := by + rw [norm_smul, Real.norm_of_nonneg (by positivity)] + _ = ‖α • u - β • gam ρ 0 u‖ := by rw [h3] + _ ≤ ‖α • u‖ + ‖β • gam ρ 0 u‖ := norm_sub_le _ _ + _ = |α| * ‖u‖ + |β| * ‖gam ρ 0 u‖ := by rw [norm_smul, norm_smul]; rfl + _ ≤ |α| * ‖u‖ + |β| * (‖gam ρ 0‖ * ‖u‖) := by gcongr + _ = (|α| + |β| * ‖gam ρ 0‖) * ‖u‖ := by ring + by_cases h0 : α ^ 2 + β ^ 2 = 0 + · have : α = 0 := by nlinarith [sq_nonneg α, sq_nonneg β] + simp only [this, abs_zero, zero_mul] + positivity + · have hpos : 0 < α ^ 2 + β ^ 2 := lt_of_le_of_ne (by positivity) (Ne.symm h0) + set M := ‖gam ρ 0‖ + have hM0 : 0 ≤ M := norm_nonneg _ + have hr : |α| + |β| * M ≤ (1 + M) * Real.sqrt (α ^ 2 + β ^ 2) := by + have ha : |α| ≤ Real.sqrt (α ^ 2 + β ^ 2) := Real.abs_le_sqrt (by nlinarith [sq_nonneg β]) + have hb : |β| ≤ Real.sqrt (α ^ 2 + β ^ 2) := Real.abs_le_sqrt (by nlinarith [sq_nonneg α]) + nlinarith [mul_le_mul_of_nonneg_right hb hM0] + have hs : (α ^ 2 + β ^ 2) = Real.sqrt (α ^ 2 + β ^ 2) * Real.sqrt (α ^ 2 + β ^ 2) := + (Real.mul_self_sqrt hpos.le).symm + have hsp : 0 < Real.sqrt (α ^ 2 + β ^ 2) := Real.sqrt_pos.mpr hpos + have ha : |α| ≤ Real.sqrt (α ^ 2 + β ^ 2) := Real.abs_le_sqrt (by nlinarith [sq_nonneg β]) + have key : Real.sqrt (α ^ 2 + β ^ 2) * ‖v‖ ≤ (1 + M) * ‖u‖ := by + have : Real.sqrt (α ^ 2 + β ^ 2) * (Real.sqrt (α ^ 2 + β ^ 2) * ‖v‖) ≤ + Real.sqrt (α ^ 2 + β ^ 2) * ((1 + M) * ‖u‖) := by + calc _ = (α ^ 2 + β ^ 2) * ‖v‖ := by rw [← mul_assoc, ← hs] + _ ≤ (|α| + |β| * M) * ‖u‖ := hnorm + _ ≤ ((1 + M) * Real.sqrt (α ^ 2 + β ^ 2)) * ‖u‖ := by gcongr + _ = _ := by ring + exact le_of_mul_le_mul_left this hsp + calc |α| * ‖v‖ ≤ Real.sqrt (α ^ 2 + β ^ 2) * ‖v‖ := by gcongr + _ ≤ _ := key + +/-- A nonzero polynomial is bounded below by a multiple of its leading power for large arguments. -/ +lemma poly_lower (P : ℝ[X]) (hP : P ≠ 0) : + ∃ ε > 0, ∃ R : ℝ, 0 < R ∧ ∀ t : ℝ, R ≤ t → ε * t ^ P.natDegree ≤ |P.eval t| := by + have h := (Polynomial.isEquivalent_atTop_lead P).isBigO_symm + obtain ⟨c, hc⟩ := h.exists_pos + have hev := hc.2.bound + rw [Filter.eventually_atTop] at hev + obtain ⟨R0, hR0⟩ := hev + have hc0 : 0 < c := hc.1 + have hl : 0 < |P.leadingCoeff| := abs_pos.mpr (Polynomial.leadingCoeff_ne_zero.mpr hP) + refine ⟨|P.leadingCoeff| / c, by positivity, max R0 1, lt_of_lt_of_le one_pos (le_max_right _ _), fun t ht => ?_⟩ + have h1 := hR0 t (le_trans (le_max_left _ _) ht) + have ht0 : 0 < t := lt_of_lt_of_le (lt_of_lt_of_le one_pos (le_max_right _ _)) ht + simp only [Real.norm_eq_abs, abs_mul, abs_pow, abs_of_pos ht0] at h1 + rw [div_mul_eq_mul_div, div_le_iff₀ hc.1] + nlinarith [h1] + +/-- **Growth on the real axis**: if `h^{1/2} g` is bounded by `C`, then `2 deg G + n + 2 ≤ 2 s`. -/ +lemma degree_le_of_bounded (ρ : CliffordRep 2 V) {v : V} (hv : v ≠ 0) (n s : ℕ) (G F : ℝ[X]) + (hG : G ≠ 0) (C : ℝ) + (hbd : ∀ y : E 2, ‖stereoH y ^ ((((2 : ℕ) : ℝ) - 1) / 2) • angG ρ v n s G F y‖ ≤ C) : + 2 * G.natDegree + n + 2 ≤ 2 * s := by + by_contra hcon + rw [not_le] at hcon + obtain ⟨ε, hε, R, hR, hlow⟩ := poly_lower G hG + set M := ‖gam ρ 0‖ + have hvn : 0 < ‖v‖ := norm_pos_iff.mpr hv + set K : ℝ := (1 + M) * C / ‖v‖ + -- for large r, the real-axis bound fails + set r : ℝ := max (max 1 (Real.sqrt R)) (2 ^ (s + 1) * (|K| + 1) / ε + 1) with hr + have hr1 : 1 ≤ r := le_trans (le_max_left _ _) (le_max_left _ _) + have hrR : R ≤ r ^ 2 := by + have h1 : Real.sqrt R ≤ r := le_trans (le_max_right _ _) (le_max_left _ _) + have h2 := Real.sq_sqrt hR.le + nlinarith [Real.sqrt_nonneg R] + have hr3 : 2 ^ (s + 1) * (|K| + 1) / ε + 1 ≤ r := le_max_right _ _ + have hr0 : 0 < r := by linarith + have hy := hbd (r • e (0 : Fin 2)) + rw [angG_real_axis] at hy + have hh : stereoH (r • e (0 : Fin 2)) = (1 + r ^ 2) / 2 := by simp [stereoH, e, norm_smul] + rw [hh] at hy + have hexp : ((((2 : ℕ) : ℝ) - 1) / 2) = 1 / 2 := by norm_num + rw [hexp] at hy + set α : ℝ := ((1 + r ^ 2) ^ s)⁻¹ * G.eval (r ^ 2) * r ^ (n + 1) with hα + set β : ℝ := ((1 + r ^ 2) ^ s)⁻¹ * F.eval (r ^ 2) * r ^ n with hβ + have hsq : 0 ≤ ((1 + r ^ 2) / 2) ^ (1 / 2 : ℝ) := by positivity + rw [norm_smul, Real.norm_of_nonneg hsq] at hy + have hcombo := abs_le_norm_combo ρ hv α β + -- h^{1/2} ≥ r/2 + have hhalf : r / 2 ≤ ((1 + r ^ 2) / 2) ^ (1 / 2 : ℝ) := by + rw [← Real.sqrt_eq_rpow] + apply Real.le_sqrt_of_sq_le + nlinarith [sq_nonneg r] + -- |α| h^{1/2} ≤ K + have h1 : ((1 + r ^ 2) / 2) ^ (1 / 2 : ℝ) * |α| ≤ K := by + rw [le_div_iff₀ hvn] + calc ((1 + r ^ 2) / 2) ^ (1 / 2 : ℝ) * |α| * ‖v‖ + ≤ ((1 + r ^ 2) / 2) ^ (1 / 2 : ℝ) * ((1 + M) * ‖α • v + β • gam ρ 0 v‖) := by + rw [mul_assoc]; gcongr + _ = (1 + M) * (((1 + r ^ 2) / 2) ^ (1 / 2 : ℝ) * ‖α • v + β • gam ρ 0 v‖) := by ring + _ ≤ (1 + M) * C := by gcongr + -- lower bound for |α| + have hG1 : ε * (r ^ 2) ^ G.natDegree ≤ |G.eval (r ^ 2)| := hlow _ hrR + have hpow : (1 + r ^ 2) ^ s ≤ 2 ^ s * r ^ (2 * s) := by + rw [pow_mul, ← mul_pow] + apply pow_le_pow_left₀ (by positivity) + nlinarith [one_le_pow₀ hr1 (n := 2)] + have hposp : 0 < (1 + r ^ 2) ^ s := by positivity + have hαlow : ε * r ^ (2 * G.natDegree + n + 1) / (2 ^ s * r ^ (2 * s)) ≤ |α| := by + rw [hα, abs_mul, abs_mul, abs_inv, abs_of_pos hposp, abs_pow, abs_of_pos hr0] + rw [div_le_iff₀ (by positivity)] + calc ε * r ^ (2 * G.natDegree + n + 1) + = (ε * (r ^ 2) ^ G.natDegree) * r ^ (n + 1) := by ring + _ ≤ |G.eval (r ^ 2)| * r ^ (n + 1) := by gcongr + _ = ((1 + r ^ 2) ^ s)⁻¹ * |G.eval (r ^ 2)| * r ^ (n + 1) * (1 + r ^ 2) ^ s := by + field_simp + _ ≤ _ := by gcongr + -- combine + have hD : 2 * s + 1 ≤ 2 * G.natDegree + n + 2 := by omega + have hrp : r ^ (2 * s + 1) ≤ r ^ (2 * G.natDegree + n + 2) := pow_le_pow_right₀ hr1 hD + have hrp2 : r ^ (2 * G.natDegree + n + 2) = r ^ (2 * G.natDegree + n + 1) * r := by ring + have hden : 0 < 2 ^ s * r ^ (2 * s) := by positivity + have h2 : (r / 2) * (ε * r ^ (2 * G.natDegree + n + 1) / (2 ^ s * r ^ (2 * s))) ≤ K := by + calc (r / 2) * (ε * r ^ (2 * G.natDegree + n + 1) / (2 ^ s * r ^ (2 * s))) + ≤ ((1 + r ^ 2) / 2) ^ (1 / 2 : ℝ) * |α| := by gcongr + _ ≤ K := h1 + have h3 : ε * r / 2 ^ (s + 1) ≤ K := by + refine le_trans ?_ h2 + rw [div_mul_div_comm, div_le_div_iff₀ (by positivity) (by positivity)] + have : r ^ (2 * s) * r ≤ r ^ (2 * G.natDegree + n + 1) * r := by + calc r ^ (2 * s) * r = r ^ (2 * s + 1) := by ring + _ ≤ r ^ (2 * G.natDegree + n + 2) := hrp + _ = _ := hrp2 + calc ε * r * (2 * (2 ^ s * r ^ (2 * s))) = (ε * 2 ^ (s + 1)) * (r ^ (2 * s) * r) := by ring + _ ≤ (ε * 2 ^ (s + 1)) * (r ^ (2 * G.natDegree + n + 1) * r) := + mul_le_mul_of_nonneg_left this (by positivity) + _ = _ := by ring + have h4 : ε * r ≤ 2 ^ (s + 1) * K := by + rw [div_le_iff₀ (by positivity)] at h3; linarith + have h5 : 2 ^ (s + 1) * (|K| + 1) / ε + 1 ≤ r := hr3 + have h6 : 2 ^ (s + 1) * (|K| + 1) / ε < r := by linarith + rw [div_lt_iff₀ hε] at h6 + nlinarith [le_abs_self K, pow_pos (by norm_num : (0 : ℝ) < 2) (s + 1)] + +/-- **The decay condition from boundedness.** If `v ≠ 0`, `G ≠ 0`, the angular spinor `g = angG v n s G F` is a +flat eigenspinor and `h^{1/2} g` is bounded (the spinor of the sphere is bounded at the pole), then +`n + 1 ≤ s`. -/ +theorem decay_of_bounded (ρ : CliffordRep 2 V) {v : V} (hv : v ≠ 0) (n s : ℕ) (G F : ℝ[X]) (lam : ℝ) + (hG : G ≠ 0) + (hflat : ∀ x : E 2, stereoH x • dirac ρ (angG ρ v n s G F) x = lam • angG ρ v n s G F x) + (C : ℝ) (hbd : ∀ y : E 2, ‖stereoH y ^ ((((2 : ℕ) : ℝ) - 1) / 2) • angG ρ v n s G F y‖ ≤ C) : + n + 1 ≤ s := by + obtain ⟨ha, hb⟩ := angG_flat_converse ρ hv n s G F lam hflat + have hode := odeOp_of_ha_hb n s G F lam ha hb + have hdeg := degree_le_of_bounded ρ hv n s G F hG C hbd + rcases level_of_degree n s G hG _ hode with h | h + · have : s = G.natDegree + 1 := by exact_mod_cast h + omega + · have : s = n + 1 + G.natDegree := by exact_mod_cast h + omega + +/-- **GE5, completeness in the angular polynomial class, with the regularity at the pole.** For `v ≠ 0`, a +reduced angular spinor (`G(-1) ≠ 0`) that is a flat eigenspinor with `h^{1/2} g` bounded has eigenvalue `±s` and +radial profile a multiple of `gPoly (n+1) (s-n-1)`. -/ +theorem angular_class_complete_bounded (ρ : CliffordRep 2 V) {v : V} (hv : v ≠ 0) (n s : ℕ) + (G F : ℝ[X]) (lam : ℝ) (hG : G.eval (-1) ≠ 0) + (hflat : ∀ x : E 2, stereoH x • dirac ρ (angG ρ v n s G F) x = lam • angG ρ v n s G F x) + (C : ℝ) (hbd : ∀ y : E 2, ‖stereoH y ^ ((((2 : ℕ) : ℝ) - 1) / 2) • angG ρ v n s G F y‖ ≤ C) : + (lam = s ∨ lam = -s) ∧ G = Polynomial.C (G.coeff 0) * gPoly (n + 1) (s - (n + 1)) := by + have hG0 : G ≠ 0 := by rintro rfl; simp at hG + exact angular_class_complete ρ hv n s (decay_of_bounded ρ hv n s G F lam hG0 hflat C hbd) G F lam hG hflat + +end Lightlike.Dirac diff --git a/docs/results.yaml b/docs/results.yaml index a8968957..d820bf81 100644 --- a/docs/results.yaml +++ b/docs/results.yaml @@ -4231,3 +4231,16 @@ review: kernel-checked note: "Companion of the lower bound (LL-XXXX-a, same file) against Boldt, arXiv:1504.03121, Theorem 3.1, p. 6 (read): eigenvalues +-(n/2 + k) with multiplicity 2^[n/2] C(n+k-1, k); for n = 2 this is +-(k+1) with multiplicity 2(k+1). Here, for a nonzero constant spinor v and spinors of the form c1 = (1+t)^-s z^(n+1) G(t), c2 = (1+t)^-s z^n F(t), t = |y|^2, G(-1) not zero (reduced), n+1 <= s (decay O(1/|y|) at the pole in this class), a flat eigenspinor has eigenvalue +-s and G a multiple of the radial polynomial of the lower bound, by the coefficient recurrence and evaluation of the radial equation at t = -1. WEAKER (PARTIAL for GE5): only within this class of spinors; not an exclusion of other eigenvalues or eigenspinors of the sphere, which needs smooth sections on S^2, regularity at the pole and the angular Fourier decomposition, none of which is in the library; the decay condition is assumed as n+1 <= s, not derived from smoothness at the pole." since: unreleased +- id: LL-XXXX-c + title: "In the angular polynomial class, boundedness of the half-density spinor at the pole of the sphere forces the decay condition, so a reduced flat eigenspinor of the Dirac operator of the unit 2-sphere in the stereographic chart has eigenvalue plus or minus s and the radial profile of the lower bound" + area: GR + file: Lightlike/Dirac/EigenPole.lean + decls: [Lightlike.Dirac.angular_class_complete_bounded, Lightlike.Dirac.decay_of_bounded, Lightlike.Dirac.degree_le_of_bounded, Lightlike.Dirac.level_of_degree] + status: proven + tier: established + source: + refs: + - {ref: boldt-2015, location: "Theorem 3.1", check: "multiplicities"} + review: kernel-checked + note: "Companion of LL-XXXX-a and LL-XXXX-b against Boldt, arXiv:1504.03121, Theorem 3.1, p. 6 (read): eigenvalues +-(n/2 + k) with multiplicity 2^[n/2] C(n+k-1, k); for n = 2 this is +-(k+1) with multiplicity 2(k+1). Here the decay condition n+1 <= s assumed in LL-XXXX-b is derived from the boundedness of the spinor h^(1/2) g on the plane (the norm of the spinor of the sphere in the orthonormal frame of the chart, which a spinor extending continuously over the pole must satisfy), by the top coefficient of the radial equation (s = deg G + 1 or s = n + 1 + deg G) and the growth of the polynomial profile on the real axis. WEAKER (PARTIAL for GE5): boundedness is only a necessary condition for continuity at the pole (the chart at the other pole is not in the library), and only the angular polynomial class is covered; completeness among all smooth spinors of the sphere remains open." + since: unreleased From 581440d760b3545beaaebcb03073c26df3f1294f Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:55:54 +0200 Subject: [PATCH 31/66] docs(G3-196): measured dictionary Tet/theta to qSixJ and the model for F3 to F5 Co-Authored-By: Claude Opus 5.5 --- docs/notes/g3-196-route-f.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/notes/g3-196-route-f.md b/docs/notes/g3-196-route-f.md index 2409a2c3..5b6f1b4c 100644 --- a/docs/notes/g3-196-route-f.md +++ b/docs/notes/g3-196-route-f.md @@ -66,6 +66,35 @@ Route E (the same with `Rep U_q(sl₂)` instead of diagrams) needs the Hopf alge the queue), its finite-dimensional modules, the `q`-Clebsch–Gordan coefficients and the negligible quotient; the milestones are the same shape with larger F1 and F3 and no diagrams. +## Progress (24 Nov 2026) and the measured dictionary for F4 + +F1 and F2 are Lean: `Lightlike/TemperleyLieb/Basic.lean` (the algebra `TL k δ` with relations, universal +property, the Chebyshev sequence `chebD`) and `JonesWenzl.lean` (in any algebra with an `IsTL` family, for +`d_i ≠ 0` up to `N`: `jw n` idempotent, killed by `e_i`, absorbing, commuting with `e_i` for `i ≥ n`, and the +partial trace identity `e_n jw(n+1) e_n = (d_{n+1}/d_n) jw n e_n`). + +MEASURED dictionary (exact, ratio 1.0 on 400 sampled tuples at each of r = 5, 6, 7, 9; Python with mpmath at +30 digits, `scripts/tv_check.py: q6j` against Kauffman–Lins' formulas written from memory and corrected only +by this test): with `[n] = sin(nπ/r)/sin(π/r)`, `θ(a,b,c) = (-1)^{x+y+z} [x+y+z+1]! [x]![y]![z]! / +([x+y]![y+z]![x+z]!)` (`x = (a+b-c)/2`, etc., doubled spins) and +`Tet[A B E; C D F] = (I!/E!) Σ_s (-1)^s [s+1]! / (Π_i [s-a_i]! Π_j [b_j-s]!)` with +`a = ((A+D+E)/2, (B+C+E)/2, (A+B+F)/2, (C+D+F)/2)`, `b = ((B+D+E+F)/2, (A+C+E+F)/2, (A+B+C+D)/2)`, +`I! = Π_{i,j} [b_j - a_i]!`, `E! = [A]![B]![C]![D]![E]![F]!`: +`qSixJ r A D E C B F = Tet[A B E; C D F] / sqrt(|θ(A,D,E) θ(B,C,E) θ(A,B,F) θ(C,D,F)|)`. +So the identification F4 splits into (a) the evaluation of the tetrahedral net as this explicit sum (Kauffman– +Lins' theorem, by induction with the fusion identity) and (b) an elementary `q`-factorial manipulation. + +Model and design decisions for F3 to F5: +- the model `Finset ℕ →₀ k` (the infinite tensor power of `k²`, a basis vector is the set of positions carrying + `1`) carries `e_i` as local operators on the positions `i, i+1`, so the relations hold for every `i` with no + length bookkeeping, and the finite tensor powers are the subspaces supported below `N`; cup and cap + weights `a = d = 1`, `b = -q`, `c = -q⁻¹` give `δ = -q - q⁻¹`; +- nets are evaluated as pairings of vectors (states) in the model, so the trace and the pairing are + explicit finite sums; the fusion identity and the evaluation of `θ` and `Tet` are inductions on + the Jones–Wenzl recursion, which `JonesWenzl.lean` already provides; +- the root of unity: `d_{r-1} = 0`, projectors exist up to `jw (r-1)`, and the trees with all colours `≤ r-2` + are the ones the library's `qAdm` keeps. + ## Decision No route in this note is a row-sized step. The two structural routes (F, E) are milestone-sized From a09b71fa2fb88c161056f31bdae9333dde5c67c0 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:58:47 +0200 Subject: [PATCH 32/66] feat(g1-012): null geodesics read in any chart; radial null segments of a future time ball are future null geodesics of M Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 3 + Lightlike/Rows/G1_012/LocalGenerators.lean | 35 +++-- Lightlike/Rows/G1_012/NullGeodChart.lean | 107 +++++++++++++ Lightlike/Rows/G1_012/RadialNull.lean | 169 +++++++++++++++++++++ 4 files changed, 302 insertions(+), 12 deletions(-) create mode 100644 Lightlike/Rows/G1_012/NullGeodChart.lean create mode 100644 Lightlike/Rows/G1_012/RadialNull.lean diff --git a/Lightlike.lean b/Lightlike.lean index eeda0ad4..d7da9ef3 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1395,6 +1395,9 @@ import Lightlike.Rows.G1_012.PenroseCovering import Lightlike.Rows.G1_012.Assembly import Lightlike.Rows.G1_012.NullGeodCausal import Lightlike.Rows.G1_012.NullVariation +import Lightlike.Rows.G1_012.RadialNull +import Lightlike.Rows.G1_012.NullGeodChart +import Lightlike.Rows.G1_012.LocalGenerators import Lightlike.Rows.G1_012.Orthogonality import Lightlike.Rows.G1_012.TrappedSurface import Lightlike.Rows.G1_012.GeodesicChartIndep diff --git a/Lightlike/Rows/G1_012/LocalGenerators.lean b/Lightlike/Rows/G1_012/LocalGenerators.lean index 2575c9eb..444ba73f 100644 --- a/Lightlike/Rows/G1_012/LocalGenerators.lean +++ b/Lightlike/Rows/G1_012/LocalGenerators.lean @@ -98,6 +98,22 @@ theorem IsLorentzianForm.neg_of_causal_of_timelike (h : IsLorentzianForm m B) {X have h0 : B u N = 0 := le_antisymm hle (not_lt.1 hcon) exact hne (h.eq_zero_of_orthogonal_timelike (X := N) hN h0 hu) +/-- **A nonzero causal vector with negative product with a future timelike vector is future +directed**: `B N N < 0`, `B N X < 0`, `B u u ≤ 0`, `u ≠ 0`, `B u N < 0` give `B u X < 0`. -/ +theorem IsLorentzianForm.neg_of_neg_pair_causal (h : IsLorentzianForm m B) {X N u : V} + (hX : B X X < 0) (hN : B N N < 0) (hNX : B N X < 0) (hu : B u u ≤ 0) (hne : u ≠ 0) + (huN : B u N < 0) : B u X < 0 := by + have hsymm := h.symm + by_contra hcon + push_neg at hcon + rcases hcon.eq_or_lt with h0 | hpos + · exact hne (h.eq_zero_of_orthogonal_timelike (X := X) hX h0.symm hu) + · have hnu : B (-u) (-u) ≤ 0 := by simpa using hu + have h1 : B (-u) X < 0 := by simpa using hpos + have := h.nonpos_of_futureCausal hX hnu hN.le h1 hNX + have e : B (-u) N = -B u N := by simp + linarith + end Lightlike open Metric @@ -188,28 +204,23 @@ open Metric variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} -/-- The pairing of the radial velocity `Dφ(s w) w` with itself is `σ_p(w)`. -/ +/-- The pairing of the radial velocity `Dφ(s w) w` with itself is `σ_p(w)` (for `s w` in the normal +ball). -/ theorem radial_pairing {gc : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsCoordMetric gc U) {p : Fin n → ℝ} {ρ : ℝ} {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} - (h : Lightlike.Geodesic.IsNormalChart gc U p ρ φ) {w : Fin n → ℝ} {s : ℝ} (hs : 0 ≤ s) - (hs1 : s ≤ 1) (hw : w ∈ ball (0 : Fin n → ℝ) ρ) : + (h : Lightlike.Geodesic.IsNormalChart gc U p ρ φ) {w : Fin n → ℝ} {s : ℝ} + (hsw : s • w ∈ ball (0 : Fin n → ℝ) ρ) : Lightlike.Geodesic.pairing gc (φ (s • w)) (fderiv ℝ φ (s • w) w) (fderiv ℝ φ (s • w) w) = Lightlike.Geodesic.pairing gc p w w := by - have hsw : s • w ∈ ball (0 : Fin n → ℝ) ρ := by - rw [mem_ball_zero_iff] at hw ⊢ - rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg hs] - nlinarith [norm_nonneg w] - rcases hs.eq_or_lt with rfl | hpos + rcases eq_or_ne s 0 with rfl | hs0 · simp only [zero_smul] rw [h.hasFDerivAt_zero.fderiv, h.map_zero] rfl · have := h.gauss hg hsw (s • w) rw [map_smul, Lightlike.Geodesic.pairing_smul_left, Lightlike.Geodesic.pairing_smul_right, Lightlike.Geodesic.pairing_smul_left, Lightlike.Geodesic.pairing_smul_right] at this - have hs0 : s ≠ 0 := hpos.ne' - have := mul_left_cancel₀ hs0 (mul_left_cancel₀ hs0 this) - exact this + exact mul_left_cancel₀ hs0 (mul_left_cancel₀ hs0 this) /-- The time orientation field in chart coordinates is timelike for the coordinate metric. -/ theorem timeCoord_timelike (T : Causal.TimeOrientation g) (x : M) {y : Fin n → ℝ} @@ -294,7 +305,7 @@ theorem radial_mem_chronFuture (T : Causal.TimeOrientation g) (x : M) {p : Fin n have hq : ∀ a b, Lightlike.Geodesic.pairing (g.coordMetric x) (c s) a b = matForm (g.coordMetric x (c s)) a b := fun a b => Lightlike.Geodesic.pairing_eq_matForm _ _ a b have hσs : Lightlike.Geodesic.pairing (g.coordMetric x) (c s) (c' s) (c' s) < 0 := by - rw [← radial_pairing hg hTB.chart hs.1 hs.2 (hTB.mem_ball hw)] at hσ + rw [← radial_pairing hg hTB.chart (hTB.mem_ball (hmemr s hs))] at hσ exact hσ have hdual : Lightlike.Geodesic.pairing (g.coordMetric x) (c s) (N (s • w)) (c' s) < 0 := by rw [hTB.dual _ (hmemr s hs)]; exact hx0 diff --git a/Lightlike/Rows/G1_012/NullGeodChart.lean b/Lightlike/Rows/G1_012/NullGeodChart.lean new file mode 100644 index 00000000..7fa0fcac --- /dev/null +++ b/Lightlike/Rows/G1_012/NullGeodChart.lean @@ -0,0 +1,107 @@ +import Lightlike.Rows.G1_012.GeodesicChartIndep + +/-! +# Null geodesics read in any chart (G1-012) + +`isNullGeodesicOn_of_chart`: the null version of `isGeodesicCurveOn_of_chart`. +-/ + +open Bundle Manifold Set Filter Topology Matrix +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + +/-- The bilinear contraction is the dot product with the matrix-vector product. -/ +theorem bil_eq_dotProduct (G : Matrix (Fin n) (Fin n) ℝ) (u w : Fin n → ℝ) : + bil G u w = u ⬝ᵥ (G *ᵥ w) := by + simp only [bil, dotProduct, Matrix.mulVec, Finset.mul_sum] + refine Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun j _ => by ring + +/-- The pulled-back metric evaluated on a vector is the metric on the image vector. -/ +theorem bil_pullback (G : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (φ : (Fin n → ℝ) → (Fin n → ℝ)) + (y v : Fin n → ℝ) : + bil (pullback G φ y) v v = bil (G (φ y)) (jac φ y *ᵥ v) (jac φ y *ᵥ v) := by + rw [bil_eq_dotProduct, bil_eq_dotProduct, pullback_eq_mul, ← Matrix.mulVec_mulVec, + ← Matrix.mulVec_mulVec, Matrix.dotProduct_mulVec, Matrix.vecMul_transpose] + +/-- **A null geodesic in any chart is a null geodesic curve.** The chart geodesic `γ` of the +coordinate metric of the chart at `x₀`, with velocity `w`, nonzero and null at every `s ∈ O`, is a +null geodesic on `O` in the sense of `IsNullGeodesicOn`. -/ +theorem isNullGeodesicOn_of_chart (g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n) (x₀ : M) {γ : ℝ → M} + {O : Set ℝ} (hO : IsOpen O) (hsrc : ∀ s ∈ O, γ s ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x₀).source) + {w : ℝ → Fin n → ℝ} (hw0 : ∀ s ∈ O, w s ≠ 0) + (hnull : ∀ s ∈ O, bil (g.coordMetric x₀ (extChartAt 𝓘(ℝ, Fin n → ℝ) x₀ (γ s))) (w s) (w s) = 0) + (hgeo : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x₀) + (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x₀ (γ s)) w O) : + IsNullGeodesicOn g γ O := by + intro t ht + set ψ₀ := extChartAt 𝓘(ℝ, Fin n → ℝ) x₀ with hψ₀ + set x₁ := γ t with hx₁ + set ψ₁ := extChartAt 𝓘(ℝ, Fin n → ℝ) x₁ with hψ₁ + set c : ℝ → Fin n → ℝ := fun s => ψ₀ (γ s) with hc + -- the curve is continuous on `O` + have hcont : ∀ s ∈ O, ContinuousAt γ s := by + intro s hs + have hcs : ContinuousAt c s := (hgeo.pos s hs).continuousAt + have hsymm : ContinuousAt ψ₀.symm (c s) := + (continuousOn_extChartAt_symm (I := 𝓘(ℝ, Fin n → ℝ)) x₀).continuousAt + ((isOpen_extChartAt_target (I := 𝓘(ℝ, Fin n → ℝ)) x₀).mem_nhds (ψ₀.map_source (hsrc s hs))) + have := hsymm.comp hcs + refine this.congr ?_ + filter_upwards [hO.mem_nhds hs] with r hr + exact ψ₀.left_inv (hsrc r hr) + -- the neighbourhood on which the curve stays in the chart at `γ t` + set O' : Set ℝ := O ∩ γ ⁻¹' ψ₁.source with hO' + have hO'nhds : O' ∈ 𝓝 t := + Filter.inter_mem (hO.mem_nhds ht) + ((hcont t ht).preimage_mem_nhds ((isOpen_extChartAt_source (I := 𝓘(ℝ, Fin n → ℝ)) x₁).mem_nhds + (mem_extChartAt_source x₁))) + have hO'open : ∀ s ∈ O', O' ∈ 𝓝 s := by + intro s hs + exact Filter.inter_mem (hO.mem_nhds hs.1) + ((hcont s hs.1).preimage_mem_nhds ((isOpen_extChartAt_source (I := 𝓘(ℝ, Fin n → ℝ)) x₁).mem_nhds hs.2)) + have hV : ∀ s ∈ O', c s ∈ transitionDom (n := n) x₀ x₁ := fun s hs => + ⟨ψ₀.map_source (hsrc s hs.1), by + have e : ψ₀.symm (c s) = γ s := ψ₀.left_inv (hsrc s hs.1) + show ψ₀.symm (c s) ∈ ψ₁.source + rw [e]; exact hs.2⟩ + have hg₁ := g.toNondegMetric.isCoordMetric_coordMetric x₁ + have hφ := isChartChange_transition g.toNondegMetric x₀ x₁ + have hgeo' : Lightlike.Geodesic.IsGeodesicOn + (Lightlike.pullback (g.coordMetric x₁) (ψ₁ ∘ ψ₀.symm)) c w O' := + (show Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x₀) c w O' from + ⟨fun s hs => hgeo.pos s hs.1, fun s hs => hgeo.vel s hs.1⟩).congr_metric + (isOpen_transitionDom x₀ x₁) (fun y hy => (pullback_transition g.toNondegMetric x₀ x₁ hy).symm) + hV + have himg := hgeo'.map_chartChange hg₁ hφ (fun s hs => hV s hs) + have heq : ∀ s ∈ O', ψ₁ (ψ₀.symm (c s)) = ψ₁ (γ s) := fun s hs => by + rw [ψ₀.left_inv (hsrc s hs.1)] + refine ⟨fun s => Lightlike.jac (ψ₁ ∘ ψ₀.symm) (c s) *ᵥ w s, O', hO'nhds, fun s hs => hs.2, ?_, ?_, ?_⟩ + rotate_left + · have hOt : t ∈ O' := ⟨ht, mem_extChartAt_source x₁⟩ + intro h0 + exact hw0 t ht (Matrix.eq_zero_of_mulVec_eq_zero (hφ.isUnit_det _ (hV t hOt)).ne_zero h0) + · have hOt : t ∈ O' := ⟨ht, mem_extChartAt_source x₁⟩ + show bil (g.coordMetric (γ t) (ψ₁ (γ t))) (Lightlike.jac (ψ₁ ∘ ψ₀.symm) (c t) *ᵥ w t) + (Lightlike.jac (ψ₁ ∘ ψ₀.symm) (c t) *ᵥ w t) = 0 + have e1 : bil (g.coordMetric (γ t) (ψ₁ (γ t))) (Lightlike.jac (ψ₁ ∘ ψ₀.symm) (c t) *ᵥ w t) + (Lightlike.jac (ψ₁ ∘ ψ₀.symm) (c t) *ᵥ w t) = + bil (Lightlike.pullback (g.coordMetric (γ t)) (ψ₁ ∘ ψ₀.symm) (c t)) (w t) (w t) := by + rw [bil_pullback, Function.comp_apply, heq t hOt] + rw [e1, pullback_transition g.toNondegMetric x₀ x₁ (hV t hOt)] + exact hnull t ht + refine ⟨fun s hs => ?_, fun s hs => ?_⟩ + · refine (himg.pos s hs).congr_of_eventuallyEq ?_ + filter_upwards [hO'open s hs] with r hr + exact (heq r hr).symm + · refine (himg.vel s hs).congr_deriv ?_ + show Lightlike.Geodesic.accel (g.coordMetric x₁) ((ψ₁ ∘ ψ₀.symm) (c s)) _ = Lightlike.Geodesic.accel (g.coordMetric x₁) (ψ₁ (γ s)) _ + rw [Function.comp_apply, heq s hs] + +end Lightlike.Penrose diff --git a/Lightlike/Rows/G1_012/RadialNull.lean b/Lightlike/Rows/G1_012/RadialNull.lean new file mode 100644 index 00000000..7b8ffade --- /dev/null +++ b/Lightlike/Rows/G1_012/RadialNull.lean @@ -0,0 +1,169 @@ +import Lightlike.Rows.G1_012.LocalGenerators +import Lightlike.Rows.G1_012.NullGeodChart + +/-! +# Radial null segments of a time ball are future null geodesics of `M` (G1-012) + +In the future time ball at `p` (chart coordinates of the chart at `x`), a nonzero null vector `w` with +`x⁰(w) > 0` gives the radial segment `s ↦ ψ.symm (φ (s • w))`, `s ∈ [0, 1]`, which is a future null +geodesic of `M` (`radial_isFutureNullGeodesicOn`): the chart geodesic of the normal chart +(`IsNormalChart.geodesic`), read in the chart at `x`, is a null geodesic curve +(`isNullGeodesicOn_of_chart`). +-/ + +open Bundle Manifold Set Filter Topology MeasureTheory Metric Matrix +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- **A radial null segment of a future time ball is a future null geodesic of `M`.** -/ +theorem radial_isFutureNullGeodesicOn (T : Causal.TimeOrientation g) (x : M) {p : Fin n → ℝ} + {ρ r : ℝ} {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} + (hTB : Lightlike.Geodesic.IsTimeBall (g.coordMetric x) + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target p ρ φ (timeCoord T x p) r N) + (hfutN : ∀ v ∈ ball (0 : Fin n → ℝ) r, Lightlike.Geodesic.pairing (g.coordMetric x) (φ v) (N v) + (timeCoord T x (φ v)) < 0) + {w : Fin n → ℝ} (hw : w ∈ ball (0 : Fin n → ℝ) r) (hw0 : w ≠ 0) + (hσ : Lightlike.Geodesic.pairing (g.coordMetric x) p w w = 0) + (hx0 : Lightlike.Geodesic.pairing (g.coordMetric x) p (timeCoord T x p) w < 0) : + IsFutureNullGeodesicOn T (fun s : ℝ => (extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm (φ (s • w))) + (Icc 0 1) := by + have hL := g.isLorentzianCoordMetric_coordMetric x + have hg := hL.1 + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + have hwρ : w ∈ ball (0 : Fin n → ℝ) ρ := hTB.mem_ball hw + -- a slightly longer vector still in the normal ball + obtain ⟨lam, hlam1, hlamw⟩ : ∃ lam : ℝ, 1 < lam ∧ lam • w ∈ ball (0 : Fin n → ℝ) ρ := by + have hopen : IsOpen ((fun t : ℝ => t • w) ⁻¹' ball (0 : Fin n → ℝ) ρ) := + isOpen_ball.preimage (by fun_prop) + obtain ⟨δ, hδ, hsub⟩ := Metric.isOpen_iff.1 hopen 1 (by simpa using hwρ) + refine ⟨1 + δ / 2, by linarith, hsub ?_⟩ + rw [Metric.mem_ball, Real.dist_eq] + rw [abs_of_nonneg (by linarith)]; linarith + have hlam0 : 0 < lam := by linarith + -- the chart geodesic and its rescaling + obtain ⟨γ', w', -, -, -, hgeo', hγ'⟩ := hTB.chart.geodesic (lam • w) hlamw + have hgeoS := hgeo'.scale lam⁻¹ + set O : Set ℝ := Ioo (-lam) lam with hO + have hOo : IsOpen O := isOpen_Ioo + have hIO : Icc (0 : ℝ) 1 ⊆ O := fun s hs => ⟨by linarith [hs.1], by linarith [hs.2]⟩ + have hsw : ∀ s ∈ O, s • w ∈ ball (0 : Fin n → ℝ) ρ := by + intro s hs + have hs' : |s| < lam := abs_lt.2 hs + rw [mem_ball_zero_iff] at hlamw ⊢ + rw [norm_smul, Real.norm_eq_abs] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hlam0] at hlamw + calc |s| * ‖w‖ ≤ lam * ‖w‖ := by gcongr + _ < ρ := hlamw + set c : ℝ → Fin n → ℝ := fun s => φ (s • w) with hc + set c' : ℝ → Fin n → ℝ := fun s => fderiv ℝ φ (s • w) w with hc' + have hφd : ∀ s ∈ O, HasDerivAt c (c' s) s := by + intro s hs + have hsrc : s • w ∈ φ.source := by rw [hTB.chart.source_eq]; exact hsw s hs + have hdφ : HasFDerivAt φ (fderiv ℝ φ (s • w)) (s • w) := + ((hTB.chart.contDiffOn.contDiffAt (φ.open_source.mem_nhds hsrc)).differentiableAt + (by simp)).hasFDerivAt + have hin : HasDerivAt (fun s : ℝ => s • w) w s := by + simpa using (hasDerivAt_id s).smul_const w + exact hdφ.comp_hasDerivAt s hin + have hctarget : ∀ s ∈ O, c s ∈ ψ.target := fun s hs => + hTB.chart.target_subset (φ.map_source (by rw [hTB.chart.source_eq]; exact hsw s hs)) + have hmemS : ∀ s ∈ O, s ∈ (fun t : ℝ => lam⁻¹ * t) ⁻¹' Ioo (-1 : ℝ) 2 := by + intro s hs + have hs' : |s| < lam := abs_lt.2 hs + have h1 : |lam⁻¹ * s| < 1 := by + rw [abs_mul, abs_of_pos (inv_pos.2 hlam0), inv_mul_lt_iff₀ hlam0]; linarith + have := abs_lt.1 h1 + exact ⟨by linarith [this.1], by linarith [this.2]⟩ + have hcγ : ∀ s ∈ O, γ' (lam⁻¹ * s) = c s := by + intro s hs + have hs' : |s| < lam := abs_lt.2 hs + have h1 : |lam⁻¹ * s| ≤ 1 := by + rw [abs_mul, abs_of_pos (inv_pos.2 hlam0), inv_mul_le_iff₀ hlam0]; linarith + have := abs_le.1 h1 + rw [hγ' _ ⟨this.1, this.2⟩] + simp only [hc, smul_smul] + have : lam⁻¹ * s * lam = s := by field_simp + rw [this] + set w'' : ℝ → Fin n → ℝ := fun s => lam⁻¹ • w' (lam⁻¹ * s) with hw'' + have hpos'' : ∀ s ∈ O, HasDerivAt c (w'' s) s := by + intro s hs + refine (hgeoS.pos s (hmemS s hs)).congr_of_eventuallyEq ?_ + filter_upwards [hOo.mem_nhds hs] with s' hs' + exact (hcγ s' hs').symm + have hw''eq : ∀ s ∈ O, w'' s = c' s := fun s hs => (hpos'' s hs).unique (hφd s hs) + have hgeoC : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) c w'' O := by + refine ⟨hpos'', fun s hs => ?_⟩ + have h2 := hgeoS.vel s (hmemS s hs) + rw [hcγ s hs] at h2 + exact h2 + have hcM : ∀ s ∈ O, ψ (ψ.symm (c s)) = c s := fun s hs => ψ.right_inv (hctarget s hs) + have hgeoM : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) + (fun s => ψ (ψ.symm (c s))) w'' O := by + refine ⟨fun s hs => ?_, fun s hs => ?_⟩ + · refine (hgeoC.pos s hs).congr_of_eventuallyEq ?_ + filter_upwards [hOo.mem_nhds hs] with s' hs' using hcM s' hs' + · have := hgeoC.vel s hs + rw [← hcM s hs] at this + exact this + have hNull : IsNullGeodesicOn g (fun s => ψ.symm (c s)) O := by + refine isNullGeodesicOn_of_chart g x hOo (fun s hs => ψ.map_target (hctarget s hs)) + (fun s hs => ?_) (fun s hs => ?_) hgeoM + · rw [hw''eq s hs] + intro h0 + have := hTB.chart.fderiv_symm_apply (hsw s hs) w + have h0' : fderiv ℝ φ (s • w) w = 0 := h0 + rw [h0', map_zero] at this + exact hw0 this.symm + · rw [hcM s hs, hw''eq s hs, ← pairing_eq_bil] + rw [show c s = φ (s • w) from rfl] + exact (radial_pairing hg hTB.chart (hsw s hs)).trans hσ + refine ⟨hNull.mono hIO, fun s hs => ?_⟩ + set C : ℝ → M := fun s => ψ.symm (c s) with hC + have hCvel : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x + ⟨C s, Causal.velocity 𝓘(ℝ, Fin n → ℝ) C (Icc 0 1) s⟩).2 = c' s := + (Causal.mdifferentiableWithinAt_chart_symm (I := 𝓘(ℝ, Fin n → ℝ)) x + (uniqueDiffOn_Icc zero_lt_one s hs) hs (hφd s (hIO hs)).hasDerivWithinAt + (fun s hs => hctarget s (hIO hs))).2 + have hCsrc : C s ∈ ψ.source := ψ.map_target (hctarget s (hIO hs)) + have hψC : ψ (C s) = c s := ψ.right_inv (hctarget s (hIO hs)) + have hvq := eq_symmL_of_tTriv x (C s) (mem_baseSet_of_mem_source _ _ hCsrc) _ hCvel + have hXC := timeOrientation_eq_symmL T x (C s) hCsrc + rw [hψC] at hXC + show g.g (C s) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) C (Icc 0 1) s) (T.X (C s)) < 0 + rw [hvq, hXC, metric_eq_bil_at g.toNondegMetric x (C s) hCsrc, hψC] + have hy : c s ∈ ψ.target := hctarget s (hIO hs) + have hLf := Lightlike.Geodesic.isLorentzianForm_matForm hL hy + have hq : ∀ a b, Lightlike.Geodesic.pairing (g.coordMetric x) (c s) a b = + matForm (g.coordMetric x (c s)) a b := fun a b => + Lightlike.Geodesic.pairing_eq_matForm _ _ a b + have hmemr : s • w ∈ ball (0 : Fin n → ℝ) r := by + have hw' := mem_ball_zero_iff.1 hw + rw [mem_ball_zero_iff, norm_smul, Real.norm_eq_abs, abs_of_nonneg hs.1] + nlinarith [norm_nonneg w, hs.2, hs.1] + have hσs : Lightlike.Geodesic.pairing (g.coordMetric x) (c s) (c' s) (c' s) = 0 := + (radial_pairing hg hTB.chart (hsw s (hIO hs))).trans hσ + have hc'ne : c' s ≠ 0 := by + intro h0 + have := hTB.chart.fderiv_symm_apply (hsw s (hIO hs)) w + have h0' : fderiv ℝ φ (s • w) w = 0 := h0 + rw [h0', map_zero] at this + exact hw0 this.symm + have hdual : Lightlike.Geodesic.pairing (g.coordMetric x) (c s) (N (s • w)) (c' s) < 0 := by + rw [hTB.dual _ hmemr]; exact hx0 + have := hLf.neg_of_neg_pair_causal (X := timeCoord T x (c s)) (N := N (s • w)) (u := c' s) + (by rw [← hq]; exact timeCoord_timelike T x hy) (by rw [← hq]; exact hTB.timelike _ hmemr) + (by rw [← hq]; exact hfutN _ hmemr) (by rw [← hq]; exact hσs.le) hc'ne + (by rw [← hq, Lightlike.Geodesic.pairing_comm hg hy]; exact hdual) + rw [← Lightlike.Geodesic.pairing_eq_matForm] at this + rw [pairing_eq_bil] at this + exact this + +end Lightlike.Penrose From 1daddba4ccf1facfbb3837777429d9513165ffe5 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:04:54 +0200 Subject: [PATCH 33/66] feat(TL): the model of the Temperley-Lieb algebra on the infinite tensor power of k^2 (F1b) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/TemperleyLieb/Model.lean | 240 +++++++++++++++++++++++++++++ 2 files changed, 241 insertions(+) create mode 100644 Lightlike/TemperleyLieb/Model.lean diff --git a/Lightlike.lean b/Lightlike.lean index 72a55b78..d4a37bb2 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1939,6 +1939,7 @@ import Lightlike.Dirac.EigenGeneralK import Lightlike.Dirac.EigenAngular import Lightlike.TemperleyLieb.Basic import Lightlike.TemperleyLieb.JonesWenzl +import Lightlike.TemperleyLieb.Model import Lightlike.Dirac.ConnesDistance import Lightlike.Dirac.ConnesDistance2 import Lightlike.Dirac.ConnesDistance3 diff --git a/Lightlike/TemperleyLieb/Model.lean b/Lightlike/TemperleyLieb/Model.lean new file mode 100644 index 00000000..d193fc8b --- /dev/null +++ b/Lightlike/TemperleyLieb/Model.lean @@ -0,0 +1,240 @@ +import Mathlib +import Lightlike.TemperleyLieb.Basic + +/-! +# The model of the Temperley–Lieb algebra on the infinite tensor power of `k²` + +`ModelSpace k = (ℕ → Bool) →₀ k`: a basis vector is a sequence of bits (the infinite tensor power of the +two-dimensional space with basis `0, 1`). The generator `modelE q i` acts on the positions `i, i + 1` +by the matrix of `cup ∘ cap` with `cup 1 = |01⟩ - q |10⟩`, `cap |01⟩ = -q⁻¹`, `cap |10⟩ = 1`, that is +`|10⟩ ↦ |01⟩ - q |10⟩`, `|01⟩ ↦ |10⟩ - q⁻¹ |01⟩`, `|00⟩, |11⟩ ↦ 0`; the loop value is `δ = -q - q⁻¹`. +Since the operators are local, the Temperley–Lieb relations hold for every index (`modelE_isTL`), with no +length bookkeeping; the tensor powers of finite length are the subspaces of sequences constant below a bound. +-/ + +namespace Lightlike.TemperleyLieb + +open Finsupp + +variable (k : Type*) [Field k] + +/-- The model space: finitely supported combinations of bit sequences. -/ +abbrev ModelSpace := (ℕ → Bool) →₀ k + +variable {k} + +/-- Set the bits at the positions `i` and `i + 1`. -/ +def set2 (σ : ℕ → Bool) (i : ℕ) (x y : Bool) : ℕ → Bool := + Function.update (Function.update σ i x) (i + 1) y + +/-- The action of `e_i` on a basis vector. -/ +noncomputable def eBasis (q : kˣ) (i : ℕ) (σ : ℕ → Bool) : ModelSpace k := + match σ i, σ (i + 1) with + | true, false => single (set2 σ i false true) 1 - (q : k) • single σ 1 + | false, true => single (set2 σ i true false) 1 - ((q⁻¹ : kˣ) : k) • single σ 1 + | _, _ => 0 + +/-- The generator `e_i` of the model. -/ +noncomputable def modelE (q : kˣ) (i : ℕ) : Module.End k (ModelSpace k) := + Finsupp.lsum k (fun σ => LinearMap.toSpanSingleton k _ (eBasis q i σ)) + +/-- The action of `e_i` on a basis vector. -/ +@[simp] lemma modelE_single (q : kˣ) (i : ℕ) (σ : ℕ → Bool) (c : k) : + modelE q i (single σ c) = c • eBasis q i σ := by + simp [modelE] + +/-- Setting the bits to their current values changes nothing. -/ +lemma set2_self (σ : ℕ → Bool) (i : ℕ) : set2 σ i (σ i) (σ (i + 1)) = σ := by + funext n + simp only [set2, Function.update_apply] + split_ifs with h1 h2 <;> simp_all + +/-- A second `set2` at the same position overrides the first. -/ +lemma set2_set2 (σ : ℕ → Bool) (i : ℕ) (x y x' y' : Bool) : + set2 (set2 σ i x y) i x' y' = set2 σ i x' y' := by + funext n + simp only [set2, Function.update_apply] + split_ifs <;> simp_all + +/-- `e_i² = δ e_i` on basis vectors. -/ +lemma modelE_sq (q : kˣ) (i : ℕ) (σ : ℕ → Bool) : + modelE q i (eBasis q i σ) = (-(q : k) - ((q⁻¹ : kˣ) : k)) • eBasis q i σ := by + have hq : (q : k) * ((q⁻¹ : kˣ) : k) = 1 := by simp + rcases h0 : σ i with _ | _ <;> rcases h1 : σ (i + 1) with _ | _ + · simp [eBasis, h0, h1] + · -- σ = |01⟩ : e σ = |10⟩ - q⁻¹ |01⟩ + have a1 : (set2 σ i true false) i = true := by simp [set2] + have a2 : (set2 σ i true false) (i + 1) = false := by simp [set2] + have b : set2 (set2 σ i true false) i false true = σ := by + rw [set2_set2, ← set2_self σ i, h0, h1, set2_set2] + simp only [eBasis, h0, h1, map_sub, map_smul, modelE_single, a1, a2, b, one_smul] + generalize (single σ (1 : k) : ModelSpace k) = A + generalize (single (set2 σ i true false) (1 : k) : ModelSpace k) = B + simp only [Units.val_inv_eq_inv_val] + have hA : ((q : k) * (q : k)⁻¹) • A = A := by rw [mul_inv_cancel₀ q.ne_zero, one_smul] + linear_combination (norm := module) (-1 : k) • hA + · have a1 : (set2 σ i false true) i = false := by simp [set2] + have a2 : (set2 σ i false true) (i + 1) = true := by simp [set2] + have b : set2 (set2 σ i false true) i true false = σ := by + rw [set2_set2, ← set2_self σ i, h0, h1, set2_set2] + simp only [eBasis, h0, h1, map_sub, map_smul, modelE_single, a1, a2, b, one_smul] + simp only [smul_sub, smul_smul] + generalize (single σ (1 : k) : ModelSpace k) = A + generalize (single (set2 σ i false true) (1 : k) : ModelSpace k) = B + simp only [Units.val_inv_eq_inv_val] + have hA : ((q : k) * (q : k)⁻¹) • A = A := by rw [mul_inv_cancel₀ q.ne_zero, one_smul] + linear_combination (norm := module) (-1 : k) • hA + · simp [eBasis, h0, h1] + +/-- Set the bits at the positions `i, i+1, i+2`. -/ +def trip (σ : ℕ → Bool) (i : ℕ) (a b c : Bool) : ℕ → Bool := + Function.update (Function.update (Function.update σ i a) (i + 1) b) (i + 2) c + +/-- `set2` at `i` as a triple update. -/ +lemma set2_eq_trip_zero (σ : ℕ → Bool) (i : ℕ) (x y : Bool) : + set2 σ i x y = trip σ i x y (σ (i + 2)) := by + funext n + simp only [set2, trip, Function.update_apply] + split_ifs <;> simp_all + +/-- `set2` at `i + 1` as a triple update. -/ +lemma set2_eq_trip_succ (σ : ℕ → Bool) (i : ℕ) (x y : Bool) : + set2 σ (i + 1) x y = trip σ i (σ i) x y := by + funext n + simp only [set2, trip, Function.update_apply] + split_ifs <;> simp_all + +/-- Bit `i` of a triple update. -/ +@[simp] lemma trip_zero (σ : ℕ → Bool) (i : ℕ) (a b c : Bool) : trip σ i a b c i = a := by + simp [trip] + +/-- Bit `i + 1` of a triple update. -/ +@[simp] lemma trip_one (σ : ℕ → Bool) (i : ℕ) (a b c : Bool) : trip σ i a b c (i + 1) = b := by + simp [trip] + +/-- Bit `i + 2` of a triple update. -/ +@[simp] lemma trip_two (σ : ℕ → Bool) (i : ℕ) (a b c : Bool) : trip σ i a b c (i + 2) = c := by + simp [trip] + +/-- A triple update overrides an earlier one at the same position. -/ +@[simp] lemma trip_trip (σ : ℕ → Bool) (i : ℕ) (a b c a' b' c' : Bool) : + trip (trip σ i a b c) i a' b' c' = trip σ i a' b' c' := by + funext n + simp only [trip, Function.update_apply] + split_ifs <;> simp_all + +/-- Setting a triple to its current values changes nothing. -/ +lemma trip_self (σ : ℕ → Bool) (i : ℕ) : trip σ i (σ i) (σ (i + 1)) (σ (i + 2)) = σ := by + funext n + simp only [trip, Function.update_apply] + split_ifs <;> simp_all + +/-- A triple update with the current values changes nothing. -/ +lemma trip_eq_self {σ : ℕ → Bool} {i : ℕ} {a b c : Bool} (h0 : σ i = a) (h1 : σ (i + 1) = b) + (h2 : σ (i + 2) = c) : trip σ i a b c = σ := by + subst h0 h1 h2; exact trip_self σ i + +/-- The braid relation `e_i e_{i+1} e_i = e_i` on basis vectors. -/ +lemma modelE_braid_l (q : kˣ) (i : ℕ) (σ : ℕ → Bool) : + modelE q i (modelE q (i + 1) (eBasis q i σ)) = eBasis q i σ := by + have hq : (q : k) * ((q⁻¹ : kˣ) : k) = 1 := by simp + have z0 : ∀ (τ : ℕ → Bool) (x y : Bool), set2 τ i x y = trip τ i x y (τ (i + 2)) := + fun τ x y => set2_eq_trip_zero τ i x y + have z1 : ∀ (τ : ℕ → Bool) (x y : Bool), set2 τ (i + 1) x y = trip τ i (τ i) x y := + fun τ x y => set2_eq_trip_succ τ i x y + have e2 : i + 1 + 1 = i + 2 := rfl + rcases h0 : σ i with _ | _ <;> rcases h1 : σ (i + 1) with _ | _ <;> rcases h2 : σ (i + 2) with _ | _ + all_goals + simp only [eBasis, map_sub, map_smul, modelE_single, h0, h1, h2, z0, z1, e2, + trip_zero, trip_one, trip_two, trip_trip, one_smul, smul_sub, smul_smul, map_zero, smul_zero, + sub_zero, zero_sub, map_neg, neg_sub, trip_eq_self h0 h1 h2, trip_eq_self h0 h1 h2] + try simp only [Units.val_inv_eq_inv_val, map_neg, map_sub, map_smul, modelE_single, z0, z1, e2, h0, h1, h2, + trip_zero, trip_one, trip_two, trip_trip, one_smul, smul_sub, smul_smul, trip_eq_self h0 h1 h2, + eBasis] + try (have hu : (q : k) ≠ 0 := q.ne_zero + match_scalars <;> field_simp) + +/-- The braid relation `e_{i+1} e_i e_{i+1} = e_{i+1}` on basis vectors. -/ +lemma modelE_braid_r (q : kˣ) (i : ℕ) (σ : ℕ → Bool) : + modelE q (i + 1) (modelE q i (eBasis q (i + 1) σ)) = eBasis q (i + 1) σ := by + have z0 : ∀ (τ : ℕ → Bool) (x y : Bool), set2 τ i x y = trip τ i x y (τ (i + 2)) := + fun τ x y => set2_eq_trip_zero τ i x y + have z1 : ∀ (τ : ℕ → Bool) (x y : Bool), set2 τ (i + 1) x y = trip τ i (τ i) x y := + fun τ x y => set2_eq_trip_succ τ i x y + have e2 : i + 1 + 1 = i + 2 := rfl + rcases h0 : σ i with _ | _ <;> rcases h1 : σ (i + 1) with _ | _ <;> rcases h2 : σ (i + 2) with _ | _ + all_goals + simp only [eBasis, map_sub, map_smul, modelE_single, h0, h1, h2, z0, z1, e2, + trip_zero, trip_one, trip_two, trip_trip, one_smul, smul_sub, smul_smul, map_zero, smul_zero, + sub_zero, zero_sub, map_neg, neg_sub, trip_eq_self h0 h1 h2] + try simp only [Units.val_inv_eq_inv_val, map_neg, map_sub, map_smul, modelE_single, z0, z1, e2, h0, h1, h2, + trip_zero, trip_one, trip_two, trip_trip, one_smul, smul_sub, smul_smul, trip_eq_self h0 h1 h2, + eBasis] + try (have hu : (q : k) ≠ 0 := q.ne_zero + match_scalars <;> field_simp) + +/-- `set2` at a later position does not change bit `i`. -/ +lemma set2_lt_zero (σ : ℕ → Bool) {i j : ℕ} (h : i + 2 ≤ j) (x y : Bool) : + set2 σ j x y i = σ i := by + simp only [set2, Function.update_apply] + split_ifs <;> first | rfl | omega + +/-- `set2` at a later position does not change bit `i + 1`. -/ +lemma set2_lt_one (σ : ℕ → Bool) {i j : ℕ} (h : i + 2 ≤ j) (x y : Bool) : + set2 σ j x y (i + 1) = σ (i + 1) := by + simp only [set2, Function.update_apply] + split_ifs <;> first | rfl | omega + +/-- `set2` at an earlier position does not change bit `j`. -/ +lemma set2_gt_zero (σ : ℕ → Bool) {i j : ℕ} (h : i + 2 ≤ j) (x y : Bool) : + set2 σ i x y j = σ j := by + simp only [set2, Function.update_apply] + split_ifs <;> first | rfl | omega + +/-- `set2` at an earlier position does not change bit `j + 1`. -/ +lemma set2_gt_one (σ : ℕ → Bool) {i j : ℕ} (h : i + 2 ≤ j) (x y : Bool) : + set2 σ i x y (j + 1) = σ (j + 1) := by + simp only [set2, Function.update_apply] + split_ifs <;> first | rfl | omega + +/-- `set2` at distant positions commutes. -/ +lemma set2_comm (σ : ℕ → Bool) {i j : ℕ} (h : i + 2 ≤ j) (a b c d : Bool) : + set2 (set2 σ j a b) i c d = set2 (set2 σ i c d) j a b := by + funext n + simp only [set2, Function.update_apply] + split_ifs <;> simp_all <;> omega + +/-- Distant generators commute, on basis vectors. -/ +lemma modelE_comm (q : kˣ) {i j : ℕ} (h : i + 2 ≤ j) (σ : ℕ → Bool) : + modelE q i (eBasis q j σ) = modelE q j (eBasis q i σ) := by + rcases h0 : σ i with _ | _ <;> rcases h1 : σ (i + 1) with _ | _ <;> + rcases h2 : σ j with _ | _ <;> rcases h3 : σ (j + 1) with _ | _ + all_goals + simp only [eBasis, map_sub, map_smul, modelE_single, h0, h1, h2, h3, set2_lt_zero σ h, + set2_lt_one σ h, set2_gt_zero σ h, set2_gt_one σ h, set2_comm σ h, one_smul, smul_sub, map_zero, + smul_zero, sub_zero, smul_smul] + try module + +/-- Two linear maps out of the model space agree if they agree on basis vectors. -/ +lemma model_ext {f g : Module.End k (ModelSpace k)} + (h : ∀ σ : ℕ → Bool, f (single σ 1) = g (single σ 1)) : f = g := by + refine Finsupp.lhom_ext fun σ c => ?_ + have : single σ c = c • single σ (1 : k) := by simp + rw [this, map_smul, map_smul, h σ] + +/-- **The Temperley–Lieb relations hold in the model**, with loop value `δ = -q - q⁻¹`. -/ +theorem modelE_isTL (q : kˣ) : IsTL (-(q : k) - ((q⁻¹ : kˣ) : k)) (modelE q : ℕ → Module.End k (ModelSpace k)) where + sq i := by + refine model_ext fun σ => ?_ + simp only [Module.End.mul_apply, modelE_single, one_smul, modelE_sq, Module.algebraMap_end_apply] + braid_l i := by + refine model_ext fun σ => ?_ + simpa using modelE_braid_l q i σ + braid_r i := by + refine model_ext fun σ => ?_ + simpa using modelE_braid_r q i σ + comm i j h := by + refine model_ext fun σ => ?_ + simpa using modelE_comm q h σ + +end Lightlike.TemperleyLieb From f1da849960d96c61192995c1d9e1c1f8a7960884 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:05:21 +0200 Subject: [PATCH 34/66] feat(geodesic): uniform future time balls with a uniform covering radius (exists_uniform_future_timeBall) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Geodesic/UniformNormalChart.lean | 45 +++++- Lightlike/Geodesic/UniformTimeBall.lean | 163 ++++++++++++++++++++- 2 files changed, 204 insertions(+), 4 deletions(-) diff --git a/Lightlike/Geodesic/UniformNormalChart.lean b/Lightlike/Geodesic/UniformNormalChart.lean index 4ed2d0f5..986b4374 100644 --- a/Lightlike/Geodesic/UniformNormalChart.lean +++ b/Lightlike/Geodesic/UniformNormalChart.lean @@ -131,8 +131,10 @@ theorem exists_uniform_normalChart (hg : Lightlike.IsCoordMetric g U) {K : Set ( (hK : IsCompact K) (hKU : K ⊆ U) : ∃ ρ : ℝ, 0 < ρ ∧ (∀ p ∈ K, ∀ v ∈ ball (0 : Fin n → ℝ) ρ, ((p, v) : (Fin n → ℝ) × (Fin n → ℝ)) ∈ expDomain g U) ∧ - ∀ p ∈ K, ∃ φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ), - IsNormalChart g U p ρ φ ∧ ∀ v ∈ ball (0 : Fin n → ℝ) ρ, φ v = expMap g U (p, v) := by + (∀ p ∈ K, ∃ φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ), + IsNormalChart g U p ρ φ ∧ ∀ v ∈ ball (0 : Fin n → ℝ) ρ, φ v = expMap g U (p, v)) ∧ + ∀ r' : ℝ, 0 < r' → r' ≤ ρ → ∃ η : ℝ, 0 < η ∧ ∀ p ∈ K, ∀ y : Fin n → ℝ, Dist.dist y p < η → + ∃ v ∈ ball (0 : Fin n → ℝ) r', expMap g U (p, v) = y := by obtain ⟨ρ₁, hρ₁, hgeo⟩ := exists_uniform_geodesic hg hK hKU obtain ⟨W, G, hW, hW0, hWd, hinj, hWs, himg, -, hG, hGs⟩ := exists_twoPoint_diffeo_global hg obtain ⟨u, v, hu, hv, hKu, h0v, huv⟩ := generalized_tube_lemma hK isCompact_singleton hW @@ -145,7 +147,7 @@ theorem exists_uniform_normalChart (hg : Lightlike.IsCoordMetric g U) {K : Set ( obtain ⟨ρ₂, hρ₂, hbv⟩ := Metric.isOpen_iff.1 hv 0 (h0v rfl) set ρ := min ρ₁ ρ₂ with hρ have hρpos : 0 < ρ := lt_min hρ₁ hρ₂ - refine ⟨ρ, hρpos, fun p hp w hw => ?_, fun p hp => ?_⟩ + refine ⟨ρ, hρpos, fun p hp w hw => ?_, fun p hp => ?_, ?_⟩ · exact hWd (huv ⟨hKu hp, hbv (ball_subset_ball (min_le_right _ _) hw)⟩) have hball : ∀ w ∈ ball (0 : Fin n → ℝ) ρ, ((p, w) : (Fin n → ℝ) × (Fin n → ℝ)) ∈ W := fun w hw => huv ⟨hKu hp, hbv (ball_subset_ball (min_le_right _ _) hw)⟩ @@ -241,4 +243,41 @@ theorem exists_uniform_normalChart (hg : Lightlike.IsCoordMetric g U) {K : Set ( · rw [(hγ 1 ⟨by norm_num, le_rfl⟩).1, one_smul]; rfl · exact (hγ t ht).1 + -- uniform neighbourhood of the diagonal inside `exp_p (B(0, r'))` + intro r' hr' hr'ρ + have hball : ∀ p ∈ K, ∀ w ∈ ball (0 : Fin n → ℝ) ρ, ((p, w) : (Fin n → ℝ) × (Fin n → ℝ)) ∈ W := + fun p hp w hw => huv ⟨hKu hp, hbv (ball_subset_ball (min_le_right _ _) hw)⟩ + set W' : Set ((Fin n → ℝ) × (Fin n → ℝ)) := W ∩ (univ ×ˢ ball (0 : Fin n → ℝ) r') with hW' + have hW'o : IsOpen W' := hW.inter (isOpen_univ.prod isOpen_ball) + have hΩ : IsOpen (twoPointMap g U '' W') := by + have : twoPointMap g U '' W' = twoPointMap g U '' W ∩ G ⁻¹' W' := by + ext y + constructor + · rintro ⟨q, hq, rfl⟩ + exact ⟨⟨q, hq.1, rfl⟩, by rw [Set.mem_preimage, hG q hq.1]; exact hq⟩ + · rintro ⟨⟨q, hq, rfl⟩, hy⟩ + rw [Set.mem_preimage, hG q hq] at hy + exact ⟨q, hy, rfl⟩ + rw [this] + exact hGs.continuousOn.isOpen_inter_preimage himg hW'o + set D : Set ((Fin n → ℝ) × (Fin n → ℝ)) := (fun p => (p, p)) '' K with hD + have hDc : IsCompact D := hK.image (by fun_prop) + have hDΩ : D ⊆ twoPointMap g U '' W' := by + rintro _ ⟨p, hp, rfl⟩ + have hp0 : ((p, 0) : (Fin n → ℝ) × (Fin n → ℝ)) ∈ W' := + ⟨hball p hp 0 (mem_ball_self hρpos), trivial, mem_ball_self hr'⟩ + refine ⟨(p, 0), hp0, ?_⟩ + show (p, expMap g U (p, 0)) = (p, p) + rw [expMap_zero hg (hKU hp)] + obtain ⟨δ, hδ, hthick⟩ := hDc.exists_thickening_subset_open hΩ hDΩ + refine ⟨δ, hδ, fun p hp y hy => ?_⟩ + have hmem : ((p, y) : (Fin n → ℝ) × (Fin n → ℝ)) ∈ thickening δ D := by + rw [mem_thickening_iff] + refine ⟨(p, p), ⟨p, hp, rfl⟩, ?_⟩ + rw [Prod.dist_eq, dist_self, max_lt_iff] + exact ⟨hδ, hy⟩ + obtain ⟨⟨a, b⟩, ⟨-, -, hb⟩, hq⟩ := hthick hmem + simp only [twoPointMap, Prod.mk.injEq] at hq + obtain ⟨rfl, hy'⟩ := hq + exact ⟨b, hb, hy'⟩ end Lightlike.Geodesic diff --git a/Lightlike/Geodesic/UniformTimeBall.lean b/Lightlike/Geodesic/UniformTimeBall.lean index ec9dacfb..10f1b948 100644 --- a/Lightlike/Geodesic/UniformTimeBall.lean +++ b/Lightlike/Geodesic/UniformTimeBall.lean @@ -187,7 +187,7 @@ theorem exists_uniform_isTimeBall {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n (hlt : ∀ p ∈ K, pairing g p (e p) (e p) < 0) : ∃ ρ r : ℝ, 0 < r ∧ r ≤ ρ ∧ ∀ p ∈ K, ∃ (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) (N : (Fin n → ℝ) → Fin n → ℝ), IsTimeBall g U p ρ φ (e p) r N := by - obtain ⟨ρ, hρ, hdom, hch⟩ := exists_uniform_normalChart hg hK hKU + obtain ⟨ρ, hρ, hdom, hch, -⟩ := exists_uniform_normalChart hg hK hKU have hch' : ∀ p : Fin n → ℝ, ∃ φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ), p ∈ K → IsNormalChart g U p ρ φ ∧ ∀ v ∈ ball (0 : Fin n → ℝ) ρ, φ v = expMap g U (p, v) := by intro p @@ -302,4 +302,165 @@ theorem exists_uniform_isTimeBall {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n rw [hNeq p hp v (hrb hv), hφeq p hp v (hrb hv)] exact hrF p hp v hv +/-- **Future time balls of uniform radius over a compact set.** Let `g` be a coordinate metric on `U`, +`K ⊆ U` compact, and `X` a continuous timelike field on `U`. Then there are `0 < r ≤ ρ` and `η > 0` +such that for every `p ∈ K` there are a normal chart `φ` and a field `N` with +`IsTimeBall g U p ρ φ (X p) r N`, `g(N, X) < 0` on the ball, and every `y` within `η` of `p` lies in +`φ (B(0, r))`. -/ +theorem exists_uniform_future_timeBall {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + (hg : IsCoordMetric g U) {K : Set (Fin n → ℝ)} (hK : IsCompact K) (hKU : K ⊆ U) + {e : (Fin n → ℝ) → Fin n → ℝ} (he' : ContinuousOn e U) + (hlt' : ∀ y ∈ U, pairing g y (e y) (e y) < 0) : + ∃ ρ r η : ℝ, 0 < r ∧ r ≤ ρ ∧ 0 < η ∧ ∀ p ∈ K, ∃ (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) + (N : (Fin n → ℝ) → Fin n → ℝ), IsTimeBall g U p ρ φ (e p) r N ∧ + (∀ v ∈ ball (0 : Fin n → ℝ) r, pairing g (φ v) (N v) (e (φ v)) < 0) ∧ + ∀ y : Fin n → ℝ, Dist.dist y p < η → ∃ v ∈ ball (0 : Fin n → ℝ) r, φ v = y := by + have he : ContinuousOn e K := he'.mono hKU + have hlt : ∀ p ∈ K, pairing g p (e p) (e p) < 0 := fun p hp => hlt' p (hKU hp) + obtain ⟨ρ, hρ, hdom, hch, hη⟩ := exists_uniform_normalChart hg hK hKU + have hch' : ∀ p : Fin n → ℝ, ∃ φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ), p ∈ K → + IsNormalChart g U p ρ φ ∧ ∀ v ∈ ball (0 : Fin n → ℝ) ρ, φ v = expMap g U (p, v) := by + intro p + by_cases hp : p ∈ K + · obtain ⟨φ, h⟩ := hch p hp + exact ⟨φ, fun _ => h⟩ + · exact ⟨OpenPartialHomeomorph.refl _, fun h => absurd h hp⟩ + choose φ hφφ using hch' + have hφ : ∀ p ∈ K, IsNormalChart g U p ρ (φ p) := fun p hp => (hφφ p hp).1 + have hφeq : ∀ p ∈ K, ∀ v ∈ ball (0 : Fin n → ℝ) ρ, φ p v = expMap g U (p, v) := + fun p hp => (hφφ p hp).2 + set S : Set ((Fin n → ℝ) × (Fin n → ℝ)) := K ×ˢ ball 0 ρ with hS + have hSdom : S ⊆ expDomain g U := fun q hq => hdom q.1 hq.1 q.2 hq.2 + have hopen := isOpen_expDomain hg + have hEcd := contDiffOn_expMap hg + have hEU : ∀ p ∈ K, ∀ v ∈ ball (0 : Fin n → ℝ) ρ, expMap g U (p, v) ∈ U := by + intro p hp v hv + rw [← hφeq p hp v hv] + exact (hφ p hp).target_subset ((φ p).map_source (by rw [(hφ p hp).source_eq]; exact hv)) + -- the matrix of `D_v exp` + set Am : (Fin n → ℝ) × (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ := fun q => + LinearMap.toMatrix' (((fderiv ℝ (expMap g U) q).comp + (ContinuousLinearMap.inr ℝ (Fin n → ℝ) (Fin n → ℝ)) : (Fin n → ℝ) →L[ℝ] (Fin n → ℝ)) : + (Fin n → ℝ) →ₗ[ℝ] (Fin n → ℝ)) with hAm + have hfd : ∀ q ∈ expDomain g U, HasFDerivAt (fun u => expMap g U (q.1, u)) + ((fderiv ℝ (expMap g U) q).comp (ContinuousLinearMap.inr ℝ (Fin n → ℝ) (Fin n → ℝ))) q.2 := by + intro q hq + have h1 : HasFDerivAt (expMap g U) (fderiv ℝ (expMap g U) q) (q.1, q.2) := + ((hEcd.contDiffAt (hopen.mem_nhds hq)).differentiableAt (by simp)).hasFDerivAt + have h2 : HasFDerivAt (fun f : Fin n → ℝ => ((q.1, f) : (Fin n → ℝ) × (Fin n → ℝ))) + (ContinuousLinearMap.inr ℝ (Fin n → ℝ) (Fin n → ℝ)) q.2 := hasFDerivAt_prodMk_right q.1 q.2 + exact HasFDerivAt.comp (g := expMap g U) q.2 h1 h2 + have hAφ : ∀ p ∈ K, ∀ v ∈ ball (0 : Fin n → ℝ) ρ, + LinearMap.toMatrix' ((fderiv ℝ (φ p) v : (Fin n → ℝ) →L[ℝ] (Fin n → ℝ)) : + (Fin n → ℝ) →ₗ[ℝ] (Fin n → ℝ)) = Am (p, v) := by + intro p hp v hv + have hev : φ p =ᶠ[𝓝 v] fun u => expMap g U (p, u) := by + filter_upwards [isOpen_ball.mem_nhds hv] with u hu using hφeq p hp u hu + rw [hAm, hev.fderiv_eq] + exact congrArg _ (congrArg _ (hfd (p, v) (hdom p hp v hv)).fderiv) + have hAc : ContinuousOn Am S := by + have hfc : ContinuousOn (fderiv ℝ (expMap g U)) (expDomain g U) := + hEcd.continuousOn_fderiv_of_isOpen hopen (by simp) + refine continuousOn_pi.2 fun i => continuousOn_pi.2 fun j => ?_ + have h1 : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => + fderiv ℝ (expMap g U) q (0, Pi.single j 1) i) S := + (continuous_apply i).comp_continuousOn ((hfc.mono hSdom).clm_apply continuousOn_const) + refine h1.congr fun q _ => ?_ + simp only [hAm, LinearMap.toMatrix'_apply] + rfl + have hdet : ∀ q ∈ S, (Am q).det ≠ 0 := by + rintro ⟨p, v⟩ ⟨hp, hv⟩ + rw [← hAφ p hp v hv] + exact (toMatrix_fderiv_symm (hφ p hp) hv).2 + have hinv : ContinuousOn (fun q => (Am q)⁻¹) S := continuousOn_matrix_inv hAc hdet + -- the field `N` jointly + set Nq : (Fin n → ℝ) × (Fin n → ℝ) → Fin n → ℝ := fun q => + (g (expMap g U q))⁻¹ *ᵥ ((Am q)⁻¹ᵀ *ᵥ (g q.1 *ᵥ e q.1)) with hNq + have hNeq : ∀ p ∈ K, ∀ v ∈ ball (0 : Fin n → ℝ) ρ, timeField g p (e p) (φ p) v = Nq (p, v) := by + intro p hp v hv + have h1 := (toMatrix_fderiv_symm (hφ p hp) hv).1 + rw [hAφ p hp v hv] at h1 + simp only [timeField, hNq] + rw [h1, hφeq p hp v hv] + have hEc : ContinuousOn (expMap g U) S := (hEcd.mono hSdom).continuousOn + have hGc : ∀ i j, ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => g (expMap g U q) i j) S := + fun i j => (hg.smooth i j).continuousOn.comp hEc fun q hq => hEU q.1 hq.1 q.2 hq.2 + have hGmat : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => g (expMap g U q)) S := + continuousOn_pi.2 fun i => continuousOn_pi.2 fun j => hGc i j + have hg1 : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => g q.1) S := + continuousOn_pi.2 fun i => continuousOn_pi.2 fun j => + ((hg.smooth i j).continuousOn.comp continuousOn_fst fun q hq => hKU hq.1) + have hec : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => e q.1) S := + he.comp continuousOn_fst fun q hq => hq.1 + have hGinv : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => (g (expMap g U q))⁻¹) S := + continuousOn_matrix_inv hGmat fun q hq => (hg.isUnit_det _ (hEU q.1 hq.1 q.2 hq.2)).ne_zero + have hNc : ContinuousOn Nq S := by + have h1 : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => g q.1 *ᵥ e q.1) S := + continuousOn_pi.2 fun i => by + simp only [Matrix.mulVec, dotProduct] + exact continuousOn_finsetSum _ fun j _ => ((continuous_apply j).comp_continuousOn + ((continuous_apply i).comp_continuousOn hg1)).mul ((continuous_apply j).comp_continuousOn hec) + have h1' := (continuousOn_iff_continuous_domRestrict).1 h1 + have hinv' := (continuousOn_iff_continuous_domRestrict).1 hinv + have hGinv' := (continuousOn_iff_continuous_domRestrict).1 hGinv + rw [continuousOn_iff_continuous_domRestrict] + exact hGinv'.matrix_mulVec (hinv'.matrix_transpose.matrix_mulVec h1') + have hFc : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => + pairing g (expMap g U q) (Nq q) (Nq q)) S := by + simp only [pairing] + refine continuousOn_finsetSum _ fun i _ => continuousOn_finsetSum _ fun j _ => ?_ + exact ((continuous_apply i).comp_continuousOn hNc).mul + ((hGc i j).mul ((continuous_apply j).comp_continuousOn hNc)) + have hF0 : ∀ p ∈ K, pairing g (expMap g U (p, 0)) (Nq (p, 0)) (Nq (p, 0)) < 0 := by + intro p hp + have h0 : (0 : Fin n → ℝ) ∈ ball (0 : Fin n → ℝ) ρ := mem_ball_self hρ + have hN0 := (timeField_props (e := e p) hg (hφ p hp) (hKU hp)).2.1 + rw [hNeq p hp 0 h0] at hN0 + rw [hN0, expMap_zero hg (hKU hp)] + exact hlt p hp + have hecE : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => e (expMap g U q)) S := + he'.comp hEc fun q hq => hEU q.1 hq.1 q.2 hq.2 + have hF2c : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => + pairing g (expMap g U q) (Nq q) (e (expMap g U q))) S := by + simp only [pairing] + refine continuousOn_finsetSum _ fun i _ => continuousOn_finsetSum _ fun j _ => ?_ + exact ((continuous_apply i).comp_continuousOn hNc).mul + ((hGc i j).mul ((continuous_apply j).comp_continuousOn hecE)) + have hF20 : ∀ p ∈ K, pairing g (expMap g U (p, 0)) (Nq (p, 0)) (e (expMap g U (p, 0))) < 0 := by + intro p hp + have h0 : (0 : Fin n → ℝ) ∈ ball (0 : Fin n → ℝ) ρ := mem_ball_self hρ + have hN0 := (timeField_props (e := e p) hg (hφ p hp) (hKU hp)).2.1 + rw [hNeq p hp 0 h0] at hN0 + rw [hN0, expMap_zero hg (hKU hp)] + exact hlt p hp + have hSub : K ×ˢ closedBall (0 : Fin n → ℝ) (ρ / 2) ⊆ S := fun q hq => + ⟨hq.1, closedBall_subset_ball (half_lt_self hρ) hq.2⟩ + obtain ⟨r, hr, hrρ, hrF⟩ := exists_uniform_radius hK (half_pos hρ) + (F := fun q : (Fin n → ℝ) × (Fin n → ℝ) => pairing g (expMap g U q) (Nq q) (Nq q)) + (hFc.mono hSub) hF0 + obtain ⟨r₂, hr₂, hr₂ρ, hrF₂⟩ := exists_uniform_radius hK (half_pos hρ) + (F := fun q : (Fin n → ℝ) × (Fin n → ℝ) => + pairing g (expMap g U q) (Nq q) (e (expMap g U q))) + (hF2c.mono hSub) hF20 + have hrle : min r r₂ ≤ ρ / 2 := (min_le_left _ _).trans hrρ + obtain ⟨η, hη0, hηy⟩ := hη (min r r₂) (lt_min hr hr₂) (hrle.trans (half_le_self hρ.le)) + refine ⟨ρ, min r r₂, η, lt_min hr hr₂, hrle.trans (half_le_self hρ.le), hη0, fun p hp => ?_⟩ + have hrb : ball (0 : Fin n → ℝ) (min r r₂) ⊆ ball (0 : Fin n → ℝ) ρ := + ball_subset_ball (hrle.trans (half_le_self hρ.le)) + have hrb1 : ball (0 : Fin n → ℝ) (min r r₂) ⊆ ball (0 : Fin n → ℝ) r := + ball_subset_ball (min_le_left _ _) + have hrb2 : ball (0 : Fin n → ℝ) (min r r₂) ⊆ ball (0 : Fin n → ℝ) r₂ := + ball_subset_ball (min_le_right _ _) + obtain ⟨hdual, -, hNcont⟩ := timeField_props (e := e p) hg (hφ p hp) (hKU hp) + refine ⟨φ p, timeField g p (e p) (φ p), ⟨⟨hφ p hp, lt_min hr hr₂, + hrle.trans (half_le_self hρ.le), hlt p hp, fun v hv w => hdual v (hrb hv) w, fun v hv => ?_, + hNcont.mono hrb⟩, fun v hv => ?_, fun y hy => ?_⟩⟩ + · rw [hNeq p hp v (hrb hv), hφeq p hp v (hrb hv)] + exact hrF p hp v (hrb1 hv) + · rw [hNeq p hp v (hrb hv), hφeq p hp v (hrb hv)] + exact hrF₂ p hp v (hrb2 hv) + · obtain ⟨v, hv, hvy⟩ := hηy p hp y hy + exact ⟨v, hv, by rw [hφeq p hp v (hrb hv)]; exact hvy⟩ + + end Lightlike.Geodesic From cc3666784c418283cdd0490ef0e2048979528591 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:09:23 +0200 Subject: [PATCH 35/66] feat(TL): cups and caps on the infinite tensor power: loop value, e_i = cup cap, zigzag (F3a) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/TemperleyLieb/CupCap.lean | 156 ++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+) create mode 100644 Lightlike/TemperleyLieb/CupCap.lean diff --git a/Lightlike.lean b/Lightlike.lean index d4a37bb2..3a11c0b7 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1940,6 +1940,7 @@ import Lightlike.Dirac.EigenAngular import Lightlike.TemperleyLieb.Basic import Lightlike.TemperleyLieb.JonesWenzl import Lightlike.TemperleyLieb.Model +import Lightlike.TemperleyLieb.CupCap import Lightlike.Dirac.ConnesDistance import Lightlike.Dirac.ConnesDistance2 import Lightlike.Dirac.ConnesDistance3 diff --git a/Lightlike/TemperleyLieb/CupCap.lean b/Lightlike/TemperleyLieb/CupCap.lean new file mode 100644 index 00000000..013de8c8 --- /dev/null +++ b/Lightlike/TemperleyLieb/CupCap.lean @@ -0,0 +1,156 @@ +import Mathlib +import Lightlike.TemperleyLieb.Model + +/-! +# Cups and caps on the infinite tensor power + +On `ModelSpace k` (finitely supported combinations of bit sequences) the operator `cupOp q i` inserts the +state `|01⟩ - q |10⟩` at the positions `i, i + 1` (shifting the later bits up by two), and `capOp q i` +contracts the positions `i, i + 1` with the functional `⟨01| ↦ -q⁻¹`, `⟨10| ↦ 1` (shifting the later bits down). +Then `cap_i ∘ cup_i = δ`, `cup_i ∘ cap_i = e_i` (`cup_cap`), and the zigzag relations hold +(`cap_cup_succ`, `cap_succ_cup`). Together with the Jones–Wenzl projectors of `JonesWenzl.lean` these are the +morphisms of the Temperley–Lieb category, realized as operators on one space. +-/ + +namespace Lightlike.TemperleyLieb + +open Finsupp + +variable {k : Type*} [Field k] + +/-- Remove the bits at the positions `i` and `i + 1`, shifting the later bits down by two. -/ +def removeTwo (σ : ℕ → Bool) (i : ℕ) : ℕ → Bool := fun n => if n < i then σ n else σ (n + 2) + +/-- Insert the bits `x, y` at the positions `i` and `i + 1`, shifting the later bits up by two. -/ +def insertTwo (σ : ℕ → Bool) (i : ℕ) (x y : Bool) : ℕ → Bool := fun n => + if n < i then σ n else if n = i then x else if n = i + 1 then y else σ (n - 2) + +/-- Removing what was inserted. -/ +lemma removeTwo_insertTwo (σ : ℕ → Bool) (i : ℕ) (x y : Bool) : + removeTwo (insertTwo σ i x y) i = σ := by + funext n + simp only [removeTwo, insertTwo] + split_ifs <;> first | rfl | omega + +/-- Inserting what was removed. -/ +lemma insertTwo_removeTwo (σ : ℕ → Bool) (i : ℕ) : + insertTwo (removeTwo σ i) i (σ i) (σ (i + 1)) = σ := by + funext n + simp only [removeTwo, insertTwo] + split_ifs <;> first | rfl | (subst_vars; rfl) | (congr 1; omega) | omega + +/-- The cap weights: `⟨01| ↦ -q⁻¹`, `⟨10| ↦ 1`. -/ +def capWeight (q : kˣ) : Bool → Bool → k + | false, true => -((q⁻¹ : kˣ) : k) + | true, false => 1 + | _, _ => 0 + +/-- The cap at the positions `i, i + 1`, on basis vectors. -/ +noncomputable def capBasis (q : kˣ) (i : ℕ) (σ : ℕ → Bool) : ModelSpace k := + single (removeTwo σ i) (capWeight q (σ i) (σ (i + 1))) + +/-- The cup at the positions `i, i + 1`, on basis vectors. -/ +noncomputable def cupBasis (q : kˣ) (i : ℕ) (σ : ℕ → Bool) : ModelSpace k := + single (insertTwo σ i false true) 1 - (q : k) • single (insertTwo σ i true false) 1 + +/-- The cap operator. -/ +noncomputable def capOp (q : kˣ) (i : ℕ) : Module.End k (ModelSpace k) := + Finsupp.lsum k (fun σ => LinearMap.toSpanSingleton k _ (capBasis q i σ)) + +/-- The cup operator. -/ +noncomputable def cupOp (q : kˣ) (i : ℕ) : Module.End k (ModelSpace k) := + Finsupp.lsum k (fun σ => LinearMap.toSpanSingleton k _ (cupBasis q i σ)) + +@[simp] lemma capOp_single (q : kˣ) (i : ℕ) (σ : ℕ → Bool) (c : k) : + capOp q i (single σ c) = c • capBasis q i σ := by + simp [capOp] + +@[simp] lemma cupOp_single (q : kˣ) (i : ℕ) (σ : ℕ → Bool) (c : k) : + cupOp q i (single σ c) = c • cupBasis q i σ := by + simp [cupOp] + +/-- Inserting at the position of the removed bits is `set2`. -/ +lemma insertTwo_removeTwo_eq_set2 (σ : ℕ → Bool) (i : ℕ) (x y : Bool) : + insertTwo (removeTwo σ i) i x y = set2 σ i x y := by + funext n + simp only [removeTwo, insertTwo, set2, Function.update_apply] + split_ifs <;> first | rfl | omega | (congr 1; omega) + +/-- First zigzag: removing at `i` what was inserted at `i + 1`. -/ +lemma removeTwo_insertTwo_succ (σ : ℕ → Bool) (i : ℕ) (x y : Bool) : + removeTwo (insertTwo σ (i + 1) x y) i = Function.update σ i y := by + funext n + simp only [removeTwo, insertTwo, Function.update_apply] + split_ifs <;> first | rfl | omega | (congr 1; omega) + +/-- Second zigzag: removing at `i + 1` what was inserted at `i`. -/ +lemma removeTwo_succ_insertTwo (σ : ℕ → Bool) (i : ℕ) (x y : Bool) : + removeTwo (insertTwo σ i x y) (i + 1) = Function.update σ i x := by + funext n + simp only [removeTwo, insertTwo, Function.update_apply] + split_ifs <;> first | rfl | omega | (congr 1; omega) + +/-- **Loop value**: `cap_i ∘ cup_i = δ`. -/ +theorem cap_cup (q : kˣ) (i : ℕ) : + capOp q i * cupOp q i = algebraMap k _ (-(q : k) - ((q⁻¹ : kˣ) : k)) := by + refine model_ext fun σ => ?_ + simp only [Module.End.mul_apply, cupOp_single, one_smul, cupBasis, map_sub, map_smul, capOp_single, + capBasis, removeTwo_insertTwo, capWeight, insertTwo] + simp + module + +/-- **`e_i = cup_i ∘ cap_i`**. -/ +theorem cup_cap (q : kˣ) (i : ℕ) : cupOp q i * capOp q i = modelE q i := by + refine model_ext fun σ => ?_ + simp only [Module.End.mul_apply, capOp_single, one_smul, capBasis, cupOp_single, cupBasis, + insertTwo_removeTwo_eq_set2, modelE_single, eBasis] + rcases h0 : σ i with _ | _ <;> rcases h1 : σ (i + 1) with _ | _ + · simp [capWeight] + · have e0 : set2 σ i false true = σ := by rw [← h0, ← h1]; exact set2_self σ i + simp only [capWeight, e0, Units.val_inv_eq_inv_val] + simp only [smul_sub, smul_smul] + have hu : (q : k) ≠ 0 := q.ne_zero + match_scalars <;> field_simp + · have e0 : set2 σ i true false = σ := by rw [← h0, ← h1]; exact set2_self σ i + simp only [capWeight, e0] + simp only [smul_sub, smul_smul] + match_scalars <;> simp + · simp [capWeight] + +/-- **Zigzag**: `cap_i ∘ cup_{i+1} = 1`. -/ +theorem cap_cup_succ (q : kˣ) (i : ℕ) : capOp q i * cupOp q (i + 1) = 1 := by + refine model_ext fun σ => ?_ + simp only [Module.End.mul_apply, cupOp_single, one_smul, cupBasis, map_sub, map_smul, capOp_single, + capBasis, removeTwo_insertTwo_succ, Module.End.one_apply] + have b0 : insertTwo σ (i + 1) false true i = σ i := by simp [insertTwo] + have b0' : insertTwo σ (i + 1) true false i = σ i := by simp [insertTwo] + have b1 : insertTwo σ (i + 1) false true (i + 1) = false := by simp [insertTwo] + have b1' : insertTwo σ (i + 1) true false (i + 1) = true := by simp [insertTwo] + rw [b0, b0', b1, b1'] + rcases h0 : σ i with _ | _ + · have : Function.update σ i false = σ := by rw [← h0]; exact Function.update_eq_self i σ + simp [capWeight, this] + · have : Function.update σ i true = σ := by rw [← h0]; exact Function.update_eq_self i σ + simp [capWeight, this] + +/-- **Zigzag**: `cap_{i+1} ∘ cup_i = 1`. -/ +theorem cap_succ_cup (q : kˣ) (i : ℕ) : capOp q (i + 1) * cupOp q i = 1 := by + refine model_ext fun σ => ?_ + simp only [Module.End.mul_apply, cupOp_single, one_smul, cupBasis, map_sub, map_smul, capOp_single, + capBasis, removeTwo_succ_insertTwo, Module.End.one_apply] + have b1 : insertTwo σ i false true (i + 1) = true := by simp [insertTwo] + have b1' : insertTwo σ i true false (i + 1) = false := by simp [insertTwo] + have b2 : insertTwo σ i false true (i + 1 + 1) = σ i := by + unfold insertTwo + split_ifs <;> first | rfl | omega | (congr 1; omega) + have b2' : insertTwo σ i true false (i + 1 + 1) = σ i := by + unfold insertTwo + split_ifs <;> first | rfl | omega | (congr 1; omega) + rw [b1, b1', b2, b2'] + rcases h0 : σ i with _ | _ + · have : Function.update σ i false = σ := by rw [← h0]; exact Function.update_eq_self i σ + simp [capWeight, this] + · have : Function.update σ i true = σ := by rw [← h0]; exact Function.update_eq_self i σ + simp [capWeight, this] + +end Lightlike.TemperleyLieb From a812f899f558f6f727c7195184064a5740e63ffd Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:09:41 +0200 Subject: [PATCH 36/66] docs(TL): docstrings for the cup and cap basis lemmas Co-Authored-By: Claude Opus 5.5 --- Lightlike/TemperleyLieb/CupCap.lean | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lightlike/TemperleyLieb/CupCap.lean b/Lightlike/TemperleyLieb/CupCap.lean index 013de8c8..d8d1be6e 100644 --- a/Lightlike/TemperleyLieb/CupCap.lean +++ b/Lightlike/TemperleyLieb/CupCap.lean @@ -61,10 +61,12 @@ noncomputable def capOp (q : kˣ) (i : ℕ) : Module.End k (ModelSpace k) := noncomputable def cupOp (q : kˣ) (i : ℕ) : Module.End k (ModelSpace k) := Finsupp.lsum k (fun σ => LinearMap.toSpanSingleton k _ (cupBasis q i σ)) +/-- The cap on a basis vector. -/ @[simp] lemma capOp_single (q : kˣ) (i : ℕ) (σ : ℕ → Bool) (c : k) : capOp q i (single σ c) = c • capBasis q i σ := by simp [capOp] +/-- The cup on a basis vector. -/ @[simp] lemma cupOp_single (q : kˣ) (i : ℕ) (σ : ℕ → Bool) (c : k) : cupOp q i (single σ c) = c • cupBasis q i σ := by simp [cupOp] From 446733b510b21c95ea0ad2e2a0279311d6f2785a Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:10:03 +0200 Subject: [PATCH 37/66] feat(geodesic): a geodesic from the centre of a normal chart staying in the chart is radial (geodesic_eq_radial) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/Geodesic/RadialUnique.lean | 157 +++++++++++++++++++++++++++ 2 files changed, 158 insertions(+) create mode 100644 Lightlike/Geodesic/RadialUnique.lean diff --git a/Lightlike.lean b/Lightlike.lean index d7da9ef3..41ef6430 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -2093,6 +2093,7 @@ import Lightlike.Geodesic.LocalCausalityManifold import Lightlike.Geodesic.UniformNormalChart import Lightlike.Geodesic.UniformTimeBall import Lightlike.Geodesic.NullRigidity +import Lightlike.Geodesic.RadialUnique import Lightlike.Geodesic.Radial import Lightlike.Geodesic.Tests import Lightlike.Geodesic.TimeBall diff --git a/Lightlike/Geodesic/RadialUnique.lean b/Lightlike/Geodesic/RadialUnique.lean new file mode 100644 index 00000000..5afeab0d --- /dev/null +++ b/Lightlike/Geodesic/RadialUnique.lean @@ -0,0 +1,157 @@ +import Lightlike.Geodesic.ExpDiffeo +import Lightlike.Geodesic.Radial +import Lightlike.Geodesic.Gauss + +/-! +# A geodesic from the centre of a normal chart which stays in the chart is radial + +In a normal chart `φ` at `p` on the ball of radius `ρ`, a geodesic `Λ` from `p` with initial +velocity `ξ` whose points on `[0, S]` lie in `φ (B(0, r))`, `r < ρ`, is the radial geodesic +`s ↦ φ (s ξ)`, with `s ξ ∈ B(0, r)` (`IsNormalChart.geodesic_eq_radial`). It is the uniqueness half +of "geodesics from the centre of a normal chart are the radial lines". +-/ + +open Set Metric Filter Topology +open scoped ContDiff + +noncomputable section + +namespace Lightlike.Geodesic + +variable {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + +namespace IsNormalChart + +variable {p : Fin n → ℝ} {ρ : ℝ} {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} + +/-- **The radial line is a geodesic near each time at which it is in the normal ball.** -/ +theorem exists_radial_geodesic (h : IsNormalChart g U p ρ φ) {ξ : Fin n → ℝ} {x : ℝ} (hx : 0 ≤ x) + (hxξ : x • ξ ∈ ball (0 : Fin n → ℝ) ρ) : + ∃ (R wR : ℝ → Fin n → ℝ) (I : Set ℝ), I ∈ 𝓝 x ∧ IsGeodesicOn g R wR I ∧ + ∀ᶠ t in 𝓝 x, R t = φ (t • ξ) ∧ wR t = fderiv ℝ φ (t • ξ) ξ := by + have hopen : IsOpen ((fun t : ℝ => t • ξ) ⁻¹' ball (0 : Fin n → ℝ) ρ) := + isOpen_ball.preimage (by fun_prop) + obtain ⟨δ, hδ, hsub⟩ := Metric.isOpen_iff.1 hopen x hxξ + set c : ℝ := x + δ / 2 with hc + have hcpos : 0 < c := by rw [hc]; linarith + have hcξ : c • ξ ∈ ball (0 : Fin n → ℝ) ρ := hsub (by + rw [Metric.mem_ball, Real.dist_eq, hc, show x + δ / 2 - x = δ / 2 by ring, + abs_of_pos (by linarith)]; linarith) + obtain ⟨γ', w', -, -, -, hgeo', hγ'⟩ := h.geodesic (c • ξ) hcξ + have hgeoS := hgeo'.scale c⁻¹ + refine ⟨fun t => γ' (c⁻¹ * t), fun t => c⁻¹ • w' (c⁻¹ * t), + (fun t => c⁻¹ * t) ⁻¹' Ioo (-1 : ℝ) 2, ?_, hgeoS, ?_⟩ + · refine (isOpen_Ioo.preimage (by fun_prop)).mem_nhds ?_ + show c⁻¹ * x ∈ Ioo (-1 : ℝ) 2 + have : c⁻¹ * x < 1 := by rw [inv_mul_lt_iff₀ hcpos]; rw [hc]; linarith + constructor + · have : 0 ≤ c⁻¹ * x := mul_nonneg (inv_nonneg.2 hcpos.le) hx + linarith + · linarith + · -- near `x` the rescaled geodesic is the radial line + have hnear : ∀ᶠ t in 𝓝 x, |c⁻¹ * t| < 1 ∧ t • ξ ∈ ball (0 : Fin n → ℝ) ρ := by + have h1 : ∀ᶠ t in 𝓝 x, |c⁻¹ * t| < 1 := by + have : ContinuousAt (fun t : ℝ => |c⁻¹ * t|) x := by fun_prop + refine this.eventually (gt_mem_nhds ?_) + show |c⁻¹ * x| < 1 + rw [abs_mul, abs_of_pos (inv_pos.2 hcpos), abs_of_nonneg hx, inv_mul_lt_iff₀ hcpos] + rw [hc]; linarith + exact h1.and (hopen.mem_nhds hxξ) + have hR : ∀ᶠ t in 𝓝 x, γ' (c⁻¹ * t) = φ (t • ξ) := by + filter_upwards [hnear] with t ht + rw [hγ' _ ⟨(abs_lt.1 ht.1).1.le, (abs_lt.1 ht.1).2.le⟩, smul_smul] + congr 2 + field_simp + filter_upwards [hnear.eventually_nhds, hR.eventually_nhds, hR] with t ht hRn hRt + refine ⟨hRt, ?_⟩ + have ht0 : |c⁻¹ * t| < 1 ∧ t • ξ ∈ ball (0 : Fin n → ℝ) ρ := ht.self_of_nhds + have hmem : t ∈ (fun t => c⁻¹ * t) ⁻¹' Ioo (-1 : ℝ) 2 := by + have := abs_lt.1 ht0.1 + exact ⟨this.1, by linarith [this.2]⟩ + have h1 := hgeoS.pos t hmem + have hsrc : t • ξ ∈ φ.source := by rw [h.source_eq]; exact ht0.2 + have hdφ : HasFDerivAt φ (fderiv ℝ φ (t • ξ)) (t • ξ) := + ((h.contDiffOn.contDiffAt (φ.open_source.mem_nhds hsrc)).differentiableAt (by simp)).hasFDerivAt + have hin : HasDerivAt (fun s : ℝ => s • ξ) ξ t := by + simpa using (hasDerivAt_id t).smul_const ξ + have h2 := hdφ.comp_hasDerivAt t hin + exact h1.unique (h2.congr_of_eventuallyEq hRn) + +/-- **A geodesic from the centre that stays in the chart is radial.** Let `Λ` be a geodesic on an +open set containing `[0, S]` with `Λ 0 = p` and `Λ s ∈ φ (B(0, r))` for `s ∈ [0, S]`, `r < ρ`. Then +for `ξ = Λ'(0)` and `s ∈ [0, S]`: `s ξ ∈ B(0, r)`, `Λ s = φ (s ξ)` and `Λ'(s) = Dφ(s ξ) ξ`. -/ +theorem geodesic_eq_radial (hg : Lightlike.IsCoordMetric g U) (h : IsNormalChart g U p ρ φ) + {r : ℝ} (hr : 0 < r) (hrρ : r < ρ) {Λ ξ' : ℝ → Fin n → ℝ} {O : Set ℝ} (hO : IsOpen O) + {S : ℝ} (hOS : Icc 0 S ⊆ O) (hΛ : IsGeodesicOn g Λ ξ' O) (hΛ0 : Λ 0 = p) + (hΛmem : ∀ s ∈ Icc (0 : ℝ) S, Λ s ∈ φ '' ball (0 : Fin n → ℝ) r) : + ∀ s ∈ Icc (0 : ℝ) S, s • ξ' 0 ∈ ball (0 : Fin n → ℝ) r ∧ Λ s = φ (s • ξ' 0) ∧ + ξ' s = fderiv ℝ φ (s • ξ' 0) (ξ' 0) := by + set ξ := ξ' 0 with hξ + have hbρ : ball (0 : Fin n → ℝ) r ⊆ ball 0 ρ := ball_subset_ball hrρ.le + have hcb : closedBall (0 : Fin n → ℝ) r ⊆ ball 0 ρ := closedBall_subset_ball hrρ + have hφcd : ContDiffOn ℝ ∞ φ (ball 0 ρ) := h.source_eq ▸ h.contDiffOn + have hφc : ContinuousOn φ (ball 0 ρ) := hφcd.continuousOn + have hDφc : ContinuousOn (fun v => fderiv ℝ φ v) (ball 0 ρ) := + hφcd.continuousOn_fderiv_of_isOpen isOpen_ball (by simp) + -- the closed set + set T : Set ℝ := {s | s • ξ ∈ closedBall (0 : Fin n → ℝ) r ∧ Λ s = φ (s • ξ) ∧ + ξ' s = fderiv ℝ φ (s • ξ) ξ} with hT + have hΛc : ∀ s ∈ Icc (0 : ℝ) S, ContinuousAt Λ s := fun s hs => (hΛ.pos s (hOS hs)).continuousAt + have hξc : ∀ s ∈ Icc (0 : ℝ) S, ContinuousAt ξ' s := fun s hs => (hΛ.vel s (hOS hs)).continuousAt + have hclosed : IsClosed (T ∩ Icc 0 S) := by + set C : Set ℝ := {s | s • ξ ∈ closedBall (0 : Fin n → ℝ) r} ∩ Icc 0 S with hC + have hCc : IsClosed C := + (isClosed_closedBall.preimage (by fun_prop)).inter isClosed_Icc + have hmapC : ∀ s ∈ C, s • ξ ∈ ball (0 : Fin n → ℝ) ρ := fun s hs => hcb hs.1 + have hf1 : ContinuousOn (fun s => Λ s - φ (s • ξ)) C := by + refine ContinuousOn.sub (fun s hs => (hΛc s hs.2).continuousWithinAt) ?_ + exact hφc.comp (by fun_prop : Continuous fun s : ℝ => s • ξ).continuousOn hmapC + have hf2 : ContinuousOn (fun s => ξ' s - fderiv ℝ φ (s • ξ) ξ) C := by + refine ContinuousOn.sub (fun s hs => (hξc s hs.2).continuousWithinAt) ?_ + exact (hDφc.comp (by fun_prop : Continuous fun s : ℝ => s • ξ).continuousOn hmapC).clm_apply + continuousOn_const + have e : T ∩ Icc 0 S = C ∩ (fun s => Λ s - φ (s • ξ)) ⁻¹' {0} ∩ + (fun s => ξ' s - fderiv ℝ φ (s • ξ) ξ) ⁻¹' {0} := by + ext s + simp only [hT, hC, mem_inter_iff, mem_setOf_eq, mem_preimage, mem_singleton_iff, sub_eq_zero] + tauto + rw [e] + have h1c := hf1.preimage_isClosed_of_isClosed hCc (isClosed_singleton (x := (0 : Fin n → ℝ))) + exact (hf2.mono inter_subset_left).preimage_isClosed_of_isClosed h1c + (isClosed_singleton (x := (0 : Fin n → ℝ))) + -- on `Icc 0 S`, `s ξ ∈ closedBall` and `Λ s = φ (s ξ)` give `s ξ ∈ ball` + have hball : ∀ s : ℝ, 0 ≤ s → s ∈ Icc (0 : ℝ) S → s ∈ T → s • ξ ∈ ball (0 : Fin n → ℝ) r := by + intro s _ hs hsT + obtain ⟨v, hv, hvs⟩ := hΛmem s hs + have hinj := φ.injOn + have : v = s • ξ := hinj (by rw [h.source_eq]; exact hbρ hv) (by rw [h.source_eq]; exact hcb hsT.1) + (by rw [hvs, hsT.2.1]) + rw [← this]; exact hv + have hmain : Icc (0 : ℝ) S ⊆ T := by + refine hclosed.Icc_subset_of_forall_mem_nhdsWithin ?_ ?_ + · refine ⟨by simp [hr.le], ?_, ?_⟩ + · rw [zero_smul, hΛ0, h.map_zero] + · rw [zero_smul, h.hasFDerivAt_zero.fderiv]; rfl + · rintro x ⟨hxT, hx0, hxS⟩ + have hxI : x ∈ Icc (0 : ℝ) S := ⟨hx0, hxS.le⟩ + have hxb := hball x hx0 hxI hxT + obtain ⟨R, wR, I, hI, hgeoR, hev⟩ := h.exists_radial_geodesic hx0 (hbρ hxb) + have hΛU : Λ x ∈ U := by + rw [hxT.2.1] + exact h.target_subset (φ.map_source (by rw [h.source_eq]; exact hbρ hxb)) + have hR0 : R x = φ (x • ξ) := hev.self_of_nhds.1 + have hw0 : wR x = fderiv ℝ φ (x • ξ) ξ := hev.self_of_nhds.2 + have hph := IsGeodesicOn.eventuallyEq hg (hO.mem_nhds (hOS hxI)) hI hΛ hgeoR hΛU + (by rw [hxT.2.1, hR0]) (by rw [hxT.2.2, hw0]) + have hopenb : ∀ᶠ t in 𝓝 x, t • ξ ∈ ball (0 : Fin n → ℝ) r := + (isOpen_ball.preimage (by fun_prop : Continuous fun t : ℝ => t • ξ)).mem_nhds hxb + refine mem_nhdsWithin_of_mem_nhds ?_ + filter_upwards [hph, hev, hopenb] with t h1 h2 h3 + have h1' : Λ t = R t ∧ ξ' t = wR t := ⟨congrArg Prod.fst h1, congrArg Prod.snd h1⟩ + exact ⟨ball_subset_closedBall h3, by rw [h1'.1, h2.1], by rw [h1'.2, h2.2]⟩ + intro s hs + exact ⟨hball s hs.1 hs (hmain hs), (hmain hs).2.1, (hmain hs).2.2⟩ + +end IsNormalChart + +end Lightlike.Geodesic From 4374eabc48dbd7b39fefaf6f41eacdd7a4d32028 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:14:52 +0200 Subject: [PATCH 38/66] feat(TL): Jones' conditional expectation e_m A_m e_m = A_m e_m and absorption by projectors (F3b) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/TemperleyLieb/Jones.lean | 208 +++++++++++++++++++++++++++++ 2 files changed, 209 insertions(+) create mode 100644 Lightlike/TemperleyLieb/Jones.lean diff --git a/Lightlike.lean b/Lightlike.lean index 3a11c0b7..2a815364 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1941,6 +1941,7 @@ import Lightlike.TemperleyLieb.Basic import Lightlike.TemperleyLieb.JonesWenzl import Lightlike.TemperleyLieb.Model import Lightlike.TemperleyLieb.CupCap +import Lightlike.TemperleyLieb.Jones import Lightlike.Dirac.ConnesDistance import Lightlike.Dirac.ConnesDistance2 import Lightlike.Dirac.ConnesDistance3 diff --git a/Lightlike/TemperleyLieb/Jones.lean b/Lightlike/TemperleyLieb/Jones.lean new file mode 100644 index 00000000..dafe8d18 --- /dev/null +++ b/Lightlike/TemperleyLieb/Jones.lean @@ -0,0 +1,208 @@ +import Mathlib +import Lightlike.TemperleyLieb.JonesWenzl + +/-! +# Jones' conditional expectation in the Temperley–Lieb algebra + +Let `C m` be the subalgebra generated by `e 0, …, e (m - 1)` of an algebra with a Temperley–Lieb family. +* `dec_succ`: every element of `C (m+1)` is `u + v e_m w` with `u, v, w ∈ C m`; +* `expectation`: for `z ∈ C m`, `e_m z e_m = z' e_m` for some `z' ∈ C m` (Jones' basic construction); +* `absorb`: if `p` is killed on both sides by `e_j` for all `j < m`, then every `x ∈ C m` acts on `p` by a scalar, + `p x = c p = x p`. + +## References + +* V. F. R. Jones, Index for subfactors, Invent. Math. 72 (1983), Section 3 (the basic construction), and + L. H. Kauffman, S. L. Lins, *Temperley–Lieb recoupling theory and invariants of 3-manifolds*, Chapter 2. +-/ + +namespace Lightlike.TemperleyLieb + +variable {k : Type*} [Field k] {A : Type*} [Ring A] [Algebra k A] + +/-- The subalgebra generated by `e 0, …, e (m - 1)`. -/ +def tlSub (e : ℕ → A) (m : ℕ) : Subalgebra k A := Algebra.adjoin k {x | ∃ j < m, x = e j} + +variable {δ : k} {e : ℕ → A} + +/-- The generator `e j` lies in `tlSub e m` for `j < m`. -/ +lemma e_mem_tlSub {j m : ℕ} (h : j < m) : e j ∈ (tlSub (k := k) e m) := + Algebra.subset_adjoin ⟨j, h, rfl⟩ + +/-- The subalgebras are increasing. -/ +lemma tlSub_mono {m n : ℕ} (h : m ≤ n) : (tlSub (k := k) e m) ≤ tlSub e n := by + apply Algebra.adjoin_mono + rintro x ⟨j, hj, rfl⟩ + exact ⟨j, by omega, rfl⟩ + +/-- `e_n` commutes with every element of `tlSub e m` if `m + 1 ≤ n`. -/ +lemma comm_tlSub (he : IsTL δ e) {m n : ℕ} (h : m + 1 ≤ n) {x : A} (hx : x ∈ tlSub (k := k) e m) : + e n * x = x * e n := by + induction hx using Algebra.adjoin_induction with + | mem x hx => + obtain ⟨j, hj, rfl⟩ := hx + exact (he.comm j n (by omega)).symm + | algebraMap r => exact (Algebra.commutes r (e n)).symm + | add x y _ _ hx hy => rw [mul_add, add_mul, hx, hy] + | mul x y _ _ hx hy => rw [← mul_assoc, hx, mul_assoc, hy, mul_assoc] + +/-- The span of the products `v e_m w` with `v, w ∈ tlSub e m`. -/ +def midSpan (e : ℕ → A) (m : ℕ) : Submodule k A := + Submodule.span k {x | ∃ v ∈ tlSub (k := k) e m, ∃ w ∈ tlSub (k := k) e m, x = v * e m * w} + +/-- Left multiplication by `tlSub e m` preserves the middle span. -/ +lemma midSpan_mul_left {m : ℕ} {a b : A} (ha : a ∈ tlSub (k := k) e m) (hb : b ∈ midSpan (k := k) e m) : + a * b ∈ midSpan (k := k) e m := by + induction hb using Submodule.span_induction with + | mem x hx => + obtain ⟨v, hv, w, hw, rfl⟩ := hx + exact Submodule.subset_span ⟨a * v, Subalgebra.mul_mem _ ha hv, w, hw, by simp only [mul_assoc]⟩ + | zero => simp + | add x y _ _ hx hy => rw [mul_add]; exact Submodule.add_mem _ hx hy + | smul r x _ hx => rw [mul_smul_comm]; exact Submodule.smul_mem _ r hx + +/-- Right multiplication by `tlSub e m` preserves the middle span. -/ +lemma midSpan_mul_right {m : ℕ} {a b : A} (ha : a ∈ tlSub (k := k) e m) (hb : b ∈ midSpan (k := k) e m) : + b * a ∈ midSpan (k := k) e m := by + induction hb using Submodule.span_induction with + | mem x hx => + obtain ⟨v, hv, w, hw, rfl⟩ := hx + exact Submodule.subset_span ⟨v, hv, w * a, Subalgebra.mul_mem _ hw ha, by simp only [mul_assoc]⟩ + | zero => simp + | add x y _ _ hx hy => rw [add_mul]; exact Submodule.add_mem _ hx hy + | smul r x _ hx => rw [smul_mul_assoc]; exact Submodule.smul_mem _ r hx + +/-- Product of two middle terms, given the expectation property at level `m`. -/ +lemma midSpan_mul_mid {m : ℕ} + (hCE : ∀ z ∈ tlSub (k := k) e m, ∃ z' ∈ tlSub (k := k) e m, e m * z * e m = z' * e m) + {b b' : A} (hb : b ∈ midSpan (k := k) e m) (hb' : b' ∈ midSpan (k := k) e m) : + b * b' ∈ midSpan (k := k) e m := by + induction hb using Submodule.span_induction with + | mem x hx => + obtain ⟨v, hv, w, hw, rfl⟩ := hx + induction hb' using Submodule.span_induction with + | mem y hy => + obtain ⟨v', hv', w', hw', rfl⟩ := hy + obtain ⟨z, hz, hzz⟩ := hCE (w * v') (Subalgebra.mul_mem _ hw hv') + refine Submodule.subset_span ⟨v * z, Subalgebra.mul_mem _ hv hz, w', hw', ?_⟩ + calc v * e m * w * (v' * e m * w') = v * (e m * (w * v') * e m) * w' := by simp only [mul_assoc] + _ = v * (z * e m) * w' := by rw [hzz] + _ = _ := by simp only [mul_assoc] + | zero => simp + | add y y' _ _ hy hy' => rw [mul_add]; exact Submodule.add_mem _ hy hy' + | smul r y _ hy => rw [mul_smul_comm]; exact Submodule.smul_mem _ r hy + | zero => simp + | add x y _ _ hx hy => rw [add_mul]; exact Submodule.add_mem _ hx hy + | smul r x _ hx => rw [smul_mul_assoc]; exact Submodule.smul_mem _ r hx + +/-- The subalgebra `tlSub e m + midSpan e m`, given the expectation property at level `m`. -/ +def decSub (e : ℕ → A) (m : ℕ) + (hCE : ∀ z ∈ tlSub (k := k) e m, ∃ z' ∈ tlSub (k := k) e m, e m * z * e m = z' * e m) : + Subalgebra k A where + carrier := {x | ∃ a ∈ tlSub (k := k) e m, ∃ b ∈ midSpan (k := k) e m, x = a + b} + mul_mem' := by + rintro x y ⟨a, ha, b, hb, rfl⟩ ⟨a', ha', b', hb', rfl⟩ + refine ⟨a * a', Subalgebra.mul_mem _ ha ha', a * b' + b * a' + b * b', ?_, by noncomm_ring⟩ + exact Submodule.add_mem _ (Submodule.add_mem _ (midSpan_mul_left ha hb') (midSpan_mul_right ha' hb)) + (midSpan_mul_mid hCE hb hb') + add_mem' := by + rintro x y ⟨a, ha, b, hb, rfl⟩ ⟨a', ha', b', hb', rfl⟩ + exact ⟨a + a', Subalgebra.add_mem _ ha ha', b + b', Submodule.add_mem _ hb hb', by abel⟩ + algebraMap_mem' r := ⟨algebraMap k A r, Subalgebra.algebraMap_mem _ r, 0, Submodule.zero_mem _, by simp⟩ + +/-- **Decomposition**: given the expectation property at level `m`, every element of `tlSub e (m+1)` +is `a + b` with `a ∈ tlSub e m` and `b` in the span of the `v e_m w`. -/ +lemma dec_succ {m : ℕ} + (hCE : ∀ z ∈ tlSub (k := k) e m, ∃ z' ∈ tlSub (k := k) e m, e m * z * e m = z' * e m) {z : A} + (hz : z ∈ tlSub (k := k) e (m + 1)) : + ∃ a ∈ tlSub (k := k) e m, ∃ b ∈ midSpan (k := k) e m, z = a + b := by + have hle : tlSub (k := k) e (m + 1) ≤ decSub e m hCE := by + apply Algebra.adjoin_le + rintro x ⟨j, hj, rfl⟩ + rcases Nat.lt_succ_iff_lt_or_eq.mp hj with h | h + · exact ⟨e j, e_mem_tlSub h, 0, Submodule.zero_mem _, by simp⟩ + · subst h + refine ⟨0, Subalgebra.zero_mem _, e j, Submodule.subset_span ⟨1, Subalgebra.one_mem _, 1, + Subalgebra.one_mem _, by simp⟩, by simp⟩ + exact hle hz + +/-- **Jones' conditional expectation**: `e_m z e_m = z' e_m` with `z' ∈ tlSub e m`, for `z ∈ tlSub e m`. -/ +theorem expectation (he : IsTL δ e) : + ∀ m : ℕ, ∀ z ∈ tlSub (k := k) e m, ∃ z' ∈ tlSub (k := k) e m, e m * z * e m = z' * e m := by + intro m + induction m with + | zero => + intro z hz + have hbot : tlSub (k := k) e 0 = ⊥ := by + unfold tlSub + have : {x | ∃ j < 0, x = e j} = (∅ : Set A) := by + ext x; simp + rw [this, Algebra.adjoin_empty] + rw [hbot] at hz + obtain ⟨r, rfl⟩ := Algebra.mem_bot.mp hz + refine ⟨algebraMap k A (r * δ), Subalgebra.algebraMap_mem _ _, ?_⟩ + calc e 0 * algebraMap k A r * e 0 = algebraMap k A r * (e 0 * e 0) := by + rw [← Algebra.commutes r (e 0), mul_assoc] + _ = algebraMap k A (r * δ) * e 0 := by rw [he.sq, ← mul_assoc, ← map_mul] + | succ m ih => + intro z hz + obtain ⟨a, ha, b, hb, rfl⟩ := dec_succ ih hz + have hmono : tlSub (k := k) e m ≤ tlSub e (m + 1) := tlSub_mono (Nat.le_succ m) + have hQa : ∀ a ∈ tlSub (k := k) e m, ∃ z' ∈ tlSub (k := k) e (m + 1), + e (m + 1) * a * e (m + 1) = z' * e (m + 1) := by + intro a ha + refine ⟨algebraMap k A δ * a, Subalgebra.mul_mem _ (Subalgebra.algebraMap_mem _ _) (hmono ha), ?_⟩ + calc e (m + 1) * a * e (m + 1) = a * (e (m + 1) * e (m + 1)) := by + rw [comm_tlSub he (le_refl _) ha, mul_assoc] + _ = algebraMap k A δ * a * e (m + 1) := by + rw [he.sq, ← mul_assoc, ← Algebra.commutes δ a] + have hQb : ∀ b ∈ midSpan (k := k) e m, ∃ z' ∈ tlSub (k := k) e (m + 1), + e (m + 1) * b * e (m + 1) = z' * e (m + 1) := by + intro b hb + induction hb using Submodule.span_induction with + | mem x hx => + obtain ⟨v, hv, w, hw, rfl⟩ := hx + refine ⟨v * w, Subalgebra.mul_mem _ (hmono hv) (hmono hw), ?_⟩ + have c1 := comm_tlSub he (le_refl _) hv + have c2 := comm_tlSub he (le_refl _) hw + calc e (m + 1) * (v * e m * w) * e (m + 1) + = (e (m + 1) * v) * e m * (w * e (m + 1)) := by simp only [mul_assoc] + _ = v * (e (m + 1) * e m * e (m + 1)) * w := by rw [c1, ← c2]; simp only [mul_assoc] + _ = v * e (m + 1) * w := by rw [he.braid_r] + _ = v * (w * e (m + 1)) := by rw [mul_assoc, c2] + _ = v * w * e (m + 1) := by rw [mul_assoc] + | zero => exact ⟨0, Subalgebra.zero_mem _, by simp⟩ + | add x y _ _ hx hy => + obtain ⟨z1, h1, e1⟩ := hx + obtain ⟨z2, h2, e2⟩ := hy + exact ⟨z1 + z2, Subalgebra.add_mem _ h1 h2, by rw [mul_add, add_mul, e1, e2, add_mul]⟩ + | smul r x _ hx => + obtain ⟨z1, h1, e1⟩ := hx + exact ⟨r • z1, Subalgebra.smul_mem _ h1 r, by rw [mul_smul_comm, smul_mul_assoc, e1, smul_mul_assoc]⟩ + obtain ⟨za, hza, ea⟩ := hQa a ha + obtain ⟨zb, hzb, eb⟩ := hQb b hb + exact ⟨za + zb, Subalgebra.add_mem _ hza hzb, by rw [mul_add, add_mul, ea, eb, add_mul]⟩ + +/-- **Absorption.** If `p` is annihilated on both sides by `e_j` for `j < m`, then every `x ∈ tlSub e m` acts +on `p` by a scalar: `p x = c p = x p`. -/ +theorem absorb {m : ℕ} {p : A} (hL : ∀ j < m, e j * p = 0) (hR : ∀ j < m, p * e j = 0) : + ∀ x ∈ tlSub (k := k) e m, ∃ c : k, p * x = c • p ∧ x * p = c • p := by + intro x hx + induction hx using Algebra.adjoin_induction with + | mem x hx => + obtain ⟨j, hj, rfl⟩ := hx + exact ⟨0, by simpa using hR j hj, by simpa using hL j hj⟩ + | algebraMap r => + exact ⟨r, by rw [← Algebra.commutes, Algebra.smul_def], by rw [Algebra.smul_def]⟩ + | add x y _ _ hx hy => + obtain ⟨c, h1, h2⟩ := hx + obtain ⟨d, h3, h4⟩ := hy + exact ⟨c + d, by rw [mul_add, h1, h3, add_smul], by rw [add_mul, h2, h4, add_smul]⟩ + | mul x y _ _ hx hy => + obtain ⟨c, h1, h2⟩ := hx + obtain ⟨d, h3, h4⟩ := hy + refine ⟨c * d, ?_, ?_⟩ + · rw [← mul_assoc, h1, smul_mul_assoc, h3, smul_smul] + · rw [mul_assoc, h4, mul_smul_comm, h2, smul_smul, mul_comm] + +end Lightlike.TemperleyLieb From 9169e224bae1af8b12815fe553a06e87b7b09369 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:18:40 +0200 Subject: [PATCH 39/66] feat(g1-012): geodesic curves are chart geodesics; locality, reparametrisation and gluing of null geodesics; constancy of the future direction Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 3 + Lightlike/Rows/G1_012/FutureNull.lean | 110 ++++++++++++++++++ .../Rows/G1_012/GeodesicChartConverse.lean | 84 +++++++++++++ Lightlike/Rows/G1_012/NullGeodGlue.lean | 101 ++++++++++++++++ 4 files changed, 298 insertions(+) create mode 100644 Lightlike/Rows/G1_012/FutureNull.lean create mode 100644 Lightlike/Rows/G1_012/GeodesicChartConverse.lean create mode 100644 Lightlike/Rows/G1_012/NullGeodGlue.lean diff --git a/Lightlike.lean b/Lightlike.lean index 41ef6430..eba99a9e 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1396,6 +1396,9 @@ import Lightlike.Rows.G1_012.Assembly import Lightlike.Rows.G1_012.NullGeodCausal import Lightlike.Rows.G1_012.NullVariation import Lightlike.Rows.G1_012.RadialNull +import Lightlike.Rows.G1_012.FutureNull +import Lightlike.Rows.G1_012.NullGeodGlue +import Lightlike.Rows.G1_012.GeodesicChartConverse import Lightlike.Rows.G1_012.NullGeodChart import Lightlike.Rows.G1_012.LocalGenerators import Lightlike.Rows.G1_012.Orthogonality diff --git a/Lightlike/Rows/G1_012/FutureNull.lean b/Lightlike/Rows/G1_012/FutureNull.lean new file mode 100644 index 00000000..4dcad5ef --- /dev/null +++ b/Lightlike/Rows/G1_012/FutureNull.lean @@ -0,0 +1,110 @@ +import Lightlike.Rows.G1_012.LocalGenerators +import Lightlike.Rows.G1_012.NullGeodGlue +import Lightlike.Rows.G1_012.NullVariation + +/-! +# The future direction of a null geodesic is constant (G1-012) + +A null geodesic on an interval `[a, b]` whose velocity points to the future of the time orientation +at one parameter does so at every parameter (`isFutureNullGeodesicOn_of_forall`): the function +`g(γ', X)` is continuous and does not vanish (a nonzero null vector is not orthogonal to a timelike +one). +-/ + +open Bundle Manifold Set Filter Topology MeasureTheory +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- **The future direction of a null geodesic is constant.** -/ +theorem isFutureNullGeodesicOn_of_one (T : Causal.TimeOrientation g) {γ : ℝ → M} {a b : ℝ} + (hab : a < b) (hnull : IsNullGeodesicOn g γ (Icc a b)) + (hs₀ : ∃ s₀ ∈ Icc a b, g.g (γ s₀) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc a b) s₀) + (T.X (γ s₀)) < 0) : IsFutureNullGeodesicOn T γ (Icc a b) := by + refine ⟨hnull, ?_⟩ + set F : ℝ → ℝ := fun t => g.g (γ t) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc a b) t) + (T.X (γ t)) with hF + have hL := fun x => g.isLorentzianCoordMetric_coordMetric x + -- the velocity in the chart at a point of the curve + have hvelchart : ∀ x : M, ∀ t ∈ Icc a b, ∀ (w : ℝ → Fin n → ℝ), γ t ∈ + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source → + HasDerivAt (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s)) (w t) t → + MDifferentiableWithinAt 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ (Icc a b) t → + F t = Lightlike.bil (g.coordMetric x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t))) (w t) + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t))) := by + intro x t ht w hsrc hder hmd + have h1 := Causal.hasDerivWithinAt_chart_comp (I := 𝓘(ℝ, Fin n → ℝ)) x hmd hsrc + have h2 := (uniqueDiffOn_Icc hab t ht).eq_deriv _ h1 hder.hasDerivWithinAt + have hvq := eq_symmL_of_tTriv x (γ t) (mem_baseSet_of_mem_source x (γ t) hsrc) _ h2 + have hXq := timeOrientation_eq_symmL T x (γ t) hsrc + simp only [hF] + rw [hvq, hXq, metric_eq_bil_at g.toNondegMetric x (γ t) hsrc] + -- nonvanishing + have hne : ∀ t ∈ Icc a b, F t ≠ 0 := by + intro t ht h0 + obtain ⟨w, O, hO, hsrc, hgeo, hw0, hbil⟩ := hnull t ht + obtain ⟨hmd, -⟩ := geodesic_local_velocity hab ht hO hsrc hgeo.pos + have hq := mem_extChartAt_source (I := 𝓘(ℝ, Fin n → ℝ)) (γ t) + have h1 := hvelchart (γ t) t ht w hq (hgeo.pos t (mem_of_mem_nhds hO)) hmd + rw [h0] at h1 + set y := extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ t) with hy + have hyt : y ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t)).target := + (extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t)).map_source hq + have hLf := Lightlike.Geodesic.isLorentzianForm_matForm (hL (γ t)) hyt + have hqq : ∀ a b, Lightlike.Geodesic.pairing (g.coordMetric (γ t)) y a b = + matForm (g.coordMetric (γ t) y) a b := fun a b => + Lightlike.Geodesic.pairing_eq_matForm _ _ a b + have hX := timeCoord_timelike T (γ t) hyt + have hwX : matForm (g.coordMetric (γ t) y) (w t) (timeCoord T (γ t) y) = 0 := by + rw [← hqq, pairing_eq_bil]; exact h1.symm + have hww : matForm (g.coordMetric (γ t) y) (w t) (w t) ≤ 0 := by + rw [← hqq, pairing_eq_bil]; exact hbil.le + exact hw0 (hLf.eq_zero_of_orthogonal_timelike (X := timeCoord T (γ t) y) + (by rw [← hqq]; exact hX) hwX hww) + -- continuity + have hcont : ContinuousOn F (Icc a b) := by + intro s hs + obtain ⟨w, O, hO, hsrc, hgeo, hw0, hbil⟩ := hnull s hs + set x := γ s with hx + have hev : F =ᶠ[𝓝[Icc a b] s] fun t => Lightlike.bil + (g.coordMetric x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t))) (w t) + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t))) := by + filter_upwards [nhdsWithin_le_nhds hO, self_mem_nhdsWithin] with t htO htI + obtain ⟨w', O', hO', hsrc', hgeo', -, -⟩ := hnull t htI + obtain ⟨hmd, -⟩ := geodesic_local_velocity hab htI hO' hsrc' hgeo'.pos + exact hvelchart x t htI w (hsrc t htO) (hgeo.pos t htO) hmd + have hq := mem_extChartAt_source (I := 𝓘(ℝ, Fin n → ℝ)) x + have hytx : extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s) ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target := + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).map_source (hsrc s (mem_of_mem_nhds hO)) + have hRHS : ContinuousAt (fun t => Lightlike.bil + (g.coordMetric x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t))) (w t) + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t)))) s := by + have hu : ContinuousAt (fun t => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t)) s := + (hgeo.pos s (mem_of_mem_nhds hO)).continuousAt + have hX : ContinuousAt (fun t => timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t))) s := + ContinuousAt.comp (f := fun t => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t)) + ((continuousOn_timeCoord T x).continuousAt + ((isOpen_extChartAt_target (I := 𝓘(ℝ, Fin n → ℝ)) x).mem_nhds hytx)) hu + have := Lightlike.Geodesic.continuousAt_pairing_curve (hL x).1 hu (hgeo.vel s (mem_of_mem_nhds hO)).continuousAt hX + hytx + refine this.congr ?_ + filter_upwards with t + exact pairing_eq_bil _ _ _ _ + refine hRHS.continuousWithinAt.congr_of_eventuallyEq hev ?_ + obtain ⟨hmd, -⟩ := geodesic_local_velocity hab hs hO hsrc hgeo.pos + exact hvelchart x s hs w (hsrc s (mem_of_mem_nhds hO)) (hgeo.pos s (mem_of_mem_nhds hO)) hmd + obtain ⟨s₀, hs₀I, hs₀neg⟩ := hs₀ + intro t ht + by_contra hcon + have hpos : 0 < F t := lt_of_le_of_ne (not_lt.1 hcon) (hne t ht).symm + have hpc := isPreconnected_Icc.image F hcont + have h0 : (0 : ℝ) ∈ Icc (F s₀) (F t) := ⟨hs₀neg.le, hpos.le⟩ + obtain ⟨r, hr, hr0⟩ := hpc.Icc_subset ⟨s₀, hs₀I, rfl⟩ ⟨t, ht, rfl⟩ h0 + exact hne r hr hr0 + +end Lightlike.Penrose diff --git a/Lightlike/Rows/G1_012/GeodesicChartConverse.lean b/Lightlike/Rows/G1_012/GeodesicChartConverse.lean new file mode 100644 index 00000000..06988949 --- /dev/null +++ b/Lightlike/Rows/G1_012/GeodesicChartConverse.lean @@ -0,0 +1,84 @@ +import Lightlike.Rows.G1_012.GeodesicChartIndep + +/-! +# A geodesic curve read in any chart is a chart geodesic (G1-012) + +`geodesicOn_chart_of_curve` is the converse of `isGeodesicCurveOn_of_chart`: a geodesic curve on an +open set which stays in the source of the chart at `x` is a geodesic of the coordinate metric of +that chart, with the velocity the derivative of the chart expression. +-/ + +open Bundle Manifold Set Filter Topology Matrix +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + +/-- **A geodesic curve is a geodesic in every chart containing it.** -/ +theorem geodesicOn_chart_of_curve (g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n) (x : M) {γ : ℝ → M} + {O : Set ℝ} (hO : IsOpen O) (hsrc : ∀ s ∈ O, γ s ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) + (h : IsGeodesicCurveOn g γ O) : + ∃ w : ℝ → Fin n → ℝ, Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) + (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s)) w O := by + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + set u : ℝ → Fin n → ℝ := fun s => ψ (γ s) with hu + have hg₁ := g.toNondegMetric.isCoordMetric_coordMetric x + -- the local statement at each time + have hloc : ∀ t ∈ O, ∃ (w : ℝ → Fin n → ℝ) (N : Set ℝ), N ∈ 𝓝 t ∧ N ⊆ O ∧ + Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) u w N := by + intro t ht + obtain ⟨w₀, O₀, hO₀, hsrc₀, hgeo₀⟩ := h t ht + set x₀ := γ t with hx₀ + set ψ₀ := extChartAt 𝓘(ℝ, Fin n → ℝ) x₀ with hψ₀ + set c : ℝ → Fin n → ℝ := fun s => ψ₀ (γ s) with hc + -- an open neighbourhood on which everything is defined + obtain ⟨N, hNO, hNo, htN⟩ : ∃ N : Set ℝ, N ⊆ O₀ ∩ O ∧ IsOpen N ∧ t ∈ N := by + obtain ⟨N, hN, hNo, htN⟩ := mem_nhds_iff.1 (Filter.inter_mem hO₀ (hO.mem_nhds ht)) + exact ⟨N, hN, hNo, htN⟩ + have hV : ∀ s ∈ N, c s ∈ transitionDom (n := n) x₀ x := fun s hs => + ⟨ψ₀.map_source (hsrc₀ s (hNO hs).1), by + have e : ψ₀.symm (c s) = γ s := ψ₀.left_inv (hsrc₀ s (hNO hs).1) + show ψ₀.symm (c s) ∈ ψ.source + rw [e]; exact hsrc s (hNO hs).2⟩ + have hφ := isChartChange_transition g.toNondegMetric x₀ x + have hgeoN : Lightlike.Geodesic.IsGeodesicOn + (Lightlike.pullback (g.coordMetric x) (ψ ∘ ψ₀.symm)) c w₀ N := + (show Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x₀) c w₀ N from + ⟨fun s hs => hgeo₀.pos s (hNO hs).1, fun s hs => hgeo₀.vel s (hNO hs).1⟩).congr_metric + (isOpen_transitionDom x₀ x) (fun y hy => (pullback_transition g.toNondegMetric x₀ x hy).symm) + hV + have himg := hgeoN.map_chartChange hg₁ hφ (fun s hs => hV s hs) + have heq : ∀ s ∈ N, ψ (ψ₀.symm (c s)) = u s := fun s hs => by + simp only [hu]; rw [ψ₀.left_inv (hsrc₀ s (hNO hs).1)] + refine ⟨fun s => Lightlike.jac (ψ ∘ ψ₀.symm) (c s) *ᵥ w₀ s, N, hNo.mem_nhds htN, + fun s hs => (hNO hs).2, ?_, ?_⟩ + · intro s hs + refine (himg.pos s hs).congr_of_eventuallyEq ?_ + filter_upwards [hNo.mem_nhds hs] with r hr + exact (heq r hr).symm + · intro s hs + refine (himg.vel s hs).congr_deriv ?_ + show Lightlike.Geodesic.accel (g.coordMetric x) ((ψ ∘ ψ₀.symm) (c s)) _ = + Lightlike.Geodesic.accel (g.coordMetric x) (u s) _ + rw [Function.comp_apply, heq s hs] + -- global velocity: the derivative of the chart expression + refine ⟨fun s => deriv u s, ?_, ?_⟩ + · intro t ht + obtain ⟨w, N, hN, -, hgeo⟩ := hloc t ht + exact (hgeo.pos t (mem_of_mem_nhds hN)).differentiableAt.hasDerivAt.congr_deriv rfl + · intro t ht + obtain ⟨w, N, hN, -, hgeo⟩ := hloc t ht + have hdw : deriv u =ᶠ[𝓝 t] w := by + have : ∀ᶠ s in 𝓝 t, s ∈ interior N := by + exact interior_mem_nhds.2 hN + filter_upwards [this] with s hs + exact (hgeo.pos s (interior_subset hs)).deriv + refine ((hgeo.vel t (mem_of_mem_nhds hN)).congr_of_eventuallyEq hdw).congr_deriv ?_ + rw [(hgeo.pos t (mem_of_mem_nhds hN)).deriv] + +end Lightlike.Penrose diff --git a/Lightlike/Rows/G1_012/NullGeodGlue.lean b/Lightlike/Rows/G1_012/NullGeodGlue.lean new file mode 100644 index 00000000..298f0936 --- /dev/null +++ b/Lightlike/Rows/G1_012/NullGeodGlue.lean @@ -0,0 +1,101 @@ +import Lightlike.Rows.G1_012.NullGeodCausal +import Lightlike.Rows.G1_012.GeodesicUnique +import Lightlike.Spacetime.GeodesicChartChange + +/-! +# Locality, affine reparametrisation and gluing of null geodesics (G1-012) + +`IsNullGeodesicOn` is a local notion (a chart statement near each parameter). This file proves that +it only depends on the germ of the curve (`IsNullGeodesicOn.congr_eventuallyEq`), is invariant under +affine reparametrisation (`IsNullGeodesicOn.comp_affine`) and that two null geodesics on open +parameter sets which agree on the overlap glue to one on the union (`IsNullGeodesicOn.union`). +-/ + +open Bundle Manifold Set Filter Topology Matrix +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + {γ γ' : ℝ → M} {J : Set ℝ} + +/-- **Null geodesics are local**: they depend only on the germ of the curve at each parameter. -/ +theorem IsNullGeodesicOn.congr_eventuallyEq (h : IsNullGeodesicOn g γ J) + (hev : ∀ t ∈ J, γ =ᶠ[𝓝 t] γ') : IsNullGeodesicOn g γ' J := by + intro t ht + obtain ⟨w, O, hO, hsrc, hgeo, hw0, hbil⟩ := h t ht + have hev' := hev t ht + have hγt : γ' t = γ t := (hev'.self_of_nhds).symm + set O' : Set ℝ := {s | γ s = γ' s} ∩ O with hO' + have hO'n : O' ∈ 𝓝 t := Filter.inter_mem hev' hO + -- the chart at `γ' t = γ t` + have hO'o : ∀ s ∈ interior O', O' ∈ 𝓝 s := fun s hs => mem_interior_iff_mem_nhds.1 hs + refine ⟨w, interior O', interior_mem_nhds.2 hO'n, fun s hs => ?_, ?_, ?_, ?_⟩ + · have hs' := interior_subset hs + rw [hγt, ← hs'.1]; exact hsrc s hs'.2 + · refine ⟨fun s hs => ?_, fun s hs => ?_⟩ + · have hs' := interior_subset hs + have h1 := hgeo.pos s hs'.2 + rw [hγt] + refine h1.congr_of_eventuallyEq ?_ + filter_upwards [mem_interior_iff_mem_nhds.1 hs] with r hr + show _ = _ + rw [hr.1] + · have hs' := interior_subset hs + have h1 := hgeo.vel s hs'.2 + rw [hγt] + rw [show γ' s = γ s from hs'.1.symm] + exact h1 + · exact hw0 + · rw [hγt]; exact hbil + +/-- Scaling a vector scales its square norm by `c²`. -/ +theorem bil_smul_self (G : Matrix (Fin n) (Fin n) ℝ) (c : ℝ) (u : Fin n → ℝ) : + bil G (c • u) (c • u) = c ^ 2 * bil G u u := by + simp only [bil, Pi.smul_apply, smul_eq_mul, Finset.mul_sum] + refine Finset.sum_congr rfl fun μ _ => Finset.sum_congr rfl fun ν _ => by ring + +/-- **Null geodesics are invariant under affine reparametrisation.** -/ +theorem IsNullGeodesicOn.comp_affine (h : IsNullGeodesicOn g γ J) {c : ℝ} (hc : c ≠ 0) (d : ℝ) : + IsNullGeodesicOn g (fun s => γ (c * s + d)) ((fun s => c * s + d) ⁻¹' J) := by + intro t ht + obtain ⟨w, O, hO, hsrc, hgeo, hw0, hbil⟩ := h (c * t + d) ht + have hcont : Continuous fun s : ℝ => c * s + d := by fun_prop + have hO' : (fun s => c * s + d) ⁻¹' O ∈ 𝓝 t := hcont.continuousAt.preimage_mem_nhds hO + refine ⟨fun s => c • w (c * s + d), (fun s => c * s + d) ⁻¹' O, hO', fun s hs => hsrc _ hs, + ?_, ?_, ?_⟩ + · set a' : ℝ := -d / c with ha' + have h1 := (hgeo.scale c).shift a' + have e : ∀ s : ℝ, c * (s - a') = c * s + d := fun s => by rw [ha']; field_simp; ring + have hset : (fun s : ℝ => s - a') ⁻¹' ((fun s => c * s) ⁻¹' O) = + (fun s => c * s + d) ⁻¹' O := by + ext s; simp only [mem_preimage, e] + rw [hset] at h1 + simpa only [e] using h1 + · simp only [ne_eq, smul_eq_zero, hc, false_or]; exact hw0 + · rw [bil_smul_self, hbil, mul_zero] + +open Classical in +/-- **Gluing null geodesics.** Two null geodesics on open parameter sets which agree on the overlap +glue to a null geodesic on the union. -/ +theorem IsNullGeodesicOn.union {γ₁ γ₂ : ℝ → M} {J₁ J₂ : Set ℝ} (h₁ : IsNullGeodesicOn g γ₁ J₁) + (h₂ : IsNullGeodesicOn g γ₂ J₂) (hJ₁ : IsOpen J₁) (hJ₂ : IsOpen J₂) + (hag : EqOn γ₁ γ₂ (J₁ ∩ J₂)) : + IsNullGeodesicOn g (fun s => if s ∈ J₁ then γ₁ s else γ₂ s) (J₁ ∪ J₂) := by + have h1 : IsNullGeodesicOn g (fun s => if s ∈ J₁ then γ₁ s else γ₂ s) J₁ := + h₁.congr_eventuallyEq fun s hs => by + filter_upwards [hJ₁.mem_nhds hs] with r hr + simp [hr] + have h2 : IsNullGeodesicOn g (fun s => if s ∈ J₁ then γ₁ s else γ₂ s) J₂ := + h₂.congr_eventuallyEq fun s hs => by + filter_upwards [hJ₂.mem_nhds hs] with r hr + by_cases hr1 : r ∈ J₁ + · simp [hr1, hag ⟨hr1, hr⟩] + · simp [hr1] + intro t ht + exact ht.elim (fun h => h1 t h) (fun h => h2 t h) + +end Lightlike.Penrose From ec371d183f3ffe9d4037dc1c562a794bbd7122b4 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:23:51 +0200 Subject: [PATCH 40/66] feat(g1-012): window_radial (short windows of a no-shortcut causal curve are radial null geodesics) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Geodesic/NullRigidity.lean | 7 +- Lightlike/Rows/G1_012/GeneratorChain.lean | 118 +++++++++++++++++++++ Lightlike/Rows/G1_012/LocalGenerators.lean | 8 +- 3 files changed, 127 insertions(+), 6 deletions(-) create mode 100644 Lightlike/Rows/G1_012/GeneratorChain.lean diff --git a/Lightlike/Geodesic/NullRigidity.lean b/Lightlike/Geodesic/NullRigidity.lean index 07c8883a..6302e902 100644 --- a/Lightlike/Geodesic/NullRigidity.lean +++ b/Lightlike/Geodesic/NullRigidity.lean @@ -95,7 +95,7 @@ theorem lipschitzOnWith_div_functional {E : Type*} [NormedAddCommGroup E] [Norme /-- **Local rigidity of a causal curve ending on the null cone of its start point** (the local step towards "generators of `∂J⁺(S)` are null geodesics"). In a time ball at `p`, let `v` be a Lipschitz curve in normal coordinates from `v a = 0` with future causal velocity almost everywhere, and -`σ_p(v b) = 0`. Then `v t = lam t • v b`, with `lam` monotone from `0` to `1`: the curve is a +`σ_p(v b) = 0`. Then `v t = lam t • v b`, with `lam` continuous and monotone from `0` to `1`: the curve is a reparametrisation of the radial null geodesic from `p` to `φ (v b)`. -/ theorem IsTimeBall.null_rigidity (hL : IsLorentzianCoordMetric g U) {p e : Fin n → ℝ} {ρ r : ℝ} {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} @@ -106,7 +106,7 @@ theorem IsTimeBall.null_rigidity (hL : IsLorentzianCoordMetric g U) {p e : Fin n pairing g (φ (v t)) (fderiv ℝ φ (v t) v') (fderiv ℝ φ (v t) v') ≤ 0 ∧ pairing g (φ (v t)) (N (v t)) (fderiv ℝ φ (v t) v') < 0) (hnull : pairing g p (v b) (v b) = 0) : - ∃ lam : ℝ → ℝ, lam a = 0 ∧ lam b = 1 ∧ MonotoneOn lam (Icc a b) ∧ + ∃ lam : ℝ → ℝ, lam a = 0 ∧ lam b = 1 ∧ MonotoneOn lam (Icc a b) ∧ ContinuousOn lam (Icc a b) ∧ ∀ t ∈ Icc a b, v t = lam t • v b := by have hg := hL.1 have hp : p ∈ U := by @@ -247,9 +247,10 @@ theorem IsTimeBall.null_rigidity (hL : IsLorentzianCoordMetric g U) {p e : Fin n rw [this, zero_smul]) simp only [ContinuousLinearMap.zero_apply, sub_self, mul_zero] at this exact (sub_eq_zero.1 (norm_le_zero_iff.1 this)).symm - refine ⟨fun t => ℓ (v t) / ℓ (v b), by simp [hℓa], div_self hℓb.ne', ?_, ?_⟩ + refine ⟨fun t => ℓ (v t) / ℓ (v b), by simp [hℓa], div_self hℓb.ne', ?_, ?_, ?_⟩ · intro s hs t ht hst exact div_le_div_of_nonneg_right (hmono.1 s hs t ht hst) hℓb.le + · exact (ℓ.continuous.comp_continuousOn hv.continuousOn).div_const _ · intro t ht rcases ht.1.eq_or_lt with rfl | hta · simp [ha, hℓa] diff --git a/Lightlike/Rows/G1_012/GeneratorChain.lean b/Lightlike/Rows/G1_012/GeneratorChain.lean new file mode 100644 index 00000000..d6bab1f3 --- /dev/null +++ b/Lightlike/Rows/G1_012/GeneratorChain.lean @@ -0,0 +1,118 @@ +import Lightlike.Rows.G1_012.RadialNull +import Lightlike.Rows.G1_012.FutureNull +import Lightlike.Geodesic.RadialUnique +import Lightlike.Rows.G1_012.GeodesicChartConverse + +/-! +# Chaining local radial pieces into one null geodesic (G1-012) + +A future causal curve `β` which never enters `I⁺` of one of its own earlier points +(`hno`, the situation of a curve in `J⁺(S) \ I⁺(S)`) is, on short windows in a chart, a monotone +reparametrisation of a radial null geodesic (`window_radial`). Overlapping windows have matching +tangents (`geodesic_eq_radial`), so they glue to one null geodesic (`IsNullGeodesicOn.union`). +-/ + +open Bundle Manifold Set Filter Topology MeasureTheory Metric Matrix +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- **Uniform future time balls over a set `S` of chart points**: fixed radii `ρ`, `r`, `η` such +that every `p ∈ S` has a future time ball of radius `r` whose image contains the `η`-ball about `p`. -/ +def UniformFutureBall (T : Causal.TimeOrientation g) (x : M) (S : Set (Fin n → ℝ)) (ρ r η : ℝ) : + Prop := + 0 < r ∧ r ≤ ρ ∧ 0 < η ∧ ∀ p ∈ S, ∃ (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) + (N : (Fin n → ℝ) → Fin n → ℝ), Lightlike.Geodesic.IsTimeBall (g.coordMetric x) + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target p ρ φ (timeCoord T x p) r N ∧ + (∀ v ∈ ball (0 : Fin n → ℝ) r, Lightlike.Geodesic.pairing (g.coordMetric x) (φ v) (N v) + (timeCoord T x (φ v)) < 0) ∧ + ∀ y : Fin n → ℝ, Dist.dist y p < η → ∃ v ∈ ball (0 : Fin n → ℝ) r, φ v = y + +/-- **A short window of a no-shortcut causal curve is a radial null geodesic.** -/ +theorem window_radial (T : Causal.TimeOrientation g) (x : M) {β : ℝ → M} {a b : ℝ} + (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) + (hsrc : ∀ t ∈ Icc a b, β t ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) + (hno : ∀ t' ∈ Icc a b, ∀ t'' ∈ Icc a b, t' ≤ t'' → β t'' ∉ Causal.chronFuture T (β t')) + {ρ r η : ℝ} {L : NNReal} + (hL : LipschitzOnWith L (extChartAt 𝓘(ℝ, Fin n → ℝ) x ∘ β) (Icc a b)) + (hU : UniformFutureBall T x ((extChartAt 𝓘(ℝ, Fin n → ℝ) x) '' (β '' Icc a b)) ρ r η) + {t₀ t₂ : ℝ} (ht₀ : t₀ ∈ Icc a b) (ht₂ : t₂ ∈ Icc a b) (h02 : t₀ < t₂) + (hd : (L : ℝ) * (t₂ - t₀) < η) : + ∃ (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) (N : (Fin n → ℝ) → Fin n → ℝ) + (vb : Fin n → ℝ) (lam : ℝ → ℝ), + Lightlike.Geodesic.IsTimeBall (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target + (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀)) ρ φ + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀))) r N ∧ + (∀ v ∈ ball (0 : Fin n → ℝ) r, Lightlike.Geodesic.pairing (g.coordMetric x) (φ v) (N v) + (timeCoord T x (φ v)) < 0) ∧ + (∀ y : Fin n → ℝ, Dist.dist y (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀)) < η → + ∃ v ∈ ball (0 : Fin n → ℝ) r, φ v = y) ∧ + vb ∈ ball (0 : Fin n → ℝ) r ∧ vb ≠ 0 ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀)) vb vb = 0 ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀)) + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀))) vb < 0 ∧ + lam t₀ = 0 ∧ lam t₂ = 1 ∧ MonotoneOn lam (Icc t₀ t₂) ∧ ContinuousOn lam (Icc t₀ t₂) ∧ + ∀ t ∈ Icc t₀ t₂, extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t) = φ (lam t • vb) := by + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + have hsub : Icc t₀ t₂ ⊆ Icc a b := Icc_subset_Icc ht₀.1 ht₂.2 + have hp : ψ (β t₀) ∈ ψ '' (β '' Icc a b) := ⟨β t₀, ⟨t₀, ht₀, rfl⟩, rfl⟩ + obtain ⟨φ, N, hTB, hfut, hcov⟩ := hU.2.2.2 _ hp + have hβ' : Causal.IsFutureCausalCurve T β (Icc t₀ t₂) := + Causal.IsCurveWith.mono hβ ht₀.1 ht₂.2 h02 + have hin : ∀ t ∈ Icc t₀ t₂, ψ (β t) ∈ φ '' ball (0 : Fin n → ℝ) r := by + intro t ht + have h1 := hL.dist_le_mul t (hsub ht) t₀ ht₀ + have h2 : Dist.dist (ψ (β t)) (ψ (β t₀)) < η := by + refine lt_of_le_of_lt h1 (lt_of_le_of_lt ?_ hd) + have : Dist.dist t t₀ ≤ t₂ - t₀ := by + rw [Real.dist_eq, abs_le]; constructor <;> linarith [ht.1, ht.2] + exact mul_le_mul_of_nonneg_left this L.2 + obtain ⟨v, hv, hvy⟩ := hcov _ h2 + exact ⟨v, hv, hvy⟩ + obtain ⟨lam, vb, hvb, hnull, hx0w, hl0, hl1, hmono, hcont, hlam⟩ := + local_null_rigidity T x h02 hβ' (fun t ht => hsrc t (hsub ht)) hTB hfut hin + (hno t₀ ht₀ t₂ ht₂ h02.le) + -- nonconstancy + have hvb0 : vb ≠ 0 := by + intro h0 + obtain ⟨K, -, hae⟩ := chart_curve_data T x hβ' (fun t ht => hsrc t (hsub ht)) + have hconst : ∀ t ∈ Icc t₀ t₂, ψ (β t) = ψ (β t₀) := by + intro t ht + rw [hlam t ht, hlam t₀ ⟨le_rfl, h02.le⟩, h0, smul_zero, smul_zero] + have hex : ∃ t ∈ Ioo t₀ t₂, ∃ u' : Fin n → ℝ, HasDerivAt (ψ ∘ β) u' t ∧ u' ≠ 0 := by + by_contra hcon + push_neg at hcon + have hnull0 := ae_iff.1 hae + have : volume (Ioo t₀ t₂) = 0 := by + refine measure_mono_null ?_ hnull0 + intro t ht hQ + obtain ⟨u', hu', hne, -⟩ := hQ ht + exact hne (hcon t ht u' hu') + rw [Real.volume_Ioo] at this + simp at this + linarith + obtain ⟨t, ht, u', hu', hne⟩ := hex + apply hne + have hev : (ψ ∘ β) =ᶠ[𝓝 t] fun _ => ψ (β t₀) := by + filter_upwards [Icc_mem_nhds ht.1 ht.2] with s hs using hconst s hs + exact hu'.unique ((hasDerivAt_const t (ψ (β t₀))).congr_of_eventuallyEq hev) + have hx0 : Lightlike.Geodesic.pairing (g.coordMetric x) (ψ (β t₀)) (timeCoord T x (ψ (β t₀))) + vb < 0 := by + refine lt_of_le_of_ne hx0w fun h0 => hvb0 ?_ + have hy : ψ (β t₀) ∈ ψ.target := ψ.map_source (hsrc t₀ ht₀) + have hL' := g.isLorentzianCoordMetric_coordMetric x + have hLf := Lightlike.Geodesic.isLorentzianForm_matForm hL' hy + have hq : ∀ a b, Lightlike.Geodesic.pairing (g.coordMetric x) (ψ (β t₀)) a b = + matForm (g.coordMetric x (ψ (β t₀))) a b := fun a b => + Lightlike.Geodesic.pairing_eq_matForm _ _ a b + refine hLf.eq_zero_of_orthogonal_timelike (X := timeCoord T x (ψ (β t₀))) + (by rw [← hq]; exact timeCoord_timelike T x hy) ?_ (by rw [← hq]; exact hnull.le) + rw [← hq, Lightlike.Geodesic.pairing_comm hL'.1 hy]; exact h0 + exact ⟨φ, N, vb, lam, hTB, hfut, hcov, hvb, hvb0, hnull, hx0, hl0, hl1, hmono, hcont, hlam⟩ + +end Lightlike.Penrose diff --git a/Lightlike/Rows/G1_012/LocalGenerators.lean b/Lightlike/Rows/G1_012/LocalGenerators.lean index 444ba73f..3811a8e6 100644 --- a/Lightlike/Rows/G1_012/LocalGenerators.lean +++ b/Lightlike/Rows/G1_012/LocalGenerators.lean @@ -343,7 +343,9 @@ theorem local_null_rigidity (T : Causal.TimeOrientation g) (x : M) {β : ℝ → (hb : β b ∉ Causal.chronFuture T (β a)) : ∃ (lam : ℝ → ℝ) (vb : Fin n → ℝ), vb ∈ ball (0 : Fin n → ℝ) r ∧ Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a)) vb vb = 0 ∧ - lam a = 0 ∧ lam b = 1 ∧ MonotoneOn lam (Icc a b) ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a)) + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a))) vb ≤ 0 ∧ + lam a = 0 ∧ lam b = 1 ∧ MonotoneOn lam (Icc a b) ∧ ContinuousOn lam (Icc a b) ∧ ∀ t ∈ Icc a b, extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t) = φ (lam t • vb) := by have hL := g.isLorentzianCoordMetric_coordMetric x have hg := hL.1 @@ -429,12 +431,12 @@ theorem local_null_rigidity (T : Causal.TimeOrientation g) (x : M) {β : ℝ → have e2 : ψ.symm p = β a := ψ.left_inv (hsrc a ⟨le_rfl, hab.le⟩) rw [e1, e2] at hmem exact hb hmem - obtain ⟨lam, hl0, hl1, hmono, hlam⟩ := hTB.null_rigidity hL hab hvL + obtain ⟨lam, hl0, hl1, hmono, hcont, hlam⟩ := hTB.null_rigidity hL hab hvL (fun t ht => (hvball t ht).1) hva (by filter_upwards [hd] with t ht hmt obtain ⟨v', hv', h1, h2⟩ := ht hmt exact ⟨v', hv', h1, h2⟩) hnull - refine ⟨lam, v b, hvb.1, hnull, hl0, hl1, hmono, fun t ht => ?_⟩ + refine ⟨lam, v b, hvb.1, hnull, by linarith [hcone.2], hl0, hl1, hmono, hcont, fun t ht => ?_⟩ rw [← hlam t ht, (hvball t ht).2] end Lightlike.Penrose From 1e37fd0e2d89ff517c9ab39cc075c1899c8ec626 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:26:46 +0200 Subject: [PATCH 41/66] wip --- Lightlike/Geodesic/UniformTimeBall.lean | 4 +- Lightlike/Rows/G1_012/GeneratorChain.lean | 91 ++++++++++++++++++- Lightlike/Rows/G1_012/RadialNull.lean | 104 +++++++++++++++++++++- 3 files changed, 194 insertions(+), 5 deletions(-) diff --git a/Lightlike/Geodesic/UniformTimeBall.lean b/Lightlike/Geodesic/UniformTimeBall.lean index 10f1b948..5470a89f 100644 --- a/Lightlike/Geodesic/UniformTimeBall.lean +++ b/Lightlike/Geodesic/UniformTimeBall.lean @@ -311,7 +311,7 @@ theorem exists_uniform_future_timeBall {g : (Fin n → ℝ) → Matrix (Fin n) ( (hg : IsCoordMetric g U) {K : Set (Fin n → ℝ)} (hK : IsCompact K) (hKU : K ⊆ U) {e : (Fin n → ℝ) → Fin n → ℝ} (he' : ContinuousOn e U) (hlt' : ∀ y ∈ U, pairing g y (e y) (e y) < 0) : - ∃ ρ r η : ℝ, 0 < r ∧ r ≤ ρ ∧ 0 < η ∧ ∀ p ∈ K, ∃ (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) + ∃ ρ r η : ℝ, 0 < r ∧ r < ρ ∧ 0 < η ∧ ∀ p ∈ K, ∃ (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) (N : (Fin n → ℝ) → Fin n → ℝ), IsTimeBall g U p ρ φ (e p) r N ∧ (∀ v ∈ ball (0 : Fin n → ℝ) r, pairing g (φ v) (N v) (e (φ v)) < 0) ∧ ∀ y : Fin n → ℝ, Dist.dist y p < η → ∃ v ∈ ball (0 : Fin n → ℝ) r, φ v = y := by @@ -444,7 +444,7 @@ theorem exists_uniform_future_timeBall {g : (Fin n → ℝ) → Matrix (Fin n) ( (hF2c.mono hSub) hF20 have hrle : min r r₂ ≤ ρ / 2 := (min_le_left _ _).trans hrρ obtain ⟨η, hη0, hηy⟩ := hη (min r r₂) (lt_min hr hr₂) (hrle.trans (half_le_self hρ.le)) - refine ⟨ρ, min r r₂, η, lt_min hr hr₂, hrle.trans (half_le_self hρ.le), hη0, fun p hp => ?_⟩ + refine ⟨ρ, min r r₂, η, lt_min hr hr₂, hrle.trans_lt (half_lt_self hρ), hη0, fun p hp => ?_⟩ have hrb : ball (0 : Fin n → ℝ) (min r r₂) ⊆ ball (0 : Fin n → ℝ) ρ := ball_subset_ball (hrle.trans (half_le_self hρ.le)) have hrb1 : ball (0 : Fin n → ℝ) (min r r₂) ⊆ ball (0 : Fin n → ℝ) r := diff --git a/Lightlike/Rows/G1_012/GeneratorChain.lean b/Lightlike/Rows/G1_012/GeneratorChain.lean index d6bab1f3..c72ea0af 100644 --- a/Lightlike/Rows/G1_012/GeneratorChain.lean +++ b/Lightlike/Rows/G1_012/GeneratorChain.lean @@ -20,19 +20,51 @@ noncomputable section namespace Lightlike.Penrose variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] - [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} /-- **Uniform future time balls over a set `S` of chart points**: fixed radii `ρ`, `r`, `η` such that every `p ∈ S` has a future time ball of radius `r` whose image contains the `η`-ball about `p`. -/ def UniformFutureBall (T : Causal.TimeOrientation g) (x : M) (S : Set (Fin n → ℝ)) (ρ r η : ℝ) : Prop := - 0 < r ∧ r ≤ ρ ∧ 0 < η ∧ ∀ p ∈ S, ∃ (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) + 0 < r ∧ r < ρ ∧ 0 < η ∧ ∀ p ∈ S, ∃ (φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)) (N : (Fin n → ℝ) → Fin n → ℝ), Lightlike.Geodesic.IsTimeBall (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target p ρ φ (timeCoord T x p) r N ∧ (∀ v ∈ ball (0 : Fin n → ℝ) r, Lightlike.Geodesic.pairing (g.coordMetric x) (φ v) (N v) (timeCoord T x (φ v)) < 0) ∧ ∀ y : Fin n → ℝ, Dist.dist y p < η → ∃ v ∈ ball (0 : Fin n → ℝ) r, φ v = y +/-- **A future causal curve is not constant on a nondegenerate interval.** -/ +theorem Causal_not_const {T : Causal.TimeOrientation g} {β : ℝ → M} {a b t₀ t₂ : ℝ} + (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) (hsub : Icc t₀ t₂ ⊆ Icc a b) (h : t₀ < t₂) : + ¬ ∀ t ∈ Icc t₀ t₂, β t = β t₀ := by + intro hc + have hae := hβ.ae_velocity + have hae' := (ae_restrict_iff' measurableSet_Icc).1 hae + have hex : ∃ t ∈ Ioo t₀ t₂, MDifferentiableWithinAt 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) β (Icc a b) t ∧ + T.IsFutureCausal (Causal.velocity 𝓘(ℝ, Fin n → ℝ) β (Icc a b) t) := by + by_contra hcon + push_neg at hcon + have hnull0 := ae_iff.1 hae' + have : volume (Ioo t₀ t₂) = 0 := by + refine measure_mono_null ?_ hnull0 + intro t ht hQ + exact hcon t ht (hQ (hsub ⟨ht.1.le, ht.2.le⟩)).1 (hQ (hsub ⟨ht.1.le, ht.2.le⟩)).2 + rw [Real.volume_Ioo] at this + simp at this + linarith + obtain ⟨t, ht, -, hP⟩ := hex + have hev : β =ᶠ[𝓝[Icc a b] t] fun _ => β t₀ := by + refine Filter.mem_of_superset (mem_nhdsWithin_of_mem_nhds (Icc_mem_nhds ht.1 ht.2)) ?_ + intro s hs + exact hc s hs + have hv : Causal.velocity 𝓘(ℝ, Fin n → ℝ) β (Icc a b) t = 0 := by + unfold Causal.velocity + rw [hev.mfderivWithin_eq (hc t ⟨ht.1.le, ht.2.le⟩), mfderivWithin_const] + rfl + exact hP.1 hv + /-- **A short window of a no-shortcut causal curve is a radial null geodesic.** -/ theorem window_radial (T : Causal.TimeOrientation g) (x : M) {β : ℝ → M} {a b : ℝ} (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) @@ -115,4 +147,59 @@ theorem window_radial (T : Causal.TimeOrientation g) (x : M) {β : ℝ → M} {a rw [← hq, Lightlike.Geodesic.pairing_comm hL'.1 hy]; exact h0 exact ⟨φ, N, vb, lam, hTB, hfut, hcov, hvb, hvb0, hnull, hx0, hl0, hl1, hmono, hcont, hlam⟩ +/-- The velocity at `0` within `[0, S]` is the velocity within `[0, ∞)`. -/ +theorem velocity_Icc_zero {γ : ℝ → M} {S : ℝ} (hS : 0 < S) : + Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc 0 S) 0 = Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Ici 0) 0 := by + unfold Causal.velocity + rw [← Ici_inter_Iic, mfderivWithin_inter (Iic_mem_nhds hS)] + +/-- **Reachability by a null geodesic**: `β t` is the end of a null geodesic from `β a`, which +covers `β [a, t]` monotonically and has a future-directed start. -/ +def GenReach (T : Causal.TimeOrientation g) (β : ℝ → M) (a t : ℝ) : Prop := + ∃ (γ : ℝ → M) (S : ℝ) (lam : ℝ → ℝ) (e : ℝ), 0 < S ∧ 0 < e ∧ + IsNullGeodesicOn g γ (Ioo (-e) (S + e)) ∧ γ 0 = β a ∧ γ S = β t ∧ lam a = 0 ∧ lam t = S ∧ + MonotoneOn lam (Icc a t) ∧ ContinuousOn lam (Icc a t) ∧ (∀ s ∈ Icc a t, β s = γ (lam s)) ∧ + g.g (γ 0) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Ici 0) 0) (T.X (γ 0)) < 0 + +/-- **The first step: a window starting at `β a` gives a null geodesic from `β a`.** -/ +theorem genReach_of_window (T : Causal.TimeOrientation g) (x : M) {β : ℝ → M} {a t₂ : ℝ} + (hsrc : ∀ t ∈ Icc a t₂, β t ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) (h02 : a < t₂) + {ρ r : ℝ} {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} + {vb : Fin n → ℝ} {lam : ℝ → ℝ} + (hTB : Lightlike.Geodesic.IsTimeBall (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target + (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a)) ρ φ + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a))) r N) + (hfutN : ∀ v ∈ ball (0 : Fin n → ℝ) r, Lightlike.Geodesic.pairing (g.coordMetric x) (φ v) (N v) + (timeCoord T x (φ v)) < 0) + (hvb : vb ∈ ball (0 : Fin n → ℝ) r) (hvb0 : vb ≠ 0) + (hnull : Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a)) + vb vb = 0) + (hx0 : Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a)) + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β a))) vb < 0) + (hl0 : lam a = 0) (hl1 : lam t₂ = 1) (hmono : MonotoneOn lam (Icc a t₂)) + (hcont : ContinuousOn lam (Icc a t₂)) + (hlam : ∀ t ∈ Icc a t₂, extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t) = φ (lam t • vb)) : + GenReach T β a t₂ := by + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + obtain ⟨lamb, hlamb1, hnullg⟩ := radial_isNullGeodesicOn T x hTB hvb hvb0 hnull + have hfut := radial_isFutureNullGeodesicOn T x hTB hfutN hvb hvb0 hnull hx0 + have haI : a ∈ Icc a t₂ := ⟨le_rfl, h02.le⟩ + have hβs : ∀ t ∈ Icc a t₂, ψ.symm (φ (lam t • vb)) = β t := fun t ht => by + rw [← hlam t ht]; exact ψ.left_inv (hsrc t ht) + refine ⟨fun s => ψ.symm (φ (s • vb)), 1, lam, lamb - 1, one_pos, by linarith, ?_, ?_, ?_, hl0, + hl1, hmono, hcont, fun s hs => (hβs s hs).symm, ?_⟩ + · refine hnullg.mono ?_ + intro s hs + exact ⟨by linarith [hs.1], by linarith [hs.2]⟩ + · simp only [zero_smul] + rw [hTB.chart.map_zero] + exact ψ.left_inv (hsrc a haI) + · simp only [one_smul] + have := hβs t₂ ⟨h02.le, le_rfl⟩ + rw [hl1, one_smul] at this + exact this + · have h1 := hfut.2 0 ⟨le_rfl, zero_le_one⟩ + rw [velocity_Icc_zero one_pos] at h1 + exact h1 + end Lightlike.Penrose diff --git a/Lightlike/Rows/G1_012/RadialNull.lean b/Lightlike/Rows/G1_012/RadialNull.lean index 7b8ffade..775ce188 100644 --- a/Lightlike/Rows/G1_012/RadialNull.lean +++ b/Lightlike/Rows/G1_012/RadialNull.lean @@ -23,6 +23,108 @@ variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} +/-- **The radial null geodesic of a time ball is a null geodesic on an open interval containing +`[0, 1]`.** -/ +theorem radial_isNullGeodesicOn (T : Causal.TimeOrientation g) (x : M) {p : Fin n → ℝ} + {ρ r : ℝ} {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} + (hTB : Lightlike.Geodesic.IsTimeBall (g.coordMetric x) + (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target p ρ φ (timeCoord T x p) r N) + {w : Fin n → ℝ} (hw : w ∈ ball (0 : Fin n → ℝ) r) (hw0 : w ≠ 0) + (hσ : Lightlike.Geodesic.pairing (g.coordMetric x) p w w = 0) : + ∃ lam : ℝ, 1 < lam ∧ IsNullGeodesicOn g + (fun s : ℝ => (extChartAt 𝓘(ℝ, Fin n → ℝ) x).symm (φ (s • w))) (Ioo (-lam) lam) := by + have hL := g.isLorentzianCoordMetric_coordMetric x + have hg := hL.1 + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + have hwρ : w ∈ ball (0 : Fin n → ℝ) ρ := hTB.mem_ball hw + -- a slightly longer vector still in the normal ball + obtain ⟨lam, hlam1, hlamw⟩ : ∃ lam : ℝ, 1 < lam ∧ lam • w ∈ ball (0 : Fin n → ℝ) ρ := by + have hopen : IsOpen ((fun t : ℝ => t • w) ⁻¹' ball (0 : Fin n → ℝ) ρ) := + isOpen_ball.preimage (by fun_prop) + obtain ⟨δ, hδ, hsub⟩ := Metric.isOpen_iff.1 hopen 1 (by simpa using hwρ) + refine ⟨1 + δ / 2, by linarith, hsub ?_⟩ + rw [Metric.mem_ball, Real.dist_eq] + rw [abs_of_nonneg (by linarith)]; linarith + have hlam0 : 0 < lam := by linarith + -- the chart geodesic and its rescaling + obtain ⟨γ', w', -, -, -, hgeo', hγ'⟩ := hTB.chart.geodesic (lam • w) hlamw + have hgeoS := hgeo'.scale lam⁻¹ + set O : Set ℝ := Ioo (-lam) lam with hO + have hOo : IsOpen O := isOpen_Ioo + have hIO : Icc (0 : ℝ) 1 ⊆ O := fun s hs => ⟨by linarith [hs.1], by linarith [hs.2]⟩ + have hsw : ∀ s ∈ O, s • w ∈ ball (0 : Fin n → ℝ) ρ := by + intro s hs + have hs' : |s| < lam := abs_lt.2 hs + rw [mem_ball_zero_iff] at hlamw ⊢ + rw [norm_smul, Real.norm_eq_abs] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hlam0] at hlamw + calc |s| * ‖w‖ ≤ lam * ‖w‖ := by gcongr + _ < ρ := hlamw + set c : ℝ → Fin n → ℝ := fun s => φ (s • w) with hc + set c' : ℝ → Fin n → ℝ := fun s => fderiv ℝ φ (s • w) w with hc' + have hφd : ∀ s ∈ O, HasDerivAt c (c' s) s := by + intro s hs + have hsrc : s • w ∈ φ.source := by rw [hTB.chart.source_eq]; exact hsw s hs + have hdφ : HasFDerivAt φ (fderiv ℝ φ (s • w)) (s • w) := + ((hTB.chart.contDiffOn.contDiffAt (φ.open_source.mem_nhds hsrc)).differentiableAt + (by simp)).hasFDerivAt + have hin : HasDerivAt (fun s : ℝ => s • w) w s := by + simpa using (hasDerivAt_id s).smul_const w + exact hdφ.comp_hasDerivAt s hin + have hctarget : ∀ s ∈ O, c s ∈ ψ.target := fun s hs => + hTB.chart.target_subset (φ.map_source (by rw [hTB.chart.source_eq]; exact hsw s hs)) + have hmemS : ∀ s ∈ O, s ∈ (fun t : ℝ => lam⁻¹ * t) ⁻¹' Ioo (-1 : ℝ) 2 := by + intro s hs + have hs' : |s| < lam := abs_lt.2 hs + have h1 : |lam⁻¹ * s| < 1 := by + rw [abs_mul, abs_of_pos (inv_pos.2 hlam0), inv_mul_lt_iff₀ hlam0]; linarith + have := abs_lt.1 h1 + exact ⟨by linarith [this.1], by linarith [this.2]⟩ + have hcγ : ∀ s ∈ O, γ' (lam⁻¹ * s) = c s := by + intro s hs + have hs' : |s| < lam := abs_lt.2 hs + have h1 : |lam⁻¹ * s| ≤ 1 := by + rw [abs_mul, abs_of_pos (inv_pos.2 hlam0), inv_mul_le_iff₀ hlam0]; linarith + have := abs_le.1 h1 + rw [hγ' _ ⟨this.1, this.2⟩] + simp only [hc, smul_smul] + have : lam⁻¹ * s * lam = s := by field_simp + rw [this] + set w'' : ℝ → Fin n → ℝ := fun s => lam⁻¹ • w' (lam⁻¹ * s) with hw'' + have hpos'' : ∀ s ∈ O, HasDerivAt c (w'' s) s := by + intro s hs + refine (hgeoS.pos s (hmemS s hs)).congr_of_eventuallyEq ?_ + filter_upwards [hOo.mem_nhds hs] with s' hs' + exact (hcγ s' hs').symm + have hw''eq : ∀ s ∈ O, w'' s = c' s := fun s hs => (hpos'' s hs).unique (hφd s hs) + have hgeoC : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) c w'' O := by + refine ⟨hpos'', fun s hs => ?_⟩ + have h2 := hgeoS.vel s (hmemS s hs) + rw [hcγ s hs] at h2 + exact h2 + have hcM : ∀ s ∈ O, ψ (ψ.symm (c s)) = c s := fun s hs => ψ.right_inv (hctarget s hs) + have hgeoM : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) + (fun s => ψ (ψ.symm (c s))) w'' O := by + refine ⟨fun s hs => ?_, fun s hs => ?_⟩ + · refine (hgeoC.pos s hs).congr_of_eventuallyEq ?_ + filter_upwards [hOo.mem_nhds hs] with s' hs' using hcM s' hs' + · have := hgeoC.vel s hs + rw [← hcM s hs] at this + exact this + have hNull : IsNullGeodesicOn g (fun s => ψ.symm (c s)) O := by + refine isNullGeodesicOn_of_chart g x hOo (fun s hs => ψ.map_target (hctarget s hs)) + (fun s hs => ?_) (fun s hs => ?_) hgeoM + · rw [hw''eq s hs] + intro h0 + have := hTB.chart.fderiv_symm_apply (hsw s hs) w + have h0' : fderiv ℝ φ (s • w) w = 0 := h0 + rw [h0', map_zero] at this + exact hw0 this.symm + · rw [hcM s hs, hw''eq s hs, ← pairing_eq_bil] + rw [show c s = φ (s • w) from rfl] + exact (radial_pairing hg hTB.chart (hsw s hs)).trans hσ + exact ⟨lam, hlam1, hNull⟩ + /-- **A radial null segment of a future time ball is a future null geodesic of `M`.** -/ theorem radial_isFutureNullGeodesicOn (T : Causal.TimeOrientation g) (x : M) {p : Fin n → ℝ} {ρ r : ℝ} {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} @@ -166,4 +268,4 @@ theorem radial_isFutureNullGeodesicOn (T : Causal.TimeOrientation g) (x : M) {p rw [pairing_eq_bil] at this exact this -end Lightlike.Penrose +end Lightlike.Penrose \ No newline at end of file From addcf96047f2b60b2ddc3b695fc0f6b060f009f6 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:36:03 +0200 Subject: [PATCH 42/66] feat(g1-012): chain extension step for null geodesic generators (genReach_extend) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Rows/G1_012/GeneratorChain.lean | 333 ++++++++++++++++++++++ Lightlike/Rows/G1_012/NullGeodGlue.lean | 12 + 2 files changed, 345 insertions(+) diff --git a/Lightlike/Rows/G1_012/GeneratorChain.lean b/Lightlike/Rows/G1_012/GeneratorChain.lean index c72ea0af..b257729d 100644 --- a/Lightlike/Rows/G1_012/GeneratorChain.lean +++ b/Lightlike/Rows/G1_012/GeneratorChain.lean @@ -202,4 +202,337 @@ theorem genReach_of_window (T : Causal.TimeOrientation g) (x : M) {β : ℝ → rw [velocity_Icc_zero one_pos] at h1 exact h1 +/-- The preimage of `(-L, L)` under `σ ↦ c σ + d`, `c > 0`, is an open interval. -/ +theorem preimage_affine_Ioo {c d L : ℝ} (hc : 0 < c) : + (fun σ : ℝ => c * σ + d) ⁻¹' Ioo (-L) L = Ioo ((-L - d) / c) ((L - d) / c) := by + ext σ + simp only [mem_preimage, mem_Ioo] + rw [div_lt_iff₀ hc, lt_div_iff₀ hc] + constructor <;> rintro ⟨h1, h2⟩ <;> constructor <;> linarith + +set_option maxHeartbeats 1600000 in +/-- **Extending a null geodesic along an overlapping window** (the inductive step of the chain). -/ +theorem genReach_extend (T : Causal.TimeOrientation g) (x : M) {β : ℝ → M} {a b t₀ t₁ t₂ : ℝ} + (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) (hat₀ : a ≤ t₀) (h01 : t₀ < t₁) + (h12 : t₁ < t₂) (ht₂ : t₂ ≤ b) + (hsrc : ∀ t ∈ Icc t₀ t₂, β t ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) + {ρ r : ℝ} (hrρ : r < ρ) + {φ : OpenPartialHomeomorph (Fin n → ℝ) (Fin n → ℝ)} {N : (Fin n → ℝ) → Fin n → ℝ} + {vb : Fin n → ℝ} {lam : ℝ → ℝ} + (hTB : Lightlike.Geodesic.IsTimeBall (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x).target + (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀)) ρ φ + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀))) r N) + (hvb : vb ∈ ball (0 : Fin n → ℝ) r) (hvb0 : vb ≠ 0) + (hnull : Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t₀)) + vb vb = 0) + (hl0 : lam t₀ = 0) (hl1 : lam t₂ = 1) (hmono : MonotoneOn lam (Icc t₀ t₂)) + (hcont : ContinuousOn lam (Icc t₀ t₂)) + (hlam : ∀ t ∈ Icc t₀ t₂, extChartAt 𝓘(ℝ, Fin n → ℝ) x (β t) = φ (lam t • vb)) + (hreach : GenReach T β a t₁) : GenReach T β a t₂ := by + obtain ⟨γ, S, lamγ, e, hS, he, hnullγ, hγ0, hγS, hl0γ, hlSγ, hmonoγ, hcontγ, hβγ, hfut0⟩ := hreach + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + have hb₁ : t₁ ≤ b := h12.le.trans ht₂ + have hsubab : ∀ {u v : ℝ}, a ≤ u → v ≤ b → Icc u v ⊆ Icc a b := fun hu hv => + Icc_subset_Icc hu hv + have hsrc1 : ∀ t ∈ Icc t₀ t₁, β t ∈ ψ.source := fun t ht => + hsrc t ⟨ht.1, ht.2.trans h12.le⟩ + have ht₀a : t₀ ∈ Icc a t₁ := ⟨hat₀, h01.le⟩ + have ht₁a : t₁ ∈ Icc a t₁ := ⟨(hat₀.trans h01.le), le_rfl⟩ + have hτ0 : 0 ≤ lamγ t₀ := by + have := hmonoγ ⟨le_rfl, hat₀.trans h01.le⟩ ht₀a hat₀ + rwa [hl0γ] at this + have hτS : lamγ t₀ ≤ S := by + have := hmonoγ ht₀a ht₁a h01.le + rwa [hlSγ] at this + have hnc : ¬ ∀ t ∈ Icc t₀ t₁, β t = β t₀ := + Causal_not_const hβ (hsubab hat₀ hb₁) h01 + have hτlt : lamγ t₀ < S := by + by_contra hcon + have hτ : lamγ t₀ = S := le_antisymm hτS (not_lt.1 hcon) + refine hnc fun s hs => ?_ + have hs1 : lamγ s = S := by + have h1 := hmonoγ ht₀a ⟨hat₀.trans hs.1, hs.2⟩ hs.1 + have h2 := hmonoγ ⟨hat₀.trans hs.1, hs.2⟩ ht₁a hs.2 + linarith + rw [hβγ s ⟨hat₀.trans hs.1, hs.2⟩, hβγ t₀ ht₀a, hs1, hτ] + have hS₁0 : 0 ≤ lam t₁ := by + have := hmono ⟨le_rfl, h01.le.trans h12.le⟩ ⟨h01.le, h12.le⟩ h01.le + rwa [hl0] at this + have hS₁le : lam t₁ ≤ 1 := by + have := hmono ⟨h01.le, h12.le⟩ ⟨h01.le.trans h12.le, le_rfl⟩ h12.le + rwa [hl1] at this + have hS₁pos : 0 < lam t₁ := by + refine lt_of_le_of_ne hS₁0 fun h0 => hnc fun s hs => ?_ + have hs0 : lam s = 0 := by + have h1 := hmono ⟨le_rfl, h01.le.trans h12.le⟩ ⟨hs.1, hs.2.trans h12.le⟩ hs.1 + have h2 := hmono ⟨hs.1, hs.2.trans h12.le⟩ ⟨h01.le, h12.le⟩ hs.2 + linarith + have e1 := hlam s ⟨hs.1, hs.2.trans h12.le⟩ + have e0 := hlam t₀ ⟨le_rfl, h01.le.trans h12.le⟩ + rw [hs0, zero_smul] at e1 + rw [hl0, zero_smul] at e0 + exact ψ.injOn (hsrc1 s hs) (hsrc1 t₀ ⟨le_rfl, h01.le⟩) (by rw [e1, e0]) + set τ : ℝ := lamγ t₀ with hτdef + set S₁ : ℝ := lam t₁ with hS₁def + set dS : ℝ := S - τ with hdS + have hdSpos : 0 < dS := by rw [hdS]; linarith + have hsub01 : Icc t₀ t₁ ⊆ Icc a t₁ := Icc_subset_Icc hat₀ le_rfl + have hivt : ∀ σ ∈ Icc τ S, ∃ s ∈ Icc t₀ t₁, lamγ s = σ := by + intro σ hσ + have := intermediate_value_Icc h01.le (hcontγ.mono hsub01) + rw [hlSγ] at this + obtain ⟨s, hs, hsσ⟩ := this hσ + exact ⟨s, hs, hsσ⟩ + -- arc points: in the chart source and in the radial image + have harc : ∀ σ ∈ Icc τ S, γ σ ∈ ψ.source ∧ ψ (γ σ) ∈ φ '' ball (0 : Fin n → ℝ) r := by + intro σ hσ + obtain ⟨s, hs, hsσ⟩ := hivt σ hσ + have hβs : β s = γ σ := by rw [hβγ s (hsub01 hs), hsσ] + have hsrc_s : β s ∈ ψ.source := hsrc1 s hs + refine ⟨hβs ▸ hsrc_s, ?_⟩ + rw [← hβs, hlam s ⟨hs.1, hs.2.trans h12.le⟩] + refine ⟨lam s • vb, ?_, rfl⟩ + have h0 : 0 ≤ lam s := by + have := hmono ⟨le_rfl, h01.le.trans h12.le⟩ ⟨hs.1, hs.2.trans h12.le⟩ hs.1 + rwa [hl0] at this + have h1 : lam s ≤ 1 := by + have := hmono ⟨hs.1, hs.2.trans h12.le⟩ ⟨h01.le.trans h12.le, le_rfl⟩ + (hs.2.trans h12.le) + rwa [hl1] at this + rw [mem_ball_zero_iff, norm_smul, Real.norm_eq_abs, abs_of_nonneg h0] + have := mem_ball_zero_iff.1 hvb + nlinarith [norm_nonneg vb] + -- the chart expression of `γ` along the arc is a geodesic of the chart at `x` + set J₁ : Set ℝ := Ioo (-e) (S + e) with hJ₁ + have hJ₁o : IsOpen J₁ := isOpen_Ioo + have hγgeo : IsGeodesicCurveOn g γ J₁ := hnullγ.isGeodesicCurveOn + have hγc : ContinuousOn γ J₁ := fun σ hσ => + (IsGeodesicCurveOn.continuousAt g hγgeo hσ).continuousWithinAt + set Y : Set ℝ := J₁ ∩ γ ⁻¹' ψ.source with hY + have hYo : IsOpen Y := hγc.isOpen_inter_preimage hJ₁o (isOpen_extChartAt_source (I := 𝓘(ℝ, Fin n → ℝ)) x) + have hτJ : ∀ σ ∈ Icc τ S, σ ∈ J₁ := fun σ hσ => ⟨by linarith [hσ.1], by linarith [hσ.2]⟩ + have hY' : ∀ σ ∈ Icc τ S, σ ∈ Y := fun σ hσ => ⟨hτJ σ hσ, (harc σ hσ).1⟩ + set aff : ℝ → ℝ := fun y => dS * y + τ with haff + have haffc : Continuous aff := by fun_prop + set Oarc : Set ℝ := aff ⁻¹' Y with hOarc + have hOarco : IsOpen Oarc := hYo.preimage haffc + have hIcc01 : Icc (0 : ℝ) 1 ⊆ Oarc := fun y hy => hY' (aff y) ⟨by simp only [haff]; nlinarith [hy.1], + by simp only [haff, hdS]; nlinarith [hy.2]⟩ + have hγ'null := hnullγ.comp_affine hdSpos.ne' τ + have hγ'geo : IsGeodesicCurveOn g (fun y => γ (dS * y + τ)) Oarc := + (hγ'null.isGeodesicCurveOn).mono (fun y hy => hy.1) + obtain ⟨w, hwgeo⟩ := geodesicOn_chart_of_curve g x hOarco (fun y hy => hy.2) hγ'geo + have hg1 := (g.isLorentzianCoordMetric_coordMetric x).1 + have hγτ : γ τ = β t₀ := (hβγ t₀ ht₀a).symm + have hΛ0 : ψ (γ (dS * 0 + τ)) = ψ (β t₀) := by rw [mul_zero, zero_add, hγτ] + have hrad := hTB.chart.geodesic_eq_radial hg1 hTB.pos hrρ hOarco hIcc01 hwgeo hΛ0 (fun y hy => by + have := harc (aff y) ⟨by simp only [haff]; nlinarith [hy.1], + by simp only [haff, hdS]; nlinarith [hy.2]⟩ + exact this.2) + set ξ : Fin n → ℝ := w 0 with hξ + have hξS : ξ = S₁ • vb := by + obtain ⟨hb1, h1, -⟩ := hrad 1 ⟨zero_le_one, le_rfl⟩ + have e1 : ψ (γ (dS * 1 + τ)) = φ (S₁ • vb) := by + have : dS * 1 + τ = S := by rw [hdS]; ring + rw [this, hγS, hlam t₁ ⟨h01.le, h12.le⟩] + rw [e1, one_smul] at h1 + have hSb : S₁ • vb ∈ ball (0 : Fin n → ℝ) ρ := by + rw [mem_ball_zero_iff, norm_smul, Real.norm_eq_abs, abs_of_nonneg hS₁0] + have := mem_ball_zero_iff.1 hvb + nlinarith [norm_nonneg vb] + have hξb : ξ ∈ ball (0 : Fin n → ℝ) ρ := by + have := ball_subset_ball hrρ.le (one_smul ℝ ξ ▸ hb1) + exact this + exact (φ.injOn (by rw [hTB.chart.source_eq]; exact hξb) (by rw [hTB.chart.source_eq]; exact hSb) + h1.symm) + have hΛ : ∀ y ∈ Icc (0 : ℝ) 1, ψ (γ (dS * y + τ)) = φ ((y * S₁) • vb) := by + intro y hy + obtain ⟨-, h1, -⟩ := hrad y hy + rw [h1, hξS, smul_smul] + -- the radial continuation + obtain ⟨lamb, hlamb1, hΓnull⟩ := radial_isNullGeodesicOn T x hTB hvb hvb0 hnull + set Γ : ℝ → M := fun s => ψ.symm (φ (s • vb)) with hΓ + set c : ℝ := S₁ / dS with hc + have hcpos : 0 < c := div_pos hS₁pos hdSpos + set d : ℝ := -c * τ with hd + set γ₂ : ℝ → M := fun σ => Γ (c * σ + d) with hγ₂ + have hγ₂null := hΓnull.comp_affine hcpos.ne' d + rw [preimage_affine_Ioo hcpos] at hγ₂null + set lo : ℝ := (-lamb - d) / c with hlo + set hi : ℝ := (lamb - d) / c with hhi + have hJ₂o : IsOpen (Ioo lo hi) := isOpen_Ioo + have hcσ : ∀ σ, c * σ + d = c * (σ - τ) := fun σ => by rw [hd]; ring + -- agreement on the arc + have hag_arc : ∀ σ ∈ Icc τ S, γ σ = γ₂ σ := by + intro σ hσ + set y : ℝ := (σ - τ) / dS with hy + have hy01 : y ∈ Icc (0 : ℝ) 1 := by + constructor + · exact div_nonneg (by linarith [hσ.1]) hdSpos.le + · rw [hy, div_le_one hdSpos]; rw [hdS]; linarith [hσ.2] + have hσy : dS * y + τ = σ := by rw [hy]; field_simp; ring + have h1 := hΛ y hy01 + rw [hσy] at h1 + have hcy : c * σ + d = y * S₁ := by + rw [hcσ, hc, hy]; field_simp + have hsrcσ := (harc σ hσ).1 + calc γ σ = ψ.symm (ψ (γ σ)) := (ψ.left_inv hsrcσ).symm + _ = ψ.symm (φ ((y * S₁) • vb)) := by rw [h1] + _ = γ₂ σ := by simp only [hγ₂, hΓ, hcy] + -- agreement on the whole overlap, by uniqueness of geodesic curves + have hγ₂geo : IsGeodesicCurveOn g γ₂ (Ioo lo hi) := hγ₂null.isGeodesicCurveOn + set σ₀ : ℝ := (τ + S) / 2 with hσ₀ + have hσ₀I : σ₀ ∈ Ioo τ S := ⟨by rw [hσ₀]; linarith, by rw [hσ₀]; linarith⟩ + have hσ₀J₁ : σ₀ ∈ J₁ := hτJ σ₀ ⟨hσ₀I.1.le, hσ₀I.2.le⟩ + have hlo' : lo = τ - lamb * dS / S₁ := by + rw [hlo, hd, hc]; field_simp; ring + have hhi' : hi = τ + lamb * dS / S₁ := by + rw [hhi, hd, hc]; field_simp; ring + have hdS1 : dS ≤ dS / S₁ := by + rw [le_div_iff₀ hS₁pos]; nlinarith + have hlt1 : dS < lamb * dS / S₁ := by + have : lamb * dS / S₁ = lamb * (dS / S₁) := by ring + rw [this] + nlinarith + have hlop : lamb * dS / S₁ > 0 := by positivity + have hloτ : lo < τ := by rw [hlo']; linarith + have hSh : S < hi := by rw [hhi']; rw [hdS] at hlt1; linarith + have hσ₀J₂ : σ₀ ∈ Ioo lo hi := ⟨by linarith [hσ₀I.1], by linarith [hσ₀I.2]⟩ + have hJ₁₂c : IsPreconnected (J₁ ∩ Ioo lo hi) := + (ordConnected_Ioo.inter ordConnected_Ioo).isPreconnected + have hJ₁₂o : IsOpen (J₁ ∩ Ioo lo hi) := hJ₁o.inter hJ₂o + have hag : EqOn γ γ₂ (J₁ ∩ Ioo lo hi) := by + refine IsGeodesicCurveOn.eqOn g hJ₁₂o hJ₁₂c (hγgeo.mono inter_subset_left) + (hγ₂geo.mono inter_subset_right) ⟨hσ₀J₁, hσ₀J₂⟩ (hag_arc σ₀ ⟨hσ₀I.1.le, hσ₀I.2.le⟩) ?_ + have hev : γ =ᶠ[𝓝 σ₀] γ₂ := by + filter_upwards [Ioo_mem_nhds hσ₀I.1 hσ₀I.2] with σ hσ using hag_arc σ ⟨hσ.1.le, hσ.2.le⟩ + exact Filter.EventuallyEq.deriv_eq (hev.mono fun σ hσ => by simp only [hσ]) + obtain ⟨γN, hglue, hγN₁, hγN₂⟩ := hnullγ.exists_union hγ₂null hJ₁o hJ₂o hag + set S' : ℝ := τ + dS / S₁ with hS' + have hdSS : 0 < dS / S₁ := div_pos hdSpos hS₁pos + have hS'pos : 0 < S' := by rw [hS']; linarith + have hSS' : S ≤ S' := by rw [hS', hdS] at *; linarith + have hS'hi : S' < hi := by + rw [hhi', hS'] + have : lamb * dS / S₁ = lamb * (dS / S₁) := by ring + rw [this]; nlinarith + set e' : ℝ := min e (hi - S') with he' + have he'pos : 0 < e' := lt_min he (by linarith) + have hsubJ : Ioo (-e') (S' + e') ⊆ J₁ ∪ Ioo lo hi := by + intro σ hσ + by_cases h1 : σ < S + e + · exact Or.inl ⟨by linarith [hσ.1, min_le_left e (hi - S')], h1⟩ + · refine Or.inr ⟨by linarith [not_lt.1 h1], by linarith [hσ.2, min_le_right e (hi - S')]⟩ + have hnew : IsNullGeodesicOn g γN (Ioo (-e') (S' + e')) := hglue.mono hsubJ + have hS'J₂ : S' ∈ Ioo lo hi := ⟨by linarith, hS'hi⟩ + -- the new reparametrisation + have hJ0S : ∀ σ ∈ Icc 0 S, σ ∈ J₁ := fun σ hσ => ⟨by linarith [hσ.1], by linarith [hσ.2]⟩ + set lamN : ℝ → ℝ := fun s => if s ≤ t₁ then lamγ s else τ + dS * lam s / S₁ with hlamN + have hlamγb : ∀ s ∈ Icc a t₁, lamγ s ∈ Icc 0 S := fun s hs => + ⟨by have := hmonoγ ⟨le_rfl, hat₀.trans h01.le⟩ hs hs.1; rwa [hl0γ] at this, + by have := hmonoγ hs ht₁a hs.2; rwa [hlSγ] at this⟩ + have hlamb2 : ∀ s ∈ Icc t₁ t₂, S ≤ τ + dS * lam s / S₁ ∧ τ + dS * lam s / S₁ ≤ S' := by + intro s hs + have h1 : S₁ ≤ lam s := by + have := hmono ⟨h01.le, h12.le⟩ ⟨h01.le.trans hs.1, hs.2⟩ hs.1 + exact this + have h2 : lam s ≤ 1 := by + have := hmono ⟨h01.le.trans hs.1, hs.2⟩ ⟨h01.le.trans h12.le, le_rfl⟩ hs.2 + rwa [hl1] at this + constructor + · have : dS ≤ dS * lam s / S₁ := by rw [le_div_iff₀ hS₁pos]; nlinarith + rw [hdS] at this ⊢; linarith + · have : dS * lam s / S₁ ≤ dS / S₁ := by + rw [div_le_div_iff_of_pos_right hS₁pos]; nlinarith + rw [hS']; linarith + refine ⟨γN, S', lamN, e', hS'pos, he'pos, hnew, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ + · rw [hγN₁ 0 ⟨by linarith, by linarith⟩, hγ0] + · rw [hγN₂ S' hS'J₂] + simp only [hγ₂, hΓ] + have h1 : c * S' + d = 1 := by + rw [hcσ, hS', hc]; field_simp; ring + rw [h1, one_smul] + have := hlam t₂ ⟨h01.le.trans h12.le, le_rfl⟩ + rw [hl1, one_smul] at this + rw [← this] + exact ψ.left_inv (hsrc t₂ ⟨h01.le.trans h12.le, le_rfl⟩) + · have ha1 : a ≤ t₁ := hat₀.trans h01.le + simp only [hlamN, ha1, ite_true] + exact hl0γ + · simp only [hlamN, not_le.2 h12, ite_false, hl1, hS'] + field_simp + · intro s hs t ht hst + simp only [hlamN] + by_cases hs1 : s ≤ t₁ + · by_cases ht1 : t ≤ t₁ + · simp only [hs1, ht1, ite_true] + exact hmonoγ ⟨hs.1, hs1⟩ ⟨ht.1, ht1⟩ hst + · simp only [hs1, ht1, ite_true, ite_false] + have h1 : lamγ s ≤ S := (hlamγb s ⟨hs.1, hs1⟩).2 + have h2 := (hlamb2 t ⟨(not_le.1 ht1).le, ht.2⟩).1 + linarith + · have ht1 : ¬ t ≤ t₁ := fun h => hs1 (hst.trans h) + simp only [hs1, ht1, ite_false] + have hs' : s ∈ Icc t₀ t₂ := ⟨(h01.le.trans (not_le.1 hs1).le), hs.2⟩ + have ht' : t ∈ Icc t₀ t₂ := ⟨(h01.le.trans (not_le.1 ht1).le), ht.2⟩ + have := hmono hs' ht' hst + have : dS * lam s / S₁ ≤ dS * lam t / S₁ := by + rw [div_le_div_iff_of_pos_right hS₁pos] + exact mul_le_mul_of_nonneg_left this hdSpos.le + linarith + · have hsplit : Icc a t₂ = Icc a t₁ ∪ Icc t₁ t₂ := + (Icc_union_Icc_eq_Icc (hat₀.trans h01.le) h12.le).symm + rw [hsplit] + refine ContinuousOn.union_of_isClosed ?_ ?_ isClosed_Icc isClosed_Icc + · refine hcontγ.congr fun s hs => ?_ + simp only [hlamN, hs.2, ite_true] + · have hc2 : ContinuousOn (fun s => τ + dS * lam s / S₁) (Icc t₁ t₂) := + continuousOn_const.add ((continuousOn_const.mul + (hcont.mono (Icc_subset_Icc h01.le le_rfl))).div_const _) + refine hc2.congr fun s hs => ?_ + simp only [hlamN] + by_cases hs1 : s ≤ t₁ + · have hst : s = t₁ := le_antisymm hs1 hs.1 + subst hst + simp only [hs1, ite_true] + have : lamγ s = S := hlSγ + rw [this, show lam s = S₁ from rfl, mul_div_assoc, div_self hS₁pos.ne', mul_one, hdS] + ring + · simp only [hs1, ite_false] + · intro s hs + by_cases hs1 : s ≤ t₁ + · have hsm : lamN s = lamγ s := by simp only [hlamN, hs1, ite_true] + rw [hsm, hγN₁ _ (hJ0S _ (hlamγb s ⟨hs.1, hs1⟩))] + exact hβγ s ⟨hs.1, hs1⟩ + · have hs1' : t₁ < s := not_le.1 hs1 + have hsm : lamN s = τ + dS * lam s / S₁ := by simp only [hlamN, hs1, ite_false] + have hb := hlamb2 s ⟨hs1'.le, hs.2⟩ + have hmem : lamN s ∈ Ioo lo hi := by + rw [hsm] + exact ⟨by linarith [hb.1, hSh, hloτ, hτS], by linarith [hb.2, hS'hi]⟩ + rw [hγN₂ _ hmem] + simp only [hγ₂, hΓ] + have h1 : c * lamN s + d = lam s := by + rw [hcσ, hsm, hc]; field_simp; ring + rw [h1] + have := hlam s ⟨h01.le.trans hs1'.le, hs.2⟩ + rw [← this] + exact (ψ.left_inv (hsrc s ⟨h01.le.trans hs1'.le, hs.2⟩)).symm ▸ rfl + · -- the start stays future directed + have hγN0 : γN 0 = γ 0 := hγN₁ 0 ⟨by linarith, by linarith⟩ + have hev : γN =ᶠ[𝓝[Ici 0] 0] γ := by + refine mem_nhdsWithin_of_mem_nhds ?_ + filter_upwards [Ioo_mem_nhds (by linarith : -e < 0) (by linarith : (0 : ℝ) < S + e)] with σ hσ + exact hγN₁ σ hσ + have hvel : Causal.velocity 𝓘(ℝ, Fin n → ℝ) γN (Ici 0) 0 = + Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Ici 0) 0 := by + unfold Causal.velocity + rw [hev.mfderivWithin_eq hγN0] + rfl + have key : ∀ (p q : M) (h : p = q) (v : Fin n → ℝ), g.g p v (T.X p) = g.g q v (T.X q) := by + intro p q h v; subst h; rfl + refine (key _ _ hγN0 _).trans_lt ?_ + rw [hvel] + exact hfut0 + end Lightlike.Penrose diff --git a/Lightlike/Rows/G1_012/NullGeodGlue.lean b/Lightlike/Rows/G1_012/NullGeodGlue.lean index 298f0936..44b8b290 100644 --- a/Lightlike/Rows/G1_012/NullGeodGlue.lean +++ b/Lightlike/Rows/G1_012/NullGeodGlue.lean @@ -98,4 +98,16 @@ theorem IsNullGeodesicOn.union {γ₁ γ₂ : ℝ → M} {J₁ J₂ : Set ℝ} ( intro t ht exact ht.elim (fun h => h1 t h) (fun h => h2 t h) +/-- **Gluing null geodesics, existential form.** -/ +theorem IsNullGeodesicOn.exists_union {γ₁ γ₂ : ℝ → M} {J₁ J₂ : Set ℝ} (h₁ : IsNullGeodesicOn g γ₁ J₁) + (h₂ : IsNullGeodesicOn g γ₂ J₂) (hJ₁ : IsOpen J₁) (hJ₂ : IsOpen J₂) + (hag : EqOn γ₁ γ₂ (J₁ ∩ J₂)) : + ∃ γ : ℝ → M, IsNullGeodesicOn g γ (J₁ ∪ J₂) ∧ (∀ σ ∈ J₁, γ σ = γ₁ σ) ∧ + ∀ σ ∈ J₂, γ σ = γ₂ σ := by + classical + refine ⟨_, h₁.union h₂ hJ₁ hJ₂ hag, fun σ hσ => by simp [hσ], fun σ hσ => ?_⟩ + by_cases h1 : σ ∈ J₁ + · simp [h1, hag ⟨h1, hσ⟩] + · simp [h1] + end Lightlike.Penrose From cb6483b896a69a8a6e93ea05e1f2e2888b07a2e6 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:37:49 +0200 Subject: [PATCH 43/66] genReach_mono --- Lightlike/Rows/G1_012/GeneratorChain.lean | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Lightlike/Rows/G1_012/GeneratorChain.lean b/Lightlike/Rows/G1_012/GeneratorChain.lean index b257729d..fe94e63a 100644 --- a/Lightlike/Rows/G1_012/GeneratorChain.lean +++ b/Lightlike/Rows/G1_012/GeneratorChain.lean @@ -535,4 +535,30 @@ theorem genReach_extend (T : Causal.TimeOrientation g) (x : M) {β : ℝ → M} rw [hvel] exact hfut0 +/-- **Shortening a null geodesic reach.** -/ +theorem genReach_mono (T : Causal.TimeOrientation g) {β : ℝ → M} {a b t t₁ : ℝ} + (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) (hat : a < t) (htt : t ≤ t₁) (ht₁ : t₁ ≤ b) + (h : GenReach T β a t₁) : GenReach T β a t := by + obtain ⟨γ, S, lam, e, hS, he, hnull, hγ0, hγS, hl0, hlS, hmono, hcont, hβγ, hfut⟩ := h + have hta : t ∈ Icc a t₁ := ⟨hat.le, htt⟩ + have hS0 : 0 < lam t := by + refine lt_of_le_of_ne ?_ fun h0 => ?_ + · have := hmono ⟨le_rfl, hat.le.trans htt⟩ hta hat.le + rwa [hl0] at this + · refine Causal_not_const hβ (Icc_subset_Icc le_rfl (htt.trans ht₁) : Icc a t ⊆ Icc a b) hat ?_ + intro s hs + have hs0 : lam s = 0 := by + have h1 := hmono ⟨le_rfl, hat.le.trans htt⟩ ⟨hs.1, hs.2.trans htt⟩ hs.1 + have h2 := hmono ⟨hs.1, hs.2.trans htt⟩ hta hs.2 + linarith + rw [hβγ s ⟨hs.1, hs.2.trans htt⟩, hβγ a ⟨le_rfl, hat.le.trans htt⟩, hs0, hl0] + have hlt : lam t ≤ S := by + have := hmono hta ⟨hat.le.trans htt, le_rfl⟩ htt + rwa [hlS] at this + refine ⟨γ, lam t, lam, e, hS0, he, hnull.mono ?_, hγ0, (hβγ t hta).symm, hl0, rfl, + hmono.mono (Icc_subset_Icc le_rfl htt), hcont.mono (Icc_subset_Icc le_rfl htt), + fun s hs => hβγ s ⟨hs.1, hs.2.trans htt⟩, hfut⟩ + intro σ hσ + exact ⟨hσ.1, by linarith [hσ.2]⟩ + end Lightlike.Penrose From dc56b1222b9e1c6e624a6913c4f0a329ebe12645 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:40:02 +0200 Subject: [PATCH 44/66] feat(g1-012): chain_step (local step of the generator chain) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Rows/G1_012/GeneratorChain.lean | 110 ++++++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/Lightlike/Rows/G1_012/GeneratorChain.lean b/Lightlike/Rows/G1_012/GeneratorChain.lean index fe94e63a..113303c5 100644 --- a/Lightlike/Rows/G1_012/GeneratorChain.lean +++ b/Lightlike/Rows/G1_012/GeneratorChain.lean @@ -561,4 +561,114 @@ theorem genReach_mono (T : Causal.TimeOrientation g) {β : ℝ → M} {a b t t intro σ hσ exact ⟨hσ.1, by linarith [hσ.2]⟩ +set_option maxHeartbeats 1600000 in +/-- **The local step of the chain**: around each `t*` there is `ε > 0` such that a null geodesic +reach of `β t₁` (or `t₁ = a`) extends to `β t₂` for `t₁ < t₂` within `ε` of `t*`. -/ +theorem chain_step (T : Causal.TimeOrientation g) {β : ℝ → M} {a b : ℝ} (hab : a < b) + (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) + (hno : ∀ t' ∈ Icc a b, ∀ t'' ∈ Icc a b, t' ≤ t'' → β t'' ∉ Causal.chronFuture T (β t')) + {t' : ℝ} (ht' : t' ∈ Icc a b) : + ∃ ε : ℝ, 0 < ε ∧ ∀ t₁ ∈ Icc a b, ∀ t₂ ∈ Icc a b, |t₁ - t'| ≤ ε → |t₂ - t'| ≤ ε → t₁ < t₂ → + (t₁ = a ∨ GenReach T β a t₁) → GenReach T β a t₂ := by + set x : M := β t' with hx + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + -- a neighbourhood in the chart source + obtain ⟨K₀, U, hU, hmaps, -⟩ := hβ.lipschitz t' ht' + obtain ⟨ε₀, hε₀, hε₀U⟩ : ∃ ε₀ > 0, ∀ t ∈ Icc a b, |t - t'| < ε₀ → β t ∈ ψ.source := by + rw [mem_nhdsWithin_iff_exists_mem_nhds_inter] at hU + obtain ⟨V, hV, hVU⟩ := hU + obtain ⟨ε₀, hε₀, hball⟩ := Metric.mem_nhds_iff.1 hV + refine ⟨ε₀, hε₀, fun t ht htε => hmaps (hVU ⟨hball ?_, ht⟩)⟩ + rw [Metric.mem_ball, Real.dist_eq]; exact htε + set a' : ℝ := max a (t' - ε₀ / 2) with ha' + set b' : ℝ := min b (t' + ε₀ / 2) with hb' + have ha'a : a ≤ a' := le_max_left _ _ + have hb'b : b' ≤ b := min_le_left _ _ + have hat' : a' ≤ t' := max_le ht'.1 (by linarith) + have hb't : t' ≤ b' := le_min ht'.2 (by linarith) + have hab' : a' < b' := by + rcases hat'.eq_or_lt with h1 | h1 + · rcases hb't.eq_or_lt with h2 | h2 + · exfalso + have : a = t' ∨ t' - ε₀ / 2 = t' := by + rcases max_choice a (t' - ε₀ / 2) with h | h + · left; rw [ha'] at h1; rw [h] at h1; exact h1 + · right; rw [ha'] at h1; rw [h] at h1; exact h1 + rcases this with h | h + · rcases min_choice b (t' + ε₀ / 2) with h' | h' + · rw [hb', h'] at h2; linarith [ht'.2, hab] + · rw [hb', h'] at h2; linarith + · linarith + · exact lt_of_le_of_lt hat' h2 + · exact lt_of_lt_of_le h1 hb't + have hsubab : Icc a' b' ⊆ Icc a b := Icc_subset_Icc ha'a hb'b + have hsrc' : ∀ t ∈ Icc a' b', β t ∈ ψ.source := by + intro t ht + refine hε₀U t (hsubab ht) ?_ + rw [abs_lt]; constructor <;> linarith [ht.1, ht.2, le_max_right a (t' - ε₀ / 2), + min_le_right b (t' + ε₀ / 2)] + have hβ' : Causal.IsFutureCausalCurve T β (Icc a' b') := + Causal.IsCurveWith.mono hβ ha'a hb'b hab' + obtain ⟨L, hL, -⟩ := chart_curve_data T x hβ' hsrc' + have hcomp : IsCompact ((ψ ∘ β) '' Icc a' b') := isCompact_Icc.image_of_continuousOn hL.continuousOn + have hKU : (ψ ∘ β) '' Icc a' b' ⊆ ψ.target := by + rintro _ ⟨t, ht, rfl⟩ + exact ψ.map_source (hsrc' t ht) + have hg1 := (g.isLorentzianCoordMetric_coordMetric x).1 + obtain ⟨ρ, r, η, hr, hrρ, hη, hball⟩ := Lightlike.Geodesic.exists_uniform_future_timeBall hg1 hcomp hKU + (continuousOn_timeCoord T x) (fun y hy => timeCoord_timelike T x hy) + have hU' : UniformFutureBall T x (ψ '' (β '' Icc a' b')) ρ r η := by + refine ⟨hr, hrρ, hη, ?_⟩ + rw [Set.image_image] at * + simpa [Set.image_comp] using hball + set ε : ℝ := min (ε₀ / 4) (η / (4 * ((L : ℝ) + 1))) with hε + have hεpos : 0 < ε := lt_min (by linarith) (by positivity) + refine ⟨ε, hεpos, fun t₁ ht₁ t₂ ht₂ h1 h2 h12 hreach => ?_⟩ + have hεle : ε ≤ ε₀ / 4 := min_le_left _ _ + have hεη : (L : ℝ) * (3 * ε) < η := by + have h4 : ε ≤ η / (4 * ((L : ℝ) + 1)) := min_le_right _ _ + have hL0 : (0 : ℝ) ≤ L := L.2 + have : (L : ℝ) * (3 * ε) ≤ (L : ℝ) * (3 * (η / (4 * ((L : ℝ) + 1)))) := by gcongr + have h5 : (L : ℝ) * (3 * (η / (4 * ((L : ℝ) + 1)))) < η := by + rw [show (L : ℝ) * (3 * (η / (4 * ((L : ℝ) + 1)))) = 3 * η * L / (4 * ((L : ℝ) + 1)) by ring, + div_lt_iff₀ (by positivity)] + nlinarith + linarith + have hin' : ∀ t ∈ Icc a b, |t - t'| ≤ ε → t ∈ Icc a' b' := by + intro t ht htε + have := abs_le.1 htε + exact ⟨max_le ht.1 (by linarith [this.1, hεle, hε₀]), le_min ht.2 (by linarith [this.2, hεle, hε₀])⟩ + have hno' : ∀ u ∈ Icc a' b', ∀ v ∈ Icc a' b', u ≤ v → β v ∉ Causal.chronFuture T (β u) := + fun u hu v hv huv => hno u (hsubab hu) v (hsubab hv) huv + have ht₁' := hin' t₁ ht₁ h1 + have ht₂' := hin' t₂ ht₂ h2 + have hd1 := abs_le.1 h1 + have hd2 := abs_le.1 h2 + by_cases hta : t₁ = a + · subst hta + have hd : (L : ℝ) * (t₂ - t₁) < η := lt_of_le_of_lt + (mul_le_mul_of_nonneg_left (by linarith [hd1.1, hd2.2, hεpos]) L.2) hεη + obtain ⟨φ, N, vb, lam, hTB, hfut, hcov, hvb, hvb0, hnull, hx0, hl0, hl1, hmono, hcont, hlam⟩ := + window_radial T x hβ' hsrc' hno' hL hU' ht₁' ht₂' h12 hd + exact genReach_of_window T x (fun t ht => hsrc' t ⟨ht₁'.1.trans ht.1, ht.2.trans ht₂'.2⟩) h12 + hTB hfut hvb hvb0 hnull hx0 hl0 hl1 hmono hcont hlam + · have hreach' : GenReach T β a t₁ := hreach.resolve_left hta + have hat1 : a < t₁ := lt_of_le_of_ne ht₁.1 (Ne.symm hta) + set t₀ : ℝ := max a (t₁ - ε) with ht₀def + have hat₀ : a ≤ t₀ := le_max_left _ _ + have h01 : t₀ < t₁ := max_lt hat1 (by linarith) + have ht₀' : t₀ ∈ Icc a' b' := + ⟨max_le_max le_rfl (by linarith [hd1.1, hεle, hε₀]), h01.le.trans ht₁'.2⟩ + have ht₀ab : t₀ ∈ Icc a b := ⟨hat₀, h01.le.trans ht₁.2⟩ + have hd : (L : ℝ) * (t₂ - t₀) < η := by + refine lt_of_le_of_lt (mul_le_mul_of_nonneg_left ?_ L.2) hεη + have : t₁ - ε ≤ t₀ := le_max_right _ _ + linarith [hd1.1, hd2.2, hεpos] + have h02 : t₀ < t₂ := h01.trans h12 + obtain ⟨φ, N, vb, lam, hTB, hfut, hcov, hvb, hvb0, hnull, hx0, hl0, hl1, hmono, hcont, hlam⟩ := + window_radial T x hβ' hsrc' hno' hL hU' ht₀' ht₂' h02 hd + exact genReach_extend T x hβ hat₀ h01 h12 ht₂.2 + (fun t ht => hsrc' t ⟨ht₀'.1.trans ht.1, ht.2.trans ht₂'.2⟩) hrρ hTB hvb hvb0 hnull hl0 hl1 + hmono hcont hlam hreach' + end Lightlike.Penrose From 59effd564e4ea734b7f68a80ea43b3acc4ea1c5c Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:41:16 +0200 Subject: [PATCH 45/66] feat(g1-012): a causal curve with no timelike shortcut is a null geodesic (exists_null_geodesic_of_no_shortcut) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/Rows/G1_012/GeneratorChain.lean | 54 +++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/Lightlike.lean b/Lightlike.lean index eba99a9e..a8f3936c 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1397,6 +1397,7 @@ import Lightlike.Rows.G1_012.NullGeodCausal import Lightlike.Rows.G1_012.NullVariation import Lightlike.Rows.G1_012.RadialNull import Lightlike.Rows.G1_012.FutureNull +import Lightlike.Rows.G1_012.GeneratorChain import Lightlike.Rows.G1_012.NullGeodGlue import Lightlike.Rows.G1_012.GeodesicChartConverse import Lightlike.Rows.G1_012.NullGeodChart diff --git a/Lightlike/Rows/G1_012/GeneratorChain.lean b/Lightlike/Rows/G1_012/GeneratorChain.lean index 113303c5..9f675715 100644 --- a/Lightlike/Rows/G1_012/GeneratorChain.lean +++ b/Lightlike/Rows/G1_012/GeneratorChain.lean @@ -671,4 +671,58 @@ theorem chain_step (T : Causal.TimeOrientation g) {β : ℝ → M} {a b : ℝ} ( (fun t ht => hsrc' t ⟨ht₀'.1.trans ht.1, ht.2.trans ht₂'.2⟩) hrρ hTB hvb hvb0 hnull hl0 hl1 hmono hcont hlam hreach' +/-- **A future causal curve with no timelike shortcut is a null geodesic.** If `β` is a future +causal curve on `[a, b]` such that no later point is in `I⁺` of an earlier one, then there is a future +null geodesic `γ : [0, S] → M` from `β a` to `β b` (a monotone reparametrisation of `β`). -/ +theorem exists_null_geodesic_of_no_shortcut (T : Causal.TimeOrientation g) {β : ℝ → M} {a b : ℝ} + (hab : a < b) (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) + (hno : ∀ t' ∈ Icc a b, ∀ t'' ∈ Icc a b, t' ≤ t'' → β t'' ∉ Causal.chronFuture T (β t')) : + ∃ (γ : ℝ → M) (S : ℝ), 0 < S ∧ IsFutureNullGeodesicOn T γ (Icc 0 S) ∧ γ 0 = β a ∧ + γ S = β b := by + set P : Set ℝ := {t | t = a ∨ GenReach T β a t} with hP + have hclosed : IsClosed (P ∩ Icc a b) := by + refine isClosed_of_closure_subset fun t' ht' => ?_ + have ht'I : t' ∈ Icc a b := + isClosed_Icc.closure_subset_iff.2 inter_subset_right ht' + refine ⟨?_, ht'I⟩ + obtain ⟨ε, hε, hstep⟩ := chain_step T hab hβ hno ht'I + obtain ⟨t₁, ht₁O, ht₁S⟩ := mem_closure_iff.1 ht' (Ioo (t' - ε) (t' + ε)) isOpen_Ioo + ⟨by linarith, by linarith⟩ + have hd : |t₁ - t'| ≤ ε := abs_le.2 ⟨by linarith [ht₁O.1], by linarith [ht₁O.2]⟩ + rcases lt_trichotomy t₁ t' with hlt | heq | hgt + · right + exact hstep t₁ ht₁S.2 t' ht'I hd (by simp [hε.le]) hlt ht₁S.1 + · rw [← heq]; exact ht₁S.1 + · rcases eq_or_lt_of_le ht'I.1 with hta | hta + · left; exact hta.symm + · right + have hGR : GenReach T β a t₁ := ht₁S.1.resolve_left (by intro h; linarith) + exact genReach_mono T hβ hta hgt.le ht₁S.2.2 hGR + have hsub : Icc a b ⊆ P := by + refine hclosed.Icc_subset_of_forall_mem_nhdsWithin (Or.inl rfl) ?_ + rintro x ⟨hxP, hxa, hxb⟩ + have hxI : x ∈ Icc a b := ⟨hxa, hxb.le⟩ + obtain ⟨ε, hε, hstep⟩ := chain_step T hab hβ hno hxI + set ε' : ℝ := min ε (b - x) with hε' + have hε'pos : 0 < ε' := lt_min hε (by linarith) + refine Filter.mem_of_superset (Ioo_mem_nhdsGT (show x < x + ε' by linarith)) ?_ + intro t ht + have htb : t ≤ b := by + have := min_le_right ε (b - x) + linarith [ht.2] + have htε : t - x ≤ ε := by + have := min_le_left ε (b - x) + linarith [ht.2] + right + exact hstep x hxI t ⟨hxa.trans ht.1.le, htb⟩ (by simp [hε.le]) + (abs_le.2 ⟨by linarith [ht.1], htε⟩) ht.1 hxP + have hbP := hsub ⟨hab.le, le_rfl⟩ + have hGR : GenReach T β a b := hbP.resolve_left (by intro h; linarith) + obtain ⟨γ, S, lam, e, hS, he, hnull, hγ0, hγS, -, -, -, -, -, hfut0⟩ := hGR + refine ⟨γ, S, hS, ?_, hγ0, hγS⟩ + have hnull' : IsNullGeodesicOn g γ (Icc 0 S) := hnull.mono fun σ hσ => ⟨by linarith [hσ.1], by linarith [hσ.2]⟩ + refine isFutureNullGeodesicOn_of_one T hS hnull' ⟨0, ⟨le_rfl, hS.le⟩, ?_⟩ + rw [velocity_Icc_zero hS] + exact hfut0 + end Lightlike.Penrose From efe79347477a4a2969216f2bf283233e814a24f0 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:45:20 +0200 Subject: [PATCH 46/66] feat(g1-012): generators exist: a point of J+(S) minus I+(S) is on a future null geodesic from S (exists_generator) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/Rows/G1_012/Generators.lean | 65 +++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 Lightlike/Rows/G1_012/Generators.lean diff --git a/Lightlike.lean b/Lightlike.lean index a8f3936c..f9a3cc10 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1398,6 +1398,7 @@ import Lightlike.Rows.G1_012.NullVariation import Lightlike.Rows.G1_012.RadialNull import Lightlike.Rows.G1_012.FutureNull import Lightlike.Rows.G1_012.GeneratorChain +import Lightlike.Rows.G1_012.Generators import Lightlike.Rows.G1_012.NullGeodGlue import Lightlike.Rows.G1_012.GeodesicChartConverse import Lightlike.Rows.G1_012.NullGeodChart diff --git a/Lightlike/Rows/G1_012/Generators.lean b/Lightlike/Rows/G1_012/Generators.lean new file mode 100644 index 00000000..386a2f55 --- /dev/null +++ b/Lightlike/Rows/G1_012/Generators.lean @@ -0,0 +1,65 @@ +import Lightlike.Rows.G1_012.GeneratorChain +import Lightlike.Rows.G1_012.AchronalBoundary +import Lightlike.Rows.G1_012.Orthogonality + +/-! +# Generators of the boundary of the causal future of a set (G1-012) + +A point of `J⁺(S) \ I⁺(S)` is on a future null geodesic from a point of `S` +(`exists_generator`): a causal curve from `S` to the point has no timelike shortcut (by the push-up +lemmas), so it is a monotone reparametrisation of a null geodesic +(`exists_null_geodesic_of_no_shortcut`). If moreover the point is reached by the geodesic in the +boundary then the geodesic is orthogonal to `S` (`null_geodesic_orthogonal`). +-/ + +open Bundle Manifold Set Filter Topology MeasureTheory +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- **A point of the curve is in the causal future of an earlier point.** -/ +theorem mem_causalFuture_of_le (T : Causal.TimeOrientation g) {β : ℝ → M} {a b t₁ t₂ : ℝ} + (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) (h₁ : a ≤ t₁) (h12 : t₁ ≤ t₂) (h₂ : t₂ ≤ b) : + β t₂ ∈ Causal.causalFuture T (β t₁) := by + rcases h12.eq_or_lt with rfl | hlt + · exact Causal.self_mem_causalFuture T _ + · exact ⟨β, t₁, t₂, h12, Causal.IsCurveWith.mono hβ h₁ h₂ hlt, rfl, rfl⟩ + +/-- **A causal curve from `S` to a point outside `I⁺(S)` has no timelike shortcut.** -/ +theorem no_shortcut_of_not_mem_chronFutureSet (T : Causal.TimeOrientation g) {S : Set M} {β : ℝ → M} + {a b : ℝ} (hβ : Causal.IsFutureCausalCurve T β (Icc a b)) (haS : β a ∈ S) + (hq : β b ∉ Causal.chronFutureSet T S) : + ∀ t' ∈ Icc a b, ∀ t'' ∈ Icc a b, t' ≤ t'' → β t'' ∉ Causal.chronFuture T (β t') := by + intro t' ht' t'' ht'' h'' hcon + have h1 : β b ∈ Causal.chronFuture T (β t') := + Causal.chronFuture_causalFuture_trans_of_isOpen T (Causal.isOpen_chronFuture_of_reach T) hcon + (mem_causalFuture_of_le T hβ ht''.1 ht''.2 le_rfl) + have h0 : β t' ∈ Causal.causalFuture T (β a) := mem_causalFuture_of_le T hβ le_rfl ht'.1 ht'.2 + have h2 : β b ∈ Causal.chronFuture T (β a) := + Causal.causalFuture_chronFuture_trans_of_isOpen T (Causal.isOpen_chronFuture_of_reach T.neg) h0 h1 + exact hq (mem_iUnion₂.2 ⟨β a, haS, h2⟩) + +/-- **Generators exist.** A point of `J⁺(S) \ I⁺(S)` is in `S` or is the end of a future null +geodesic starting in `S`. -/ +theorem exists_generator (T : Causal.TimeOrientation g) {S : Set M} {q : M} + (hqJ : q ∈ Causal.causalFutureSet T S) (hqI : q ∉ Causal.chronFutureSet T S) : + q ∈ S ∨ ∃ s ∈ S, ∃ (γ : ℝ → M) (L : ℝ), 0 < L ∧ IsFutureNullGeodesicOn T γ (Icc 0 L) ∧ + γ 0 = s ∧ γ L = q := by + obtain ⟨s, hsS, hq⟩ := (Causal.mem_causalFutureSet T).1 hqJ + obtain ⟨β, a, b, hab, hβ, hβa, hβb⟩ := hq + rcases hab.eq_or_lt with rfl | hlt + · left + rw [← hβb, hβa]; exact hsS + · right + have hno := no_shortcut_of_not_mem_chronFutureSet T hβ (hβa ▸ hsS) (hβb ▸ hqI) + obtain ⟨γ, L, hL, hγ, hγ0, hγL⟩ := exists_null_geodesic_of_no_shortcut T hlt hβ hno + exact ⟨s, hsS, γ, L, hL, hγ, by rw [hγ0, hβa], by rw [hγL, hβb]⟩ + +end Lightlike.Penrose From 7277a7bb209a8cd7c03c898c26839ec2101aec8b Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:45:59 +0200 Subject: [PATCH 47/66] feat(g1-012): orthogonal generators (exists_orthogonal_generator) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Rows/G1_012/Generators.lean | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Lightlike/Rows/G1_012/Generators.lean b/Lightlike/Rows/G1_012/Generators.lean index 386a2f55..f345072e 100644 --- a/Lightlike/Rows/G1_012/Generators.lean +++ b/Lightlike/Rows/G1_012/Generators.lean @@ -62,4 +62,22 @@ theorem exists_generator (T : Causal.TimeOrientation g) {S : Set M} {q : M} obtain ⟨γ, L, hL, hγ, hγ0, hγL⟩ := exists_null_geodesic_of_no_shortcut T hlt hβ hno exact ⟨s, hsS, γ, L, hL, hγ, by rw [hγ0, hβa], by rw [hγL, hβb]⟩ +/-- **Orthogonal generators.** A point `q` of `J⁺(S) \ I⁺(S)` is in `S` or is the end of a future null +geodesic `γ` from `s ∈ S` which is `g`-orthogonal to every curve in `S` through `s`: if `σ` is a +curve in `S` with `σ 0 = s` whose chart expression at `s` has derivative `D` at `0`, then +`g(γ'(0), D) = 0`. -/ +theorem exists_orthogonal_generator (T : Causal.TimeOrientation g) {S : Set M} {q : M} + (hqJ : q ∈ Causal.causalFutureSet T S) (hqI : q ∉ Causal.chronFutureSet T S) : + q ∈ S ∨ ∃ s ∈ S, ∃ (γ : ℝ → M) (L : ℝ), 0 < L ∧ IsFutureNullGeodesicOn T γ (Icc 0 L) ∧ + γ 0 = s ∧ γ L = q ∧ + ∀ (σ : ℝ → M), σ 0 = s → (∀ ε, σ ε ∈ S) → + (∀ᶠ ε in 𝓝 (0 : ℝ), σ ε ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) (γ 0)).source) → + ∀ {D : Fin n → ℝ}, HasDerivAt (fun ε => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ 0) (σ ε)) D 0 → + g.g (γ 0) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc 0 L) 0) + ((chartTriv n (γ 0)).symmL ℝ (γ 0) D) = 0 := by + rcases exists_generator T hqJ hqI with hq | ⟨s, hs, γ, L, hL, hγ, h0, hL'⟩ + · exact Or.inl hq + · refine Or.inr ⟨s, hs, γ, L, hL, hγ, h0, hL', fun σ hσ0 hσS hsrc D hD => ?_⟩ + exact null_geodesic_orthogonal T hL hγ (by rw [hL']; exact hqI) (by rw [hσ0, h0]) hσS hsrc hD + end Lightlike.Penrose From baef679f7b1b672f18173c438ea8072118f2aad4 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:49:02 +0200 Subject: [PATCH 48/66] feat(g1-012): the causal future of a compact set is closed in a globally hyperbolic spacetime (isClosed_causalFutureSet) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/Rows/G1_012/ClosedFuture.lean | 73 +++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 Lightlike/Rows/G1_012/ClosedFuture.lean diff --git a/Lightlike.lean b/Lightlike.lean index f9a3cc10..c04c5868 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1399,6 +1399,7 @@ import Lightlike.Rows.G1_012.RadialNull import Lightlike.Rows.G1_012.FutureNull import Lightlike.Rows.G1_012.GeneratorChain import Lightlike.Rows.G1_012.Generators +import Lightlike.Rows.G1_012.ClosedFuture import Lightlike.Rows.G1_012.NullGeodGlue import Lightlike.Rows.G1_012.GeodesicChartConverse import Lightlike.Rows.G1_012.NullGeodChart diff --git a/Lightlike/Rows/G1_012/ClosedFuture.lean b/Lightlike/Rows/G1_012/ClosedFuture.lean new file mode 100644 index 00000000..87427aec --- /dev/null +++ b/Lightlike/Rows/G1_012/ClosedFuture.lean @@ -0,0 +1,73 @@ +import Lightlike.Rows.G1_012.AchronalBoundary +import Lightlike.Spacetime.CausalLadder.GlobHypSimple +import Lightlike.Spacetime.CausalLadder.NearFuture + +/-! +# The causal future of a compact set is closed in a globally hyperbolic spacetime (G1-012) + +A globally hyperbolic spacetime is causally simple (`isCausallySimple_of_isGloballyHyperbolic_boundaryless`), +so `J⁺(x)` and `J⁻(x)` are closed. For a compact set `S`: if `y ∉ J⁺(S)` then each `s ∈ S` has a +point `w ≪ s` with `y ∉ J⁺(w)` (otherwise `I⁻(s) ⊆ J⁻(y)`, and `s` is in the closure of `I⁻(s)`, so +`s ∈ J⁻(y)`); the open sets `I⁺(w)` cover `S`, finitely many suffice, and `J⁺(S)` lies in the +closed set `⋃ᵢ J⁺(wᵢ)`, which does not contain `y`. +-/ + +open Bundle Manifold Set Filter Topology +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Causal + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + {H : Type*} [TopologicalSpace H] {I : ModelWithCorners ℝ E H} + {M : Type*} [TopologicalSpace M] [ChartedSpace H M] [IsManifold I ∞ M] + {n : ℕ} {g : LorentzianMetric I M n} (T : TimeOrientation g) + +/-- **Every point is a limit of points of its chronological past.** -/ +theorem mem_closure_chronPast [BoundarylessManifold I M] (x : M) : x ∈ closure (chronPast T x) := by + rw [mem_closure_iff_nhds] + intro V hV + obtain ⟨q, hqV, hq⟩ := exists_mem_chronFuture_near T.neg x hV + exact ⟨q, hqV, (chronFuture_neg_iff T).1 hq⟩ + +/-- **Past reflection in a causally simple spacetime**: if `y ∈ J⁺(w)` for every `w ≪ x`, then +`y ∈ J⁺(x)`. -/ +theorem mem_causalFuture_of_forall_chronPast [BoundarylessManifold I M] + (hclosed : ∀ y : M, IsClosed (causalPast T y)) {x y : M} + (h : ∀ w ∈ chronPast T x, y ∈ causalFuture T w) : y ∈ causalFuture T x := by + have hsub : chronPast T x ⊆ causalPast T y := fun w hw => h w hw + have := closure_minimal hsub (hclosed y) (mem_closure_chronPast T x) + exact this + +/-- **The causal future of a compact set is closed in a globally hyperbolic spacetime.** -/ +theorem isClosed_causalFutureSet [BoundarylessManifold I M] [T2Space M] + (hGH : IsGloballyHyperbolic T) {S : Set M} (hS : IsCompact S) : + IsClosed (causalFutureSet T S) := by + have hcs := isCausallySimple_of_isGloballyHyperbolic_boundaryless T hGH + refine closure_subset_iff_isClosed.1 fun y hy => ?_ + by_contra hyS + have key : ∀ s ∈ S, ∃ w, w ∈ chronPast T s ∧ y ∉ causalFuture T w := by + intro s hs + by_contra hcon + push_neg at hcon + exact hyS (mem_iUnion₂.2 ⟨s, hs, mem_causalFuture_of_forall_chronPast T + (fun y' => (hcs.2 y').2) hcon⟩) + choose! w hwp hwy using key + have hcover : S ⊆ ⋃ s ∈ S, chronFuture T (w s) := fun s hs => + mem_iUnion₂.2 ⟨s, hs, hwp s hs⟩ + obtain ⟨b, hbS, hbfin, hbcov⟩ := hS.elim_finite_subcover_image + (fun s _ => isOpen_chronFuture_of_reach T (w s)) hcover + have hF : IsClosed (⋃ s ∈ b, causalFuture T (w s)) := + hbfin.isClosed_biUnion fun s _ => (hcs.2 (w s)).1 + have hsubF : causalFutureSet T S ⊆ ⋃ s ∈ b, causalFuture T (w s) := by + intro z hz + obtain ⟨s', hs', hzs'⟩ := mem_iUnion₂.1 hz + obtain ⟨s, hsb, hs's⟩ := mem_iUnion₂.1 (hbcov hs') + exact mem_iUnion₂.2 ⟨s, hsb, chron_subset_causal T (w s) + (chronFuture_causalFuture_trans_of_isOpen T (isOpen_chronFuture_of_reach T) hs's hzs')⟩ + have hyF := closure_minimal hsubF hF hy + obtain ⟨s, hsb, hys⟩ := mem_iUnion₂.1 hyF + exact hwy s (hbS hsb) hys + +end Lightlike.Causal From 32932ff9dba0a7b39fbddf27b89b7bb251bdbd69 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:02:12 +0200 Subject: [PATCH 49/66] wip: exp flow local statements --- Lightlike/Rows/G1_012/ExpFlow.lean | 266 +++++++++++++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 Lightlike/Rows/G1_012/ExpFlow.lean diff --git a/Lightlike/Rows/G1_012/ExpFlow.lean b/Lightlike/Rows/G1_012/ExpFlow.lean new file mode 100644 index 00000000..b4eac9d3 --- /dev/null +++ b/Lightlike/Rows/G1_012/ExpFlow.lean @@ -0,0 +1,266 @@ +import Lightlike.Rows.G1_012.GeodesicChartConverse +import Lightlike.Rows.G1_012.GeodesicUnique +import Lightlike.Rows.G1_012.NullGeodGlue +import Lightlike.Geodesic.ExpJoint + +/-! +# Continuity of the geodesic flow of a Lorentzian manifold (G1-012) + +The geodesic flow `(p, v, t) ↦ (γ t, γ' t)` is jointly continuous on its (open) domain, where +`(p, v)` are chart coordinates of an initial point and velocity. The local statement is the flow box +of the geodesic spray in a chart (`exists_phase_flow`); it is propagated along a compact interval of +times by continuous induction (`flow_continuous`), changing charts with the `C¹` coordinate changes. +-/ + +open Bundle Manifold Set Filter Topology Matrix Metric +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Geodesic + +variable {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + +/-- **The phase flow box of the geodesic equation near a point of phase space.** -/ +theorem exists_phase_flow (hg : Lightlike.IsCoordMetric g U) {p₀ v₀ : Fin n → ℝ} (hp : p₀ ∈ U) : + ∃ (r T : ℝ) (Φ : ℝ → (Fin n → ℝ) × (Fin n → ℝ) → (Fin n → ℝ) × (Fin n → ℝ)), + 0 < r ∧ 0 < T ∧ + ContinuousOn (fun q : ℝ × ((Fin n → ℝ) × (Fin n → ℝ)) => Φ q.1 q.2) + (Ioo (-T) T ×ˢ ball ((p₀, v₀) : (Fin n → ℝ) × (Fin n → ℝ)) r) ∧ + (∀ q ∈ ball ((p₀, v₀) : (Fin n → ℝ) × (Fin n → ℝ)) r, Φ 0 q = q) ∧ + ∀ q ∈ ball ((p₀, v₀) : (Fin n → ℝ) × (Fin n → ℝ)) r, ∀ t ∈ Ioo (-T) T, + (Φ t q).1 ∈ U ∧ HasDerivAt (fun s => (Φ s q).1) (Φ t q).2 t ∧ + HasDerivAt (fun s => (Φ s q).2) (accel g (Φ t q).1 (Φ t q).2) t := by + set q₀ : (Fin n → ℝ) × (Fin n → ℝ) := (p₀, v₀) with hq₀ + have hopen : IsOpen (U ×ˢ (univ : Set (Fin n → ℝ))) := hg.isOpen.prod isOpen_univ + obtain ⟨aU, haU, hballU⟩ := Metric.isOpen_iff.mp hopen q₀ (mk_mem_prod hp (mem_univ _)) + obtain ⟨A, hA, H⟩ := Lightlike.ODE.exists_isFlowBox (contDiffAt_geodField hg hp v₀) + set a : ℝ := min A aU with ha + have ha0 : 0 < a := lt_min hA haU + obtain ⟨r, T, K, Φ, h⟩ := H a ha0 (min_le_left _ _) + have hsm : ContDiffOn ℝ ∞ (fun q : ℝ × ((Fin n → ℝ) × (Fin n → ℝ)) => Φ q.1 q.2) + (Ioo (-T) T ×ˢ ball q₀ r) := + h.contDiffOn_uncurry_infty ((contDiffOn_geodField hg).mono + ((ball_subset_ball (min_le_right _ _)).trans hballU)) + refine ⟨r, T, Φ, h.r_pos, h.T_pos, hsm.continuousOn, h.flow_zero, fun q hq t ht => ?_⟩ + have htI : t ∈ Icc (-T) T := Ioo_subset_Icc_self ht + have hmem := h.flow_mem q hq t htI + have hU1 : (Φ t q).1 ∈ U := + (ball_subset_ball (min_le_right _ _)).trans hballU hmem |>.1 + have hd := h.hasDerivAt q hq t htI + exact ⟨hU1, hd.fst, hd.snd⟩ + +end Lightlike.Geodesic + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + (g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n) + +/-- The phase `(γ t, γ' t)` of a curve as a point of the tangent bundle. -/ +def phase (γ : ℝ → M) (t : ℝ) : TangentBundle 𝓘(ℝ, Fin n → ℝ) M := + ⟨γ t, mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ t (1 : ℝ)⟩ + +/-- **A chart geodesic is differentiable, and its tangent has the chart velocity as coordinates.** -/ +theorem phase_coord (x : M) {γ : ℝ → M} {O : Set ℝ} (hO : IsOpen O) + (hsrc : ∀ s ∈ O, γ s ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) {w : ℝ → Fin n → ℝ} + (hgeo : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) + (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s)) w O) {s : ℝ} (hs : s ∈ O) : + MDifferentiableAt 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ s ∧ + (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x (phase γ s)).2 = w s := by + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + set u : ℝ → Fin n → ℝ := fun s => ψ (γ s) with hu + have hdu : HasDerivAt u (w s) s := hgeo.pos s hs + have htarget : ∀ t' ∈ O, u t' ∈ ψ.target := fun t' ht' => ψ.map_source (hsrc t' ht') + obtain ⟨hmd, hvel⟩ := Causal.mdifferentiableWithinAt_chart_symm (I := 𝓘(ℝ, Fin n → ℝ)) x + (hO.uniqueDiffWithinAt hs) hs hdu.hasDerivWithinAt htarget + have hnhds : O ∈ 𝓝 s := hO.mem_nhds hs + have hev : γ =ᶠ[𝓝 s] ψ.symm ∘ u := by + filter_upwards [hnhds] with r hr + exact (ψ.left_inv (hsrc r hr)).symm + have hmd' : MDifferentiableAt 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) (ψ.symm ∘ u) s := + hmd.mdifferentiableAt hnhds + refine ⟨hmd'.congr_of_eventuallyEq hev, ?_⟩ + have hγs : γ s = (ψ.symm ∘ u) s := (ψ.left_inv (hsrc s hs)).symm + have hv1 : mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ s (1 : ℝ) = + Causal.velocity 𝓘(ℝ, Fin n → ℝ) (ψ.symm ∘ u) O s := by + unfold Causal.velocity + rw [mfderivWithin_of_mem_nhds hnhds, hev.mfderiv_eq] + rfl + have key : ∀ (a b : M) (v : Fin n → ℝ), a = b → + (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨a, v⟩).2 = (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨b, v⟩).2 := by + intro a b v h; subst h; rfl + unfold phase + rw [key _ _ (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ s (1 : ℝ)) hγs, hv1] + exact hvel + +/-- **The phase of a geodesic curve is continuous** (in the topology of the tangent bundle). -/ +theorem phase_continuousAt {γ : ℝ → M} {I : Set ℝ} (hI : IsOpen I) (h : IsGeodesicCurveOn g γ I) + {t₀ : ℝ} (ht₀ : t₀ ∈ I) : ContinuousAt (phase (n := n) γ) t₀ := by + refine (FiberBundle.continuousAt_totalSpace (F := Fin n → ℝ) + (E := TangentSpace 𝓘(ℝ, Fin n → ℝ)) (phase γ)).2 ⟨IsGeodesicCurveOn.continuousAt g h ht₀, ?_⟩ + obtain ⟨w, O, hO, hsrc, hgeo⟩ := h t₀ ht₀ + set O' : Set ℝ := interior O ∩ I with hO' + have hO'o : IsOpen O' := isOpen_interior.inter hI + have ht₀O' : t₀ ∈ O' := ⟨mem_interior_iff_mem_nhds.2 hO, ht₀⟩ + have hgeo' : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric (γ t₀)) + (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t₀) (γ s)) w O' := + ⟨fun s hs => hgeo.pos s (interior_subset hs.1), fun s hs => hgeo.vel s (interior_subset hs.1)⟩ + have hcoord : ∀ s ∈ O', (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ t₀) (phase γ s)).2 = w s := fun s hs => + (phase_coord g (γ t₀) hO'o (fun r hr => hsrc r (interior_subset hr.1)) hgeo' hs).2 + have hwc : ContinuousAt w t₀ := (hgeo.vel t₀ (mem_of_mem_nhds hO)).continuousAt + refine hwc.congr ?_ + filter_upwards [hO'o.mem_nhds ht₀O'] with s hs + exact (hcoord s hs).symm + +/-- **Geodesic curves with the same phase at one time agree.** -/ +theorem eqOn_of_phase_eq {γ₁ γ₂ : ℝ → M} {J : Set ℝ} (hJo : IsOpen J) (hJc : IsPreconnected J) + (h₁ : IsGeodesicCurveOn g γ₁ J) (h₂ : IsGeodesicCurveOn g γ₂ J) {t₀ : ℝ} (ht₀ : t₀ ∈ J) + (h0 : γ₁ t₀ = γ₂ t₀) + (h1 : (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ₁ t₀ (1 : ℝ) : Fin n → ℝ) = + mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ₂ t₀ (1 : ℝ)) : EqOn γ₁ γ₂ J := by + refine IsGeodesicCurveOn.eqOn g hJo hJc h₁ h₂ ht₀ h0 ?_ + obtain ⟨w₁, O₁, hO₁, hs₁, hg₁⟩ := h₁ t₀ ht₀ + obtain ⟨w₂, O₂, hO₂, hs₂, hg₂⟩ := h₂ t₀ ht₀ + have hs₂' : ∀ s ∈ O₂, γ₂ s ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) (γ₁ t₀)).source := by + intro s hs; rw [h0]; exact hs₂ s hs + have hg₂' : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric (γ₁ t₀)) + (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ₁ t₀) (γ₂ s)) w₂ O₂ := by + rw [h0]; exact hg₂ + have hO₁' : IsOpen (interior O₁) := isOpen_interior + have hO₂' : IsOpen (interior O₂) := isOpen_interior + have e1 := phase_coord g (γ₁ t₀) hO₁' (fun s hs => hs₁ s (interior_subset hs)) + ⟨fun s hs => hg₁.pos s (interior_subset hs), fun s hs => hg₁.vel s (interior_subset hs)⟩ + (mem_interior_iff_mem_nhds.2 hO₁) + have e2 := phase_coord g (γ₁ t₀) hO₂' (fun s hs => hs₂' s (interior_subset hs)) + ⟨fun s hs => hg₂'.pos s (interior_subset hs), fun s hs => hg₂'.vel s (interior_subset hs)⟩ + (mem_interior_iff_mem_nhds.2 hO₂) + have d1 := (hg₁.pos t₀ (mem_of_mem_nhds hO₁)).deriv + have d2 := (hg₂'.pos t₀ (mem_of_mem_nhds hO₂)).deriv + rw [d1, d2, ← e1.2, ← e2.2] + unfold phase + have key : ∀ (a b : M) (v w : Fin n → ℝ), a = b → v = w → + (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ₁ t₀) ⟨a, v⟩).2 = (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ₁ t₀) ⟨b, w⟩).2 := by + intro a b v w ha hv; subst ha; subst hv; rfl + exact key _ _ _ _ h0 h1 + +theorem chartTriv_baseSet_eq (x : M) : + (Lightlike.chartTriv n x).baseSet = (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source := by + simp [Lightlike.chartTriv] + +/-- **Local flow of the geodesic equation, on the tangent bundle.** -/ +theorem exists_local_flow (z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) : + ∃ (N : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M)) (δ : ℝ) + (Γ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M), + N ∈ 𝓝 z₀ ∧ 0 < δ ∧ (∀ z ∈ N, IsGeodesicCurveOn g (Γ z) (Ioo (-δ) δ) ∧ phase (n := n) (Γ z) 0 = z) ∧ + ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => phase (n := n) (Γ zs.1) zs.2) + (N ×ˢ Ioo (-δ) δ) := by + set x : M := z₀.proj with hx + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + set e := Lightlike.chartTriv n x with he + have hg := g.toNondegMetric.isCoordMetric_coordMetric x + have hxs : x ∈ ψ.source := mem_extChartAt_source x + have hxt : ψ x ∈ ψ.target := ψ.map_source hxs + obtain ⟨r, T, Φ, hr, hT, hΦc, hΦ0, hΦ⟩ := + Lightlike.Geodesic.exists_phase_flow hg hxt (v₀ := (e z₀).2) + set q₀ : (Fin n → ℝ) × (Fin n → ℝ) := (ψ x, (e z₀).2) with hq₀ + set c : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → (Fin n → ℝ) × (Fin n → ℝ) := fun z => + (ψ z.proj, (e z).2) with hc + have hzsrc : ∀ z ∈ e.source, z.proj ∈ ψ.source := fun z hz => by + have := e.mem_source.1 hz + rwa [he, chartTriv_baseSet_eq] at this + have hcc : ContinuousOn c e.source := by + refine ContinuousOn.prodMk ?_ ?_ + · exact (continuousOn_extChartAt (I := 𝓘(ℝ, Fin n → ℝ)) x).comp e.continuousOn_proj + (fun z hz => hzsrc z hz) + · exact continuous_snd.comp_continuousOn e.continuousOn + have hz₀ : z₀ ∈ e.source := by + rw [e.mem_source, he, chartTriv_baseSet_eq]; exact hxs + set N : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M) := e.source ∩ c ⁻¹' ball q₀ r with hN + have hNo : IsOpen N := hcc.isOpen_inter_preimage e.open_source isOpen_ball + have hz₀N : z₀ ∈ N := ⟨hz₀, by + show c z₀ ∈ ball q₀ r + have : c z₀ = q₀ := by simp only [hc, hq₀, hx] + rw [this]; exact mem_ball_self hr⟩ + have hΦU : ∀ z ∈ N, ∀ t ∈ Ioo (-T) T, (Φ t (c z)).1 ∈ ψ.target := fun z hz t ht => + (hΦ (c z) hz.2 t ht).1 + set Γ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M := fun z t => ψ.symm (Φ t (c z)).1 with hΓ + have hgeoΓ : ∀ z ∈ N, Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) + (fun s => ψ (Γ z s)) (fun s => (Φ s (c z)).2) (Ioo (-T) T) := by + intro z hz + refine ⟨fun t ht => ?_, fun t ht => ?_⟩ + · refine ((hΦ (c z) hz.2 t ht).2.1).congr_of_eventuallyEq ?_ + filter_upwards [isOpen_Ioo.mem_nhds ht] with s hs + simp only [hΓ] + exact ψ.right_inv (hΦU z hz s hs) + · have h2 := (hΦ (c z) hz.2 t ht).2.2 + simp only [hΓ] + rw [ψ.right_inv (hΦU z hz t ht)] + exact h2 + have hΓsrc : ∀ z ∈ N, ∀ s ∈ Ioo (-T) T, Γ z s ∈ ψ.source := fun z hz s hs => + ψ.map_target (hΦU z hz s hs) + have hΓgeo : ∀ z ∈ N, IsGeodesicCurveOn g (Γ z) (Ioo (-T) T) := fun z hz => + isGeodesicCurveOn_of_chart g x isOpen_Ioo (hΓsrc z hz) (hgeoΓ z hz) + -- the phase of the local flow in the trivialization + have hphase : ∀ z ∈ N, ∀ t ∈ Ioo (-T) T, + e (phase (n := n) (Γ z) t) = (Γ z t, (Φ t (c z)).2) := by + intro z hz t ht + obtain ⟨-, hco⟩ := phase_coord g x isOpen_Ioo (hΓsrc z hz) (hgeoΓ z hz) ht + have hb : Γ z t ∈ e.baseSet := by + rw [he, chartTriv_baseSet_eq]; exact hΓsrc z hz t ht + have hsrc' : phase (n := n) (Γ z) t ∈ e.source := by + rw [e.mem_source]; exact hb + have h1 : (e (phase (n := n) (Γ z) t)).1 = Γ z t := by + rw [e.coe_fst hsrc']; rfl + exact Prod.ext h1 hco + have hT0 : (0 : ℝ) ∈ Ioo (-T) T := ⟨by linarith, hT⟩ + have hphase0 : ∀ z ∈ N, phase (n := n) (Γ z) 0 = z := by + intro z hz + have h1 := hphase z hz 0 hT0 + have hzs := hzsrc z hz.1 + have hΓ0 : Γ z 0 = z.proj := by + simp only [hΓ, hΦ0 (c z) hz.2] + exact ψ.left_inv hzs + have hz2 : e z = (z.proj, (e z).2) := by + refine Prod.ext (e.coe_fst hz.1) rfl + have hb : Γ z 0 ∈ e.baseSet := by + rw [he, chartTriv_baseSet_eq]; exact hΓsrc z hz 0 hT0 + have hsrc' : phase (n := n) (Γ z) 0 ∈ e.source := by + rw [e.mem_source]; exact hb + refine e.toOpenPartialHomeomorph.injOn hsrc' hz.1 ?_ + show e (phase (n := n) (Γ z) 0) = e z + rw [h1, hz2, hΓ0, hΦ0 (c z) hz.2] + refine ⟨N, T, Γ, hNo.mem_nhds hz₀N, hT, fun z hz => ⟨hΓgeo z hz, hphase0 z hz⟩, ?_⟩ + -- continuity + have hmaps : MapsTo (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => (zs.2, c zs.1)) + (N ×ˢ Ioo (-T) T) (Ioo (-T) T ×ˢ ball q₀ r) := fun zs hzs => ⟨hzs.2, hzs.1.2⟩ + have hcN : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => (zs.2, c zs.1)) + (N ×ˢ Ioo (-T) T) := + continuousOn_snd.prodMk ((hcc.mono (fun z hz => hz.1)).comp continuousOn_fst + (fun zs hzs => hzs.1)) + have hΦcont : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => + Φ zs.2 (c zs.1)) (N ×ˢ Ioo (-T) T) := hΦc.comp hcN hmaps + have hbcont : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => Γ zs.1 zs.2) + (N ×ˢ Ioo (-T) T) := + (continuousOn_extChartAt_symm (I := 𝓘(ℝ, Fin n → ℝ)) x).comp + (continuous_fst.comp_continuousOn hΦcont) (fun zs hzs => hΦU zs.1 hzs.1 zs.2 hzs.2) + have hsymm := e.continuousOn_symm + have hmap2 : MapsTo (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => (Γ zs.1 zs.2, (Φ zs.2 (c zs.1)).2)) + (N ×ˢ Ioo (-T) T) (e.baseSet ×ˢ univ) := fun zs hzs => by + refine ⟨?_, trivial⟩ + rw [he, chartTriv_baseSet_eq]; exact hΓsrc zs.1 hzs.1 zs.2 hzs.2 + have hcomp := hsymm.comp (hbcont.prodMk (continuous_snd.comp_continuousOn hΦcont)) hmap2 + refine hcomp.congr fun zs hzs => ?_ + have h1 := hphase zs.1 hzs.1 zs.2 hzs.2 + have hb : Γ zs.1 zs.2 ∈ e.baseSet := by + rw [he, chartTriv_baseSet_eq]; exact hΓsrc zs.1 hzs.1 zs.2 hzs.2 + have hsrc' : phase (n := n) (Γ zs.1) zs.2 ∈ e.source := by + rw [e.mem_source]; exact hb + have := e.symm_apply_apply hsrc' + rw [h1] at this + show phase (n := n) (Γ zs.1) zs.2 = TotalSpace.mk' (Fin n → ℝ) (Γ zs.1 zs.2) (e.symm (Γ zs.1 zs.2) (Φ zs.2 (c zs.1)).2) + exact this.symm.trans (Trivialization.mk_symm e hb (Φ zs.2 (c zs.1)).2).symm + +end Lightlike.Penrose From d8133b5f6212827e3ca12ccec65e66abeac4bac7 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:05:15 +0200 Subject: [PATCH 50/66] wip --- Lightlike/Rows/G1_012/ExpFlow.lean | 129 ++++++++++++++++++++++++++++- 1 file changed, 127 insertions(+), 2 deletions(-) diff --git a/Lightlike/Rows/G1_012/ExpFlow.lean b/Lightlike/Rows/G1_012/ExpFlow.lean index b4eac9d3..529585fd 100644 --- a/Lightlike/Rows/G1_012/ExpFlow.lean +++ b/Lightlike/Rows/G1_012/ExpFlow.lean @@ -154,7 +154,7 @@ theorem chartTriv_baseSet_eq (x : M) : theorem exists_local_flow (z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) : ∃ (N : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M)) (δ : ℝ) (Γ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M), - N ∈ 𝓝 z₀ ∧ 0 < δ ∧ (∀ z ∈ N, IsGeodesicCurveOn g (Γ z) (Ioo (-δ) δ) ∧ phase (n := n) (Γ z) 0 = z) ∧ + IsOpen N ∧ z₀ ∈ N ∧ 0 < δ ∧ (∀ z ∈ N, IsGeodesicCurveOn g (Γ z) (Ioo (-δ) δ) ∧ phase (n := n) (Γ z) 0 = z) ∧ ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => phase (n := n) (Γ zs.1) zs.2) (N ×ˢ Ioo (-δ) δ) := by set x : M := z₀.proj with hx @@ -232,7 +232,7 @@ theorem exists_local_flow (z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) : refine e.toOpenPartialHomeomorph.injOn hsrc' hz.1 ?_ show e (phase (n := n) (Γ z) 0) = e z rw [h1, hz2, hΓ0, hΦ0 (c z) hz.2] - refine ⟨N, T, Γ, hNo.mem_nhds hz₀N, hT, fun z hz => ⟨hΓgeo z hz, hphase0 z hz⟩, ?_⟩ + refine ⟨N, T, Γ, hNo, hz₀N, hT, fun z hz => ⟨hΓgeo z hz, hphase0 z hz⟩, ?_⟩ -- continuity have hmaps : MapsTo (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => (zs.2, c zs.1)) (N ×ˢ Ioo (-T) T) (Ioo (-T) T ×ˢ ball q₀ r) := fun zs hzs => ⟨hzs.2, hzs.1.2⟩ @@ -263,4 +263,129 @@ theorem exists_local_flow (z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) : show phase (n := n) (Γ zs.1) zs.2 = TotalSpace.mk' (Fin n → ℝ) (Γ zs.1 zs.2) (e.symm (Γ zs.1 zs.2) (Φ zs.2 (c zs.1)).2) exact this.symm.trans (Trivialization.mk_symm e hb (Φ zs.2 (c zs.1)).2).symm +/-- **Geodesic curves are local**: they depend only on the germ of the curve at each parameter. -/ +theorem IsGeodesicCurveOn.congr_eventuallyEq {γ γ' : ℝ → M} {J : Set ℝ} + (h : IsGeodesicCurveOn g γ J) (hev : ∀ t ∈ J, γ =ᶠ[𝓝 t] γ') : IsGeodesicCurveOn g γ' J := by + intro t ht + obtain ⟨w, O, hO, hsrc, hgeo⟩ := h t ht + have hev' := hev t ht + have hγt : γ' t = γ t := (hev'.self_of_nhds).symm + set O' : Set ℝ := {s | γ s = γ' s} ∩ O with hO' + have hO'n : O' ∈ 𝓝 t := Filter.inter_mem hev' hO + refine ⟨w, interior O', interior_mem_nhds.2 hO'n, fun s hs => ?_, ?_⟩ + · have hs' := interior_subset hs + rw [hγt, ← hs'.1]; exact hsrc s hs'.2 + · refine ⟨fun s hs => ?_, fun s hs => ?_⟩ + · have hs' := interior_subset hs + have h1 := hgeo.pos s hs'.2 + rw [hγt] + refine h1.congr_of_eventuallyEq ?_ + filter_upwards [mem_interior_iff_mem_nhds.1 hs] with r hr + show _ = _ + rw [hr.1] + · have hs' := interior_subset hs + have h1 := hgeo.vel s hs'.2 + rw [hγt] + rw [show γ' s = γ s from hs'.1.symm] + exact h1 + +open Classical in +/-- **Gluing geodesic curves**: two geodesic curves on open intervals that agree on the overlap +glue to a geodesic curve on the union. -/ +theorem IsGeodesicCurveOn.exists_union {γ₁ γ₂ : ℝ → M} {J₁ J₂ : Set ℝ} + (h₁ : IsGeodesicCurveOn g γ₁ J₁) (h₂ : IsGeodesicCurveOn g γ₂ J₂) (hJ₁ : IsOpen J₁) + (hJ₂ : IsOpen J₂) (hag : EqOn γ₁ γ₂ (J₁ ∩ J₂)) : + ∃ γ : ℝ → M, IsGeodesicCurveOn g γ (J₁ ∪ J₂) ∧ (∀ σ ∈ J₁, γ σ = γ₁ σ) ∧ + ∀ σ ∈ J₂, γ σ = γ₂ σ := by + have e1 : ∀ σ ∈ J₁, (fun s => if s ∈ J₁ then γ₁ s else γ₂ s) σ = γ₁ σ := fun σ hσ => by simp [hσ] + have e2 : ∀ σ ∈ J₂, (fun s => if s ∈ J₁ then γ₁ s else γ₂ s) σ = γ₂ σ := by + intro σ hσ + by_cases h1 : σ ∈ J₁ + · simp [h1, hag ⟨h1, hσ⟩] + · simp [h1] + refine ⟨_, ?_, e1, e2⟩ + intro t ht + rcases ht with ht | ht + · exact (IsGeodesicCurveOn.congr_eventuallyEq g h₁ (fun s hs => by + filter_upwards [hJ₁.mem_nhds hs] with r hr using (e1 r hr).symm)) t ht + · exact (IsGeodesicCurveOn.congr_eventuallyEq g h₂ (fun s hs => by + filter_upwards [hJ₂.mem_nhds hs] with r hr using (e2 r hr).symm)) t ht + +/-- **Shifting a geodesic curve in the parameter.** -/ +theorem IsGeodesicCurveOn.shift {γ : ℝ → M} {J : Set ℝ} (h : IsGeodesicCurveOn g γ J) (a : ℝ) : + IsGeodesicCurveOn g (fun s => γ (s - a)) ((fun s => s - a) ⁻¹' J) := by + intro t ht + obtain ⟨w, O, hO, hsrc, hgeo⟩ := h (t - a) ht + refine ⟨fun s => w (s - a), (fun s => s - a) ⁻¹' O, ?_, fun s hs => hsrc _ hs, hgeo.shift a⟩ + exact (continuous_id.sub continuous_const).continuousAt.preimage_mem_nhds hO + +/-- The derivative of the chart expression of a geodesic curve, in the chart at the point itself, is +the tangent coordinate of its phase. -/ +theorem deriv_chart_eq_phase {γ : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) (h : IsGeodesicCurveOn g γ J) + {t : ℝ} (ht : t ∈ J) : + deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ s)) t = + (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ t) (phase (n := n) γ t)).2 := by + obtain ⟨w, O, hO, hsrc, hgeo⟩ := h t ht + have hO' : IsOpen (interior O) := isOpen_interior + have e1 := phase_coord g (γ t) hO' (fun s hs => hsrc s (interior_subset hs)) + ⟨fun s hs => hgeo.pos s (interior_subset hs), fun s hs => hgeo.vel s (interior_subset hs)⟩ + (mem_interior_iff_mem_nhds.2 hO) + rw [e1.2] + exact (hgeo.pos t (mem_of_mem_nhds hO)).deriv + +/-- **Two points of the tangent bundle over `x` with the same tangent coordinates in the chart at +`x` are equal.** -/ +theorem tangent_ext (x : M) (z z' : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) (hp : z.proj = x) + (hp' : z'.proj = x) + (hc : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x z).2 = (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x z').2) : + z = z' := by + set e := Lightlike.chartTriv n x with he + have hz : z ∈ e.source := by + rw [e.mem_source, he, chartTriv_baseSet_eq, hp]; exact mem_extChartAt_source x + have hz' : z' ∈ e.source := by + rw [e.mem_source, he, chartTriv_baseSet_eq, hp']; exact mem_extChartAt_source x + refine e.toOpenPartialHomeomorph.injOn hz hz' ?_ + show e z = e z' + refine Prod.ext ?_ hc + rw [e.coe_fst hz, e.coe_fst hz', hp, hp'] + +/-- **The phase is determined by the germ of the curve.** -/ +theorem phase_congr {γ γ' : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) (h : IsGeodesicCurveOn g γ J) + (h' : IsGeodesicCurveOn g γ' J) {t : ℝ} (ht : t ∈ J) (hev : γ =ᶠ[𝓝 t] γ') : + phase (n := n) γ t = phase γ' t := by + have hb : γ t = γ' t := hev.self_of_nhds + refine tangent_ext (γ t) _ _ rfl hb.symm ?_ + have e1 := deriv_chart_eq_phase g hJ h ht + have e2 := deriv_chart_eq_phase g hJ h' ht + have hd : deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ s)) t = + deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ' s)) t := + Filter.EventuallyEq.deriv_eq (hev.mono fun s hs => by simp only [hs]) + have e2' : deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ' s)) t = + (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ t) (phase (n := n) γ' t)).2 := by + rw [hb]; exact e2 + show (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ t) (phase (n := n) γ t)).2 = + (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ t) (phase (n := n) γ' t)).2 + rw [← e1, hd, e2'] + +/-- **The phase of a shifted curve.** -/ +theorem phase_shift {γ : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) (h : IsGeodesicCurveOn g γ J) (a : ℝ) + {t : ℝ} (ht : t ∈ J) : + phase (n := n) (fun s => γ (s - a)) (t + a) = phase γ t := by + have hJ' : IsOpen ((fun s : ℝ => s - a) ⁻¹' J) := hJ.preimage (continuous_id.sub continuous_const) + have hsh := IsGeodesicCurveOn.shift g h a + have hta : t + a ∈ (fun s : ℝ => s - a) ⁻¹' J := by simpa using ht + have hb : (fun s => γ (s - a)) (t + a) = γ t := by simp + refine tangent_ext (γ t) _ _ hb rfl ?_ + have e1 := deriv_chart_eq_phase g hJ' hsh hta + have e2 := deriv_chart_eq_phase g hJ h ht + simp only [add_sub_cancel_right] at e1 + have hd : deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ (s - a))) (t + a) = + deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ s)) t := by + have := deriv_comp_sub_const (a := a) (x := t + a) + (f := fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ s)) + simpa using this + show (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ t) (phase (n := n) (fun s => γ (s - a)) (t + a))).2 = + (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ t) (phase (n := n) γ t)).2 + rw [← e1, hd, e2] + end Lightlike.Penrose From c1293827bdb430c2ddb73e881ec8ca4e2bb78c8a Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:06:44 +0200 Subject: [PATCH 51/66] wip: flowGerm_step --- Lightlike/Rows/G1_012/ExpFlow.lean | 125 +++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) diff --git a/Lightlike/Rows/G1_012/ExpFlow.lean b/Lightlike/Rows/G1_012/ExpFlow.lean index 529585fd..f083efb5 100644 --- a/Lightlike/Rows/G1_012/ExpFlow.lean +++ b/Lightlike/Rows/G1_012/ExpFlow.lean @@ -388,4 +388,129 @@ theorem phase_shift {γ : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) (h : IsGeodes (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M (γ t) (phase (n := n) γ t)).2 rw [← e1, hd, e2] +/-- **Geodesic curves with the same phase at one time agree** (phase form). -/ +theorem eqOn_of_phase_eq' {γ₁ γ₂ : ℝ → M} {J : Set ℝ} (hJo : IsOpen J) (hJc : IsPreconnected J) + (h₁ : IsGeodesicCurveOn g γ₁ J) (h₂ : IsGeodesicCurveOn g γ₂ J) {t₀ : ℝ} (ht₀ : t₀ ∈ J) + (hph : phase (n := n) γ₁ t₀ = phase γ₂ t₀) : EqOn γ₁ γ₂ J := by + have h0 : γ₁ t₀ = γ₂ t₀ := congrArg Bundle.TotalSpace.proj hph + refine IsGeodesicCurveOn.eqOn g hJo hJc h₁ h₂ ht₀ h0 ?_ + have e1 := deriv_chart_eq_phase g hJo h₁ ht₀ + have e2 := deriv_chart_eq_phase g hJo h₂ ht₀ + rw [← h0] at e2 + rw [e1, e2, hph] + +/-- **The germ of the geodesic flow along `[0, t]` at `z₀`**: a neighbourhood `N` of `z₀` and +geodesic curves `Γ z`, `z ∈ N`, with phase `z` at `0`, defined on `(-ε, t + ε)`, whose phase is jointly +continuous. -/ +def FlowGerm (z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) (t : ℝ) : Prop := + ∃ (N : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M)) (ε : ℝ) (Γ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M), + IsOpen N ∧ z₀ ∈ N ∧ 0 < ε ∧ + (∀ z ∈ N, IsGeodesicCurveOn g (Γ z) (Ioo (-ε) (t + ε)) ∧ phase (n := n) (Γ z) 0 = z) ∧ + ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => phase (n := n) (Γ zs.1) zs.2) + (N ×ˢ Ioo (-ε) (t + ε)) + +/-- **Extending a flow germ by a local flow box.** -/ +theorem flowGerm_step {z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M} {t : ℝ} (ht : 0 ≤ t) + {N : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M)} {ε : ℝ} + {Γ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M} (hNo : IsOpen N) (hz₀ : z₀ ∈ N) (hε : 0 < ε) + (hgeo : ∀ z ∈ N, IsGeodesicCurveOn g (Γ z) (Ioo (-ε) (t + ε)) ∧ phase (n := n) (Γ z) 0 = z) + (hcont : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => + phase (n := n) (Γ zs.1) zs.2) (N ×ˢ Ioo (-ε) (t + ε))) + {N' : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M)} {δ' : ℝ} + {Γ' : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M} (hN'o : IsOpen N') (hδ' : 0 < δ') + (hgeo' : ∀ z ∈ N', IsGeodesicCurveOn g (Γ' z) (Ioo (-δ') δ') ∧ phase (n := n) (Γ' z) 0 = z) + (hcont' : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => + phase (n := n) (Γ' zs.1) zs.2) (N' ×ˢ Ioo (-δ') δ')) + (hF : phase (n := n) (Γ z₀) t ∈ N') {t₂ : ℝ} (h1 : t ≤ t₂) (h2 : t₂ < t + δ') : + FlowGerm g z₀ t₂ := by + classical + haveI : Nonempty M := ⟨z₀.proj⟩ + set J₁ : Set ℝ := Ioo (-ε) (t + ε) with hJ₁ + set J₂ : Set ℝ := Ioo (t - δ') (t + δ') with hJ₂ + have htJ₁ : t ∈ J₁ := ⟨by linarith, by linarith⟩ + have htJ₂ : t ∈ J₂ := ⟨by linarith, by linarith⟩ + set F : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → TangentBundle 𝓘(ℝ, Fin n → ℝ) M := + fun z => phase (n := n) (Γ z) t with hFdef + have hFc : ContinuousOn F N := + hcont.comp (continuousOn_id.prodMk continuousOn_const) (fun z hz => ⟨hz, htJ₁⟩) + set N₁ := N ∩ F ⁻¹' N' with hN₁ + have hN₁o : IsOpen N₁ := hFc.isOpen_inter_preimage hNo hN'o + have hz₀N₁ : z₀ ∈ N₁ := ⟨hz₀, hF⟩ + set G : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M := fun z s => Γ' (F z) (s - t) with hG + have hJ₂eq : (fun s : ℝ => s - t) ⁻¹' Ioo (-δ') δ' = J₂ := by + ext s + simp only [mem_preimage, mem_Ioo, hJ₂] + constructor <;> rintro ⟨h1, h2⟩ <;> constructor <;> linarith + have hGgeo : ∀ z ∈ N₁, IsGeodesicCurveOn g (G z) J₂ := by + intro z hz + have := IsGeodesicCurveOn.shift g (hgeo' (F z) hz.2).1 t + rw [hJ₂eq] at this + exact this + have hGphase : ∀ z ∈ N₁, phase (n := n) (G z) t = F z := by + intro z hz + have := phase_shift g isOpen_Ioo (hgeo' (F z) hz.2).1 t (t := 0) ⟨by linarith, hδ'⟩ + simp only [zero_add] at this + have e : G z = fun s => Γ' (F z) (s - t) := rfl + rw [e, this] + exact (hgeo' (F z) hz.2).2 + have hagr : ∀ z ∈ N₁, EqOn (Γ z) (G z) (J₁ ∩ J₂) := by + intro z hz + exact eqOn_of_phase_eq' g (isOpen_Ioo.inter isOpen_Ioo) + (ordConnected_Ioo.inter ordConnected_Ioo).isPreconnected + ((hgeo z hz.1).1.mono inter_subset_left) ((hGgeo z hz).mono inter_subset_right) + ⟨htJ₁, htJ₂⟩ (by rw [hGphase z hz]) + choose! Γ₂ hΓ₂ using fun z (hz : z ∈ N₁) => + IsGeodesicCurveOn.exists_union g (hgeo z hz.1).1 (hGgeo z hz) isOpen_Ioo isOpen_Ioo (hagr z hz) + set ε₂ : ℝ := min ε (t + δ' - t₂) with hε₂ + have hε₂pos : 0 < ε₂ := lt_min hε (by linarith) + have hsub : Ioo (-ε₂) (t₂ + ε₂) ⊆ J₁ ∪ J₂ := by + intro σ hσ + by_cases h : σ < t + ε + · exact Or.inl ⟨by linarith [hσ.1, min_le_left ε (t + δ' - t₂)], h⟩ + · exact Or.inr ⟨by linarith [not_lt.1 h], by linarith [hσ.2, min_le_right ε (t + δ' - t₂)]⟩ + have hΓ₂J₁ : ∀ z ∈ N₁, ∀ s ∈ J₁, Γ₂ z s = Γ z s := fun z hz s hs => (hΓ₂ z hz).2.1 s hs + have hΓ₂J₂ : ∀ z ∈ N₁, ∀ s ∈ J₂, Γ₂ z s = G z s := fun z hz s hs => (hΓ₂ z hz).2.2 s hs + have hphJ₁ : ∀ z ∈ N₁, ∀ s ∈ J₁, phase (n := n) (Γ₂ z) s = phase (Γ z) s := by + intro z hz s hs + refine phase_congr g isOpen_Ioo ((hΓ₂ z hz).1.mono subset_union_left) (hgeo z hz.1).1 hs ?_ + filter_upwards [isOpen_Ioo.mem_nhds hs] with r hr using hΓ₂J₁ z hz r hr + have hphJ₂ : ∀ z ∈ N₁, ∀ s ∈ J₂, phase (n := n) (Γ₂ z) s = phase (Γ' (F z)) (s - t) := by + intro z hz s hs + have hs' : s - t ∈ Ioo (-δ') δ' := ⟨by linarith [hs.1], by linarith [hs.2]⟩ + have e1 : phase (n := n) (Γ₂ z) s = phase (G z) s := by + refine phase_congr g isOpen_Ioo ((hΓ₂ z hz).1.mono subset_union_right) (hGgeo z hz) hs ?_ + filter_upwards [isOpen_Ioo.mem_nhds hs] with r hr using hΓ₂J₂ z hz r hr + have e2 := phase_shift g isOpen_Ioo (hgeo' (F z) hz.2).1 t hs' + simp only [sub_add_cancel] at e2 + rw [e1] + exact e2 + refine ⟨N₁, ε₂, Γ₂, hN₁o, hz₀N₁, hε₂pos, fun z hz => ⟨(hΓ₂ z hz).1.mono hsub, ?_⟩, ?_⟩ + · have h0 : (0 : ℝ) ∈ J₁ := ⟨by linarith, by linarith⟩ + rw [hphJ₁ z hz 0 h0] + exact (hgeo z hz.1).2 + · -- continuity + have hA1 : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => + phase (n := n) (Γ₂ zs.1) zs.2) (N₁ ×ˢ J₁) := by + refine (hcont.mono (prod_mono inter_subset_left subset_rfl)).congr fun zs hzs => ?_ + exact hphJ₁ zs.1 hzs.1 zs.2 hzs.2 + have hA2 : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => + phase (n := n) (Γ₂ zs.1) zs.2) (N₁ ×ˢ J₂) := by + have hmap : MapsTo (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => (F zs.1, zs.2 - t)) + (N₁ ×ˢ J₂) (N' ×ˢ Ioo (-δ') δ') := fun zs hzs => + ⟨hzs.1.2, ⟨by linarith [hzs.2.1], by linarith [hzs.2.2]⟩⟩ + have hc2 : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => (F zs.1, zs.2 - t)) + (N₁ ×ˢ J₂) := + ((hFc.mono inter_subset_left).comp continuousOn_fst (fun zs hzs => hzs.1)).prodMk + (continuousOn_snd.sub continuousOn_const) + refine (hcont'.comp hc2 hmap).congr fun zs hzs => ?_ + exact hphJ₂ zs.1 hzs.1 zs.2 hzs.2 + intro p hp + by_cases h1 : p.2 ∈ J₁ + · exact ((hA1.continuousAt ((hN₁o.prod isOpen_Ioo).mem_nhds ⟨hp.1, h1⟩))).continuousWithinAt + · have h2 : p.2 ∈ J₂ := by + rcases hsub hp.2 with h | h + · exact absurd h h1 + · exact h + exact ((hA2.continuousAt ((hN₁o.prod isOpen_Ioo).mem_nhds ⟨hp.1, h2⟩))).continuousWithinAt + end Lightlike.Penrose From 8b5b0045ebea2868bcefd8e9119bc38d5fa27a60 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:07:54 +0200 Subject: [PATCH 52/66] feat(g1-012): continuity of the geodesic flow along a geodesic (flowGerm_along) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Rows/G1_012/ExpFlow.lean | 84 ++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/Lightlike/Rows/G1_012/ExpFlow.lean b/Lightlike/Rows/G1_012/ExpFlow.lean index f083efb5..4376637a 100644 --- a/Lightlike/Rows/G1_012/ExpFlow.lean +++ b/Lightlike/Rows/G1_012/ExpFlow.lean @@ -513,4 +513,88 @@ theorem flowGerm_step {z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M} {t : ℝ · exact h exact ((hA2.continuousAt ((hN₁o.prod isOpen_Ioo).mem_nhds ⟨hp.1, h2⟩))).continuousWithinAt +/-- **A flow germ restricts to earlier times.** -/ +theorem FlowGerm.mono {z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M} {t t' : ℝ} + (h : FlowGerm g z₀ t) (h0 : 0 ≤ t') (htt : t' ≤ t) : FlowGerm g z₀ t' := by + obtain ⟨N, ε, Γ, hNo, hz₀, hε, hgeo, hcont⟩ := h + have hsub : Ioo (-ε) (t' + ε) ⊆ Ioo (-ε) (t + ε) := Ioo_subset_Ioo le_rfl (by linarith) + exact ⟨N, ε, Γ, hNo, hz₀, hε, fun z hz => ⟨(hgeo z hz).1.mono hsub, (hgeo z hz).2⟩, + hcont.mono (prod_mono subset_rfl hsub)⟩ + +/-- A flow germ at `z₀` follows the given geodesic curve through `z₀`. -/ +theorem FlowGerm.phase_eq {z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M} {γ₀ : ℝ → M} {I₀ : Set ℝ} + (hI₀ : IsOpen I₀) (hI₀c : I₀.OrdConnected) (hγ₀ : IsGeodesicCurveOn g γ₀ I₀) + (hph : phase (n := n) γ₀ 0 = z₀) + (h0 : 0 ∈ I₀) {t : ℝ} (ht : 0 ≤ t) (htI : t ∈ I₀) {N : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M)} + {ε : ℝ} {Γ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M} (hz₀ : z₀ ∈ N) (hε : 0 < ε) + (hgeo : ∀ z ∈ N, IsGeodesicCurveOn g (Γ z) (Ioo (-ε) (t + ε)) ∧ phase (n := n) (Γ z) 0 = z) : + phase (n := n) (Γ z₀) t = phase γ₀ t := by + have hJo : IsOpen (Ioo (-ε) (t + ε) ∩ I₀) := isOpen_Ioo.inter hI₀ + have hJc : IsPreconnected (Ioo (-ε) (t + ε) ∩ I₀) := + (ordConnected_Ioo.inter hI₀c).isPreconnected + have h0J : (0 : ℝ) ∈ Ioo (-ε) (t + ε) ∩ I₀ := ⟨⟨by linarith, by linarith⟩, h0⟩ + have htJ : t ∈ Ioo (-ε) (t + ε) ∩ I₀ := ⟨⟨by linarith, by linarith⟩, htI⟩ + have heq := eqOn_of_phase_eq' g hJo hJc ((hgeo z₀ hz₀).1.mono inter_subset_left) + (hγ₀.mono inter_subset_right) h0J (by rw [(hgeo z₀ hz₀).2, hph]) + refine phase_congr g hJo ((hgeo z₀ hz₀).1.mono inter_subset_left) (hγ₀.mono inter_subset_right) + htJ ?_ + filter_upwards [hJo.mem_nhds htJ] with r hr using heq hr + +/-- **The geodesic flow is continuous along a geodesic**: if `γ₀` is a geodesic curve on an open +interval `I₀ ⊇ [0, Λ]` with phase `z₀` at `0`, then there is a flow germ at `z₀` along `[0, Λ]`: all +geodesics with initial phase `z` near `z₀` exist on `(-ε, Λ + ε)` and their phases depend continuously on +`(z, s)`. -/ +theorem flowGerm_along {z₀ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M} {γ₀ : ℝ → M} {I₀ : Set ℝ} + (hI₀ : IsOpen I₀) (hI₀c : I₀.OrdConnected) (hγ₀ : IsGeodesicCurveOn g γ₀ I₀) + (hph : phase (n := n) γ₀ 0 = z₀) (h0 : 0 ∈ I₀) {Λ : ℝ} (hΛ : 0 ≤ Λ) (hsub : Icc 0 Λ ⊆ I₀) : + ∀ t ∈ Icc 0 Λ, FlowGerm g z₀ t := by + set s : Set ℝ := {t | FlowGerm g z₀ t} with hs + -- the local flow box along `γ₀` + have hbox : ∀ t ∈ Icc 0 Λ, ∃ (N' : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M)) (δ' : ℝ) + (Γ' : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M), IsOpen N' ∧ phase (n := n) γ₀ t ∈ N' ∧ + 0 < δ' ∧ (∀ z ∈ N', IsGeodesicCurveOn g (Γ' z) (Ioo (-δ') δ') ∧ phase (n := n) (Γ' z) 0 = z) ∧ + ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => phase (n := n) (Γ' zs.1) zs.2) + (N' ×ˢ Ioo (-δ') δ') := fun t _ => exists_local_flow g (phase (n := n) γ₀ t) + have hmain : Icc 0 Λ ⊆ s := by + refine IsClosed.Icc_subset_of_forall_mem_nhdsWithin ?_ ?_ ?_ + · -- closedness + refine isClosed_of_closure_subset fun t' ht' => ?_ + have ht'I : t' ∈ Icc 0 Λ := isClosed_Icc.closure_subset_iff.2 inter_subset_right ht' + refine ⟨?_, ht'I⟩ + obtain ⟨N', δ', Γ', hN'o, hw, hδ', hgeo', hcont'⟩ := hbox t' ht'I + have hpc : ContinuousAt (phase (n := n) γ₀) t' := + phase_continuousAt g hI₀ hγ₀ (hsub ht'I) + obtain ⟨η, hη, hηN⟩ := Metric.eventually_nhds_iff.1 (hpc.eventually (hN'o.mem_nhds hw)) + set m : ℝ := min η δ' with hm + have hmpos : 0 < m := lt_min hη hδ' + obtain ⟨t, htm, hts⟩ := mem_closure_iff.1 ht' (Ioo (t' - m) (t' + m)) isOpen_Ioo + ⟨by linarith, by linarith⟩ + have htI : t ∈ Icc 0 Λ := hts.2 + by_cases hle : t' ≤ t + · exact FlowGerm.mono g hts.1 ht'I.1 hle + · have hlt : t < t' := not_le.1 hle + obtain ⟨N, ε, Γ, hNo, hz₀, hε, hgeo, hcont⟩ := hts.1 + have hF : phase (n := n) (Γ z₀) t ∈ N' := by + rw [FlowGerm.phase_eq g hI₀ hI₀c hγ₀ hph h0 htI.1 (hsub htI) hz₀ hε hgeo] + refine hηN ?_ + rw [Real.dist_eq, abs_lt] + constructor <;> linarith [htm.1, htm.2, min_le_left η δ'] + exact flowGerm_step g htI.1 hNo hz₀ hε hgeo hcont hN'o hδ' hgeo' hcont' hF hlt.le + (by linarith [htm.1, min_le_right η δ']) + · -- the start + obtain ⟨N, δ, Γ, hNo, hz₀, hδ, hgeo, hcont⟩ := exists_local_flow g z₀ + exact ⟨N, δ, Γ, hNo, hz₀, hδ, fun z hz => by simpa using hgeo z hz, by simpa using hcont⟩ + · -- extension to the right + rintro x ⟨hxs, hx0, hxΛ⟩ + have hxI : x ∈ Icc 0 Λ := ⟨hx0, hxΛ.le⟩ + obtain ⟨N', δ', Γ', hN'o, hw, hδ', hgeo', hcont'⟩ := hbox x hxI + obtain ⟨N, ε, Γ, hNo, hz₀, hε, hgeo, hcont⟩ := hxs + have hF : phase (n := n) (Γ z₀) x ∈ N' := by + rw [FlowGerm.phase_eq g hI₀ hI₀c hγ₀ hph h0 hx0 (hsub hxI) hz₀ hε hgeo] + exact hw + refine Filter.mem_of_superset (Ioo_mem_nhdsGT (show x < x + δ' by linarith)) ?_ + intro t₂ ht₂ + exact flowGerm_step g hx0 hNo hz₀ hε hgeo hcont hN'o hδ' hgeo' hcont' hF ht₂.1.le (by linarith [ht₂.2]) + exact fun t ht => hmain ht + end Lightlike.Penrose From 47a64b7d90b6cbe6691c12c98baa5e99e7cf9b82 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:09:16 +0200 Subject: [PATCH 53/66] import ExpFlow --- Lightlike.lean | 1 + 1 file changed, 1 insertion(+) diff --git a/Lightlike.lean b/Lightlike.lean index c04c5868..531ccf94 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1400,6 +1400,7 @@ import Lightlike.Rows.G1_012.FutureNull import Lightlike.Rows.G1_012.GeneratorChain import Lightlike.Rows.G1_012.Generators import Lightlike.Rows.G1_012.ClosedFuture +import Lightlike.Rows.G1_012.ExpFlow import Lightlike.Rows.G1_012.NullGeodGlue import Lightlike.Rows.G1_012.GeodesicChartConverse import Lightlike.Rows.G1_012.NullGeodChart From 4f345d73aa5a3c0494575ff432d01061ae3aea0b Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:13:54 +0200 Subject: [PATCH 54/66] feat(g1-012): compactness of the null exponential image (compact_nullExp_image) Co-Authored-By: Claude Opus 5.5 --- Lightlike/Rows/G1_012/ExpCompact.lean | 251 ++++++++++++++++++++++++++ 1 file changed, 251 insertions(+) create mode 100644 Lightlike/Rows/G1_012/ExpCompact.lean diff --git a/Lightlike/Rows/G1_012/ExpCompact.lean b/Lightlike/Rows/G1_012/ExpCompact.lean new file mode 100644 index 00000000..37d07878 --- /dev/null +++ b/Lightlike/Rows/G1_012/ExpCompact.lean @@ -0,0 +1,251 @@ +import Lightlike.Rows.G1_012.ExpFlow +import Lightlike.Rows.G1_012.Defs +import Lightlike.Rows.G1_012.Orthogonality + +/-! +# Compactness of the exponential image of compact null data (G1-012) + +For a null geodesically complete Lorentzian manifold, the image of a compact set `K` of null +vectors under `(z, t) ↦ γ_z(t)`, `t ∈ [0, Λ]`, is compact (`compact_nullExp_image`): the null geodesic +from each `z ∈ K` is complete, and the geodesic flow is continuous along it (`flowGerm_along`). +-/ + +open Bundle Manifold Set Filter Topology Metric Matrix +open scoped Manifold ContDiff + +noncomputable section + +namespace Lightlike.Geodesic + +variable {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + +/-- **A chart geodesic whose velocity vanishes at one time vanishes on the whole interval.** -/ +theorem IsGeodesicOn.velocity_zero (hg : Lightlike.IsCoordMetric g U) {γ w : ℝ → Fin n → ℝ} + {I : Set ℝ} (hI : IsOpen I) (hIc : I.OrdConnected) (h : IsGeodesicOn g γ w I) + (hU : ∀ t ∈ I, γ t ∈ U) {t₁ : ℝ} (ht₁ : t₁ ∈ I) (h0 : w t₁ = 0) {t : ℝ} (ht : t ∈ I) : + w t = 0 := by + have hconst : IsGeodesicOn g (fun _ => γ t₁) (fun _ => (0 : Fin n → ℝ)) univ := by + refine ⟨fun s _ => hasDerivAt_const s _, fun s _ => ?_⟩ + have h0 : accel g (γ t₁) 0 = 0 := by + have := accel_smul g (γ t₁) 0 0 + simpa using this + rw [h0]; exact hasDerivAt_const s _ + rcases le_total t₁ t with hle | hle + · have hsub : Icc t₁ t ⊆ I := hIc.out ht₁ ht + have := IsGeodesicOn.eqOn_Icc hg hI isOpen_univ hsub (subset_univ _) h hconst + (fun s hs => hU s (hsub hs)) rfl (by simpa using h0) t ⟨hle, le_rfl⟩ + simpa using this.2 + · -- reverse the parameter + have hsub : Icc t t₁ ⊆ I := hIc.out ht ht₁ + have hr := (h.scale (-1)) + have hI' : IsOpen ((fun s : ℝ => -1 * s) ⁻¹' I) := hI.preimage (by fun_prop) + have hsub' : Icc (-t₁) (-t) ⊆ (fun s : ℝ => -1 * s) ⁻¹' I := by + intro s hs + show -1 * s ∈ I + exact hsub ⟨by linarith [hs.2], by linarith [hs.1]⟩ + have hconst' := hconst.scale (-1) + have := IsGeodesicOn.eqOn_Icc hg hI' isOpen_univ hsub' (subset_univ _) hr + (by simpa using hconst') (fun s hs => hU _ (hsub (by + constructor <;> linarith [hs.1, hs.2]))) (by simp) (by simpa using h0) (-t) ⟨by linarith, le_rfl⟩ + simpa using this.2 + +end Lightlike.Geodesic + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + (g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n) + +/-- The velocity of `γ` at `t` is a nonzero null vector. -/ +def NullAt (γ : ℝ → M) (t : ℝ) : Prop := + g.g (γ t) (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ t (1 : ℝ)) (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ t (1 : ℝ)) = 0 ∧ + mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ t (1 : ℝ) ≠ 0 + +/-- In a chart in which the curve has chart velocity `w t`, the velocity is a nonzero null vector iff +`w t` is a nonzero null vector of the coordinate metric. -/ +theorem nullAt_iff_chart (x : M) {γ : ℝ → M} {t : ℝ} {w : Fin n → ℝ} + (hsrc : γ t ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) + (hw : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x (phase (n := n) γ t)).2 = w) : + NullAt g γ t ↔ bil (g.coordMetric x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ t))) w w = 0 ∧ w ≠ 0 := by + have hb := mem_baseSet_of_mem_source x (γ t) hsrc + have hvq := eq_symmL_of_tTriv x (γ t) hb + (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ t (1 : ℝ)) hw + have hmet := metric_eq_bil_at g.toNondegMetric x (γ t) hsrc w w + unfold NullAt + rw [hvq] + refine and_congr (by rw [hmet]) ?_ + constructor + · intro hne h0 + apply hne + rw [h0, map_zero] + · intro hne h0 + apply hne + have : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨γ t, ((chartTriv n x).symmL ℝ (γ t) w)⟩).2 = w := by + rw [← hvq] at * + exact hw + rw [h0] at this + rw [← this] + have hlin : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨γ t, (0 : TangentSpace 𝓘(ℝ, Fin n → ℝ) (γ t))⟩).2 = + (chartTriv n x).linearEquivAt ℝ (γ t) hb 0 := by + rw [Trivialization.linearEquivAt_apply] + rw [hlin, map_zero] + +/-- **Nullness of the velocity is locally constant along a geodesic curve.** -/ +theorem nullAt_local {γ : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) (h : IsGeodesicCurveOn g γ J) {t₁ : ℝ} + (ht₁ : t₁ ∈ J) : ∃ V ∈ 𝓝 t₁, V ⊆ J ∧ ∀ t ∈ V, (NullAt g γ t ↔ NullAt g γ t₁) := by + obtain ⟨w, O, hO, hsrc, hgeo⟩ := h t₁ ht₁ + set x := γ t₁ with hx + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + obtain ⟨r, hr, hball⟩ : ∃ r > 0, Ioo (t₁ - r) (t₁ + r) ⊆ interior O ∩ J := by + have : interior O ∩ J ∈ 𝓝 t₁ := Filter.inter_mem (interior_mem_nhds.2 hO) (hJ.mem_nhds ht₁) + obtain ⟨r, hr, hb⟩ := Metric.mem_nhds_iff.1 this + exact ⟨r, hr, by simpa [Real.ball_eq_Ioo] using hb⟩ + set V : Set ℝ := Ioo (t₁ - r) (t₁ + r) with hV + have hVo : IsOpen V := isOpen_Ioo + have ht₁V : t₁ ∈ V := ⟨by linarith, by linarith⟩ + have hgeoV : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric x) + (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s)) w V := + ⟨fun s hs => hgeo.pos s (interior_subset (hball hs).1), + fun s hs => hgeo.vel s (interior_subset (hball hs).1)⟩ + have hsrcV : ∀ s ∈ V, γ s ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source := + fun s hs => hsrc s (interior_subset (hball hs).1) + have hcoord : ∀ s ∈ V, (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x (phase (n := n) γ s)).2 = w s := + fun s hs => (phase_coord g x hVo hsrcV hgeoV hs).2 + have hg1 := g.toNondegMetric.isCoordMetric_coordMetric x + have hsp : ∀ s ∈ V, HasDerivAt (fun r => Lightlike.Geodesic.normSq (g.coordMetric x) + (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ r)) (w r)) 0 s := fun s hs => + hgeoV.hasDerivAt_speed hg1 hs (ψ.map_source (hsrcV s hs)) + refine ⟨V, hVo.mem_nhds ht₁V, fun s hs => (hball hs).2, fun t ht => ?_⟩ + rw [nullAt_iff_chart g x (hsrcV t ht) (hcoord t ht), nullAt_iff_chart g x (hsrcV t₁ ht₁V) (hcoord t₁ ht₁V)] + have hconst := Lightlike.Geodesic.eq_of_hasDerivAt_zero_Ioo hsp ht ht₁V + have hbil : ∀ s, bil (g.coordMetric x (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s))) (w s) (w s) = + Lightlike.Geodesic.normSq (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s)) (w s) := by + intro s + rw [← Lightlike.Geodesic.pairing_self, pairing_eq_bil] + rw [hbil, hbil, hconst] + refine and_congr Iff.rfl ⟨fun hne h0 => hne ?_, fun hne h0 => hne ?_⟩ + · exact Lightlike.Geodesic.IsGeodesicOn.velocity_zero hg1 hVo ordConnected_Ioo hgeoV + (fun s hs => ψ.map_source (hsrcV s hs)) ht₁V h0 ht + · exact Lightlike.Geodesic.IsGeodesicOn.velocity_zero hg1 hVo ordConnected_Ioo hgeoV + (fun s hs => ψ.map_source (hsrcV s hs)) ht h0 ht₁V + +/-- **A geodesic curve whose velocity is a nonzero null vector at one time is a null geodesic.** -/ +theorem isNullGeodesicOn_of_nullAt {γ : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) (hJc : J.OrdConnected) + (h : IsGeodesicCurveOn g γ J) {t₀ : ℝ} (ht₀ : t₀ ∈ J) (hnull : NullAt g γ t₀) : + IsNullGeodesicOn g γ J := by + set A : Set ℝ := {t | t ∈ J ∧ NullAt g γ t} with hA + have hAo : IsOpen A := by + rw [isOpen_iff_mem_nhds] + rintro t ⟨htJ, htN⟩ + obtain ⟨V, hV, hVJ, hVN⟩ := nullAt_local g hJ h htJ + filter_upwards [hV] with s hs + exact ⟨hVJ hs, (hVN s hs).2 htN⟩ + have hclos : J ∩ closure A ⊆ A := by + rintro t ⟨htJ, htc⟩ + obtain ⟨V, hV, hVJ, hVN⟩ := nullAt_local g hJ h htJ + obtain ⟨s, hsV, hsA⟩ := mem_closure_iff_nhds.1 htc V hV + exact ⟨htJ, (hVN s hsV).1 hsA.2⟩ + have hall : J ⊆ A := hJc.isPreconnected.subset_of_closure_inter_subset hAo + ⟨t₀, ht₀, ht₀, hnull⟩ (by rw [inter_comm]; exact hclos) + intro t ht + obtain ⟨w, O, hO, hsrc, hgeo⟩ := h t ht + have hO' : IsOpen (interior O) := isOpen_interior + have hgeo' : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric (γ t)) + (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ s)) w (interior O) := + ⟨fun s hs => hgeo.pos s (interior_subset hs), fun s hs => hgeo.vel s (interior_subset hs)⟩ + have hcoord := (phase_coord g (γ t) hO' (fun s hs => hsrc s (interior_subset hs)) hgeo' + (mem_interior_iff_mem_nhds.2 hO)).2 + have hsrct := hsrc t (mem_of_mem_nhds hO) + have := (nullAt_iff_chart g (γ t) hsrct hcoord).1 (hall ht).2 + exact ⟨w, O, hO, hsrc, hgeo, this.2, this.1⟩ + +/-- A nonzero null vector of the tangent bundle. -/ +def IsNullVec (z : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) : Prop := + g.g z.proj z.snd z.snd = 0 ∧ z.snd ≠ 0 + +theorem nullAt_iff_isNullVec (γ : ℝ → M) (t : ℝ) : + NullAt g γ t ↔ IsNullVec g (phase (n := n) γ t) := Iff.rfl + +/-- **A nonzero null vector is the initial phase of a complete null geodesic** when the manifold is +null geodesically complete. -/ +theorem exists_complete_null (hc : NullGeodesicallyComplete g) + (z : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) (hz : IsNullVec g z) : + ∃ γ : ℝ → M, IsNullGeodesicOn g γ univ ∧ phase (n := n) γ 0 = z := by + obtain ⟨N, δ, Γ, hNo, hz₀, hδ, hgeo, -⟩ := exists_local_flow g z + obtain ⟨hgeoz, hph⟩ := hgeo z hz₀ + have h0 : (0 : ℝ) ∈ Ioo (-δ) (0 + δ) := ⟨by linarith, by linarith⟩ + have hnull : IsNullGeodesicOn g (Γ z) (Ioo (-δ) δ) := by + have := isNullGeodesicOn_of_nullAt g isOpen_Ioo ordConnected_Ioo (J := Ioo (-δ) δ) + (by simpa using hgeoz) (t₀ := 0) (by simpa using h0) (by rw [nullAt_iff_isNullVec, hph]; exact hz) + exact this + obtain ⟨γ', hγ', heq⟩ := hc (Γ z) (-δ) δ (by linarith) hnull + refine ⟨γ', hγ', ?_⟩ + have hev : Γ z =ᶠ[𝓝 0] γ' := by + filter_upwards [isOpen_Ioo.mem_nhds (show (0 : ℝ) ∈ Ioo (-δ) δ from ⟨by linarith, hδ⟩)] with r hr + using heq hr + rw [← hph] + exact (phase_congr g isOpen_Ioo (hgeoz.mono (by simp)) (hγ'.isGeodesicCurveOn.mono (subset_univ _)) + (show (0 : ℝ) ∈ Ioo (-δ) δ from ⟨by linarith, hδ⟩) hev).symm + +/-- **Compactness of the exponential image of compact null data.** In a null geodesically complete +manifold, for a compact set `K` of nonzero null vectors and `Λ ≥ 0` there is a compact set `C` +containing `γ t` for every complete null geodesic `γ` with initial phase in `K` and `t ∈ [0, Λ]`. -/ +theorem compact_nullExp_image (hc : NullGeodesicallyComplete g) + {K : Set (TangentBundle 𝓘(ℝ, Fin n → ℝ) M)} (hK : IsCompact K) (hKn : ∀ z ∈ K, IsNullVec g z) + {Λ : ℝ} (hΛ : 0 ≤ Λ) : + ∃ C : Set M, IsCompact C ∧ ∀ z ∈ K, ∀ γ : ℝ → M, IsNullGeodesicOn g γ univ → + phase (n := n) γ 0 = z → ∀ t ∈ Icc 0 Λ, γ t ∈ C := by + classical + by_cases hne : K.Nonempty + swap + · refine ⟨∅, isCompact_empty, fun z hz => absurd ⟨z, hz⟩ hne⟩ + obtain ⟨z₁, hz₁⟩ := hne + haveI : Nonempty M := ⟨z₁.proj⟩ + set Γc : TangentBundle 𝓘(ℝ, Fin n → ℝ) M → ℝ → M := fun z => + if h : IsNullVec g z then Classical.choose (exists_complete_null g hc z h) else fun _ => z.proj + with hΓc + have hΓcspec : ∀ z ∈ K, IsNullGeodesicOn g (Γc z) univ ∧ phase (n := n) (Γc z) 0 = z := by + intro z hz + have := Classical.choose_spec (exists_complete_null g hc z (hKn z hz)) + simpa [hΓc, hKn z hz] using this + have huniq : ∀ z ∈ K, ∀ γ : ℝ → M, IsNullGeodesicOn g γ univ → phase (n := n) γ 0 = z → + ∀ t, γ t = Γc z t := by + intro z hz γ hγ hph t + exact eqOn_of_phase_eq' g isOpen_univ isPreconnected_univ + (hγ.isGeodesicCurveOn.mono (subset_univ _)) ((hΓcspec z hz).1.isGeodesicCurveOn.mono (subset_univ _)) + (mem_univ 0) (by rw [hph, (hΓcspec z hz).2]) (mem_univ t) + have hcont : ContinuousOn (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => Γc zs.1 zs.2) + (K ×ˢ Icc 0 Λ) := by + intro p hp + obtain ⟨hpK, hpt⟩ := hp + obtain ⟨N, ε, Γ, hNo, hz₀, hε, hgeo, hcontΓ⟩ := + flowGerm_along g (z₀ := p.1) (γ₀ := Γc p.1) isOpen_univ ordConnected_univ + (hΓcspec p.1 hpK).1.isGeodesicCurveOn (hΓcspec p.1 hpK).2 (mem_univ 0) hΛ (subset_univ _) + Λ ⟨hΛ, le_rfl⟩ + have hpt' : p.2 ∈ Ioo (-ε) (Λ + ε) := ⟨by linarith [hpt.1], by linarith [hpt.2]⟩ + have hNJ : N ×ˢ Ioo (-ε) (Λ + ε) ∈ 𝓝 p := + (hNo.prod isOpen_Ioo).mem_nhds ⟨hz₀, hpt'⟩ + have hproj : ContinuousAt (fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => + (phase (n := n) (Γ zs.1) zs.2).proj) p := + (FiberBundle.continuous_proj (Fin n → ℝ) (TangentSpace 𝓘(ℝ, Fin n → ℝ))).continuousAt.comp + (hcontΓ.continuousAt hNJ) + refine hproj.continuousWithinAt.congr_of_eventuallyEq ?_ ?_ + · filter_upwards [nhdsWithin_le_nhds hNJ, self_mem_nhdsWithin] with zs hzs hzsK + have := eqOn_of_phase_eq' g (isOpen_Ioo (a := -ε) (b := Λ + ε)) isPreconnected_Ioo + (hgeo zs.1 hzs.1).1 ((hΓcspec zs.1 hzsK.1).1.isGeodesicCurveOn.mono (subset_univ _)) + (⟨by linarith, by linarith⟩ : (0 : ℝ) ∈ Ioo (-ε) (Λ + ε)) + (by rw [(hgeo zs.1 hzs.1).2, (hΓcspec zs.1 hzsK.1).2]) hzs.2 + exact this.symm + · have := eqOn_of_phase_eq' g (isOpen_Ioo (a := -ε) (b := Λ + ε)) isPreconnected_Ioo + (hgeo p.1 hz₀).1 ((hΓcspec p.1 hpK).1.isGeodesicCurveOn.mono (subset_univ _)) + (⟨by linarith, by linarith⟩ : (0 : ℝ) ∈ Ioo (-ε) (Λ + ε)) + (by rw [(hgeo p.1 hz₀).2, (hΓcspec p.1 hpK).2]) hpt' + exact this.symm + refine ⟨(fun zs : TangentBundle 𝓘(ℝ, Fin n → ℝ) M × ℝ => Γc zs.1 zs.2) '' (K ×ˢ Icc 0 Λ), + (hK.prod isCompact_Icc).image_of_continuousOn hcont, ?_⟩ + intro z hz γ hγ hph t ht + exact ⟨(z, t), ⟨hz, ht⟩, (huniq z hz γ hγ hph t).symm⟩ + +end Lightlike.Penrose From 86b4d0ee519b017a5db56d4d74b932386baa8595 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:15:28 +0200 Subject: [PATCH 55/66] wip --- Lightlike/Rows/G1_012/ExpCompact.lean | 80 +++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/Lightlike/Rows/G1_012/ExpCompact.lean b/Lightlike/Rows/G1_012/ExpCompact.lean index 37d07878..4f9bf8c1 100644 --- a/Lightlike/Rows/G1_012/ExpCompact.lean +++ b/Lightlike/Rows/G1_012/ExpCompact.lean @@ -1,6 +1,7 @@ import Lightlike.Rows.G1_012.ExpFlow import Lightlike.Rows.G1_012.Defs import Lightlike.Rows.G1_012.Orthogonality +import Lightlike.Geodesic.TimeBall /-! # Compactness of the exponential image of compact null data (G1-012) @@ -249,3 +250,82 @@ theorem compact_nullExp_image (hc : NullGeodesicallyComplete g) exact ⟨(z, t), ⟨hz, ht⟩, (huniq z hz γ hγ hph t).symm⟩ end Lightlike.Penrose + +namespace Lightlike.Geodesic + +variable {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} + +/-- **Normalised null vectors over a compact set of base points are bounded** in chart +coordinates. -/ +theorem bounded_null_normalised (hL : Lightlike.IsLorentzianCoordMetric g U) + {Kc : Set (Fin n → ℝ)} (hKc : IsCompact Kc) (hKcU : Kc ⊆ U) + {X : (Fin n → ℝ) → Fin n → ℝ} (hX : ContinuousOn X U) + (hXt : ∀ y ∈ U, pairing g y (X y) (X y) < 0) : + ∃ R : ℝ, ∀ u ∈ Kc, ∀ w : Fin n → ℝ, pairing g u w w = 0 → pairing g u (X u) w = -1 → + ‖w‖ ≤ R := by + set Sg : Set ((Fin n → ℝ) × (Fin n → ℝ)) := Kc ×ˢ sphere (0 : Fin n → ℝ) 1 with hSgd + have hSgc : IsCompact Sg := hKc.prod (isCompact_sphere 0 1) + have hg := hL.1 + have hQ : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => pairing g q.1 q.2 q.2) Sg := by + simp only [pairing] + refine continuousOn_finsetSum _ fun i _ => continuousOn_finsetSum _ fun j _ => ?_ + exact (continuous_apply i |>.comp_continuousOn continuousOn_snd).mul + (((hg.smooth i j).continuousOn.comp continuousOn_fst + (fun q hq => hKcU hq.1)).mul (continuous_apply j |>.comp_continuousOn continuousOn_snd)) + have hℓ : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => pairing g q.1 (X q.1) q.2) Sg := by + simp only [pairing] + refine continuousOn_finsetSum _ fun i _ => continuousOn_finsetSum _ fun j _ => ?_ + exact ((continuous_apply i |>.comp_continuousOn + (hX.comp continuousOn_fst (fun q hq => hKcU hq.1)))).mul + (((hg.smooth i j).continuousOn.comp continuousOn_fst + (fun q hq => hKcU hq.1)).mul (continuous_apply j |>.comp_continuousOn continuousOn_snd)) + have hF : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => + max |pairing g q.1 q.2 q.2| |pairing g q.1 (X q.1) q.2|) Sg := + hQ.abs.sup hℓ.abs + by_cases hne : Sg.Nonempty + · obtain ⟨q₀, hq₀, hmin⟩ := hSgc.exists_isMinOn hne hF + set c : ℝ := max |pairing g q₀.1 q₀.2 q₀.2| |pairing g q₀.1 (X q₀.1) q₀.2| with hc + have hcpos : 0 < c := by + by_contra hcon + have h0 : c = 0 := le_antisymm (not_lt.1 hcon) (le_max_of_le_left (abs_nonneg _)) + have hQ0 : pairing g q₀.1 q₀.2 q₀.2 = 0 := abs_eq_zero.1 (le_antisymm + ((le_max_left _ _).trans h0.le) (abs_nonneg _)) + have hℓ0 : pairing g q₀.1 (X q₀.1) q₀.2 = 0 := abs_eq_zero.1 (le_antisymm + ((le_max_right _ _).trans h0.le) (abs_nonneg _)) + have hy : q₀.1 ∈ U := hKcU hq₀.1 + have hLf := isLorentzianForm_matForm hL hy + have hq : ∀ a b, pairing g q₀.1 a b = matForm (g q₀.1) a b := fun a b => + pairing_eq_matForm g _ a b + have := hLf.eq_zero_of_orthogonal_timelike (X := X q₀.1) (w := q₀.2) + (by rw [← hq]; exact hXt _ hy) (by rw [← hq, pairing_comm hg hy]; exact hℓ0) + (by rw [← hq]; exact hQ0.le) + have hn : ‖q₀.2‖ = 1 := mem_sphere_zero_iff_norm.1 hq₀.2 + rw [this] at hn + simp at hn + refine ⟨c⁻¹, fun u hu w hQw hℓw => ?_⟩ + have hw0 : w ≠ 0 := by + rintro rfl + simp [pairing] at hℓw + have hwn : 0 < ‖w‖ := norm_pos_iff.2 hw0 + set ŵ : Fin n → ℝ := ‖w‖⁻¹ • w with hŵ + have hŵs : ŵ ∈ sphere (0 : Fin n → ℝ) 1 := by + rw [mem_sphere_zero_iff_norm, hŵ, norm_smul, norm_inv, norm_norm, inv_mul_cancel₀ hwn.ne'] + have hmem : (u, ŵ) ∈ Sg := ⟨hu, hŵs⟩ + have hQŵ : pairing g u ŵ ŵ = 0 := by + rw [hŵ, pairing_smul_left, pairing_smul_right, hQw]; ring + have hℓŵ : pairing g u (X u) ŵ = -‖w‖⁻¹ := by + rw [hŵ, pairing_smul_right, hℓw]; ring + have hle : c ≤ max |pairing g u ŵ ŵ| |pairing g u (X u) ŵ| := hmin hmem + rw [hQŵ, hℓŵ, abs_zero, abs_neg, abs_of_pos (inv_pos.2 hwn), max_eq_right (inv_nonneg.2 hwn.le)] + at hle + exact (le_inv_comm₀ hcpos hwn).1 hle + · refine ⟨0, fun u hu w hQw hℓw => ?_⟩ + exfalso + have hw0 : w ≠ 0 := by + rintro rfl + simp [pairing] at hℓw + have hwn : 0 < ‖w‖ := norm_pos_iff.2 hw0 + refine hne ⟨(u, ‖w‖⁻¹ • w), hu, ?_⟩ + rw [mem_sphere_zero_iff_norm, norm_smul, norm_inv, norm_norm, inv_mul_cancel₀ hwn.ne'] + +end Lightlike.Geodesic From bee2e01da1d037eaeee803b5364ba1e1bc103c2b Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:18:49 +0200 Subject: [PATCH 56/66] feat(g1-012): compactness of normalised null vectors over a compact set --- Lightlike/Rows/G1_012/ExpCompact.lean | 202 ++++++++++++++++++++++++++ 1 file changed, 202 insertions(+) diff --git a/Lightlike/Rows/G1_012/ExpCompact.lean b/Lightlike/Rows/G1_012/ExpCompact.lean index 4f9bf8c1..d01e68fc 100644 --- a/Lightlike/Rows/G1_012/ExpCompact.lean +++ b/Lightlike/Rows/G1_012/ExpCompact.lean @@ -2,6 +2,7 @@ import Lightlike.Rows.G1_012.ExpFlow import Lightlike.Rows.G1_012.Defs import Lightlike.Rows.G1_012.Orthogonality import Lightlike.Geodesic.TimeBall +import Lightlike.Rows.G1_012.LocalGenerators /-! # Compactness of the exponential image of compact null data (G1-012) @@ -329,3 +330,204 @@ theorem bounded_null_normalised (hL : Lightlike.IsLorentzianCoordMetric g U) rw [mem_sphere_zero_iff_norm, norm_smul, norm_inv, norm_norm, inv_mul_cancel₀ hwn.ne'] end Lightlike.Geodesic + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- The vector with chart coordinates `w` at `p` is zero iff `w = 0`. -/ +theorem symmL_eq_zero_iff (x p : M) (hp : p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) + (w : Fin n → ℝ) : (chartTriv n x).symmL ℝ p w = 0 ↔ w = 0 := by + constructor + · intro h0 + have hb := mem_baseSet_of_mem_source x p hp + have h1 : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨p, (chartTriv n x).symmL ℝ p w⟩).2 = w := by + rw [Trivialization.symmL_apply _ hb] + exact (Trivialization.apply_mk_symm (chartTriv n x) hb w) ▸ rfl + rw [h0] at h1 + have hlin : (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨p, (0 : TangentSpace 𝓘(ℝ, Fin n → ℝ) p)⟩).2 = + (chartTriv n x).linearEquivAt ℝ p hb 0 := by + rw [Trivialization.linearEquivAt_apply] + rw [hlin, map_zero] at h1 + exact h1.symm + · rintro rfl; exact map_zero _ + +/-- A tangent vector given by chart coordinates `w` is a nonzero null vector iff `w` is. -/ +theorem isNullVec_symmL_iff (x p : M) (hp : p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) + (w : Fin n → ℝ) : + IsNullVec g (⟨p, (chartTriv n x).symmL ℝ p w⟩ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) ↔ + Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x p) w w = 0 ∧ + w ≠ 0 := by + unfold IsNullVec + show g.g p ((chartTriv n x).symmL ℝ p w) ((chartTriv n x).symmL ℝ p w) = 0 ∧ + (chartTriv n x).symmL ℝ p w ≠ 0 ↔ _ + rw [metric_eq_bil_at g.toNondegMetric x p hp w w, pairing_eq_bil] + exact and_congr Iff.rfl (not_congr (symmL_eq_zero_iff x p hp w)) + +/-- The pairing with the time orientation field, in chart coordinates. -/ +theorem pairing_timeOrientation_symmL (T : Causal.TimeOrientation g) (x p : M) + (hp : p ∈ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) (w : Fin n → ℝ) : + g.g p ((chartTriv n x).symmL ℝ p w) (T.X p) = + Lightlike.Geodesic.pairing (g.coordMetric x) (extChartAt 𝓘(ℝ, Fin n → ℝ) x p) w + (timeCoord T x (extChartAt 𝓘(ℝ, Fin n → ℝ) x p)) := by + rw [timeOrientation_eq_symmL T x p hp, metric_eq_bil_at g.toNondegMetric x p hp, + pairing_eq_bil] + +/-- The compact piece of normalised null vectors over `S ∩ P`, `P` compact in the chart at `x`. -/ +theorem compact_normalised_null_piece (T : Causal.TimeOrientation g) (x : M) {S : Set M} + (hS : IsCompact S) {P : Set M} (hP : IsCompact P) + (hPs : P ⊆ (extChartAt 𝓘(ℝ, Fin n → ℝ) x).source) : + IsCompact {z : TangentBundle 𝓘(ℝ, Fin n → ℝ) M | z.proj ∈ S ∩ P ∧ IsNullVec g z ∧ + g.g z.proj z.snd (T.X z.proj) = -1} := by + set ψ := extChartAt 𝓘(ℝ, Fin n → ℝ) x with hψ + set e := chartTriv n x with he + have hSP : IsCompact (S ∩ P) := hS.inter_right hP.isClosed + set Kc : Set (Fin n → ℝ) := ψ '' (S ∩ P) with hKc + have hKcc : IsCompact Kc := + hSP.image_of_continuousOn ((continuousOn_extChartAt (I := 𝓘(ℝ, Fin n → ℝ)) x).mono + (inter_subset_right.trans hPs)) + have hKct : Kc ⊆ ψ.target := by + rintro _ ⟨s, hs, rfl⟩ + exact ψ.map_source (hPs hs.2) + have hL := g.isLorentzianCoordMetric_coordMetric x + obtain ⟨R, hR⟩ := Lightlike.Geodesic.bounded_null_normalised hL hKcc hKct + (continuousOn_timeCoord T x) (fun y hy => timeCoord_timelike T x hy) + set Kp : Set ((Fin n → ℝ) × (Fin n → ℝ)) := {q | q.1 ∈ Kc ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) q.1 q.2 q.2 = 0 ∧ + Lightlike.Geodesic.pairing (g.coordMetric x) q.1 (timeCoord T x q.1) q.2 = -1} with hKp + have hKpc : IsCompact Kp := by + refine (hKcc.prod (isCompact_closedBall (0 : Fin n → ℝ) R)).of_isClosed_subset ?_ ?_ + · -- closed + have hg1 := hL.1 + have hQc : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => + Lightlike.Geodesic.pairing (g.coordMetric x) q.1 q.2 q.2) (Kc ×ˢ univ) := by + simp only [Lightlike.Geodesic.pairing] + refine continuousOn_finsetSum _ fun i _ => continuousOn_finsetSum _ fun j _ => ?_ + exact (continuous_apply i |>.comp_continuousOn continuousOn_snd).mul + (((hg1.smooth i j).continuousOn.comp continuousOn_fst + (fun q hq => hKct hq.1)).mul (continuous_apply j |>.comp_continuousOn continuousOn_snd)) + have hℓc : ContinuousOn (fun q : (Fin n → ℝ) × (Fin n → ℝ) => + Lightlike.Geodesic.pairing (g.coordMetric x) q.1 (timeCoord T x q.1) q.2) (Kc ×ˢ univ) := by + simp only [Lightlike.Geodesic.pairing] + refine continuousOn_finsetSum _ fun i _ => continuousOn_finsetSum _ fun j _ => ?_ + exact ((continuous_apply i |>.comp_continuousOn + ((continuousOn_timeCoord T x).comp continuousOn_fst (fun q hq => hKct hq.1)))).mul + (((hg1.smooth i j).continuousOn.comp continuousOn_fst + (fun q hq => hKct hq.1)).mul (continuous_apply j |>.comp_continuousOn continuousOn_snd)) + have hC : IsClosed (Kc ×ˢ (univ : Set (Fin n → ℝ))) := hKcc.isClosed.prod isClosed_univ + have h1 := hQc.preimage_isClosed_of_isClosed hC (isClosed_singleton (x := (0 : ℝ))) + have h2 := (hℓc.mono inter_subset_left).preimage_isClosed_of_isClosed h1 + (isClosed_singleton (x := (-1 : ℝ))) + convert h2 using 1 + ext q + constructor + · rintro ⟨h1, h2, h3⟩ + exact ⟨⟨⟨h1, mem_univ _⟩, h2⟩, h3⟩ + · rintro ⟨⟨⟨h1, -⟩, h2⟩, h3⟩ + exact ⟨h1, h2, h3⟩ + · rintro q ⟨hq1, hq2, hq3⟩ + refine ⟨hq1, ?_⟩ + rw [mem_closedBall_zero_iff] + exact hR q.1 hq1 q.2 hq2 hq3 + -- the image under the inverse trivialization + set Φ : (Fin n → ℝ) × (Fin n → ℝ) → TangentBundle 𝓘(ℝ, Fin n → ℝ) M := fun q => + TotalSpace.mk' (Fin n → ℝ) (ψ.symm q.1) (e.symm (ψ.symm q.1) q.2) with hΦ + have hΦc : ContinuousOn Φ Kp := by + have hsymm := e.continuousOn_symm + have hmap : MapsTo (fun q : (Fin n → ℝ) × (Fin n → ℝ) => (ψ.symm q.1, q.2)) Kp + (e.baseSet ×ˢ univ) := fun q hq => by + refine ⟨?_, trivial⟩ + rw [he, chartTriv_baseSet_eq] + exact ψ.map_target (hKct hq.1) + exact hsymm.comp (((continuousOn_extChartAt_symm (I := 𝓘(ℝ, Fin n → ℝ)) x).comp + continuousOn_fst (fun q hq => hKct hq.1)).prodMk continuousOn_snd) hmap + have hg1 := hL.1 + have hΦeq : ∀ q ∈ Kp, ∃ s ∈ S ∩ P, ψ s = q.1 ∧ + Φ q = (⟨s, (chartTriv n x).symmL ℝ s q.2⟩ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) := by + intro q hq + obtain ⟨s, hs, hsq⟩ := hq.1 + refine ⟨s, hs, hsq, ?_⟩ + have hb : s ∈ e.baseSet := by + rw [he, chartTriv_baseSet_eq]; exact hPs hs.2 + show (⟨ψ.symm q.1, e.symm (ψ.symm q.1) q.2⟩ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) = _ + rw [← hsq, ψ.left_inv (hPs hs.2), Trivialization.symmL_apply e (R := ℝ) hb] + have hset : {z : TangentBundle 𝓘(ℝ, Fin n → ℝ) M | z.proj ∈ S ∩ P ∧ IsNullVec g z ∧ + g.g z.proj z.snd (T.X z.proj) = -1} = Φ '' Kp := by + ext z + constructor + · rintro ⟨hzP, hz1, hz2⟩ + have hsP : z.proj ∈ ψ.source := hPs hzP.2 + have hb : z.proj ∈ e.baseSet := mem_baseSet_of_mem_source x z.proj hsP + have hzsrc : z ∈ e.source := by rw [e.mem_source]; exact hb + set w : Fin n → ℝ := (e z).2 with hw + have hzs : z = (⟨z.proj, (chartTriv n x).symmL ℝ z.proj w⟩ : TangentBundle 𝓘(ℝ, Fin n → ℝ) M) := by + have h1 := Trivialization.symm_apply_apply e hzsrc + have h2 : e z = (z.proj, w) := Prod.ext (e.coe_fst hzsrc) rfl + rw [h2] at h1 + rw [Trivialization.symmL_apply e (R := ℝ) hb, Trivialization.mk_symm e hb] + exact h1.symm + rw [hzs] at hz1 hz2 + have hnv := (isNullVec_symmL_iff x z.proj hsP w).1 hz1 + refine ⟨(ψ z.proj, w), ⟨⟨z.proj, hzP, rfl⟩, hnv.1, ?_⟩, ?_⟩ + · rw [pairing_timeOrientation_symmL T x z.proj hsP w] at hz2 + rw [Lightlike.Geodesic.pairing_comm hg1 (ψ.map_source hsP)] + exact hz2 + · obtain ⟨s, hs, hsq, hΦs⟩ := hΦeq (ψ z.proj, w) ⟨⟨z.proj, hzP, rfl⟩, hnv.1, by + rw [Lightlike.Geodesic.pairing_comm hg1 (ψ.map_source hsP)] + rw [pairing_timeOrientation_symmL T x z.proj hsP w] at hz2 + exact hz2⟩ + have hs' : s = z.proj := ψ.injOn (hPs hs.2) hsP hsq + subst hs' + rw [hΦs] + exact hzs.symm + · rintro ⟨q, hq, rfl⟩ + obtain ⟨s, hs, hsq, hΦs⟩ := hΦeq q hq + have hsP : s ∈ ψ.source := hPs hs.2 + rw [hΦs] + have hQ := hq.2.1 + have hℓ := hq.2.2 + rw [← hsq] at hQ hℓ + have hw0 : q.2 ≠ 0 := by + rintro h0 + rw [h0] at hℓ + simp [Lightlike.Geodesic.pairing] at hℓ + refine ⟨hs, (isNullVec_symmL_iff x s hsP q.2).2 ⟨hQ, hw0⟩, ?_⟩ + show g.g s ((chartTriv n x).symmL ℝ s q.2) (T.X s) = -1 + rw [pairing_timeOrientation_symmL T x s hsP q.2, + Lightlike.Geodesic.pairing_comm hg1 (ψ.map_source hsP)] + exact hℓ + rw [hset] + exact hKpc.image_of_continuousOn hΦc + +/-- **The normalised null vectors over a compact set are a compact set of the tangent bundle.** -/ +theorem compact_normalised_null (T : Causal.TimeOrientation g) {S : Set M} (hS : IsCompact S) : + IsCompact {z : TangentBundle 𝓘(ℝ, Fin n → ℝ) M | z.proj ∈ S ∧ IsNullVec g z ∧ + g.g z.proj z.snd (T.X z.proj) = -1} := by + classical + haveI : LocallyCompactSpace M := ChartedSpace.locallyCompactSpace (Fin n → ℝ) M + have hloc : ∀ p : M, ∃ P : Set M, IsCompact P ∧ p ∈ interior P ∧ + P ⊆ (extChartAt 𝓘(ℝ, Fin n → ℝ) p).source := fun p => + exists_compact_subset (isOpen_extChartAt_source (I := 𝓘(ℝ, Fin n → ℝ)) p) + (mem_extChartAt_source p) + choose P hPc hPi hPs using hloc + obtain ⟨b, hbS, hbfin, hbcov⟩ := hS.elim_finite_subcover_image + (fun p _ => isOpen_interior (s := P p)) (fun p hp => mem_iUnion₂.2 ⟨p, hp, hPi p⟩) + have hset : {z : TangentBundle 𝓘(ℝ, Fin n → ℝ) M | z.proj ∈ S ∧ IsNullVec g z ∧ + g.g z.proj z.snd (T.X z.proj) = -1} = + ⋃ p ∈ b, {z : TangentBundle 𝓘(ℝ, Fin n → ℝ) M | z.proj ∈ S ∩ P p ∧ IsNullVec g z ∧ + g.g z.proj z.snd (T.X z.proj) = -1} := by + ext z + constructor + · rintro ⟨hzS, hz1, hz2⟩ + obtain ⟨p, hpb, hzp⟩ := mem_iUnion₂.1 (hbcov hzS) + exact mem_iUnion₂.2 ⟨p, hpb, ⟨hzS, interior_subset hzp⟩, hz1, hz2⟩ + · intro hz + obtain ⟨p, -, ⟨hzS, -⟩, hz1, hz2⟩ := mem_iUnion₂.1 hz + exact ⟨hzS, hz1, hz2⟩ + rw [hset] + exact hbfin.isCompact_biUnion fun p _ => compact_normalised_null_piece T p hS (hPc p) (hPs p) + +end Lightlike.Penrose From 3d0800367a19105a3bfde347b5f38475e6c9ef40 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:21:59 +0200 Subject: [PATCH 57/66] feat(g1-012): compact cover of the causal-future boundary from the focal bound (exists_compact_cover_of_focal) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/Rows/G1_012/ExpCompact.lean | 176 ++++++++++++++++++++++++++ 2 files changed, 177 insertions(+) diff --git a/Lightlike.lean b/Lightlike.lean index 531ccf94..50b710f0 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1401,6 +1401,7 @@ import Lightlike.Rows.G1_012.GeneratorChain import Lightlike.Rows.G1_012.Generators import Lightlike.Rows.G1_012.ClosedFuture import Lightlike.Rows.G1_012.ExpFlow +import Lightlike.Rows.G1_012.ExpCompact import Lightlike.Rows.G1_012.NullGeodGlue import Lightlike.Rows.G1_012.GeodesicChartConverse import Lightlike.Rows.G1_012.NullGeodChart diff --git a/Lightlike/Rows/G1_012/ExpCompact.lean b/Lightlike/Rows/G1_012/ExpCompact.lean index d01e68fc..ffb34948 100644 --- a/Lightlike/Rows/G1_012/ExpCompact.lean +++ b/Lightlike/Rows/G1_012/ExpCompact.lean @@ -3,6 +3,8 @@ import Lightlike.Rows.G1_012.Defs import Lightlike.Rows.G1_012.Orthogonality import Lightlike.Geodesic.TimeBall import Lightlike.Rows.G1_012.LocalGenerators +import Lightlike.Rows.G1_012.ExpMap +import Lightlike.Rows.G1_012.Generators /-! # Compactness of the exponential image of compact null data (G1-012) @@ -531,3 +533,177 @@ theorem compact_normalised_null (T : Causal.TimeOrientation g) {S : Set M} (hS : exact hbfin.isCompact_biUnion fun p _ => compact_normalised_null_piece T p hS (hPc p) (hPs p) end Lightlike.Penrose + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- A geodesic curve is differentiable (as a map of manifolds) at each point of its domain. -/ +theorem IsGeodesicCurveOn.mdifferentiableAt {γ : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) + (h : IsGeodesicCurveOn g γ J) {t : ℝ} (ht : t ∈ J) : + MDifferentiableAt 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ t := by + obtain ⟨w, O, hO, hsrc, hgeo⟩ := h t ht + have hO' : IsOpen (interior O) := isOpen_interior + exact (phase_coord g (γ t) hO' (fun s hs => hsrc s (interior_subset hs)) + ⟨fun s hs => hgeo.pos s (interior_subset hs), fun s hs => hgeo.vel s (interior_subset hs)⟩ + (mem_interior_iff_mem_nhds.2 hO)).1 + +/-- **A null geodesic on `[0, L]` extends to a complete null geodesic**, with the same one-sided +velocity at `0`. -/ +theorem generator_extend (hc : NullGeodesicallyComplete g) {γ : ℝ → M} {L : ℝ} (hL : 0 < L) + (hγ : IsNullGeodesicOn g γ (Icc 0 L)) : + ∃ γ' : ℝ → M, IsNullGeodesicOn g γ' univ ∧ EqOn γ γ' (Icc 0 L) ∧ + (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc 0 L) 0 : Fin n → ℝ) = + mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ' 0 (1 : ℝ) := by + obtain ⟨γ', hγ', heq⟩ := hc γ 0 L hL (hγ.mono Ioo_subset_Icc_self) + have hcont : ContinuousOn γ (Icc 0 L) := fun t ht => + (IsGeodesicCurveOn.continuousAt g hγ.isGeodesicCurveOn ht).continuousWithinAt + have hcont' : ContinuousOn γ' (Icc 0 L) := fun t ht => + (IsGeodesicCurveOn.continuousAt g hγ'.isGeodesicCurveOn (mem_univ t)).continuousWithinAt + have heqI : EqOn γ γ' (Icc 0 L) := by + refine heq.of_subset_closure hcont hcont' Ioo_subset_Icc_self ?_ + rw [closure_Ioo hL.ne] + refine ⟨γ', hγ', heqI, ?_⟩ + have hmd : MDifferentiableAt 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ' 0 := + IsGeodesicCurveOn.mdifferentiableAt isOpen_univ hγ'.isGeodesicCurveOn (mem_univ 0) + have hu : UniqueMDiffWithinAt 𝓘(ℝ, ℝ) (Icc (0 : ℝ) L) 0 := + (uniqueDiffOn_Icc hL 0 ⟨le_rfl, hL.le⟩).uniqueMDiffWithinAt + unfold Causal.velocity + have hev : γ =ᶠ[𝓝[Icc 0 L] 0] γ' := by + filter_upwards [self_mem_nhdsWithin] with t ht using heqI ht + rw [hev.mfderivWithin_eq (heqI ⟨le_rfl, hL.le⟩), mfderivWithin_eq_mfderiv hu hmd] + rfl + +end Lightlike.Penrose + +namespace Lightlike.Penrose + +variable {n : ℕ} {M : Type*} [TopologicalSpace M] [ChartedSpace (Fin n → ℝ) M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) ∞ M] [SecondCountableTopology M] [T2Space M] + [IsManifold 𝓘(ℝ, Fin n → ℝ) 2 M] [MeasurableSpace M] [BorelSpace M] + {g : LorentzianMetric 𝓘(ℝ, Fin n → ℝ) M n} + +/-- A null geodesic has a nonzero null velocity at each parameter. -/ +theorem nullAt_of_isNullGeodesicOn {γ : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) + (h : IsNullGeodesicOn g γ J) {t : ℝ} (ht : t ∈ J) : NullAt g γ t := by + obtain ⟨w, O, hO, hsrc, hgeo, hw0, hbil⟩ := h t ht + have hO' : IsOpen (interior O) := isOpen_interior + have hgeo' : Lightlike.Geodesic.IsGeodesicOn (g.coordMetric (γ t)) + (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) (γ t) (γ s)) w (interior O) := + ⟨fun s hs => hgeo.pos s (interior_subset hs), fun s hs => hgeo.vel s (interior_subset hs)⟩ + have hcoord := (phase_coord g (γ t) hO' (fun s hs => hsrc s (interior_subset hs)) hgeo' + (mem_interior_iff_mem_nhds.2 hO)).2 + exact (nullAt_iff_chart g (γ t) (hsrc t (mem_of_mem_nhds hO)) hcoord).2 ⟨hbil, hw0⟩ + +/-- **The phase of a rescaled geodesic curve.** For a geodesic curve `γ` on an open set containing +`c t`, the velocity of `s ↦ γ (c s)` at `t` is `c` times the velocity of `γ` at `c t`. -/ +theorem velocity_scale {γ : ℝ → M} {J : Set ℝ} (hJ : IsOpen J) (h : IsGeodesicCurveOn g γ J) + (c : ℝ) {t : ℝ} (ht : c * t ∈ J) : + (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) (fun s => γ (c * s)) t (1 : ℝ) : Fin n → ℝ) = + c • mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ (c * t) (1 : ℝ) := by + have hJ' : IsOpen ((fun s : ℝ => c * s) ⁻¹' J) := hJ.preimage (by fun_prop) + have hsc := IsGeodesicCurveOn.scale g h c + have ht' : t ∈ (fun s : ℝ => c * s) ⁻¹' J := ht + set x := γ (c * t) with hx + have e1 := deriv_chart_eq_phase g hJ' hsc ht' + have e2 := deriv_chart_eq_phase g hJ h ht + have hd : deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ (c * s))) t = + c • deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s)) (c * t) := by + have := deriv_comp_mul_left (c := c) (x := t) + (f := fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s)) + simpa [smul_eq_mul] using this + have hxb : x ∈ (chartTriv n x).baseSet := mem_baseSet_of_mem_source x x (mem_extChartAt_source x) + have hLE : ∀ v : TangentSpace 𝓘(ℝ, Fin n → ℝ) x, (Causal.tTriv 𝓘(ℝ, Fin n → ℝ) M x ⟨x, v⟩).2 = + (chartTriv n x).linearEquivAt ℝ x hxb v := fun v => by + rw [Trivialization.linearEquivAt_apply] + have e1' : deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ (c * s))) t = + (chartTriv n x).linearEquivAt ℝ x hxb + (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) (fun s => γ (c * s)) t (1 : ℝ)) := by + rw [← hLE]; exact e1 + have e2' : deriv (fun s => extChartAt 𝓘(ℝ, Fin n → ℝ) x (γ s)) (c * t) = + (chartTriv n x).linearEquivAt ℝ x hxb + (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ (c * t) (1 : ℝ)) := by + rw [← hLE]; exact e2 + rw [hd, e2', ← map_smul] at e1' + exact ((chartTriv n x).linearEquivAt ℝ x hxb).injective e1'.symm + +/-- **The normalised focal bound** (the output of the focusing theorem, a hypothesis of the cover): +every future null geodesic from `S` to a point outside `I⁺(S)` has normalised affine length +`-g(γ'(0), X) · L ≤ Λ`. -/ +def NormalisedFocalBound (T : Causal.TimeOrientation g) (S : Set M) (Λ : ℝ) : Prop := + ∀ (γ : ℝ → M) (L : ℝ), 0 < L → IsFutureNullGeodesicOn T γ (Icc 0 L) → γ 0 ∈ S → + γ L ∉ Causal.chronFutureSet T S → + -(g.g (γ 0) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc 0 L) 0) (T.X (γ 0))) * L ≤ Λ + +/-- **A compact cover of the boundary of the causal future** from the focal bound. -/ +theorem exists_compact_cover_of_focal (T : Causal.TimeOrientation g) + (hc : NullGeodesicallyComplete g) {S : Set M} (hS : IsCompact S) {Λ : ℝ} (hΛ : 0 ≤ Λ) + (hfocal : NormalisedFocalBound T S Λ) (hclosed : IsClosed (Causal.causalFutureSet T S)) : + ∃ C : Set M, IsCompact C ∧ frontier (Causal.causalFutureSet T S) ⊆ C := by + obtain ⟨C₀, hC₀, hC₀prop⟩ := compact_nullExp_image g hc (compact_normalised_null T hS) + (fun z hz => hz.2.1) hΛ + refine ⟨S ∪ C₀, hS.union hC₀, fun q hq => ?_⟩ + have hqJ : q ∈ Causal.causalFutureSet T S := by + have := hq.1 + rwa [hclosed.closure_eq] at this + have hqI : q ∉ Causal.chronFutureSet T S := fun h => + hq.2 (Causal.chronFutureSet_subset_interior T S h) + rcases exists_generator T hqJ hqI with hqS | ⟨s, hs, γ, L, hL, hγ, h0, hLq⟩ + · exact Or.inl hqS + · right + obtain ⟨γ', hγ', heq, hvel⟩ := generator_extend hc hL hγ.1 + have h0L : (0 : ℝ) ∈ Icc 0 L := ⟨le_rfl, hL.le⟩ + have hfut := hγ.2 0 h0L + set c : ℝ := -(g.g (γ 0) (Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc 0 L) 0) (T.X (γ 0))) with hcdef + have hcpos : 0 < c := by rw [hcdef]; linarith + have hfoc := hfocal γ L hL hγ (h0 ▸ hs) (hLq ▸ hqI) + set γ'' : ℝ → M := fun τ => γ' (c⁻¹ * τ) with hγ'' + have hγ''null : IsNullGeodesicOn g γ'' univ := by + have := hγ'.comp_affine (inv_ne_zero hcpos.ne') 0 + simpa [hγ''] using this + have hγ0 : γ' 0 = γ 0 := (heq h0L).symm + have hp0 : γ' (c⁻¹ * 0) = γ 0 := by rw [mul_zero]; exact hγ0 + have hnull0 := nullAt_of_isNullGeodesicOn isOpen_univ hγ' (mem_univ (c⁻¹ * 0)) + have hsnd := velocity_scale (g := g) isOpen_univ hγ'.isGeodesicCurveOn c⁻¹ (t := 0) (mem_univ _) + have hu : (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ' (c⁻¹ * 0) (1 : ℝ) : Fin n → ℝ) = + Causal.velocity 𝓘(ℝ, Fin n → ℝ) γ (Icc 0 L) 0 := by + rw [hvel, mul_zero] + have key : ∀ (p q : M) (h : p = q) (w : Fin n → ℝ), g.g p w (T.X p) = g.g q w (T.X q) := by + intro p q h w; subst h; rfl + have hz : phase (n := n) γ'' 0 ∈ {z : TangentBundle 𝓘(ℝ, Fin n → ℝ) M | z.proj ∈ S ∧ + IsNullVec g z ∧ g.g z.proj z.snd (T.X z.proj) = -1} := by + refine ⟨by show γ' (c⁻¹ * 0) ∈ S; rw [hp0, h0]; exact hs, ?_, ?_⟩ + · refine ⟨?_, ?_⟩ + · show g.g (γ'' 0) (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ'' 0 (1 : ℝ)) + (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ'' 0 (1 : ℝ)) = 0 + rw [hsnd] + have h1 := hnull0.1 + simp only [map_smul, ContinuousLinearMap.smul_apply, smul_eq_mul] + have h1' : g.g (γ' (c⁻¹ * 0)) (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ' (c⁻¹ * 0) (1 : ℝ)) + (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ' (c⁻¹ * 0) (1 : ℝ)) = 0 := h1 + rw [h1']; ring + · show mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ'' 0 (1 : ℝ) ≠ 0 + rw [hsnd] + exact smul_ne_zero (inv_ne_zero hcpos.ne') hnull0.2 + · show g.g (γ'' 0) (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ'' 0 (1 : ℝ)) (T.X (γ'' 0)) = -1 + rw [hsnd] + simp only [map_smul, ContinuousLinearMap.smul_apply, smul_eq_mul] + have e1 := key (γ' (c⁻¹ * 0)) (γ 0) hp0 + (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ' (c⁻¹ * 0) (1 : ℝ)) + have e2 : g.g (γ' (c⁻¹ * 0)) (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ' (c⁻¹ * 0) (1 : ℝ)) + (T.X (γ' (c⁻¹ * 0))) = -c := by + rw [e1, hu, hcdef]; ring + show c⁻¹ * g.g (γ' (c⁻¹ * 0)) (mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, Fin n → ℝ) γ' (c⁻¹ * 0) (1 : ℝ)) + (T.X (γ' (c⁻¹ * 0))) = -1 + rw [e2]; field_simp + have hmem := hC₀prop _ hz γ'' hγ''null rfl (c * L) ⟨mul_nonneg hcpos.le hL.le, hfoc⟩ + have : γ'' (c * L) = q := by + simp only [hγ''] + rw [inv_mul_cancel_left₀ hcpos.ne', ← hLq] + exact (heq ⟨hL.le, le_rfl⟩).symm + rwa [this] at hmem + +end Lightlike.Penrose From c921b2ec5efe0d7dcfcf7dae98a811ab30d50e7c Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:23:40 +0200 Subject: [PATCH 58/66] docs(G3-196): the F3 crux and the two architectures, next steps Co-Authored-By: Claude Opus 5.5 --- docs/notes/g3-196-route-f.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/notes/g3-196-route-f.md b/docs/notes/g3-196-route-f.md index 5b6f1b4c..70009294 100644 --- a/docs/notes/g3-196-route-f.md +++ b/docs/notes/g3-196-route-f.md @@ -95,6 +95,29 @@ Model and design decisions for F3 to F5: - the root of unity: `d_{r-1} = 0`, projectors exist up to `jw (r-1)`, and the trees with all colours `≤ r-2` are the ones the library's `qAdm` keeps. +## F3: the crux and the two architectures (24 Nov 2026, after F1, F2, the model, cups and caps, Jones' expectation) + +Done in Lean: `Basic` (algebra), `JonesWenzl` (projectors, partial trace), `Model` (the relations on the infinite +tensor power), `CupCap` (loop value, `e_i = cup cap`, zigzag), `Jones` (expectation, absorption). + +The crux. The vertex `V(a,b;c) = (p_a ⊗ p_b) · Y · p_c` (`Y` = `i` nested cups at the junction) and its dual +`V'` satisfy `V' V = κ p_c` with `κ = θ(a,b,c)/Δ_c`. Two ways to prove such statements: + +(A) Diagrammatic operator calculus in `End(ModelSpace)`: `V'V` is a closed-up diagram, so it lies in +`tlSub e (c-1)` and `absorb` gives `κ`. The reduction "`cap z cup ∈ tlSub`" needs the naturality of cups and +caps against `e_j` (cases `j` away from, adjacent to and equal to the junction) and an induction on words with +a drifting cap position; about 600 lines for one arc, more for nested arcs. +(B) Corner algebra: work only in `tlSub e (a+b-1)` with `W_i = Q N_i Q`, `Q = p_a p_b` shifted, `N_i` the nested +`e`-product. Then `(Q e_{a-1} Q)² = c · Q e_{a-1} Q` follows from a generalised partial trace identity +`e_{a-1} p_a p_b e_{a-1} = c · e_{a-1} p_{a-1} p_{b-1}` plus absorption, with no cups or caps. The channel +idempotents are Lagrange polynomials in the single operator `A = Q e_{a-1} Q`, and the two operators `A^{(ab)}`, +`A^{(bc)}` of a triple product form a Leonard pair; the 6j symbols are the overlaps of their eigenvectors, +fixed by the three-term recurrence that the library already proves for `qSixJ` in the third colour +(`Reflect/RacahRecurrence`). Signs are the open point of (B): overlaps of eigenvectors give `F²` unless the +vectors are fixed by the tree construction. +Next Lean step for (B): the shifted family `e ∘ (· + s)` is `IsTL`, the generalised partial trace identity, +and `A² = c A`. Next step for (A): naturality lemmas of `cup` and `cap` against `e_j`. + ## Decision No route in this note is a row-sized step. The two structural routes (F, E) are milestone-sized From ebef5527af8ff533ec3dcd3bc2ed1566180b8541 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:24:12 +0200 Subject: [PATCH 59/66] docs(G3-196): measured correction of the corner-algebra identity Co-Authored-By: Claude Opus 5.5 --- docs/notes/g3-196-route-f.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/notes/g3-196-route-f.md b/docs/notes/g3-196-route-f.md index 70009294..f1b487ef 100644 --- a/docs/notes/g3-196-route-f.md +++ b/docs/notes/g3-196-route-f.md @@ -115,6 +115,12 @@ idempotents are Lagrange polynomials in the single operator `A = Q e_{a-1} Q`, a fixed by the three-term recurrence that the library already proves for `qSixJ` in the third colour (`Reflect/RacahRecurrence`). Signs are the open point of (B): overlaps of eigenvectors give `F²` unless the vectors are fixed by the tree construction. +CORRECTION (MEASURED, numpy, 2^n-dimensional model, random complex `q`): the identity +`e_{a-1} p_a p_b e_{a-1} = c · e_{a-1} p_{a-1} p'_{b-1}` holds for `(a,b) ∈ {(1,1),(2,1),(1,2)}` (with `c = d_a/d_{a-1}` +for `b = 1`) and FAILS for `(2,2), (3,2), (2,3), (3,3)`; so `(Q e Q)² = c Q e Q` is false for blocks of size at +least two, as it must be since `Q·TL·Q` has dimension `min(a,b)+1` and `Q e Q` has that many eigenvalues. In (B) the +channel idempotents are Lagrange polynomials in `A = Q e_{a-1} Q` over its eigenvalues, which first have to be +computed (the partial trace identity only gives the top and bottom ones). Next Lean step for (B): the shifted family `e ∘ (· + s)` is `IsTL`, the generalised partial trace identity, and `A² = c A`. Next step for (A): naturality lemmas of `cup` and `cap` against `e_j`. From b4c30411fde28f0c6feb339ad0b1acbcc8935f86 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:28:54 +0200 Subject: [PATCH 60/66] feat(TL): naturality of cups and caps against the generators (F3c) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + Lightlike/TemperleyLieb/Natural.lean | 167 +++++++++++++++++++++++++++ 2 files changed, 168 insertions(+) create mode 100644 Lightlike/TemperleyLieb/Natural.lean diff --git a/Lightlike.lean b/Lightlike.lean index 2a815364..d51a3058 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1942,6 +1942,7 @@ import Lightlike.TemperleyLieb.JonesWenzl import Lightlike.TemperleyLieb.Model import Lightlike.TemperleyLieb.CupCap import Lightlike.TemperleyLieb.Jones +import Lightlike.TemperleyLieb.Natural import Lightlike.Dirac.ConnesDistance import Lightlike.Dirac.ConnesDistance2 import Lightlike.Dirac.ConnesDistance3 diff --git a/Lightlike/TemperleyLieb/Natural.lean b/Lightlike/TemperleyLieb/Natural.lean new file mode 100644 index 00000000..bea10f5c --- /dev/null +++ b/Lightlike/TemperleyLieb/Natural.lean @@ -0,0 +1,167 @@ +import Mathlib +import Lightlike.TemperleyLieb.CupCap + +/-! +# Naturality of cups and caps against the generators + +For the operators `capOp q m` and `cupOp q m` of `CupCap.lean`: the generators `e j` far from the junction slide +through (`cap_mul_e_far`, ...), and the three generators next to the junction are absorbed using the zigzag +relations (`cap_mul_e_pred`, `cap_mul_e_self`, `cap_mul_e_succ`, and the same for cups). +-/ + +namespace Lightlike.TemperleyLieb + +open Finsupp + +variable {k : Type*} [Field k] + +/-- `cap_m e_{m-1} = cap_{m-1}`. -/ +theorem cap_mul_e_pred (q : kˣ) (m : ℕ) : capOp q (m + 1) * modelE q m = capOp q m := by + rw [← cup_cap, ← mul_assoc, cap_succ_cup, one_mul] + +/-- `cap_m e_m = δ cap_m`. -/ +theorem cap_mul_e_self (q : kˣ) (m : ℕ) : + capOp q m * modelE q m = algebraMap k _ (-(q : k) - ((q⁻¹ : kˣ) : k)) * capOp q m := by + rw [← cup_cap, ← mul_assoc, cap_cup] + +/-- `cap_m e_{m+1} = cap_{m+1}`. -/ +theorem cap_mul_e_succ (q : kˣ) (m : ℕ) : capOp q m * modelE q (m + 1) = capOp q (m + 1) := by + rw [← cup_cap, ← mul_assoc, cap_cup_succ, one_mul] + +/-- `e_{m} cup_{m+1} = cup_m`. -/ +theorem e_mul_cup_pred (q : kˣ) (m : ℕ) : modelE q m * cupOp q (m + 1) = cupOp q m := by + rw [← cup_cap, mul_assoc, cap_cup_succ, mul_one] + +/-- `e_m cup_m = δ cup_m`. -/ +theorem e_mul_cup_self (q : kˣ) (m : ℕ) : + modelE q m * cupOp q m = cupOp q m * algebraMap k _ (-(q : k) - ((q⁻¹ : kˣ) : k)) := by + rw [← cup_cap, mul_assoc, cap_cup] + +/-- `e_{m+1} cup_m = cup_{m+1}`. -/ +theorem e_mul_cup_succ (q : kˣ) (m : ℕ) : modelE q (m + 1) * cupOp q m = cupOp q (m + 1) := by + rw [← cup_cap, mul_assoc, cap_succ_cup, mul_one] + +/-- Removing two bits commutes with setting bits further to the right (shifted by two). -/ +lemma removeTwo_set2_far (σ : ℕ → Bool) {m j : ℕ} (h : m + 2 ≤ j) (x y : Bool) : + removeTwo (set2 σ j x y) m = set2 (removeTwo σ m) (j - 2) x y := by + funext n + simp only [removeTwo, set2, Function.update_apply] + split_ifs <;> first | rfl | omega | (congr 1; omega) | simp_all <;> omega + +/-- Removing two bits commutes with setting bits further to the left. -/ +lemma removeTwo_set2_near (σ : ℕ → Bool) {m j : ℕ} (h : j + 2 ≤ m) (x y : Bool) : + removeTwo (set2 σ j x y) m = set2 (removeTwo σ m) j x y := by + funext n + simp only [removeTwo, set2, Function.update_apply] + split_ifs <;> first | rfl | omega | (congr 1; omega) | simp_all <;> omega + +/-- Bits to the right of the removed pair shift down by two. -/ +lemma removeTwo_apply_ge (σ : ℕ → Bool) {m n : ℕ} (h : m ≤ n) : removeTwo σ m n = σ (n + 2) := by + simp only [removeTwo]; split_ifs <;> first | rfl | omega + +/-- Bits to the left of the removed pair stay. -/ +lemma removeTwo_apply_lt (σ : ℕ → Bool) {m n : ℕ} (h : n < m) : removeTwo σ m n = σ n := by + simp only [removeTwo]; split_ifs <;> first | rfl | omega + +/-- `set2` leaves other positions alone. -/ +lemma set2_ne (σ : ℕ → Bool) {j n : ℕ} (h0 : n ≠ j) (h1 : n ≠ j + 1) (x y : Bool) : + set2 σ j x y n = σ n := by + simp [set2, Function.update_apply, h0, h1] + +/-- A generator to the right of the cap slides through, shifting by two. -/ +theorem cap_mul_e_far (q : kˣ) {m j : ℕ} (h : m ≤ j) : + capOp q m * modelE q (j + 2) = modelE q j * capOp q m := by + refine model_ext fun σ => ?_ + have b0 : removeTwo σ m j = σ (j + 2) := removeTwo_apply_ge σ h + have b1 : removeTwo σ m (j + 1) = σ (j + 3) := removeTwo_apply_ge σ (by omega) + have s0 : ∀ x y, set2 σ (j + 2) x y m = σ m := fun x y => set2_ne σ (by omega) (by omega) x y + have s1 : ∀ x y, set2 σ (j + 2) x y (m + 1) = σ (m + 1) := fun x y => + set2_ne σ (by omega) (by omega) x y + have r : ∀ x y, removeTwo (set2 σ (j + 2) x y) m = set2 (removeTwo σ m) j x y := fun x y => by + have := removeTwo_set2_far σ (m := m) (j := j + 2) (by omega) x y + simpa using this + rcases h2 : σ (j + 2) with _ | _ <;> rcases h3 : σ (j + 3) with _ | _ + all_goals + simp only [Module.End.mul_apply, modelE_single, one_smul, eBasis, h2, h3, b0, b1, map_sub, map_smul, + capOp_single, capBasis, s0, s1, r, map_zero, smul_zero, sub_zero, smul_sub, smul_smul] + try (simp only [Finsupp.smul_single, smul_eq_mul, mul_one, one_mul] + try (rw [mul_comm])) + +/-- Bits to the right of the inserted pair shift up by two. -/ +lemma insertTwo_apply_ge (σ : ℕ → Bool) (m : ℕ) (x y : Bool) {n : ℕ} (h : m ≤ n) : + insertTwo σ m x y (n + 2) = σ n := by + simp only [insertTwo]; split_ifs <;> first | rfl | omega | (congr 1) + +/-- Bits to the left of the inserted pair stay. -/ +lemma insertTwo_apply_lt (σ : ℕ → Bool) (m : ℕ) (x y : Bool) {n : ℕ} (h : n < m) : + insertTwo σ m x y n = σ n := by + simp only [insertTwo]; split_ifs <;> first | rfl | omega + +/-- Inserting a pair commutes with setting bits further to the right (shifted by two). -/ +lemma insertTwo_set2_far (σ : ℕ → Bool) {m j : ℕ} (h : m ≤ j) (a b x y : Bool) : + insertTwo (set2 σ j a b) m x y = set2 (insertTwo σ m x y) (j + 2) a b := by + funext n + simp only [insertTwo, set2, Function.update_apply] + split_ifs <;> first | rfl | omega | (congr 1; omega) | simp_all <;> omega + +/-- A generator to the right of the cup slides through, shifting by two. -/ +theorem e_mul_cup_far (q : kˣ) {m j : ℕ} (h : m ≤ j) : + modelE q (j + 2) * cupOp q m = cupOp q m * modelE q j := by + refine model_ext fun σ => ?_ + have b0 : ∀ x y, insertTwo σ m x y (j + 2) = σ j := fun x y => insertTwo_apply_ge σ m x y h + have b1 : ∀ x y, insertTwo σ m x y (j + 3) = σ (j + 1) := fun x y => + insertTwo_apply_ge σ m x y (n := j + 1) (by omega) + have r : ∀ a b x y, insertTwo (set2 σ j a b) m x y = set2 (insertTwo σ m x y) (j + 2) a b := + fun a b x y => insertTwo_set2_far σ h a b x y + rcases h2 : σ j with _ | _ <;> rcases h3 : σ (j + 1) with _ | _ + all_goals + simp only [Module.End.mul_apply, modelE_single, one_smul, eBasis, h2, h3, b0, b1, map_sub, map_smul, + cupOp_single, cupBasis, r, map_zero, smul_zero, sub_zero, smul_sub, smul_smul] + try (simp only [Finsupp.smul_single, smul_eq_mul, mul_one, one_mul]) + try (simp only [mul_comm]) + try abel + +/-- A generator to the left of the cap commutes with it. -/ +theorem cap_mul_e_near (q : kˣ) {m j : ℕ} (h : j + 2 ≤ m) : + capOp q m * modelE q j = modelE q j * capOp q m := by + refine model_ext fun σ => ?_ + have b0 : removeTwo σ m j = σ j := removeTwo_apply_lt σ (by omega) + have b1 : removeTwo σ m (j + 1) = σ (j + 1) := removeTwo_apply_lt σ (by omega) + have s0 : ∀ x y, set2 σ j x y m = σ m := fun x y => set2_ne σ (by omega) (by omega) x y + have s1 : ∀ x y, set2 σ j x y (m + 1) = σ (m + 1) := fun x y => + set2_ne σ (by omega) (by omega) x y + have r : ∀ x y, removeTwo (set2 σ j x y) m = set2 (removeTwo σ m) j x y := fun x y => + removeTwo_set2_near σ h x y + rcases h2 : σ j with _ | _ <;> rcases h3 : σ (j + 1) with _ | _ + all_goals + simp only [Module.End.mul_apply, modelE_single, one_smul, eBasis, h2, h3, b0, b1, map_sub, map_smul, + capOp_single, capBasis, s0, s1, r, map_zero, smul_zero, sub_zero, smul_sub, smul_smul] + try (simp only [Finsupp.smul_single, smul_eq_mul, mul_one, one_mul]) + try (simp only [mul_comm]) + try abel + +/-- Inserting a pair commutes with setting bits further to the left. -/ +lemma insertTwo_set2_near (σ : ℕ → Bool) {m j : ℕ} (h : j + 2 ≤ m) (a b x y : Bool) : + insertTwo (set2 σ j a b) m x y = set2 (insertTwo σ m x y) j a b := by + funext n + simp only [insertTwo, set2, Function.update_apply] + split_ifs <;> first | rfl | omega | (congr 1; omega) | simp_all <;> omega + +/-- A generator to the left of the cup commutes with it. -/ +theorem e_mul_cup_near (q : kˣ) {m j : ℕ} (h : j + 2 ≤ m) : + modelE q j * cupOp q m = cupOp q m * modelE q j := by + refine model_ext fun σ => ?_ + have b0 : ∀ x y, insertTwo σ m x y j = σ j := fun x y => insertTwo_apply_lt σ m x y (by omega) + have b1 : ∀ x y, insertTwo σ m x y (j + 1) = σ (j + 1) := fun x y => + insertTwo_apply_lt σ m x y (by omega) + have r : ∀ a b x y, insertTwo (set2 σ j a b) m x y = set2 (insertTwo σ m x y) j a b := + fun a b x y => insertTwo_set2_near σ h a b x y + rcases h2 : σ j with _ | _ <;> rcases h3 : σ (j + 1) with _ | _ + all_goals + simp only [Module.End.mul_apply, modelE_single, one_smul, eBasis, h2, h3, b0, b1, map_sub, map_smul, + cupOp_single, cupBasis, r, map_zero, smul_zero, sub_zero, smul_sub, smul_smul] + try (simp only [Finsupp.smul_single, smul_eq_mul, mul_one, one_mul]) + try (simp only [mul_comm]) + try abel + +end Lightlike.TemperleyLieb From e69a59759096808dc0cfdb532ec8807a25e054ac Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:32:20 +0200 Subject: [PATCH 61/66] feat(TL): reduction of closed diagrams, cap z cup stays in the Temperley-Lieb subalgebra (F3d) Co-Authored-By: Claude Opus 5.5 --- Lightlike/TemperleyLieb/Reduction.lean | 124 +++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 Lightlike/TemperleyLieb/Reduction.lean diff --git a/Lightlike/TemperleyLieb/Reduction.lean b/Lightlike/TemperleyLieb/Reduction.lean new file mode 100644 index 00000000..4448ce52 --- /dev/null +++ b/Lightlike/TemperleyLieb/Reduction.lean @@ -0,0 +1,124 @@ +import Mathlib +import Lightlike.TemperleyLieb.Natural +import Lightlike.TemperleyLieb.Jones + +/-! +# Closing up a diagram: `cap z cup` stays in the Temperley–Lieb subalgebra + +Let `C n = tlSub (modelE q) n` be the subalgebra generated by `e_0, …, e_{n-1}` in `End(ModelSpace)`. +* `cap_cup_mem`: for `m, m' ≤ n`, `cap_m cup_{m'} ∈ C (n-1)` (it is `δ`, `1`, or a product of `e`'s); +* `cap_mem_cup`: for `z ∈ C (n+1)` and `m, m' ≤ n`, `cap_m z cup_{m'} ∈ C (n-1)`. + +The second statement is the reduction of closed diagrams used for the vertex–vertex products: it is proved by +induction on the words of `z`, pulling one generator at a time through `cap` by `e_j = cup_j cap_j`. +-/ + +namespace Lightlike.TemperleyLieb + +open Finsupp + +variable {k : Type*} [Field k] + +/-- The Temperley–Lieb subalgebra of the model generated by `e_0, …, e_{n-1}`. -/ +noncomputable abbrev CSub (q : kˣ) (n : ℕ) : Subalgebra k (Module.End k (ModelSpace k)) := + tlSub (k := k) (modelE q) n + +/-- `cup_b cap_a ∈ C (b+1)` for `a ≤ b`. -/ +lemma cup_cap_mem_of_le (q : kˣ) {a b : ℕ} (h : a ≤ b) : + cupOp q b * capOp q a ∈ CSub q (b + 1) := by + induction b, h using Nat.le_induction with + | base => rw [cup_cap]; exact e_mem_tlSub (Nat.lt_succ_self _) + | succ b hab ih => + have : cupOp q (b + 1) * capOp q a = modelE q (b + 1) * (cupOp q b * capOp q a) := by + rw [← mul_assoc, e_mul_cup_succ] + rw [this] + exact Subalgebra.mul_mem _ (e_mem_tlSub (Nat.lt_succ_self _)) + (tlSub_mono (Nat.le_succ _) ih) + +/-- `cap_m cup_{m+2+t} ∈ C (m+1+t)`. -/ +lemma cap_cup_far_right (q : kˣ) (m t : ℕ) : capOp q m * cupOp q (m + 2 + t) ∈ CSub q (m + 1 + t) := by + induction t with + | zero => + have : capOp q m * cupOp q (m + 2 + 0) = modelE q m := by + have h1 : cupOp q (m + 2 + 0) = modelE q (m + 2) * cupOp q (m + 1) := (e_mul_cup_succ q (m + 1)).symm + rw [h1, ← mul_assoc, cap_mul_e_far q (le_refl m), mul_assoc, cap_cup_succ, mul_one] + rw [this]; exact e_mem_tlSub (by omega) + | succ t ih => + have h1 : cupOp q (m + 2 + (t + 1)) = modelE q (m + 2 + t + 1) * cupOp q (m + 2 + t) := + (e_mul_cup_succ q (m + 2 + t)).symm + have h2 : capOp q m * modelE q (m + t + 1 + 2) = modelE q (m + t + 1) * capOp q m := + cap_mul_e_far q (by omega) + have : capOp q m * cupOp q (m + 2 + (t + 1)) = modelE q (m + t + 1) * (capOp q m * cupOp q (m + 2 + t)) := by + rw [h1, ← mul_assoc, show m + 2 + t + 1 = m + t + 1 + 2 by ring, h2, mul_assoc] + rw [this] + exact Subalgebra.mul_mem _ (e_mem_tlSub (by omega)) (tlSub_mono (by omega) ih) + +/-- `cap_{m+2+t} cup_m ∈ C (m+1+t)`. -/ +lemma cap_cup_far_left (q : kˣ) (m t : ℕ) : capOp q (m + 2 + t) * cupOp q m ∈ CSub q (m + 1 + t) := by + induction t with + | zero => + have h1 : capOp q (m + 2 + 0) = capOp q (m + 1) * modelE q (m + 2) := (cap_mul_e_succ q (m + 1)).symm + have h2 : modelE q (m + 2) * cupOp q m = cupOp q m * modelE q m := e_mul_cup_far q (le_refl m) + have : capOp q (m + 2 + 0) * cupOp q m = modelE q m := by + rw [h1, mul_assoc, h2, ← mul_assoc, cap_succ_cup, one_mul] + rw [this]; exact e_mem_tlSub (by omega) + | succ t ih => + have h1 : capOp q (m + 2 + (t + 1)) = capOp q (m + 2 + t) * modelE q (m + 2 + t + 1) := + (cap_mul_e_succ q (m + 2 + t)).symm + have h2 : modelE q (m + t + 1 + 2) * cupOp q m = cupOp q m * modelE q (m + t + 1) := + e_mul_cup_far q (by omega) + have : capOp q (m + 2 + (t + 1)) * cupOp q m = (capOp q (m + 2 + t) * cupOp q m) * modelE q (m + t + 1) := by + rw [h1, mul_assoc, show m + 2 + t + 1 = m + t + 1 + 2 by ring, h2, ← mul_assoc] + rw [this] + exact Subalgebra.mul_mem _ (tlSub_mono (by omega) ih) (e_mem_tlSub (by omega)) + +/-- `cap_m cup_{m'} ∈ C (n-1)` for `m, m' ≤ n`. -/ +lemma cap_cup_mem (q : kˣ) {n m m' : ℕ} (hm : m ≤ n) (hm' : m' ≤ n) : + capOp q m * cupOp q m' ∈ CSub q (n - 1) := by + rcases lt_trichotomy m m' with h | h | h + · by_cases h1 : m + 2 ≤ m' + · obtain ⟨t, rfl⟩ := Nat.exists_eq_add_of_le h1 + exact tlSub_mono (by omega) (cap_cup_far_right q m t) + · have : m' = m + 1 := by omega + subst this + rw [cap_cup_succ]; exact Subalgebra.one_mem _ + · subst h + rw [cap_cup]; exact Subalgebra.algebraMap_mem _ _ + · by_cases h1 : m' + 2 ≤ m + · obtain ⟨t, rfl⟩ := Nat.exists_eq_add_of_le h1 + exact tlSub_mono (by omega) (cap_cup_far_left q m' t) + · have : m = m' + 1 := by omega + subst this + rw [cap_succ_cup]; exact Subalgebra.one_mem _ + +/-- **Reduction of closed diagrams.** For `z ∈ C (n+1)` and `m, m' ≤ n`, `cap_m z cup_{m'} ∈ C (n-1)`. -/ +theorem cap_mul_cup_mem (q : kˣ) {n : ℕ} {z : Module.End k (ModelSpace k)} (hz : z ∈ CSub q (n + 1)) : + ∀ m m', m ≤ n → m' ≤ n → capOp q m * z * cupOp q m' ∈ CSub q (n - 1) := by + unfold CSub tlSub at hz + have hz' : z ∈ Submodule.span k (Submonoid.closure {x | ∃ j < n + 1, x = modelE q j}) := by + rw [← Algebra.adjoin_eq_span]; exact hz + clear hz + induction hz' using Submodule.span_induction with + | mem x hx => + induction hx using Submonoid.closure_induction_left with + | one => intro m m' hm hm'; simpa using cap_cup_mem q hm hm' + | mul_left j hj y _ ih => + obtain ⟨j', hj', rfl⟩ := hj + intro m m' hm hm' + have hjn : j' ≤ n := by omega + have : capOp q m * (modelE q j' * y) * cupOp q m' = + (capOp q m * cupOp q j') * (capOp q j' * y * cupOp q m') := by + rw [← cup_cap]; simp only [mul_assoc] + rw [this] + exact Subalgebra.mul_mem _ (cap_cup_mem q hm hjn) (ih j' m' hjn hm') + | zero => intro m m' _ _; simp + | add x y _ _ hx hy => + intro m m' hm hm' + rw [mul_add, add_mul] + exact Subalgebra.add_mem _ (hx m m' hm hm') (hy m m' hm hm') + | smul r x _ hx => + intro m m' hm hm' + rw [mul_smul_comm, smul_mul_assoc] + exact Subalgebra.smul_mem _ (hx m m' hm hm') r + +end Lightlike.TemperleyLieb From 7e4e10a6e70441bf2891f5c68e70d4bd83a72c60 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:38:44 +0200 Subject: [PATCH 62/66] feat(TL): the norm of the trivalent vertex (Schur lemma in the model), shifted projectors, nested junction sandwich (F3e) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 2 + Lightlike/TemperleyLieb/Reduction.lean | 30 +++++++++ Lightlike/TemperleyLieb/Vertex.lean | 86 ++++++++++++++++++++++++++ 3 files changed, 118 insertions(+) create mode 100644 Lightlike/TemperleyLieb/Vertex.lean diff --git a/Lightlike.lean b/Lightlike.lean index d51a3058..482f5be5 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1943,6 +1943,8 @@ import Lightlike.TemperleyLieb.Model import Lightlike.TemperleyLieb.CupCap import Lightlike.TemperleyLieb.Jones import Lightlike.TemperleyLieb.Natural +import Lightlike.TemperleyLieb.Reduction +import Lightlike.TemperleyLieb.Vertex import Lightlike.Dirac.ConnesDistance import Lightlike.Dirac.ConnesDistance2 import Lightlike.Dirac.ConnesDistance3 diff --git a/Lightlike/TemperleyLieb/Reduction.lean b/Lightlike/TemperleyLieb/Reduction.lean index 4448ce52..a63c5e06 100644 --- a/Lightlike/TemperleyLieb/Reduction.lean +++ b/Lightlike/TemperleyLieb/Reduction.lean @@ -121,4 +121,34 @@ theorem cap_mul_cup_mem (q : kˣ) {n : ℕ} {z : Module.End k (ModelSpace k)} (h rw [mul_smul_comm, smul_mul_assoc] exact Subalgebra.smul_mem _ (hx m m' hm hm') r +/-- `i` nested cups at the junction `l`: `cup_{l+i-1} ⋯ cup_{l+1} cup_l`. -/ +noncomputable def nestCup (q : kˣ) (l : ℕ) : ℕ → Module.End k (ModelSpace k) + | 0 => 1 + | i + 1 => cupOp q (l + i) * nestCup q l i + +/-- `i` nested caps at the junction `l`: `cap_l cap_{l+1} ⋯ cap_{l+i-1}` (the dual of `nestCup`). -/ +noncomputable def nestCap (q : kˣ) (l : ℕ) : ℕ → Module.End k (ModelSpace k) + | 0 => 1 + | i + 1 => nestCap q l i * capOp q (l + i) + +/-- **Sandwich of the nested junction.** For `Q ∈ C N` and `l + 2 i ≤ N + 1`, the nested caps and cups reduce +`Q` to `C (N - 2 i)` (natural subtraction): `nestCap l i · Q · nestCup l i ∈ C (N - 2i)`. -/ +theorem nestCap_mul_nestCup_mem (q : kˣ) (l : ℕ) : + ∀ (i N : ℕ) {Q : Module.End k (ModelSpace k)}, Q ∈ CSub q N → l + 2 * i ≤ N + 1 → + nestCap q l i * Q * nestCup q l i ∈ CSub q (N - 2 * i) := by + intro i + induction i with + | zero => intro N Q hQ _; simpa [nestCap, nestCup] using hQ + | succ i ih => + intro N Q hQ hl + have h1 : nestCap q l (i + 1) * Q * nestCup q l (i + 1) = + nestCap q l i * (capOp q (l + i) * Q * cupOp q (l + i)) * nestCup q l i := by + simp only [nestCap, nestCup, mul_assoc] + rw [h1] + obtain ⟨n, rfl⟩ : ∃ n, N = n + 1 := ⟨N - 1, by omega⟩ + have h2 := cap_mul_cup_mem q (n := n) hQ (l + i) (l + i) (by omega) (by omega) + have h3 := ih (n - 1) h2 (by omega) + have h4 : n - 1 - 2 * i = n + 1 - 2 * (i + 1) := by omega + rwa [h4] at h3 + end Lightlike.TemperleyLieb diff --git a/Lightlike/TemperleyLieb/Vertex.lean b/Lightlike/TemperleyLieb/Vertex.lean new file mode 100644 index 00000000..615b0fd0 --- /dev/null +++ b/Lightlike/TemperleyLieb/Vertex.lean @@ -0,0 +1,86 @@ +import Mathlib +import Lightlike.TemperleyLieb.Reduction + +/-! +# The trivalent vertex and its norm (Schur's lemma for the model) + +Shifted Jones–Wenzl projectors `jwAt q s n` (on the strands `s, …, s+n-1`) and the sandwich +`V' V = p_c · nestCap · (p_a p_b') · nestCup · p_c` of the vertex `V(a,b;c)` with its dual (`i` arcs at the junction +`l = a - i`, `c = a + b - 2 i`). `vertex_norm` shows that `V' V` is a scalar multiple of `p_c`: the sandwich of +the closed-up diagram lies in `C (c-1)` (`nestCap_mul_nestCup_mem`), and `p_c` absorbs `C (c-1)`. +-/ + +namespace Lightlike.TemperleyLieb + +open Finsupp + +variable {k : Type*} [Field k] + +/-- The loop value of the model. -/ +noncomputable def loopVal (q : kˣ) : k := -(q : k) - ((q⁻¹ : kˣ) : k) + +/-- The Jones–Wenzl projector on the strands `s, …, s + n - 1` of the model. -/ +noncomputable def jwAt (q : kˣ) (s n : ℕ) : Module.End k (ModelSpace k) := + jw (loopVal q) (fun j => modelE q (j + s)) n + +/-- The shifted generators satisfy the Temperley–Lieb relations. -/ +theorem isTL_shift (q : kˣ) (s : ℕ) : IsTL (loopVal q) (fun j => (modelE q (j + s) : Module.End k (ModelSpace k))) where + sq i := (modelE_isTL q).sq (i + s) + braid_l i := by simpa [add_assoc, add_comm, add_left_comm] using (modelE_isTL q).braid_l (i + s) + braid_r i := by simpa [add_assoc, add_comm, add_left_comm] using (modelE_isTL q).braid_r (i + s) + comm i j h := (modelE_isTL q).comm (i + s) (j + s) (by omega) + +/-- The shifted projector lies in the subalgebra generated by the generators below `s + n - 1`. -/ +theorem jwAt_mem (q : kˣ) (s : ℕ) : ∀ n, jwAt q s n ∈ CSub q (s + n - 1) := by + intro n + induction n using Nat.strong_induction_on with + | _ n ih => + rcases n with _ | _ | n + · unfold jwAt; rw [jw_zero]; exact Subalgebra.one_mem _ + · unfold jwAt; rw [jw_one]; exact Subalgebra.one_mem _ + · have h1 : jwAt q s (n + 1) ∈ CSub q (s + (n + 1) - 1) := ih (n + 1) (by omega) + have h2 : jwAt q s (n + 2) = jwAt q s (n + 1) - + (chebD (loopVal q) n / chebD (loopVal q) (n + 1)) • + (jwAt q s (n + 1) * modelE q (n + s) * jwAt q s (n + 1)) := jw_succ_succ n + rw [h2] + have h3 : jwAt q s (n + 1) ∈ CSub q (s + (n + 2) - 1) := + tlSub_mono (m := s + (n + 1) - 1) (n := s + (n + 2) - 1) (by omega) h1 + have h4 : (chebD (loopVal q) n / chebD (loopVal q) (n + 1)) • + (jwAt q s (n + 1) * modelE q (n + s) * jwAt q s (n + 1)) ∈ CSub q (s + (n + 2) - 1) := + Subalgebra.smul_mem _ (Subalgebra.mul_mem _ + (Subalgebra.mul_mem _ h3 (e_mem_tlSub (e := modelE q) (j := n + s) (m := s + (n + 2) - 1) (by omega))) + h3) _ + have h5 := Subalgebra.add_mem _ h3 (Subalgebra.smul_mem (CSub q (s + (n + 2) - 1)) h4 (-1 : k)) + convert h5 using 1 + module + +/-- **The norm of the vertex** (Schur's lemma): for `i ≤ a, b`, `c = a + b - 2i` and `d_j ≠ 0` for `j < c`, +`p_c · (nestCap · p_a p_b' · nestCup) · p_c` is a scalar multiple of `p_c`. -/ +theorem vertex_norm (q : kˣ) (a b i : ℕ) (hia : i ≤ a) (hib : i ≤ b) + (hd : ∀ j, j < a + b - 2 * i → chebD (loopVal q) j ≠ 0) : + ∃ κ : k, jwAt q 0 (a + b - 2 * i) * + (nestCap q (a - i) i * (jwAt q 0 a * jwAt q a b) * nestCup q (a - i) i) * + jwAt q 0 (a + b - 2 * i) = κ • jwAt q 0 (a + b - 2 * i) := by + set c := a + b - 2 * i with hc + have hQ : jwAt q 0 a * jwAt q a b ∈ CSub q (a + b - 1) := by + have h1 : jwAt q 0 a ∈ CSub q (a + b - 1) := + tlSub_mono (m := 0 + a - 1) (n := a + b - 1) (by omega) (jwAt_mem q 0 a) + have h2 : jwAt q a b ∈ CSub q (a + b - 1) := by + have := jwAt_mem q a b + rwa [show a + b - 1 = a + b - 1 from rfl] at this + exact Subalgebra.mul_mem _ h1 h2 + have hZ := nestCap_mul_nestCup_mem q (a - i) i (a + b - 1) hQ (by omega) + have hprops := jwProps_of_le (isTL_shift q 0) c hd c le_rfl + have hjw : jwAt q 0 c = jw (loopVal q) (modelE q) c := rfl + have hZ' : a + b - 1 - 2 * i = c - 1 := by omega + rw [hZ'] at hZ + have hL : ∀ j < c - 1, modelE q j * jwAt q 0 c = 0 := fun j hj => by + rw [hjw]; exact hprops.killL j (by omega) + have hR : ∀ j < c - 1, jwAt q 0 c * modelE q j = 0 := fun j hj => by + rw [hjw]; exact hprops.killR j (by omega) + obtain ⟨κ, h1, -⟩ := absorb (k := k) (e := modelE q) (p := jwAt q 0 c) hL hR _ hZ + refine ⟨κ, ?_⟩ + have hidem : jwAt q 0 c * jwAt q 0 c = jwAt q 0 c := by rw [hjw]; exact hprops.idem + rw [h1, smul_mul_assoc, hidem] + +end Lightlike.TemperleyLieb From 0a436ba0cabdc7aa753dc39effee2384fcb2d1b0 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 23:16:58 +0200 Subject: [PATCH 63/66] docs(catalogue): compare the GE8 heat-kernel entries with Vassilevich eq. (4.27), (4.28) Co-Authored-By: Claude Opus 5.5 --- docs/results.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/results.yaml b/docs/results.yaml index c9f89e9a..b188b87d 100644 --- a/docs/results.yaml +++ b/docs/results.yaml @@ -3943,7 +3943,7 @@ refs: - {ref: vassilevich-2003, location: "eq. (4.27)", check: "6E"} review: kernel-checked - note: "Trust check of the milestone GE8 (unit 2-sphere); the coefficients are the explicit sphereCoeff, by Euler-Maclaurin. The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." + note: "Trust check of the milestone GE8 (unit 2-sphere); the coefficients are the explicit sphereCoeff, by Euler-Maclaurin. Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." since: unreleased - id: LL-0297 title: "The heat trace Σ_{k∈ℤⁿ} e^{-t|k|²} of the flat n-torus has the asymptotic expansion π^{n/2} t^{-n/2} with every other coefficient zero, in particular no t⁰ term" @@ -3956,7 +3956,7 @@ refs: - {ref: vassilevich-2003, location: "eq. (4.27)", check: "6E"} review: kernel-checked - note: "Trust check of the milestone GE8 (flat torus, theta function); the torus is written with the spectrum |k|² (side 2π), so the leading coefficient is π^{n/2} = V/(4π)^{n/2} with V = (2π)^n. The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." + note: "Trust check of the milestone GE8 (flat torus, theta function); the torus is written with the spectrum |k|² (side 2π), so the leading coefficient is π^{n/2} = V/(4π)^{n/2} with V = (2π)^n. Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." since: unreleased - id: LL-0298 title: "On the round 2-sphere and 3-sphere, any expansion of the heat trace has a₁ = (4π)^{-n/2} V R/6, with R the scalar curvature of the round metric computed by Lightlike's scalarCurvature (R = n(n-1))" @@ -3969,7 +3969,7 @@ refs: - {ref: vassilevich-2003, location: "eq. (4.27)", check: "6E"} review: kernel-checked - note: "The curvature of the stereographic round metric is scalarCurvature_stereo (StereoCurvature.lean); the uniqueness of the coefficients is HasHeatExpansionTo.coeff_unique (Unique.lean). The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." + note: "The curvature of the stereographic round metric is scalarCurvature_stereo (StereoCurvature.lean); the uniqueness of the coefficients is HasHeatExpansionTo.coeff_unique (Unique.lean). Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." since: unreleased - id: LL-0299 title: "The scalar curvature of the round unit n-sphere in stereographic coordinates is n(n-1)" @@ -3982,7 +3982,7 @@ refs: - {ref: vassilevich-2003, location: "eq. (4.27)", check: "6E"} review: kernel-checked - note: "Used to tie the a₁ coefficient of the sphere heat traces to Lightlike's scalar curvature. Convention: the sign of R is that of Lightlike.scalarCurvature (positive on spheres). The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." + note: "Used to tie the a₁ coefficient of the sphere heat traces to Lightlike's scalar curvature. Convention: the sign of R is that of Lightlike.scalarCurvature (positive on spheres). Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." since: unreleased - id: LL-0300 title: "Induced gravity from the heat kernel: for D = -Δ + ξR the coefficient a₁ is proportional to (1-6ξ), it vanishes for the conformal coupling in n = 4 and not in other dimensions, and the induced inverse Newton constant is (1-6ξ)/(12πε) with proper-time cutoff ε" @@ -3995,7 +3995,7 @@ refs: - {ref: vassilevich-2003, location: "eq. (4.27)", check: "6E"} review: kernel-checked - note: "Target OA3 (Sakharov 1967): the cutoff integrals of t^-3, t^-2, t^-1 are in CutoffIntegrals.lean. The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." + note: "Target OA3 (Sakharov 1967): the cutoff integrals of t^-3, t^-2, t^-1 are in CutoffIntegrals.lean. Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open." since: unreleased - id: LL-0301 title: "The linearized deficit angle at a vertex of a flat positively oriented star under a displacement field with a metric perturbation t is -t times the area of the star, independent of the gauge, covariant under scaling, and zero if and only if t = 0" From c6a8486bb4e2e743b102e5abf3563decbf399160 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 23:43:17 +0200 Subject: [PATCH 64/66] feat(SpinFoam): the tetrahedron-label sum of the EPRL weight at gamma=1 as a sign-twisted Ooguri sum with the explicit global sign (G2-024) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + .../EPRLStateSum/ComplexSignedOoguri.lean | 92 +++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 Lightlike/SpinFoam/EPRLStateSum/ComplexSignedOoguri.lean diff --git a/Lightlike.lean b/Lightlike.lean index af1135f4..915d4f78 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1895,6 +1895,7 @@ import Lightlike.SpinFoam.EPRLStateSum.ComplexSignParity import Lightlike.SpinFoam.EPRLStateSum.ComplexSignTet import Lightlike.SpinFoam.EPRLStateSum.ComplexSignPair import Lightlike.SpinFoam.EPRLStateSum.ComplexSignTypes +import Lightlike.SpinFoam.EPRLStateSum.ComplexSignedOoguri import Lightlike.SpinFoam.Move15 import Lightlike.SpinFoam.Move15Global import Lightlike.SpinFoam.BarrettCrane diff --git a/Lightlike/SpinFoam/EPRLStateSum/ComplexSignedOoguri.lean b/Lightlike/SpinFoam/EPRLStateSum/ComplexSignedOoguri.lean new file mode 100644 index 00000000..fb8e1837 --- /dev/null +++ b/Lightlike/SpinFoam/EPRLStateSum/ComplexSignedOoguri.lean @@ -0,0 +1,92 @@ +import Lightlike.SpinFoam.EPRLStateSum.ComplexSignTypes +import Lightlike.SpinFoam.EPRLStateSum.ComplexOoguriShape + +/-! +# The EPRL (γ = 1) tetrahedron-label sum as a sign-twisted Ooguri sum, with the sign explicit + +`complex_tetSum_labels_ooguri` writes the tetrahedron-label sum of the glued EPRL vertex weights as a +sum over virtual spins `L` of `Π_t [triangle constraints] · (Π_s recoupSign) · Π_s simpW (extL K col L) s`. +The triangle constraints contain the parity conditions, so on their support every tetrahedron is +admissible (`TetAdm`), and `prod_recoupSign_eq_tri_mul_types` replaces `Π_s recoupSign` by the explicit +sign `eprlGlobalSign` (a triangle part and a product over tetrahedra of the position sign types). +This is the sign-twisted form of the equality of the EPRL (γ = 1) amplitude with the Ooguri model. +-/ + +open Finset Lightlike.FourD Lightlike.SpinFoam + +namespace Lightlike.SpinFoam.EPRLStateSum + +variable {V : Type*} [LinearOrder V] + +/-- **The explicit global sign**: `(-1)^(Σ_s triPart) * Π_t (-1)^(εU_t e₁(t) + εV_t e₃(t))`. -/ +noncomputable def eprlGlobalSign (K : Complex4 V) (col : Finset V → ℕ) (L : K.tets → ℕ) + (e : K.tets × Bool ≃ K.simps × Fin 5) : ℝ := + (-1 : ℝ) ^ (∑ s : K.simps, triPart (complexJ K col s)) * + ∏ t : K.tets, (-1 : ℝ) ^ ((sgnU (e (t, false)).2 + sgnU (e (t, true)).2) * tetE1 K col L e t + + (sgnV (e (t, false)).2 + sgnV (e (t, true)).2) * tetE3 K col L e t) + +/-- The triangle constraints of a tetrahedron (with parity) give its admissibility. -/ +theorem tetAdm_of_tri (K : Complex4 V) (col : Finset V → ℕ) (L : K.tets → ℕ) + (e : K.tets × Bool ≃ K.simps × Fin 5) (t : K.tets) + (h : Lightlike.Pentagon.Tri + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 0)) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 2)) + (L t) ∧ + Lightlike.Pentagon.Tri (L t) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 1)) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 3))) : + TetAdm K col L e t := by + obtain ⟨⟨h1, -⟩, ⟨h2, -⟩⟩ := h + refine ⟨Nat.even_iff.2 h1, Nat.even_iff.2 ?_⟩ + omega + +/-- **The tetrahedron-label sum of the EPRL weight at `γ = 1` with the explicit sign**: the sign +`Π_s recoupSign` of `complex_tetSum_labels_ooguri` is replaced by `eprlGlobalSign`. The right-hand side +is the Ooguri vertex factor of the coloured complex `(col, L)` times an explicit sign. -/ +theorem complex_tetSum_labels_ooguri_explicit (K : Complex4 V) (col : Finset V → ℕ) + (e : K.tets × Bool ≃ K.simps × Fin 5) (he : ∀ t b, incTet K (e (t, b)) = t) : + ∑ i ∈ Fintype.piFinset (fun t : K.tets => + range (complexJ K col (e (t, false)).1 (e (t, false)).2 + ((e (t, false)).2.succAbove 0) + + complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 1) + 1)), + tetSumTerm K col i = + ∑ L ∈ Fintype.piFinset (fun t : K.tets => + simpBox (complexJ K col (e (t, false)).1) (e (t, false)).2 ∩ + simpBox (complexJ K col (e (t, true)).1) (e (t, true)).2), + (∏ t : K.tets, if + Lightlike.Pentagon.Tri + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 0)) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 2)) + (L t) ∧ + Lightlike.Pentagon.Tri (L t) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 1)) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 3)) + then (1 : ℝ) else 0) * + (eprlGlobalSign K col L e * ∏ s : K.simps, simpW (extL K col L) s.1) := by + rw [complex_tetSum_labels_ooguri K col e he] + refine Finset.sum_congr rfl fun L _ => ?_ + by_cases hall : ∀ t : K.tets, + Lightlike.Pentagon.Tri + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 0)) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 2)) + (L t) ∧ + Lightlike.Pentagon.Tri (L t) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 1)) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 3)) + · congr 2 + exact prod_recoupSign_eq_tri_mul_types K col L e he fun t => tetAdm_of_tri K col L e t (hall t) + · push_neg at hall + obtain ⟨t, ht⟩ := hall + have : (∏ t : K.tets, if + Lightlike.Pentagon.Tri + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 0)) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 2)) + (L t) ∧ + Lightlike.Pentagon.Tri (L t) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 1)) + (complexJ K col (e (t, false)).1 (e (t, false)).2 ((e (t, false)).2.succAbove 3)) + then (1 : ℝ) else 0) = 0 := + Finset.prod_eq_zero (Finset.mem_univ t) (if_neg (by tauto)) + rw [this, zero_mul, zero_mul] + +end Lightlike.SpinFoam.EPRLStateSum From 0fad7fc01e88364744d586d724a2c36b368539d0 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Tue, 24 Nov 2026 23:49:35 +0200 Subject: [PATCH 65/66] feat(SpinFoam): the intrinsic EPRL amplitude at gamma=1 on a closed complex as a sign-twisted Ooguri sum (G2-024, L9 for the intrinsic vertex) Co-Authored-By: Claude Opus 5.5 --- Lightlike.lean | 1 + .../EPRLStateSum/ComplexIntrinsicAmp.lean | 82 +++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 Lightlike/SpinFoam/EPRLStateSum/ComplexIntrinsicAmp.lean diff --git a/Lightlike.lean b/Lightlike.lean index 915d4f78..30950fa9 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1896,6 +1896,7 @@ import Lightlike.SpinFoam.EPRLStateSum.ComplexSignTet import Lightlike.SpinFoam.EPRLStateSum.ComplexSignPair import Lightlike.SpinFoam.EPRLStateSum.ComplexSignTypes import Lightlike.SpinFoam.EPRLStateSum.ComplexSignedOoguri +import Lightlike.SpinFoam.EPRLStateSum.ComplexIntrinsicAmp import Lightlike.SpinFoam.Move15 import Lightlike.SpinFoam.Move15Global import Lightlike.SpinFoam.BarrettCrane diff --git a/Lightlike/SpinFoam/EPRLStateSum/ComplexIntrinsicAmp.lean b/Lightlike/SpinFoam/EPRLStateSum/ComplexIntrinsicAmp.lean new file mode 100644 index 00000000..cc89b038 --- /dev/null +++ b/Lightlike/SpinFoam/EPRLStateSum/ComplexIntrinsicAmp.lean @@ -0,0 +1,82 @@ +import Lightlike.SpinFoam.EPRLStateSum.ComplexSignedOoguri + +/-! +# The intrinsic EPRL amplitude at `γ = 1` as a sign-twisted Ooguri sum + +For a closed 4-complex `K` with an incidence bijection `e`, the intrinsic EPRL amplitude (the sum over the triangle +colourings of `Π_f (col f + 1)` times the tetrahedron-label sum of the products of the intrinsic vertex sums +`tetSumTerm`) equals the sum over the triangle colourings and the virtual spins `L` of the tetrahedra of the Ooguri +weight of the coloured complex `(col, L)`, times the triangle constraints and the explicit global sign +`eprlGlobalSign` (`complex_tetSum_labels_ooguri_explicit`). The sign is not shown to be trivial: this is the +sign-twisted form of the equality of the EPRL (`γ = 1`) amplitude with the Ooguri model. +-/ + +open Finset Lightlike.FourD Lightlike.SpinFoam + +namespace Lightlike.SpinFoam.EPRLStateSum + +variable {V : Type*} [LinearOrder V] + +/-- **The intrinsic EPRL amplitude at `γ = 1`** on a complex with an incidence bijection `e`: the sum over the +triangle colourings (colour `≤ cut f`) of `Π_f (col f + 1)` times the sum over the tetrahedron labels in their +boxes of `tetSumTerm`. -/ +noncomputable def eprlIntrinsicAmp (K : Complex4 V) (cut : Finset V → ℕ) + (e : K.tets × Bool ≃ K.simps × Fin 5) : ℝ := + ∑ c ∈ K.tris.pi (fun f => range (cut f + 1)), + (∏ f ∈ K.tris, ((Lightlike.PR.extS K.tris c f : ℝ) + 1)) * + ∑ i ∈ Fintype.piFinset (fun t : K.tets => + range (complexJ K (Lightlike.PR.extS K.tris c) (e (t, false)).1 (e (t, false)).2 + ((e (t, false)).2.succAbove 0) + + complexJ K (Lightlike.PR.extS K.tris c) (e (t, false)).1 (e (t, false)).2 + ((e (t, false)).2.succAbove 1) + 1)), + tetSumTerm K (Lightlike.PR.extS K.tris c) i + +/-- A triangle of the complex is not a tetrahedron, so `extL` keeps its colour. -/ +lemma extL_of_mem_tris (K : Complex4 V) (col : Finset V → ℕ) (L : K.tets → ℕ) {f : Finset V} (hf : f ∈ K.tris) : + extL K col L f = col f := by + have h3 := Complex4.card_of_mem_faces hf + have hn : f ∉ K.tets := fun h => by + have h4 := Complex4.card_of_mem_faces h + omega + simp [extL, hn] + +/-- **The intrinsic EPRL amplitude at `γ = 1` is a sign-twisted Ooguri sum**: the sum over the triangle colourings +`col` and the virtual spins `L` of the tetrahedra (in the boxes of the incidence) of the triangle constraints times +the explicit global sign `eprlGlobalSign` times the Ooguri weight of the coloured complex `(col, L)`. -/ +theorem eprlIntrinsicAmp_eq_signed_ooguri (K : Complex4 V) (cut : Finset V → ℕ) + (e : K.tets × Bool ≃ K.simps × Fin 5) (he : ∀ t b, incTet K (e (t, b)) = t) : + eprlIntrinsicAmp K cut e = + ∑ c ∈ K.tris.pi (fun f => range (cut f + 1)), + ∑ L ∈ Fintype.piFinset (fun t : K.tets => + simpBox (complexJ K (Lightlike.PR.extS K.tris c) (e (t, false)).1) (e (t, false)).2 ∩ + simpBox (complexJ K (Lightlike.PR.extS K.tris c) (e (t, true)).1) (e (t, true)).2), + (∏ t : K.tets, if + Lightlike.Pentagon.Tri + (complexJ K (Lightlike.PR.extS K.tris c) (e (t, false)).1 (e (t, false)).2 + ((e (t, false)).2.succAbove 0)) + (complexJ K (Lightlike.PR.extS K.tris c) (e (t, false)).1 (e (t, false)).2 + ((e (t, false)).2.succAbove 2)) + (L t) ∧ + Lightlike.Pentagon.Tri (L t) + (complexJ K (Lightlike.PR.extS K.tris c) (e (t, false)).1 (e (t, false)).2 + ((e (t, false)).2.succAbove 1)) + (complexJ K (Lightlike.PR.extS K.tris c) (e (t, false)).1 (e (t, false)).2 + ((e (t, false)).2.succAbove 3)) + then (1 : ℝ) else 0) * + (eprlGlobalSign K (Lightlike.PR.extS K.tris c) L e * + Lightlike.SpinFoam.weight K (extL K (Lightlike.PR.extS K.tris c) L)) := by + unfold eprlIntrinsicAmp + refine Finset.sum_congr rfl fun c _ => ?_ + rw [complex_tetSum_labels_ooguri_explicit K (Lightlike.PR.extS K.tris c) e he, Finset.mul_sum] + refine Finset.sum_congr rfl fun L _ => ?_ + have hw : Lightlike.SpinFoam.weight K (extL K (Lightlike.PR.extS K.tris c) L) = + (∏ f ∈ K.tris, ((Lightlike.PR.extS K.tris c f : ℝ) + 1)) * + ∏ s : K.simps, simpW (extL K (Lightlike.PR.extS K.tris c) L) s.1 := by + unfold Lightlike.SpinFoam.weight + rw [Finset.prod_coe_sort K.simps (fun s => simpW (extL K (Lightlike.PR.extS K.tris c) L) s)] + congr 1 + exact Finset.prod_congr rfl fun f hf => by rw [extL_of_mem_tris K _ L hf] + rw [hw] + ring + +end Lightlike.SpinFoam.EPRLStateSum From 9a6228a2134b50c89f256d510517013ff1e75099 Mon Sep 17 00:00:00 2001 From: Rolandas <108592887+RolandasTMNS@users.noreply.github.com> Date: Wed, 25 Nov 2026 03:28:10 +0200 Subject: [PATCH 66/66] chore(generated): regenerate the catalog and the task board One commit for the batch: docs/RESULTS.md, the task board, the generated counts and the proof-task headers, from the sources as merged. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- docs/RESULTS.md | 24 ++++++++++++++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4a7b0156..c8d3b962 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ An open Lean 4 library of the mathematics of fundamental physics, mainly quantum So far it covers spin-foam and state-sum quantum gravity with the topology, representation theory and asymptotics it rests on, the geometry of general relativity, and operator theory for quantum systems, with first results in other approaches. Most of the code is written by AI coding agents under human direction. -The [catalog](docs/RESULTS.md) has 380 entries, each citing the source of its statement: 375 proven +The [catalog](docs/RESULTS.md) has 386 entries, each citing the source of its statement: 381 proven results, 4 conditional results (proven under hypotheses that are named Lean propositions) and 1 stated target (the statement is defined in Lean, the proof is open). Lean's kernel has checked every proof. Statements are reviewed against their sources, since the kernel cannot check that a statement diff --git a/docs/RESULTS.md b/docs/RESULTS.md index 6e38e21c..85ec7433 100644 --- a/docs/RESULTS.md +++ b/docs/RESULTS.md @@ -2,7 +2,7 @@ # Results -375 proven results with stable IDs, 4 conditional results (proven under hypotheses that are named Lean propositions) and 1 [stated target](#stated-targets) (the statement is defined in Lean, the proof is open). An ID is never reused; a withdrawn result is kept as `retired`. Every declaration of the library, and so every proven result, depends only on the axioms `propext`, `Classical.choice` and `Quot.sound`. +381 proven results with stable IDs, 4 conditional results (proven under hypotheses that are named Lean propositions) and 1 [stated target](#stated-targets) (the statement is defined in Lean, the proof is open). An ID is never reused; a withdrawn result is kept as `retired`. Every declaration of the library, and so every proven result, depends only on the axioms `propext`, `Classical.choice` and `Quot.sound`. Tier: **established** (standard mathematics and physics that the frontier work needs; candidates for Mathlib or Physlib later); **frontier** (proposals published in the peer-reviewed literature, labelled as proposals); **exploratory** (new or unpublished models and conjectures, kept in `Exploratory/` folders that nothing else imports; promoted to frontier only after publication). Every result is about the mathematics of a model, not a claim that the model describes nature. @@ -215,6 +215,8 @@ API map: [Lightlike/GR/API-map.md](../Lightlike/GR/API-map.md) | LL-0362 | Lichnerowicz in a frame: for a frame connection with antisymmetric connection form and a curvature with the Riemann symmetries, D² f = −Σ ∇²f(eᵢ, eᵢ) + (s/4) f, given the Ricci identity for the frame Hessian (see note) | proven | established | `Lightlike.Dirac.lichnerowicz_frame` in [LichnerowiczFormula.lean](../Lightlike/Dirac/LichnerowiczFormula.lean) | | LL-0363 | On the unit 2-sphere the curvature term of the Lichnerowicz formula is s/4 and not s/2 (see note) | proven | established | `Lightlike.Dirac.curvatureTerm_sphere`, `Lightlike.Dirac.sphere_half_formula_fails` in [LichnerowiczTests.lean](../Lightlike/Dirac/LichnerowiczTests.lean) | | LL-0380 | For every k and sign epsilon the eigenvalue epsilon (k+1) of the Dirac operator of the unit 2-sphere in the stereographic chart has an injective linear image of k+1 copies of the spinor module among its eigenspinors (see note) | proven | established | `Lightlike.Dirac.sphere_dirac_lower_bound`, `Lightlike.Dirac.modeMap_injective`, `Lightlike.Dirac.modeMap_eigen`, `Lightlike.Dirac.sphere_eigen_mode`, `Lightlike.Dirac.angG_flat_eigen`, `Lightlike.Dirac.dirac_angular` in [EigenAngular.lean](../Lightlike/Dirac/EigenAngular.lean) | +| LL-0382 | Within the angular polynomial class, a flat eigenspinor of the Dirac operator of the unit 2-sphere in the stereographic chart that is reduced and satisfies the decay condition has eigenvalue plus or minus s and the radial profile of the family of the lower bound (see note) | proven | established | `Lightlike.Dirac.angular_class_complete`, `Lightlike.Dirac.angG_flat_converse`, `Lightlike.Dirac.mode_complete`, `Lightlike.Dirac.odeOp_unique` in [EigenAngular.lean](../Lightlike/Dirac/EigenAngular.lean) | +| LL-0383 | In the angular polynomial class, boundedness of the half-density spinor at the pole of the sphere forces the decay condition, so a reduced flat eigenspinor of the Dirac operator of the unit 2-sphere in the stereographic chart has eigenvalue plus or minus s and the radial profile of the lower bound (see note) | proven | established | `Lightlike.Dirac.angular_class_complete_bounded`, `Lightlike.Dirac.decay_of_bounded`, `Lightlike.Dirac.degree_le_of_bounded`, `Lightlike.Dirac.level_of_degree` in [EigenPole.lean](../Lightlike/Dirac/EigenPole.lean) | Notes: @@ -240,17 +242,19 @@ Notes: - **LL-0293.** Compared with Boldt, arXiv:1504.03121, Theorem 3.1, p. 6 (read; attributed there to Hitchin 1974, Sulanke 1979, Bär 1996): the Dirac eigenvalues of the round S^n are +-(n/2 + k), k >= 0, with multiplicity 2^[n/2] C(n+k-1, k); for n = 2 this is +-(k+1) with multiplicity 2(k+1). WEAKER: only that the displayed radial spinors satisfy the eigenvalue equation in the chart (eigenvalues epsilon (k+1) occur, as equations, on a chart without a regularity condition at the north pole), with no multiplicity, no completeness of the spectrum and no global L^2 statement; the nonvanishing of the spinor is proved for k = 0 and k = 1 only (killingSpinor_ne_zero, eigSpinorOne_ne_zero). - **LL-0294.** Compared with Martinetti, arXiv:1604.00499, Section 2, eqs. (2.10) and (2.11), p. 6 (read): for a complete Riemannian (spin) manifold, with D the signature operator or the Dirac operator, the spectral distance between pure states equals the geodesic distance; the norm of the commutator [D, f] is the Lipschitz norm of f (p. 6, citing Rieffel and [22]). Differences: REPRESENTATION, our D is the flat Dirac operator on R^n for an arbitrary skew Clifford representation on a nontrivial normed space (not L^2 spinors), the test functions are C^1 with sup norm of the gradient at most 1 (Lip1), and only the flat case is proved, with Leibniz rule D(f psi) = f D psi + cliff(grad f) psi; no general spin manifold. - **LL-0295.** Compared with Martinetti, arXiv:1604.00499, Section 2, eq. (2.10), p. 6 (read): the spectral distance between pure states is the geodesic distance on a complete Riemannian manifold, here the circle of length L. Differences: REPRESENTATION, the distance is the supremum over periodic C^1 functions of the circle with |f'| at most 1 (LipCirc), computed through the periodic lift to R and an explicit smooth approximant of the triangle wave (circFn); the Hilbert space and operator are not formalised for the circle, the commutator norm is replaced by the Lipschitz bound (bridge lip1_liftFn_iff to the flat case). -- **LL-0296.** Trust check of the milestone GE8 (unit 2-sphere); the coefficients are the explicit sphereCoeff, by Euler-Maclaurin. The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. -- **LL-0297.** Trust check of the milestone GE8 (flat torus, theta function); the torus is written with the spectrum |k|² (side 2π), so the leading coefficient is π^{n/2} = V/(4π)^{n/2} with V = (2π)^n. The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. -- **LL-0298.** The curvature of the stereographic round metric is scalarCurvature_stereo (StereoCurvature.lean); the uniqueness of the coefficients is HasHeatExpansionTo.coeff_unique (Unique.lean). The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. -- **LL-0299.** Used to tie the a₁ coefficient of the sphere heat traces to Lightlike's scalar curvature. Convention: the sign of R is that of Lightlike.scalarCurvature (positive on spheres). The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. -- **LL-0300.** Target OA3 (Sakharov 1967): the cutoff integrals of t^-3, t^-2, t^-1 are in CutoffIntegrals.lean. The comparison with Vassilevich (2003), eq. (4.27), is pending: the paper was not read at the cited location. This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. +- **LL-0296.** Trust check of the milestone GE8 (unit 2-sphere); the coefficients are the explicit sphereCoeff, by Euler-Maclaurin. Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. +- **LL-0297.** Trust check of the milestone GE8 (flat torus, theta function); the torus is written with the spectrum |k|² (side 2π), so the leading coefficient is π^{n/2} = V/(4π)^{n/2} with V = (2π)^n. Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. +- **LL-0298.** The curvature of the stereographic round metric is scalarCurvature_stereo (StereoCurvature.lean); the uniqueness of the coefficients is HasHeatExpansionTo.coeff_unique (Unique.lean). Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. +- **LL-0299.** Used to tie the a₁ coefficient of the sphere heat traces to Lightlike's scalar curvature. Convention: the sign of R is that of Lightlike.scalarCurvature (positive on spheres). Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. +- **LL-0300.** Target OA3 (Sakharov 1967): the cutoff integrals of t^-3, t^-2, t^-1 are in CutoffIntegrals.lean. Compared with Vassilevich (2003), arXiv:hep-th/0306138, eq. (4.27), p. 40 (read): a_2(f, D) = (4π)^{-n/2} 6^{-1} ∫ tr{f(6E + R)}, so for the scalar Laplacian (E = 0, f = 1) a_1 = (4π)^{-n/2} ∫R/6 in the Lightlike normalisation (the heat trace coefficient of t^{1-n/2}), with R positive on spheres as in the source; on the unit 2-sphere this is (4π)^{-1}·(2/6)·4π = 1/3, and eq. (4.28) gives the next coefficient (4π)^{-1} 360^{-1} ∫(5R² - 2R_ij R_ij + 2R_ijkl R_ijkl) = 24/360 = 1/15, the t/15 of the milestone (computed by hand from the source, not formalised). This is an example-level result: the general Seeley-DeWitt expansion on a compact Riemannian manifold is NOT proved (Mathlib has no Laplace-Beltrami operator, manifold heat kernel or elliptic theory), so GE8 stays open. - **LL-0328.** G3-073. Elvang-Huang (3.4)-(3.7): partial fractions from Liouville's theorem, then the recursion for the colour-ordered Feynman rules of the library (Gervais-Neveu gauge), for any shift with (3.2)-(3.3). The statement takes the large-z falloff (3.6), Â_n(z) → 0 at infinity (hypothesis hinf), as an input, as Elvang-Huang do (p. 36); they cite the falloff (3.11) for Yang-Mills from the literature without proof. It also takes the Ward identities of the lower-point amplitudes as hypotheses, which the next entry removes. The comparison with the source is pending in the registry (only eq. (3.4) is recorded as verified). - **LL-0329.** G3-073. P·J(a,…,b) = −(1/√2) Σ_c J(a,…,c) J(c+1,…,b) for null momenta and transverse polarizations (mdot_momRange_bgCurrent), by strong induction on the current recursion; at P² = 0 this is the on-shell Ward identity at the last gluon (ward_last), and the cyclic property (Elvang-Huang p. 25) gives it at every gluon (ward_all). The Gervais-Neveu form of the identity is not printed in the sources read (Dixon hep-ph/9601359 (57) is for Feynman gauge). bgAmplitude_eq_sum_channels' still takes the large-z falloff (3.6) as a hypothesis (hinf): the falloff is not proved. The comparison with the source is pending (Elvang-Huang p. 17 for the Ward identity is not a recorded verified location). - **LL-0361.** GE5 (G1-017). In flat ℝⁿ, for a C² map into any Clifford module (Q v = -‖v‖²), D(D f) = -Δ f: the flat case of D² = ∇*∇ + R/4 with R = 0. Supporting: clifford_double_sum (Dirac/SecondOrder.lean), pure Clifford algebra: Σ γᵢγⱼ aᵢⱼ = -Σ aᵢᵢ + ½ Σ γᵢγⱼ(aᵢⱼ - aⱼᵢ). Spin structures and the Dirac operator on a manifold are NOT in this entry. The comparison with the source is pending in the registry (the location cited is the only recorded verified one; the docstring of the Lean file claims no equation number). - **LL-0362.** GE5 (G1-017). In a frame with antisymmetric connection form ω, D²f = -Σᵢ ∇²f(eᵢ, eᵢ) + (s/4) f with s = Σ Rᵢⱼⱼᵢ, for a curvature with the Riemann symmetries. The Ricci identity (the antisymmetric part of the frame Hessian is the spinor curvature ¼ Σ Rᵢⱼₖₗ γₖγₗ acting on f) is a HYPOTHESIS here, not derived. Compare LL entry for lichnerowicz_general (torsion-free skew frame on ℝⁿ). Not covered: a spin manifold (spin structure, global Dirac operator) and the Lichnerowicz formula on it. The comparison with the source is pending in the registry (the location cited is the only recorded verified one; the docstring of the Lean file claims no equation number). - **LL-0363.** GE5 (G1-017), the trust checks of the milestone at the curvature term: on the unit 2-sphere (scalar curvature 2) the curvature term of the Clifford generators is (1/2)•1 = (s/4)•1, and the version with s/2 instead of s/4 is shown to fail. Only the S² curvature term is checked here; the Dirac spectrum on S² (±(k+1)) is in other files. The S² spectrum with multiplicities is NOT in this entry. The comparison with the source is pending in the registry (the location cited is the only recorded verified one; the docstring of the Lean file claims no equation number). - **LL-0380.** Compared with Boldt, arXiv:1504.03121, Theorem 3.1, p. 6 (read): the Dirac eigenvalues of the round S^n are +-(n/2 + k) with multiplicity 2^[n/2] C(n+k-1, k); for n = 2 this is +-(k+1) with multiplicity 2(k+1). Here, in the stereographic chart and for an arbitrary Clifford module V of Cl(R^2), the k+1 angular modes c1 = (1+|y|^2)^-(k+1) z^(n+1) G_n(|y|^2), c2 = (1+|y|^2)^-(k+1) z^n F_n(|y|^2) (n = 0..k, G_n a terminating hypergeometric polynomial of degree k-n) give eigenspinors h^(1/2) (Lv c1 + gamma_0 Lv c2) of eigenvalue epsilon (k+1), and the map (v_0..v_k) to the sum is linear and injective. For V = C^2 this is the lower bound 2(k+1) over C. WEAKER: a lower bound only; no completeness (no statement that there are no other eigenvalues or eigenspinors), no regularity condition at the north pole of the sphere and no L^2 or spinor-bundle statement; the chart carries no such notion in the library. +- **LL-0382.** Companion of the lower bound (LL-0380, same file) against Boldt, arXiv:1504.03121, Theorem 3.1, p. 6 (read): eigenvalues +-(n/2 + k) with multiplicity 2^[n/2] C(n+k-1, k); for n = 2 this is +-(k+1) with multiplicity 2(k+1). Here, for a nonzero constant spinor v and spinors of the form c1 = (1+t)^-s z^(n+1) G(t), c2 = (1+t)^-s z^n F(t), t = |y|^2, G(-1) not zero (reduced), n+1 <= s (decay O(1/|y|) at the pole in this class), a flat eigenspinor has eigenvalue +-s and G a multiple of the radial polynomial of the lower bound, by the coefficient recurrence and evaluation of the radial equation at t = -1. WEAKER (PARTIAL for GE5): only within this class of spinors; not an exclusion of other eigenvalues or eigenspinors of the sphere, which needs smooth sections on S^2, regularity at the pole and the angular Fourier decomposition, none of which is in the library; the decay condition is assumed as n+1 <= s, not derived from smoothness at the pole. +- **LL-0383.** Companion of LL-0380 and LL-0382 against Boldt, arXiv:1504.03121, Theorem 3.1, p. 6 (read): eigenvalues +-(n/2 + k) with multiplicity 2^[n/2] C(n+k-1, k); for n = 2 this is +-(k+1) with multiplicity 2(k+1). Here the decay condition n+1 <= s assumed in LL-0382 is derived from the boundedness of the spinor h^(1/2) g on the plane (the norm of the spinor of the sphere in the orthonormal frame of the chart, which a spinor extending continuously over the pole must satisfy), by the top coefficient of the radial equation (s = deg G + 1 or s = n + 1 + deg G) and the growth of the polynomial profile on the real axis. WEAKER (PARTIAL for GE5): boundedness is only a necessary condition for continuity at the pole (the chart at the other pole is not in the library), and only the angular polynomial class is covered; completeness among all smooth spinors of the sphere remains open. ## Finite-dimensional quantum mechanics @@ -834,6 +838,10 @@ API map: [Lightlike/OperatorAlgebras/API-map.md](../Lightlike/OperatorAlgebras/A | LL-0335 | The Sorkin-Johnston state of a finite causal set is pure: |iD| is the positive square root of -D^2, the Pauli-Jordan matrix is a(C - C^T) for the causal matrix C, and the quasi-free state of (D, |iD|) is pure for every a (see note) | proven | frontier | `Lightlike.OperatorAlgebras.QuasiFreeState.isPureState_causalSet`, `Lightlike.OperatorAlgebras.QuasiFreeState.exists_pjData`, `Lightlike.OperatorAlgebras.QuasiFreeState.isPureState_pauliJordan` in [SorkinJohnston.lean](../Lightlike/OperatorAlgebras/QuasiFreeState/SorkinJohnston.lean) | | LL-0339 | Fermionic Bogoliubov transformations of the CAR: b = alpha a + beta c has anticommutators alpha alpha* + beta beta* and alpha beta^T + beta alpha^T; under alpha alpha* + beta beta* = 1 and alpha beta^T + beta alpha^T = 0 the CAR is preserved, the transformation is invertible, the transformed Majorana family of an irreducible CAR representation is an irreducible CAR representation, hence unitarily implemented (finite dimensions) (see note) | proven | established | `Lightlike.OperatorAlgebras.bogAnn_bogCre_anticomm`, `Lightlike.OperatorAlgebras.bogAnn_anticomm`, `Lightlike.OperatorAlgebras.isCARPairs_bog`, `Lightlike.OperatorAlgebras.bog_inv`, `Lightlike.OperatorAlgebras.isCAROn_bogFam`, `Lightlike.OperatorAlgebras.isIrreducibleCAR_bogFam`, `Lightlike.OperatorAlgebras.bogoliubov_implementable` in [CARBogoliubov.lean](../Lightlike/OperatorAlgebras/CARBogoliubov.lean) | | LL-0340 | Bogoliubov vacua of the CAR: a vector killed by every transformed annihilation operator has two-point functions = (beta* beta)_ij |Psi|^2, = (alpha* alpha)_ij |Psi|^2, = (beta* alpha)_ij |Psi|^2; it exists for the Jordan-Wigner representation and is unique up to a scalar (see note) | proven | established | `Lightlike.OperatorAlgebras.bogVacuum_inner_a_a`, `Lightlike.OperatorAlgebras.bogVacuum_inner_c_c`, `Lightlike.OperatorAlgebras.bogVacuum_inner_a_c`, `Lightlike.OperatorAlgebras.bogVacuum_exists`, `Lightlike.OperatorAlgebras.bogVacuum_unique`, `Lightlike.OperatorAlgebras.exists_bogVacuum_jordanWigner` in [CARQuasiFree.lean](../Lightlike/OperatorAlgebras/CARQuasiFree.lean) | +| LL-0381 | Fermionic Shale in infinitely many modes, sufficiency for a small antilinear part: a surjective real-linear map R of a Hilbert space Z preserving Re of the inner product, whose antilinear part beta satisfies sum over every finite set of |beta e_k|^2 at most h < 1, is implemented by a unitary of the fermionic Fock space, U phi(w) = phi(R w) U; and for any R, a unit vector killed by the transformed annihilation operators gives such a unitary (see note) | proven | established | `Lightlike.OperatorAlgebras.CARShale.exists_unitary_of_dense`, `Lightlike.OperatorAlgebras.CARShale.dense_words`, `Lightlike.OperatorAlgebras.CARShale.exists_implementer`, `Lightlike.OperatorAlgebras.CARShale.exists_vacuum_of_small`, `Lightlike.OperatorAlgebras.CARShale.fermionic_shale_of_small` in [CARShale.lean](../Lightlike/OperatorAlgebras/CARShale.lean) | +| LL-0384 | The Sorkin-Johnston state of a finite causal set is pure for the retarded matrix K_R = a M (1 - a b M)^-1 (the link matrix in four dimensions, the causal matrix in two, any mass), and 1 - a b M is invertible because M is supported on the causal order (see note) | proven | frontier | `Lightlike.OperatorAlgebras.QuasiFreeState.isPureState_retarded`, `Lightlike.OperatorAlgebras.QuasiFreeState.isUnit_one_sub_smul`, `Lightlike.OperatorAlgebras.QuasiFreeState.retardedMatrix_mul`, `Lightlike.OperatorAlgebras.QuasiFreeState.linkMatrix` in [SJRetarded.lean](../Lightlike/OperatorAlgebras/QuasiFreeState/SJRetarded.lean) | +| LL-0385 | Wick's theorem for fermionic fields on a vacuum for every number of fields: the vacuum expectation of a product of split fields (annihilation part killing the vacuum, creation part killed by the functional, scalar anticommutators with the annihilation parts) is the Pfaffian-type recursion of the pairings (see note) | proven | established | `Lightlike.OperatorAlgebras.wick`, `Lightlike.OperatorAlgebras.A_pass`, `Lightlike.OperatorAlgebras.expect_prod`, `Lightlike.OperatorAlgebras.wick_pair`, `Lightlike.OperatorAlgebras.wick_single` in [FermionWick.lean](../Lightlike/OperatorAlgebras/FermionWick.lean) | +| LL-0386 | Wick's theorem for the CAR fields of a Bogoliubov vacuum, for every number of fields: the vacuum expectation of a product of linear combinations of the transformed operators b, b* is the Pfaffian recursion of the pairings, whose two-point value is the sum of u_i v'_i (see note) | proven | established | `Lightlike.OperatorAlgebras.carField`, `Lightlike.OperatorAlgebras.carField_anticomm`, `Lightlike.OperatorAlgebras.car_wick`, `Lightlike.OperatorAlgebras.car_wick_two` in [CARWick.lean](../Lightlike/OperatorAlgebras/CARWick.lean) | Notes: @@ -881,6 +889,10 @@ Notes: - **LL-0335.** Compared with Johnston, arXiv:0909.0944, eq. (10) Delta = K_R - K_A, K_A = K_R^T, and eq. (16) K_R = a C (1 - a b C)^-1 (read). Differences: WEAKER, only the massless two-dimensional retarded matrix a C (b = 0) is built, not the four-dimensional K_R = a L (1 - a b L)^-1 nor the massive one; the state is the quasi-free state with covariance |iD| on the symplectic space (R^n, D), which is the positive-part construction of Afshordi, Aslanbeigi and Sorkin (arXiv:1205.1296, title and authors checked, not read), and no comparison with their formulas is claimed. The purity is by the compatible complex structure of the previous entry. - **LL-0339.** The implementer exists by the uniqueness of irreducible representations of the CAR over R^{2n} (Dereziński Theorem 10, p. 17, read; the file CARUnique.lean, entry above), applied to the original and the transformed Majorana families. The Bogoliubov conditions alpha alpha* + beta beta* = 1, alpha beta^T + beta alpha^T = 0 and the formulas are computed here; no statement of Section 7 on fermionic Bogoliubov transformations was read, so no comparison with it is claimed. WEAKER: only sufficiency of the two conditions is proved (necessity, that a CAR-preserving map has them, is not), only finitely many modes (the infinite-mode criterion, beta Hilbert-Schmidt, is not formalised), and the spaces are finite-dimensional with modes indexed by Fin n. For one mode the conditions force alpha beta = 0 (TestsCARBogoliubov: one_mode_trivial), the fermionic contrast to |alpha|^2 - |beta|^2 = 1. - **LL-0340.** The pure quasi-free (Gaussian) state x -> / of the CAR over R^{2n}, as the Fock vacuum of the transformed representation. Existence is the implementing unitary of the previous entry applied to the Fock vacuum; uniqueness is that the vacuum space of the irreducible transformed representation is one-dimensional (isIrreducibleCAR_iff, the theorem 10 file above). WEAKER: only the two-point functions are computed (Wick's formula for the higher functions, mixed quasi-free states and the converse that every pure quasi-free state is a Bogoliubov vacuum are not proved); finite-dimensional. No comparison with a published statement of the two-point function is claimed. Trust check: the two-mode mixing has occupation s^2 and pairing -sc (TestsCARQuasiFree). +- **LL-0381.** Comparison pending (no source for the fermionic Shale theorem was read). Part of OP2, not the whole criterion. WEAKER: (1) only sufficiency, and only under the strict bound sum |beta e_k|^2 < 1 (Hilbert-Schmidt norm of beta below 1); the general Hilbert-Schmidt case (Araki, Bratteli-Robinson) and the necessity of the Hilbert-Schmidt condition are not proved here. (2) The bound is on the basis vectors of a Hilbert basis, which is the squared Hilbert-Schmidt norm of beta. Proof: the transformed annihilators are the CAR family (p + i q)/2 built from the fields phi(R e_k), phi(R(i e_k)); the words of transformed creation operators on a unit vacuum are orthonormal, dense by irreducibility of the Fock representation, and define the unitary; the vacuum is the limit of the decreasing commuting projections prod (1 - c_k a_k), bounded below by the Bonferroni inequality 1 - sum |a_k Omega_0|^2. +- **LL-0384.** Compared with Johnston, arXiv:0909.0944, eqs. (10) and (16) (read): Delta = K_R - K_R^T with K_R = a L (1 - a b L)^-1, b = -m^2/rho in the massive case. Here K_R is defined for any matrix M, the support lemma applies to the causal matrix and the link matrix (strictly increasing in the order), so 1 - a b M is invertible for every a, b and K_R (1 - a b M) = a M; purity holds for every K_R, whatever the normalisation of a, b. WEAKER: the state is the quasi-free state with covariance |i Delta|, which is the positive-part construction of Afshordi, Aslanbeigi and Sorkin (arXiv:1205.1296, not read); no comparison with their formulas, and the identification of b and the normalisation a with the mass and the sprinkling density rho is not formalised. +- **LL-0385.** Comparison pending (no source for the fermionic Wick theorem was read). Proved for lists of every length n: l(phi_1 ... phi_n Psi) = l(Psi) wick pair [phi_1, ..., phi_n], with wick (x :: l) = sum_i (-1)^i pair x l_i wick (l without l_i) (the Pfaffian expansion along the first row); odd n gives 0 (wick_single, n = 1), and wick_pair is the n = 2 case (the two-point function). The fields are abstract split fields A + B on a complex vector space; the instance for the CAR fields of a Bogoliubov vacuum (the fields linear in the transformed a, c) is NOT built here: the hypotheses (A Psi = 0, l(B v) = 0, A phi + phi A scalar) are what CARQuasiFree.lean proves for the two-point functions, but the scalar anticommutator for general linear combinations is not wired in. The bosonic counterpart for the CCR (hafnian) is npoint_eq_haf in QuasiFreeWick.lean. +- **LL-0386.** Comparison pending (no source for the fermionic Wick theorem was read). Instance of the abstract recursion of FermionWick.lean (the previous entry): for a vector killed by all the transformed annihilation operators, the fields sum_j u_j b_j + sum_j v_j b_j^* are split fields, the anticommutator of the annihilation part with a field is the scalar sum u_j v'_j (the CAR of the transformed operators, isCARPairs_bog), and car_wick gives = wick [x_1, ..., x_n] for every n; car_wick_two is n = 2. The fields a_j, c_j are such combinations by the inverse transformation (bog_inv), so the statement covers them, but this is not stated separately. WEAKER: finitely many modes (the infinite-mode vacuum and Shale for fermions are not built); no explicit n = 4 expansion check (the recursion is proved for all n); mixed quasi-free states are not covered. ## Noncommutative geometry: finite spectral triples