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.Analysis.HodgeTheory.Decomposition.BilinearFormMetric |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.MetricCoefficients |
| 3 | |
| 4 | /-! # Bilinear Form Metric Smooth -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.BilinearFormMetricSmooth.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smoothness of the explicit general covector metric wherever its |
| 11 | exterior Gram matrix is nonsingular. -/ |
| 12 | |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | variable {E D ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | [NormedAddCommGroup D] [NormedSpace ℝ D] [Fintype ι] [LinearOrder ι] |
| 17 | |
| 18 | omit [Fintype ι] in |
| 19 | theorem bilinearExteriorGram_entry_smooth (b : Module.Basis ι ℝ E) (n : ℕ) |
| 20 | (B : D → E →L[ℝ] E →L[ℝ] ℝ) {U : Set D} (hB : ContDiffOn ℝ ∞ B U) |
| 21 | (s t : Set.powersetCard ι n) : ContDiffOn ℝ ∞ (fun x => BilinearFormMetric.Constructions.bilinearExteriorGram b n (B x) s t) U := by |
| 22 | apply MetricCoefficients.Constructions.matrixDet_smoothOn |
| 23 | intro i j |
| 24 | exact (hB.clm_apply contDiffOn_const).clm_apply contDiffOn_const |
| 25 | |
| 26 | theorem bilinearFormMetricPair_smoothOn (b : Module.Basis ι ℝ E) (n : ℕ) |
| 27 | (B : D → E →L[ℝ] E →L[ℝ] ℝ) (a c : D → DifferentialForms.Manifold.Basic.FormValue E n) {U : Set D} |
| 28 | (hB : ContDiffOn ℝ ∞ B U) (ha : ContDiffOn ℝ ∞ a U) (hc : ContDiffOn ℝ ∞ c U) |
| 29 | (hdet : ∀ x ∈ U, (BilinearFormMetric.Constructions.bilinearExteriorGram b n (B x)).det ≠ 0) : |
| 30 | ContDiffOn ℝ ∞ (fun x => BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) (a x) (c x)) U := by |
| 31 | have hevala (s : Set.powersetCard ι n) := MetricCoefficients.Constructions.smooth_fixed_form_evaluation n (BilinearFormMetric.Constructions.basisExteriorTuple b n s) ha |
| 32 | have hevalc (s : Set.powersetCard ι n) := MetricCoefficients.Constructions.smooth_fixed_form_evaluation n (BilinearFormMetric.Constructions.basisExteriorTuple b n s) hc |
| 33 | have hcoeff (s t : Set.powersetCard ι n) : |
| 34 | ContDiffOn ℝ ∞ (fun x => ((BilinearFormMetric.Constructions.bilinearExteriorGram b n (B x))⁻¹ s t : ℂ)) U := |
| 35 | Complex.ofRealCLM.contDiff.comp_contDiffOn (MetricCoefficients.Constructions.matrixInverse_entry_smoothOn |
| 36 | (fun x => BilinearFormMetric.Constructions.bilinearExteriorGram b n (B x)) (bilinearExteriorGram_entry_smooth b n B hB) hdet s t) |
| 37 | have hconj : ContDiff ℝ ∞ (star : ℂ → ℂ) := Complex.conjCLE.contDiff |
| 38 | unfold BilinearFormMetric.Constructions.bilinearFormMetricPair |
| 39 | fun_prop |
| 40 | |
| 41 | theorem bilinearFormMetricPair_joint_contDiffAt (b : Module.Basis ι ℝ E) (n : ℕ) |
| 42 | (B : E →L[ℝ] E →L[ℝ] ℝ) (a c : DifferentialForms.Manifold.Basic.FormValue E n) (hdet : (BilinearFormMetric.Constructions.bilinearExteriorGram b n B).det ≠ 0) : |
| 43 | ContDiffAt ℝ ∞ |
| 44 | (fun x : (E →L[ℝ] E →L[ℝ] ℝ) × DifferentialForms.Manifold.Basic.FormValue E n × DifferentialForms.Manifold.Basic.FormValue E n => |
| 45 | BilinearFormMetric.Constructions.bilinearFormMetricPair b n x.1 x.2.1 x.2.2) (B, a, c) := by |
| 46 | let U := {x : (E →L[ℝ] E →L[ℝ] ℝ) × DifferentialForms.Manifold.Basic.FormValue E n × DifferentialForms.Manifold.Basic.FormValue E n | |
| 47 | (BilinearFormMetric.Constructions.bilinearExteriorGram b n x.1).det ≠ 0} |
| 48 | have hcont : Continuous (fun x : (E →L[ℝ] E →L[ℝ] ℝ) × DifferentialForms.Manifold.Basic.FormValue E n × DifferentialForms.Manifold.Basic.FormValue E n => |
| 49 | (BilinearFormMetric.Constructions.bilinearExteriorGram b n x.1).det) := by |
| 50 | have hsdet : ContDiff ℝ ∞ (fun x : (E →L[ℝ] E →L[ℝ] ℝ) × DifferentialForms.Manifold.Basic.FormValue E n × DifferentialForms.Manifold.Basic.FormValue E n => |
| 51 | (BilinearFormMetric.Constructions.bilinearExteriorGram b n x.1).det) := by |
| 52 | apply contDiffOn_univ.mp |
| 53 | apply MetricCoefficients.Constructions.matrixDet_smoothOn |
| 54 | exact bilinearExteriorGram_entry_smooth b n _ contDiffOn_fst |
| 55 | exact hsdet.continuous |
| 56 | have hU : IsOpen U := isOpen_ne_fun hcont continuous_const |
| 57 | have hs : ContDiffOn ℝ ∞ |
| 58 | (fun x : (E →L[ℝ] E →L[ℝ] ℝ) × DifferentialForms.Manifold.Basic.FormValue E n × DifferentialForms.Manifold.Basic.FormValue E n => |
| 59 | BilinearFormMetric.Constructions.bilinearFormMetricPair b n x.1 x.2.1 x.2.2) U := |
| 60 | bilinearFormMetricPair_smoothOn b n _ _ _ contDiffOn_fst contDiffOn_snd.fst contDiffOn_snd.snd |
| 61 | (fun _ hx => hx) |
| 62 | exact hs.contDiffAt (hU.mem_nhds hdet) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.Analysis.HodgeTheory.Decomposition.BilinearFormMetricSmooth.Constructions |