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.Affine.ProjectiveParameter |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SpecStalkAlgebra |
| 3 | |
| 4 | /-! # Parameter Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The translated polynomial coordinate in affine stalks agrees |
| 11 | with the regular germ of the rational projective-line parameter. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.Polynomial |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyIs.MatrixParameterOpen |
| 20 | |
| 21 | theorem affine_shift (x : Spec (.of ℂ[X])) (a : ℂ) : |
| 22 | Projective.ParameterGerms.shiftedGerm Projective.FamilyIs.MatrixParameterOpen.affine x (ProjectiveParameter.contained x) a = |
| 23 | StructureSheaf.toStalk ℂ[X] x (Polynomial.X - Polynomial.C a) := by |
| 24 | unfold Projective.ParameterGerms.shiftedGerm |
| 25 | rw [Projective.FamilyIs.MatrixParameterOpen.affine_over] |
| 26 | let := Stalk.PointAlgebra.scalarAlgebra |
| 27 | (Spec.map (CommRingCat.ofHom (Polynomial.C : ℂ →+* ℂ[X]))) x |
| 28 | rw [ProjectiveParameter.finiteGerm, map_sub] |
| 29 | congr 1 |
| 30 | exact (SpecStalkAlgebra.toStalk ℂ ℂ[X] x).commutes a |>.symm |
| 31 | |
| 32 | variable {Z : Scheme} [IsIntegral Z] (t : Z ⟶ Spec (.of ℂ[X])) |
| 33 | |
| 34 | omit [IsIntegral Z] in |
| 35 | theorem germ (x : Z) (a : ℂ) : |
| 36 | Projective.ParameterGerms.shiftedGerm (t ≫ Projective.FamilyIs.MatrixParameterOpen.affine) x |
| 37 | (ProjectiveParameter.contained (t x)) a = ParameterFiber.germ ℂ t x a := by |
| 38 | let := Stalk.PointAlgebra.scalarAlgebra (Projective.FamilyIs.MatrixParameterOpen.affine ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) (t x) |
| 39 | let := Stalk.PointAlgebra.scalarAlgebra (t ≫ (Projective.FamilyIs.MatrixParameterOpen.affine ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1)) x |
| 40 | have hc := (Stalk.ScalarMaps.stalk t (Projective.FamilyIs.MatrixParameterOpen.affine ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) x).commutes a |
| 41 | have hf : Projective.ParameterGerms.finiteGerm (t ≫ Projective.FamilyIs.MatrixParameterOpen.affine) x |
| 42 | (ProjectiveParameter.contained (t x)) = |
| 43 | t.stalkMap x (Projective.ParameterGerms.finiteGerm Projective.FamilyIs.MatrixParameterOpen.affine (t x) |
| 44 | (ProjectiveParameter.contained (t x))) := |
| 45 | GermPullback.fraction_comp 1 t Projective.FamilyIs.MatrixParameterOpen.affine x |
| 46 | (Projective.LineParameter.RationalFractions.coordinate 1 1) |
| 47 | (Projective.LineParameter.RationalFractions.coordinate 1 0) (ProjectiveParameter.contained (t x)) |
| 48 | change Projective.ParameterGerms.shiftedGerm (t ≫ Projective.FamilyIs.MatrixParameterOpen.affine) x _ a = |
| 49 | t.stalkMap x (StructureSheaf.toStalk ℂ[X] (t x) (Polynomial.X - Polynomial.C a)) |
| 50 | rw [← affine_shift] |
| 51 | unfold Projective.ParameterGerms.shiftedGerm |
| 52 | rw [Category.assoc, hf, map_sub] |
| 53 | exact congrArg (fun b => t.stalkMap x |
| 54 | (Projective.ParameterGerms.finiteGerm Projective.FamilyIs.MatrixParameterOpen.affine (t x) |
| 55 | (ProjectiveParameter.contained (t x))) - b) hc.symm |
| 56 | |
| 57 | theorem field (hη : (t ≫ Projective.FamilyIs.MatrixParameterOpen.affine) (genericPoint Z) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 58 | (x : Z) (a : ℂ) : |
| 59 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra ((t ≫ Projective.FamilyIs.MatrixParameterOpen.affine) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 60 | algebraMap (Z.presheaf.stalk x) Z.functionField (ParameterFiber.germ ℂ t x a) = |
| 61 | Projective.LineParameter.pullback (t ≫ Projective.FamilyIs.MatrixParameterOpen.affine) hη - algebraMap ℂ Z.functionField a := by |
| 62 | rw [← germ] |
| 63 | exact Projective.ParameterGerms.shiftedGerm_field (t ≫ Projective.FamilyIs.MatrixParameterOpen.affine) hη x |
| 64 | (ProjectiveParameter.contained (t x)) a |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterComparison |