Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicTopology.DeRham.Comparison.StokesF |
| 2 | import Mathlib.Data.Fin.Tuple.Basic |
| 3 | |
| 4 | /-! # Cubical Degeneracy Operators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.CubicalDegeneracyOperators |
| 7 | |
| 8 | /-! |
| 9 | # Genuine degeneracy operators on smooth Euclidean cubes |
| 10 | |
| 11 | A cubical degeneracy is precomposition by the linear map deleting one |
| 12 | coordinate. The equivalent coordinate-independence condition below is an |
| 13 | explicit statement about the underlying smooth map, not extra geometric data. |
| 14 | -/ |
| 15 | |
| 16 | open OAI.AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {n m : ℕ} |
| 20 | |
| 21 | /-- The continuous linear map deleting the coordinate `i`. -/ |
| 22 | def forgetCoordinate (i : Fin (n + 1)) : |
| 23 | (Fin (n + 1) → ℝ) →L[ℝ] (Fin n → ℝ) := |
| 24 | ContinuousLinearMap.pi fun j => |
| 25 | ContinuousLinearMap.proj (R := ℝ) (φ := fun _ : Fin (n + 1) => ℝ) (i.succAbove j) |
| 26 | |
| 27 | @[simp] |
| 28 | theorem forgetCoordinate_apply (i : Fin (n + 1)) (x : Fin (n + 1) → ℝ) |
| 29 | (j : Fin n) : forgetCoordinate i x j = x (i.succAbove j) := rfl |
| 30 | |
| 31 | theorem forgetCoordinate_eq_removeNth (i : Fin (n + 1)) (x : Fin (n + 1) → ℝ) : |
| 32 | forgetCoordinate i x = Fin.removeNth i x := rfl |
| 33 | |
| 34 | @[simp] |
| 35 | theorem forgetCoordinate_update (i : Fin (n + 1)) (x : Fin (n + 1) → ℝ) (t : ℝ) : |
| 36 | forgetCoordinate i (Function.update x i t) = forgetCoordinate i x := by |
| 37 | ext j |
| 38 | simp [Fin.succAbove_ne] |
| 39 | |
| 40 | @[simp] |
| 41 | theorem forgetCoordinate_basis_self (i : Fin (n + 1)) : |
| 42 | forgetCoordinate i (Pi.single i 1) = 0 := by |
| 43 | ext j |
| 44 | simp [Fin.succAbove_ne] |
| 45 | |
| 46 | @[simp] |
| 47 | theorem forgetCoordinate_basis_succAbove (i : Fin (n + 1)) (j : Fin n) : |
| 48 | forgetCoordinate i (Pi.single (i.succAbove j) 1) = Pi.single j 1 := by |
| 49 | ext k |
| 50 | simp [Pi.single_apply] |
| 51 | |
| 52 | /-- Precomposition by coordinate deletion is the standard cubical degeneracy. -/ |
| 53 | def cubeDegeneracy (σ : StokesF.SingularCubeStokes.SmoothSingularCube n m) (i : Fin (n + 1)) : |
| 54 | StokesF.SingularCubeStokes.SmoothSingularCube (n + 1) m where |
| 55 | toFun := σ.toFun ∘ forgetCoordinate i |
| 56 | smooth := σ.smooth.comp (forgetCoordinate i).contDiff |
| 57 | |
| 58 | @[simp] |
| 59 | theorem cubeDegeneracy_apply (σ : StokesF.SingularCubeStokes.SmoothSingularCube n m) (i : Fin (n + 1)) |
| 60 | (x : Fin (n + 1) → ℝ) : |
| 61 | cubeDegeneracy σ i x = σ (forgetCoordinate i x) := rfl |
| 62 | |
| 63 | /-- A smooth cube ignores coordinate `i` if changing just that coordinate |
| 64 | never changes the value of its underlying function. -/ |
| 65 | def IgnoresCoordinate (σ : StokesF.SingularCubeStokes.SmoothSingularCube n m) (i : Fin n) : Prop := |
| 66 | ∀ (x : Fin n → ℝ) (t : ℝ), σ (Function.update x i t) = σ x |
| 67 | |
| 68 | /-- An actual coordinate-degenerate smooth cube. -/ |
| 69 | def IsDegenerateCube (σ : StokesF.SingularCubeStokes.SmoothSingularCube n m) : Prop := |
| 70 | ∃ i : Fin n, IgnoresCoordinate σ i |
| 71 | |
| 72 | theorem cubeDegeneracy_ignoresCoordinate (σ : StokesF.SingularCubeStokes.SmoothSingularCube n m) |
| 73 | (i : Fin (n + 1)) : IgnoresCoordinate (cubeDegeneracy σ i) i := by |
| 74 | intro x t |
| 75 | simp |
| 76 | |
| 77 | theorem isDegenerate_cubeDegeneracy (σ : StokesF.SingularCubeStokes.SmoothSingularCube n m) |
| 78 | (i : Fin (n + 1)) : IsDegenerateCube (cubeDegeneracy σ i) := |
| 79 | ⟨i, cubeDegeneracy_ignoresCoordinate σ i⟩ |
| 80 | |
| 81 | /-- Coordinate independence is exactly the image of a standard degeneracy. |
| 82 | The lower-dimensional smooth cube is obtained by fixing that coordinate to zero. -/ |
| 83 | theorem isDegenerateCube_iff (σ : StokesF.SingularCubeStokes.SmoothSingularCube (n + 1) m) : |
| 84 | IsDegenerateCube σ ↔ |
| 85 | ∃ (τ : StokesF.SingularCubeStokes.SmoothSingularCube n m) (i : Fin (n + 1)), cubeDegeneracy τ i = σ := by |
| 86 | constructor |
| 87 | · rintro ⟨i, hi⟩ |
| 88 | let τ : StokesF.SingularCubeStokes.SmoothSingularCube n m := |
| 89 | { toFun := fun x => σ (Fin.insertNth i 0 x) |
| 90 | smooth := σ.smooth.comp (by |
| 91 | apply contDiff_pi.mpr |
| 92 | intro j |
| 93 | by_cases hji : j = i |
| 94 | · subst j |
| 95 | simpa only [Fin.insertNth_apply_same] using |
| 96 | (contDiff_const : ContDiff ℝ ∞ (fun _ : Fin n → ℝ => (0 : ℝ))) |
| 97 | · obtain ⟨k, rfl⟩ := Fin.exists_succAbove_eq hji |
| 98 | simpa only [Fin.insertNth_apply_succAbove] using |
| 99 | (contDiff_apply (𝕜 := ℝ) (E := ℝ) k : |
| 100 | ContDiff ℝ ∞ (fun x : Fin n → ℝ => x k))) } |
| 101 | refine ⟨τ, i, ?_⟩ |
| 102 | ext1 |
| 103 | funext x |
| 104 | change σ (Fin.insertNth i 0 (forgetCoordinate i x)) = σ x |
| 105 | rw [forgetCoordinate_eq_removeNth, Fin.insertNth_removeNth] |
| 106 | exact hi x 0 |
| 107 | · rintro ⟨τ, i, rfl⟩ |
| 108 | exact isDegenerate_cubeDegeneracy τ i |
| 109 | |
| 110 | theorem not_isDegenerate_zero_cube (σ : StokesF.SingularCubeStokes.SmoothSingularCube 0 m) : |
| 111 | ¬ IsDegenerateCube σ := by |
| 112 | rintro ⟨i, _⟩ |
| 113 | exact Fin.elim0 i |
| 114 | |
| 115 | end OAI.AlgebraicTopology.DeRham.Comparison.CubicalDegeneracyOperators |