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.Polarization.DualTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.GraphBundles |
| 3 | |
| 4 | /-! # Dual Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A compatible change of representing dual gives a complete |
| 11 | level-preserving moduli isomorphism and preserves the canonical graph |
| 12 | bundle class over the original base. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 20 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (D : Dual.Data.DualAbelianData A.abelian) |
| 21 | variable (e : A.dual.abelian.scheme ≅ D.abelian.scheme) [IsMonHom e.hom] |
| 22 | variable (he : Line.Bundles.LineBundle.pullbackClass (e.hom ⊗ₘ 𝟙 A.abelian.scheme).left |
| 23 | (Line.Bundles.LineBundle.classOf D.poincare) = Line.Bundles.LineBundle.classOf A.dual.poincare) |
| 24 | |
| 25 | def PolarizationData.PolarizedAbelianWithFullLevel.withDual : PolarizationData.PolarizedAbelianWithFullLevel g δ N S where |
| 26 | abelian := A.abelian |
| 27 | dual := D |
| 28 | polarization := A.polarization.dualTransport e he |
| 29 | level := A.level |
| 30 | |
| 31 | def PolarizationData.PolarizedAbelianWithFullLevel.withDualIso : Moduli.Isomorphisms.LevelPreservingIso A (A.withDual D e he) where |
| 32 | abelian := Iso.refl A.abelian.scheme |
| 33 | dual := e |
| 34 | abelianGroup := by change IsMonHom (𝟙 A.abelian.scheme); infer_instance |
| 35 | dualGroup := by change IsMonHom e.hom; infer_instance |
| 36 | polarization := (Category.id_comp _).symm |
| 37 | poincare := he |
| 38 | level _ _ := Category.comp_id _ |
| 39 | |
| 40 | theorem PolarizationData.PolarizedAbelianWithFullLevel.withDual_graphBundle_class : |
| 41 | Line.Bundles.LineBundle.classOf (A.withDual D e he).graphBundle = Line.Bundles.LineBundle.classOf A.graphBundle := by |
| 42 | have h := (A.withDualIso D e he).graphBundle_class |
| 43 | change Line.Bundles.LineBundle.pullbackClass (𝟙 A.abelian.scheme.left) |
| 44 | (Line.Bundles.LineBundle.classOf (A.withDual D e he).graphBundle) = Line.Bundles.LineBundle.classOf A.graphBundle at h |
| 45 | rw [Line.Bundles.LineBundle.pullbackClass_id] at h |
| 46 | exact h |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |