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.Relative.ScalarIntrinsicComparison |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.SectionPullback |
| 3 | |
| 4 | /-! # Scalar Section Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.ScalarSectionComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal scalar change of a section agrees with its native |
| 11 | group-section pullback under the actual cartesian comparison. -/ |
| 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 scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {S T : Scheme.{0}} (b : T ⟶ S) (X : Over S) (A : Over X.left) [GrpObj A] |
| 19 | |
| 20 | theorem relativeScalarSection_native |
| 21 | (z : Over.mk (𝟙 X.left) ⟶ A) |
| 22 | (m : X ⟶ (Over.map X.hom).obj A) (hm : m.left = z.left) |
| 23 | (hz : m ≫ (Over.homMk A.hom : (Over.map X.hom).obj A ⟶ X) = 𝟙 X) : |
| 24 | ((Over.pullback b).map m).left ≫ (ScalarIntrinsicComparison.relativeScalarNativeComparison b X A).hom.left = |
| 25 | (Group.SectionPullback.groupSectionPullback A (pullback.fst X.hom b) z).left := by |
| 26 | apply pullback.hom_ext |
| 27 | · rw [Category.assoc, ScalarIntrinsicComparison.relativeScalarNativeComparison_fst, |
| 28 | Group.SectionPullback.groupSectionPullback_fst] |
| 29 | exact (Cartesian.FamilyMorphismComparison.over_pullback_map_fst b m).trans (congrArg (fun f => pullback.fst X.hom b ≫ f) hm) |
| 30 | · have he := (ScalarIntrinsicComparison.relativeScalarNativeComparison b X A).hom.w |
| 31 | change _ ≫ pullback.snd A.hom (pullback.fst X.hom b) = |
| 32 | ((Over.pullback b).map (Over.homMk A.hom : (Over.map X.hom).obj A ⟶ X)).left at he |
| 33 | have h := congrArg (fun f => ((Over.pullback b).map f).left) hz |
| 34 | simp only [(Over.pullback b).map_comp, (Over.pullback b).map_id, Over.comp_left, Over.id_left] at h |
| 35 | rw [Category.assoc, he] |
| 36 | exact h.trans (Group.SectionPullback.groupSectionPullback A (pullback.fst X.hom b) z).w.symm |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.ScalarSectionComparison |