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.RelativeCube |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.StalkFrames |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IdentityNormalizationBaseChange |
| 4 | |
| 5 | /-! # Affine Relative Cube -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.AffineRelativeCube |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine normalized cube identity over every Noetherian affine |
| 12 | base, with its full scheme structure and every test scheme retained. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Theta.Geometric |
| 22 | |
| 23 | variable {S : Scheme.{u}} [IsAffine S] [IsLocallyNoetherian S] |
| 24 | {g : ℕ} (A : Abelian.Schemes.AbelianScheme g S) |
| 25 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (L : Line.Bundles.LineBundle A.scheme.left) |
| 26 | |
| 27 | include P |
| 28 | |
| 29 | theorem noetherianAffine_universal_cube : |
| 30 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 31 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A) = 1 := by |
| 32 | have : IsNoetherianRing Γ(S, ⊤) := |
| 33 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top _⟩ |
| 34 | let PC : Projective.ProjectivePresentations.ProjectivePresentation (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A) := |
| 35 | (P.product P).product P |
| 36 | let q := Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 37 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A) |
| 38 | let C : Line.Bundles.LineBundle (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).left := q.out |
| 39 | have hC : Line.Bundles.LineBundle.classOf C = q := Quotient.out_eq _ |
| 40 | let z : 𝟙_ (Over S) ⟶ Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A := 1 |
| 41 | have hz : z.left ≫ (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom = 𝟙 S := z.w |
| 42 | have hr : RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback z.left (Line.Bundles.LineBundle.classOf C) = 1 := by |
| 43 | rw [hC] |
| 44 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback z.left |
| 45 | (Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 46 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A)) = 1 |
| 47 | rw [Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass_pullback] |
| 48 | simp only [z, MonObj.one_comp, Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass, |
| 49 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.identityNormalizedLine_one_class, mul_one, div_one] |
| 50 | obtain ⟨e⟩ := Projective.StalkFrames.Theta.Geometric.projective_line_trivial_of_stalk_frames PC |
| 51 | z.left hz C (Classical.choice (Quotient.exact hr)) (by |
| 52 | intro x |
| 53 | let b := S.fromSpecStalk x |
| 54 | have : IsLocalRing Γ(Spec (S.presheaf.stalk x), ⊤) := |
| 55 | RepresentationTheory.Theta.Geometric.SpecLocalRings.specGlobal_isLocalRing (S.presheaf.stalk x) |
| 56 | have : IsNoetherianRing Γ(Spec (S.presheaf.stalk x), ⊤) := |
| 57 | RepresentationTheory.Theta.Geometric.SpecLocalRings.specGlobal_isNoetherianRing (S.presheaf.stalk x) |
| 58 | have hx : RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom b) |
| 59 | (Line.Bundles.LineBundle.classOf C) = 1 := by |
| 60 | rw [hC] |
| 61 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom b) |
| 62 | (Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 63 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A)) = 1 |
| 64 | rw [Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass_baseChange, IdentityNormalizationBaseChange.Theta.Geometric.identityNormalizedLine_baseChange_class] |
| 65 | exact Local.RelativeCube.Theta.Geometric.local_cube (A.pullback b) (P.baseChange b) |
| 66 | (L.pullback (pullback.fst A.scheme.hom b)) _ _ _ |
| 67 | exact Quotient.exact hx) |
| 68 | exact hC.symm.trans (Quotient.sound ⟨e⟩) |
| 69 | |
| 70 | theorem noetherianAffine_cube {U : Over S} (a b c : U ⟶ A.scheme) : |
| 71 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) a b c = 1 := |
| 72 | Relative.CubeProducts.Theta.Geometric.relativeCubeClass_eq_of_universal A _ (noetherianAffine_universal_cube A P L) a b c |
| 73 | |
| 74 | end Theta.Geometric |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.AffineRelativeCube |