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.Relative.CubeProducts |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.FieldFrameReflection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineTrivializationOf |
| 5 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 6 | |
| 7 | /-! # Field Cube -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.FieldCube |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The cube identity over every field follows by reflecting the |
| 14 | actual geometric frame along its algebraic closure. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace Theta.Geometric |
| 24 | |
| 25 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 26 | |
| 27 | theorem projective_field_universal_cube |
| 28 | {K : Type u} [Field K] {g : ℕ} (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 29 | (P : ProjectivePresentations.ProjectivePresentation A.scheme) (q : Line.Bundles.LineBundle.IsoClass A.scheme.left) : |
| 30 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass q (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A) = 1 := by |
| 31 | let c := Spec.map (CommRingCat.ofHom (algebraMap K (AlgebraicClosure K))) |
| 32 | let v := Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass q (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A) |
| 33 | let L : Line.Bundles.LineBundle (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).left := v.out |
| 34 | have hL : Line.Bundles.LineBundle.classOf L = v := Quotient.out_eq _ |
| 35 | let s := (1 : Over.mk (𝟙 (Spec (.of K))) ⟶ Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).left |
| 36 | have hs : s ≫ (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom = 𝟙 _ := |
| 37 | (1 : Over.mk (𝟙 (Spec (.of K))) ⟶ Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).w |
| 38 | obtain ⟨r⟩ := Quotients.FiniteDescent.LineTrivializationOf.Construction.LineTrivialization.pullback_trivial_over_field s L |
| 39 | have he : Nonempty |
| 40 | ((L.pullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom c)).sheaf ≅ |
| 41 | Line.Bundles.structureModule (pullback (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom c)) := by |
| 42 | apply @Quotient.exact _ (Line.Bundles.LineBundle.isoSetoid _) |
| 43 | (L.pullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom c)) (Line.Bundles.LineBundle.trivial _) |
| 44 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom c) (Line.Bundles.LineBundle.classOf L) = 1 |
| 45 | rw [hL] |
| 46 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom c) |
| 47 | (Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass q (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A)) = 1 |
| 48 | rw [Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass_baseChange] |
| 49 | exact Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass_eq_one_overField (A.pullback c) _ _ _ _ |
| 50 | obtain ⟨e⟩ := Picard.ThetaConstruction.FieldFrameReflection.Geometric.field_line_trivial_of_cartesian_trivial |
| 51 | (X := Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A) ((P.product P).product P) s hs L r |
| 52 | (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom c) (pullback.snd (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom c) |
| 53 | c (IsPullback.of_hasPullback (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom c) he.some |
| 54 | exact hL.symm.trans (Quotient.sound ⟨e⟩) |
| 55 | |
| 56 | theorem projective_field_cube |
| 57 | {K : Type u} [Field K] {g : ℕ} (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 58 | (P : ProjectivePresentations.ProjectivePresentation A.scheme) (q : Line.Bundles.LineBundle.IsoClass A.scheme.left) |
| 59 | {U : Over (Spec (.of K))} (a b c : U ⟶ A.scheme) : Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass q a b c = 1 := |
| 60 | Relative.CubeProducts.Theta.Geometric.relativeCubeClass_eq_of_universal A q (projective_field_universal_cube A P q) a b c |
| 61 | |
| 62 | end Theta.Geometric |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.FieldCube |