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.IntersectionTheory.ProjectionFormula.Parameter.Polynomial |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.ProductChart |
| 3 | |
| 4 | /-! # Family Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.FamilyChart |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Any actual determinant-open parameter product embeds openly |
| 11 | in the full affine-line product, preserving its marked sections. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.Polynomial |
| 18 | |
| 19 | namespace Family |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath |
| 22 | |
| 23 | variable {n : ℕ} (A : (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)ˣ) |
| 24 | {Z F : Scheme} (f : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (t : F ⟶ Spec (.of (ProjectionFormula.Polynomial.MatrixPath.Ring A))) (pr : F ⟶ Z) |
| 25 | (h : IsPullback t pr (Parameter.Polynomial.IntegralProduct.parameterBase A) f) |
| 26 | |
| 27 | def chart : F ⟶ ProjectionFormula.Polynomial.ProductChart.space f := |
| 28 | h.isoPullback.hom ≫ Parameter.Polynomial.IntegralProduct.inclusion A f |
| 29 | |
| 30 | instance chart_open : IsOpenImmersion (chart A f t pr h) := by |
| 31 | unfold chart |
| 32 | infer_instance |
| 33 | |
| 34 | theorem chart_parameter : chart A f t pr h ≫ ProjectionFormula.Polynomial.ProductChart.parameter f = |
| 35 | t ≫ Parameter.Polynomial.IntegralProduct.toLine A := by |
| 36 | change (h.isoPullback.hom ≫ Parameter.Polynomial.IntegralProduct.inclusion A f) ≫ |
| 37 | pullback.fst Parameter.Polynomial.Line.base f = _ |
| 38 | rw [Category.assoc, |
| 39 | Parameter.Polynomial.IntegralProduct.inclusion, pullback.lift_fst, ← Category.assoc] |
| 40 | exact congrArg (fun g => g ≫ Parameter.Polynomial.IntegralProduct.toLine A) h.isoPullback_hom_fst |
| 41 | |
| 42 | theorem chart_source : chart A f t pr h ≫ ProjectionFormula.Polynomial.ProductChart.source f = pr := by |
| 43 | change (h.isoPullback.hom ≫ Parameter.Polynomial.IntegralProduct.inclusion A f) ≫ |
| 44 | pullback.snd Parameter.Polynomial.Line.base f = _ |
| 45 | rw [Category.assoc, |
| 46 | Parameter.Polynomial.IntegralProduct.inclusion, pullback.lift_snd, Category.comp_id] |
| 47 | exact h.isoPullback_hom_snd |
| 48 | |
| 49 | theorem evaluation_toLine (a : ℂ) (ha : (ProjectionFormula.Polynomial.MatrixPath.determinant A).eval a ≠ 0) : |
| 50 | Spec.map (CommRingCat.ofHom (ProjectionFormula.Polynomial.MatrixPath.evaluation A a ha)) ≫ Parameter.Polynomial.IntegralProduct.toLine A = |
| 51 | Spec.map (CommRingCat.ofHom (Polynomial.evalRingHom a)) := by |
| 52 | rw [Parameter.Polynomial.IntegralProduct.toLine, ← Spec.map_comp] |
| 53 | congr 1 |
| 54 | apply CommRingCat.hom_ext |
| 55 | apply RingHom.ext |
| 56 | intro p |
| 57 | exact ProjectionFormula.Polynomial.MatrixPath.evaluation_algebraMap A a ha p |
| 58 | |
| 59 | theorem section_chart (a : ℂ) (ha : (ProjectionFormula.Polynomial.MatrixPath.determinant A).eval a ≠ 0) (s : Z ⟶ F) |
| 60 | (hs : s ≫ pr = 𝟙 Z) |
| 61 | (ht : s ≫ t = f ≫ Spec.map (CommRingCat.ofHom (ProjectionFormula.Polynomial.MatrixPath.evaluation A a ha))) : |
| 62 | s ≫ chart A f t pr h = ProjectionFormula.Polynomial.ProductChart.Section.sectionMap f a := by |
| 63 | apply pullback.hom_ext |
| 64 | · change (_ ≫ chart A f t pr h) ≫ ProjectionFormula.Polynomial.ProductChart.parameter f = |
| 65 | ProjectionFormula.Polynomial.ProductChart.Section.sectionMap f a ≫ ProjectionFormula.Polynomial.ProductChart.parameter f |
| 66 | rw [Category.assoc, chart_parameter, ← Category.assoc, ht, Category.assoc, |
| 67 | evaluation_toLine, ProjectionFormula.Polynomial.ProductChart.Section.section_parameter] |
| 68 | · change (_ ≫ chart A f t pr h) ≫ ProjectionFormula.Polynomial.ProductChart.source f = |
| 69 | ProjectionFormula.Polynomial.ProductChart.Section.sectionMap f a ≫ ProjectionFormula.Polynomial.ProductChart.source f |
| 70 | rw [Category.assoc, chart_source, hs, ProjectionFormula.Polynomial.ProductChart.Section.section_source] |
| 71 | |
| 72 | end Family |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.FamilyChart |