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.FamilyChart |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.SectionKernel |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterRestriction |
| 4 | |
| 5 | /-! # Family Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.FamilyKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every marked scalar section of an actual determinant-open |
| 12 | product has stalk quotient by the native affine parameter germ. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open scoped _root_.Polynomial |
| 19 | |
| 20 | namespace Family |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.FamilyChart.Family |
| 23 | |
| 24 | variable {n : ℕ} (A : (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)ˣ) |
| 25 | {Z F : Scheme} (f : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (t : F ⟶ Spec (.of (Polynomial.MatrixPath.Ring A))) (pr : F ⟶ Z) |
| 26 | (h : IsPullback t pr (Polynomial.IntegralProduct.parameterBase A) f) |
| 27 | (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) (s : Z ⟶ F) |
| 28 | (hs : s ≫ pr = 𝟙 Z) |
| 29 | (ht : s ≫ t = f ≫ Spec.map (CommRingCat.ofHom (Polynomial.MatrixPath.evaluation A a ha))) |
| 30 | |
| 31 | include h hs ht |
| 32 | |
| 33 | theorem closed : IsClosedImmersion s := by |
| 34 | let : IsClosedImmersion (s ≫ FamilyChart.Family.chart A f t pr h) := by |
| 35 | rw [FamilyChart.Family.section_chart A f t pr h a ha s hs ht] |
| 36 | infer_instance |
| 37 | exact IsClosedImmersion.of_comp s (FamilyChart.Family.chart A f t pr h) |
| 38 | |
| 39 | theorem kernel (z : Z) : RingHom.ker (s.stalkMap z).hom = |
| 40 | Ideal.span {Affine.ParameterFiber.germ ℂ (t ≫ Polynomial.IntegralProduct.toLine A) (s z) a} := by |
| 41 | let j := FamilyChart.Family.chart A f t pr h |
| 42 | have hc : s ≫ j = (𝟙 Z) ≫ Polynomial.ProductChart.Section.sectionMap f a := by |
| 43 | rw [Category.id_comp] |
| 44 | exact FamilyChart.Family.section_chart A f t pr h a ha s hs ht |
| 45 | have hk := Stalk.KernelSquare.principal_to_chart j |
| 46 | (Polynomial.ProductChart.Section.sectionMap f a) (𝟙 Z) s hc z |
| 47 | (fun x => Affine.ParameterFiber.germ ℂ (Polynomial.ProductChart.parameter f) x a) |
| 48 | (Polynomial.SectionKernel.kernel f a z) |
| 49 | have hg : j.stalkMap (s z) |
| 50 | (Affine.ParameterFiber.germ ℂ (Polynomial.ProductChart.parameter f) (j (s z)) a) = |
| 51 | Affine.ParameterFiber.germ ℂ (t ≫ Polynomial.IntegralProduct.toLine A) (s z) a := |
| 52 | (Affine.ParameterRestriction.comp j (Polynomial.ProductChart.parameter f) (s z) a).symm.trans |
| 53 | (congrArg (fun q => Affine.ParameterFiber.germ ℂ q (s z) a) |
| 54 | (FamilyChart.Family.chart_parameter A f t pr h)) |
| 55 | exact hk.trans (congrArg (fun r => Ideal.span {r}) hg) |
| 56 | |
| 57 | def quotientEquiv (z : Z) : |
| 58 | (F.presheaf.stalk (s z) ⧸ |
| 59 | Ideal.span {Affine.ParameterFiber.germ ℂ (t ≫ Polynomial.IntegralProduct.toLine A) (s z) a}) ≃+* |
| 60 | Z.presheaf.stalk z := by |
| 61 | let : IsClosedImmersion s := closed A f t pr h a ha s hs ht |
| 62 | exact (Ideal.quotEquivOfEq (kernel A f t pr h a ha s hs ht z).symm).trans |
| 63 | (RingHom.quotientKerEquivOfSurjective (s.stalkMap_surjective z)) |
| 64 | |
| 65 | end Family |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.FamilyKernel |