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.Picard.ThetaConstruction.DifferenceFiberTriviality |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.GenericFiberLineTriviality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.SchemeProducts |
| 5 | |
| 6 | /-! # Generic Line Homogeneity Reflection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.GenericLineHomogeneityReflection.Geometric |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Homogeneity on the original generic residue fiber reflects to |
| 13 | universal homogeneity of a line family over an integral local base. |
| 14 | The normalized difference line is proved trivial on the whole square. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 21 | |
| 22 | private theorem inverse_one_product {M : Type*} [CommGroup M] : |
| 23 | (1 : M)⁻¹ * 1⁻¹ = 1 := by |
| 24 | simp only [inv_one, mul_one] |
| 25 | |
| 26 | variable {S : Scheme.{0}} [IsAffine S] [IsLocalRing Γ(S, ⊤)] |
| 27 | [IsNoetherianRing Γ(S, ⊤)] [IsLocallyNoetherian S] [IsIntegral S] |
| 28 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 29 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.scheme.left) |
| 30 | |
| 31 | include P in |
| 32 | theorem difference_trivial_of_generic_homogeneous |
| 33 | (hL : AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass (A.pullback (S.fromSpecResidueField (genericPoint S))) |
| 34 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (L.pullback (A.scheme.hom.fiberι (genericPoint S))))) : |
| 35 | Nonempty ((RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (A.scheme ⊗ A.scheme).left) := by |
| 36 | let B := A.product A |
| 37 | let D := RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L |
| 38 | let s : S ⟶ B.scheme.left := |
| 39 | (lift (1 : Over.mk (𝟙 S) ⟶ A.scheme) (1 : Over.mk (𝟙 S) ⟶ A.scheme)).left |
| 40 | have hs : s ≫ B.scheme.hom = 𝟙 S := |
| 41 | (lift (1 : Over.mk (𝟙 S) ⟶ A.scheme) (1 : Over.mk (𝟙 S) ⟶ A.scheme)).w |
| 42 | have hc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.pullback s) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass S := by |
| 43 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf ((RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L).pullback |
| 44 | (lift (1 : Over.mk (𝟙 S) ⟶ A.scheme) (1 : Over.mk (𝟙 S) ⟶ A.scheme)).left) = 1 |
| 45 | rw [DifferenceClassBaseChange.Geometric.relativeDifference_pair_class] |
| 46 | simp only [RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass, one_mul, RelativeCubeClasses.Geometric.identityNormalizedLine_one_class, mul_one] |
| 47 | exact @inverse_one_product (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (Over.mk (𝟙 S)).left) |
| 48 | (Homomorphisms.SchemeGroup.Construction.lineBundleClassCommGroup (Over.mk (𝟙 S)).left) |
| 49 | let r : (Scheme.Modules.pullback s).obj D.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule S := |
| 50 | Classical.choice (Quotient.exact hc) |
| 51 | have hgeneric : Nonempty ((D.pullback (B.scheme.hom.fiberι (genericPoint S))).sheaf ≅ |
| 52 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (B.scheme.hom.fiber (genericPoint S))) := |
| 53 | DifferenceFiberTriviality.Geometric.difference_fieldFiber_trivial_of_homogeneous A L (S.fromSpecResidueField (genericPoint S)) hL |
| 54 | exact GenericFiberLineTriviality.Geometric.genericFiber_line_trivial B.scheme.hom D (P.product P) s hs r hgeneric |
| 55 | |
| 56 | include P in |
| 57 | theorem constantFamily_homogeneous_of_generic |
| 58 | (hL : AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass (A.pullback (S.fromSpecResidueField (genericPoint S))) |
| 59 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (L.pullback (A.scheme.hom.fiberι (genericPoint S))))) |
| 60 | (U : Over S) : |
| 61 | A.IsHomogeneousPicardClass U (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (L.pullback (snd U A.scheme).left)) := |
| 62 | DifferenceTrivialityHomogeneity.Geometric.constantFamily_homogeneous_of_difference_trivial A L |
| 63 | (Classical.choice (difference_trivial_of_generic_homogeneous A P L hL)) U |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.GenericLineHomogeneityReflection.Geometric |