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.AbelianModuli.HilbertConstruction.Local.ProductTriviality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.CubeAxisClasses |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.FieldCube |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange |
| 5 | |
| 6 | /-! # Relative Cube -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.RelativeCube |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original normalized cube identity over a Noetherian local affine |
| 13 | base, including nilpotents. The proof lifts its actual residue frame. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Theta.Geometric |
| 23 | |
| 24 | variable {S : Scheme.{u}} [IsAffine S] [IsLocalRing Γ(S, ⊤)] [IsNoetherianRing Γ(S, ⊤)] |
| 25 | variable {g : ℕ} (A : Abelian.Schemes.AbelianScheme g S) |
| 26 | variable (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (L : Line.Bundles.LineBundle A.scheme.left) |
| 27 | |
| 28 | include P |
| 29 | |
| 30 | theorem local_universal_cube : |
| 31 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 32 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A) = 1 := by |
| 33 | let q := Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 34 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A) |
| 35 | let C : Line.Bundles.LineBundle (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).left := q.out |
| 36 | have hC : Line.Bundles.LineBundle.classOf C = q := Quotient.out_eq _ |
| 37 | have hleft : RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback |
| 38 | (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.left (A.scheme ⊗ A.scheme).hom A.scheme.hom |
| 39 | η[A.scheme].left η[A.scheme].w) (Line.Bundles.LineBundle.classOf C) = 1 := by |
| 40 | rw [hC] |
| 41 | exact Relative.CubeAxisClasses.Theta.Geometric.relativeCubeClass_left_axis A L |
| 42 | have hright : RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback |
| 43 | (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.right (A.scheme ⊗ A.scheme).hom A.scheme.hom |
| 44 | η[A.scheme ⊗ A.scheme].left η[A.scheme ⊗ A.scheme].w) (Line.Bundles.LineBundle.classOf C) = 1 := by |
| 45 | rw [hC] |
| 46 | exact Relative.CubeAxisClasses.Theta.Geometric.relativeCubeClass_right_axis A L |
| 47 | let b := ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤)) |
| 48 | have hf : RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom b) |
| 49 | (Line.Bundles.LineBundle.classOf C) = 1 := by |
| 50 | rw [hC] |
| 51 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom b) |
| 52 | (Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 53 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A)) = 1 |
| 54 | rw [Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass_baseChange] |
| 55 | exact Projective.FieldCube.Theta.Geometric.projective_field_cube (A.pullback b) (P.baseChange b) _ _ _ _ |
| 56 | obtain ⟨e⟩ := ProductTriviality.localAbelianProduct_line_trivial_of_axes (A.product A) A (P.product P) P |
| 57 | η[A.scheme ⊗ A.scheme].left η[A.scheme ⊗ A.scheme].w η[A.scheme].left η[A.scheme].w C |
| 58 | (Classical.choice (Quotient.exact hleft)) (Classical.choice (Quotient.exact hright)) |
| 59 | (Classical.choice (Quotient.exact hf)) |
| 60 | exact hC.symm.trans (Quotient.sound ⟨e⟩) |
| 61 | |
| 62 | theorem local_cube {U : Over S} (a b c : U ⟶ A.scheme) : |
| 63 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) a b c = 1 := |
| 64 | Relative.CubeProducts.Theta.Geometric.relativeCubeClass_eq_of_universal A _ (local_universal_cube A P L) a b c |
| 65 | |
| 66 | end Theta.Geometric |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.RelativeCube |