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.AlgebraicGeometry.Comparison.Betti.Smooth.FormRealization |
| 2 | import OAI.AlgebraicTopology.Kunneth.WedgeAlgebra |
| 3 | import OAI.AlgebraicTopology.Kunneth.ClosedManifoldWedge |
| 4 | |
| 5 | /-! # Wedge -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Smooth.Wedge |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exterior multiplication and differentiation in the actual smooth-form model. -/ |
| 12 | |
| 13 | open ChartedSpace |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 18 | [IsManifold 𝓘(ℝ, E) ∞ M] {p q n : ℕ} |
| 19 | |
| 20 | theorem eq_of_inChart {a b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n} |
| 21 | (h : ∀ (e : OpenPartialHomeomorph M E), e ∈ atlas E M → |
| 22 | ∀ y ∈ e.target, a.val.inChart e y = b.val.inChart e y) : a = b := by |
| 23 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 24 | intro x |
| 25 | let e := chartAt E x |
| 26 | have he : e ∈ atlas E M := chart_mem_atlas E x |
| 27 | have hx : x ∈ e.source := mem_chart_source E x |
| 28 | have hc := h e he (e x) (e.map_source hx) |
| 29 | exact (Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.fromChart_inChart_apply e he a.val hx).symm.trans |
| 30 | ((congrArg (fun c : E [⋀^Fin n]→L[ℝ] ℂ => |
| 31 | c.compContinuousLinearMap (Analysis.DifferentialForms.Manifold.Charts.chartTangentMap e x)) hc).trans |
| 32 | (Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.fromChart_inChart_apply e he b.val hx)) |
| 33 | |
| 34 | /-- Product rule for a closed right factor in the genuine manifold complex. -/ |
| 35 | theorem manifoldWedge_d_rightClosed (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) |
| 36 | (b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M q) (hb : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b = 0) : |
| 37 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a b) = |
| 38 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldDegreeCast (by omega) (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a) b) := by |
| 39 | apply eq_of_inChart |
| 40 | intro e he y hy |
| 41 | rw [Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_inChart _ e he hy] |
| 42 | change extDeriv ((AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a.val b.val).inChart e) y = |
| 43 | (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldDegreeCast (by omega) |
| 44 | (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a).val b.val)).inChart e y |
| 45 | rw [AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldDegreeCast_inChart, AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart] |
| 46 | dsimp only |
| 47 | rw [Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_inChart a e he hy] |
| 48 | have hbd : extDeriv (b.val.inChart e) y = 0 := by |
| 49 | have h := b.d_inChart e he hy |
| 50 | rw [hb] at h |
| 51 | change (0 : Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm E M (q + 1)).inChart e y = _ at h |
| 52 | rw [Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_zero] at h |
| 53 | exact h.symm |
| 54 | exact AlgebraicTopology.Kunneth.WedgeLeibniz.Constructions.extDeriv_covectorWedge_of_right_closed (a.val.inChart e) (b.val.inChart e) y |
| 55 | ((Analysis.DifferentialForms.Manifold.Derivative.smoothForm_contDiffAt_inChart a.smooth e he hy).of_le (by simp)) |
| 56 | ((Analysis.DifferentialForms.Manifold.Derivative.smoothForm_contDiffAt_inChart b.smooth e he hy).of_le (by simp)) hbd |
| 57 | |
| 58 | /-- The product rule applies to every exact right factor. -/ |
| 59 | theorem manifoldWedge_d_exact (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) |
| 60 | (b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M q) : |
| 61 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b)) = |
| 62 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldDegreeCast (by omega) |
| 63 | (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a) (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b)) := |
| 64 | manifoldWedge_d_rightClosed a _ (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_squared b) |
| 65 | |
| 66 | theorem manifoldWedge_add_left (a a' : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) |
| 67 | (b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M q) : |
| 68 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge (a + a') b = AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a b + AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a' b := by |
| 69 | apply eq_of_inChart |
| 70 | intro e he y hy |
| 71 | change (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge (a.val + a'.val) b.val).inChart e y = |
| 72 | (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a.val b.val + AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a'.val b.val).inChart e y |
| 73 | rw [AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_add, |
| 74 | Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_add, AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart] |
| 75 | exact AlgebraicTopology.Kunneth.WedgeAlgebra.Constructions.covectorWedge_add_left _ _ _ |
| 76 | |
| 77 | theorem manifoldWedge_smul_left (c : ℂ) (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) |
| 78 | (b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M q) : |
| 79 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge (c • a) b = c • AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a b := by |
| 80 | apply eq_of_inChart |
| 81 | intro e he y hy |
| 82 | change (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge (c • a.val) b.val).inChart e y = |
| 83 | (c • AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a.val b.val).inChart e y |
| 84 | rw [AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_smul, |
| 85 | Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_smul, AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart] |
| 86 | exact AlgebraicTopology.Kunneth.WedgeAlgebra.Constructions.covectorWedge_smul_left _ _ _ |
| 87 | |
| 88 | theorem manifoldWedge_add_right (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) |
| 89 | (b b' : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M q) : |
| 90 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a (b + b') = AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a b + AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a b' := by |
| 91 | apply eq_of_inChart |
| 92 | intro e he y hy |
| 93 | change (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a.val (b.val + b'.val)).inChart e y = |
| 94 | (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a.val b.val + AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a.val b'.val).inChart e y |
| 95 | rw [AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_add, |
| 96 | Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_add, AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart] |
| 97 | exact AlgebraicTopology.Kunneth.WedgeAlgebra.Constructions.covectorWedge_add_right _ _ _ |
| 98 | |
| 99 | theorem manifoldWedge_smul_right (c : ℂ) (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) |
| 100 | (b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M q) : |
| 101 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a (c • b) = c • AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge a b := by |
| 102 | apply eq_of_inChart |
| 103 | intro e he y hy |
| 104 | change (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a.val (c • b.val)).inChart e y = |
| 105 | (c • AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge a.val b.val).inChart e y |
| 106 | rw [AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_smul, |
| 107 | Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_smul, AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart] |
| 108 | exact AlgebraicTopology.Kunneth.WedgeAlgebra.Constructions.covectorWedge_smul_right _ _ _ |
| 109 | |
| 110 | theorem covectorWedge_zero_one (a : E [⋀^Fin 0]→L[ℝ] ℂ) |
| 111 | (b : E [⋀^Fin 1]→L[ℝ] ℂ) : AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge a b = a 0 • b := by |
| 112 | let : Unique (Equiv.Perm (Fin 1)) := |
| 113 | { default := Equiv.refl _ |
| 114 | uniq := fun _ => Subsingleton.elim _ _ } |
| 115 | ext v |
| 116 | rw [AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge_apply] |
| 117 | simp only [Nat.factorial_zero, Nat.factorial_one, Nat.cast_one, mul_one, |
| 118 | inv_one, one_smul, Fintype.sum_unique] |
| 119 | change 1 • (a (fun i => v (Fin.castAdd 1 i)) * b (fun i => v (Fin.natAdd 0 i))) = |
| 120 | a 0 * b v |
| 121 | rw [one_smul] |
| 122 | congr 1 |
| 123 | · exact congrArg a (Subsingleton.elim _ _) |
| 124 | · congr 1 |
| 125 | funext i |
| 126 | exact congrArg v (Fin.ext (Nat.zero_add i.val)) |
| 127 | |
| 128 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 129 | @[simp] |
| 130 | theorem manifoldDegreeCast_refl (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) : |
| 131 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldDegreeCast rfl a = a := rfl |
| 132 | |
| 133 | variable {A : Type*} [CommRing A] [Algebra ℂ A] |
| 134 | (φ : A →ₐ[ℂ] C(M, ℂ)) |
| 135 | (hφ : ∀ a : A, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (φ a)) |
| 136 | |
| 137 | theorem manifoldWedge_zeroForm_one (a : A) (b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 1) : |
| 138 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge (FormRealization.zeroFormMap φ hφ a) b = Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.smulByFunction (φ a) (hφ a) b := by |
| 139 | apply eq_of_inChart |
| 140 | intro e he y hy |
| 141 | change (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge (Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar (φ a)) b.val).inChart e y = |
| 142 | (Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.smulFunction (φ a) b.val).inChart e y |
| 143 | rw [AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar_inChart, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_smulFunction] |
| 144 | dsimp only |
| 145 | exact covectorWedge_zero_one _ _ |
| 146 | |
| 147 | /-- The unit zero-form is the left unit on one-forms. -/ |
| 148 | theorem manifoldWedge_unit_zero_one (b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 1) : |
| 149 | AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.manifoldWedge (FormRealization.zeroFormMap φ hφ 1) b = b := by |
| 150 | apply eq_of_inChart |
| 151 | intro e he y hy |
| 152 | change (AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge (Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar (φ 1)) b.val).inChart e y = _ |
| 153 | rw [AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.rawManifoldWedge_inChart, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar_inChart] |
| 154 | dsimp only |
| 155 | rw [covectorWedge_zero_one] |
| 156 | change φ 1 (e.symm y) • b.val.inChart e y = _ |
| 157 | rw [map_one] |
| 158 | exact one_smul ℂ (b.val.inChart e y) |
| 159 | |
| 160 | end |
| 161 | |
| 162 | end OAI.AlgebraicGeometry.Comparison.Betti.Smooth.Wedge |