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.PELModuli.IntegralModel.PrescribedAbelian.PairZero |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPoincare.ZeroOverlap |
| 3 | |
| 4 | /-! # Pair Zero Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual abelian zero section commutes with the product quotient |
| 11 | and the dual-family cover. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types 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 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 20 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 21 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 22 | [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 23 | {U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X} {hU : U.IsFine} |
| 24 | {π : X ⟶ Q} [IsFinite π.left] [Etale π.left] [Surjective π.left] |
| 25 | {hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 26 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left} {S : Scheme.{0}} {b : S ⟶ Spec (.of R)} |
| 27 | (B : U.PrescribedAbelianPair hU π hk b) |
| 28 | |
| 29 | def IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.abelianZeroSection : B.dual.scheme.left ⟶ B.productTotal.left := |
| 30 | (lift (𝟙 B.dual.scheme) (1 : B.dual.scheme ⟶ B.abelian.scheme)).left |
| 31 | |
| 32 | omit [Surjective π.left] in |
| 33 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.abelianZeroSection_dual : B.abelianZeroSection ≫ (fst B.dual.scheme B.abelian.scheme).left = 𝟙 _ := |
| 34 | congrArg Over.Hom.left (lift_fst (𝟙 B.dual.scheme) (1 : B.dual.scheme ⟶ B.abelian.scheme)) |
| 35 | |
| 36 | omit [Surjective π.left] in |
| 37 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.abelianZeroSection_abelian : B.abelianZeroSection ≫ (snd B.dual.scheme B.abelian.scheme).left = |
| 38 | B.dual.scheme.hom ≫ (MonObj.one : 𝟙_ (Over ((Over.pullback b).obj Q).left) ⟶ B.abelian.scheme).left := by |
| 39 | exact congrArg Over.Hom.left (lift_snd (𝟙 B.dual.scheme) (1 : B.dual.scheme ⟶ B.abelian.scheme)) |
| 40 | |
| 41 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.productCover_abelianZero : ((Over.pullback b).map U.prescribedPoincareZero).left ≫ B.productCover = |
| 42 | B.dualCover ≫ B.abelianZeroSection := by |
| 43 | let F := Over.pullback b |
| 44 | have hzD := congrArg (fun f => (F.map f).left) U.prescribedPoincareZero_dual |
| 45 | simp only [F.map_comp, F.map_id, Over.comp_left, Over.id_left] at hzD |
| 46 | have hzA := congrArg (fun f => (F.map f).left) U.prescribedPoincareZero_abelian |
| 47 | simp only [F.map_comp, Over.comp_left] at hzA |
| 48 | apply pullback.hom_ext |
| 49 | · change (_ ≫ B.productCover) ≫ (fst B.dual.scheme B.abelian.scheme).left = |
| 50 | (B.dualCover ≫ B.abelianZeroSection) ≫ (fst B.dual.scheme B.abelian.scheme).left |
| 51 | rw [Category.assoc, B.productCover_dual, ← Category.assoc, hzD, Category.id_comp, |
| 52 | Category.assoc, B.abelianZeroSection_dual, Category.comp_id] |
| 53 | · change (_ ≫ B.productCover) ≫ (snd B.dual.scheme B.abelian.scheme).left = |
| 54 | (B.dualCover ≫ B.abelianZeroSection) ≫ (snd B.dual.scheme B.abelian.scheme).left |
| 55 | rw [Category.assoc, B.productCover_abelian, ← Category.assoc, hzA, Category.assoc, |
| 56 | B.abelianCover_zero, ← Category.assoc, B.dualCartesian.w, |
| 57 | Category.assoc, Category.assoc, B.abelianZeroSection_abelian] |
| 58 | |
| 59 | abbrev IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.dualTotal : Over S := (Over.map ((Over.pullback b).obj Q).hom).obj B.dual.scheme |
| 60 | |
| 61 | def IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.dualCoverOver : (Over.pullback b).obj U.prescribedDualTotalSpace ⟶ B.dualTotal := |
| 62 | Over.homMk B.dualCover (by |
| 63 | change B.dualCover ≫ (B.dual.scheme.hom ≫ ((Over.pullback b).obj Q).hom) = _ |
| 64 | rw [← Category.assoc, ← B.dualCartesian.w, Category.assoc, Over.w, Over.w]) |
| 65 | |
| 66 | def IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.abelianZeroOver : B.dualTotal ⟶ B.productTotal := |
| 67 | (Over.map ((Over.pullback b).obj Q).hom).map (lift (𝟙 B.dual.scheme) (1 : B.dual.scheme ⟶ B.abelian.scheme)) |
| 68 | |
| 69 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.abelianZero_square : (Over.pullback b).map U.prescribedPoincareZero ≫ B.productCoverOver = |
| 70 | B.dualCoverOver ≫ B.abelianZeroOver := Over.OverMorphism.ext B.productCover_abelianZero |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |