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.Noetherian.UniversalLevelRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.HomOpenCoverDetection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.BaseSquareEquivalence |
| 4 | |
| 5 | /-! # Universal Level Rigidity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.UniversalLevelRigidity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full-level polarized isomorphisms of fixed families over a locally Noetherian base are unique after every scheme base change. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem polarizedPullbackIsomorphisms_subsingleton_of_locallyNoetherian |
| 16 | {S : Scheme.{u}} [IsLocallyNoetherian S] {g N : ℕ} {δ : Fin g → ℕ} |
| 17 | (A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (hN : 3 ≤ N) (T : Over S) : |
| 18 | Subsingleton (Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (B.pullback T.hom)) := by |
| 19 | let C := S.affineOpenCover.openCover |
| 20 | refine ⟨fun e d => ?_⟩ |
| 21 | apply Moduli.Isomorphisms.LevelPreservingIso.ext_abelian e d |
| 22 | apply HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks (C.pullback₁ T.hom) |
| 23 | intro i |
| 24 | change S.affineOpenCover.I₀ at i |
| 25 | have : IsAffine (C.X i) := inferInstanceAs (IsAffine (Spec (S.affineOpenCover.X i))) |
| 26 | have hi : IsOpenImmersion (C.f i) := C.map_prop i |
| 27 | have : IsLocallyNoetherian (C.X i) := |
| 28 | @isLocallyNoetherian_of_isOpenImmersion (C.X i) S (C.f i) hi inferInstance |
| 29 | have : IsNoetherianRing Γ(C.X i, ⊤) := |
| 30 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top _⟩ |
| 31 | let p := Limits.pullback.fst T.hom (C.f i) |
| 32 | let q := Limits.pullback.snd T.hom (C.f i) |
| 33 | have hs : Subsingleton (Moduli.Isomorphisms.LevelPreservingIso ((A.pullback (C.f i)).pullback q) |
| 34 | ((B.pullback (C.f i)).pullback q)) := |
| 35 | Noetherian.UniversalLevelRigidity.polarizedPullbackIsomorphisms_subsingleton_of_noetherian_affine |
| 36 | (A.pullback (C.f i)) (B.pullback (C.f i)) hN (Over.mk q) |
| 37 | have : Subsingleton (Moduli.Isomorphisms.LevelPreservingIso ((A.pullback T.hom).pullback p) |
| 38 | ((B.pullback T.hom).pullback p)) := |
| 39 | (Moduli.Isomorphisms.LevelPreservingIso.baseSquareEquiv A B T.hom (C.f i) p q |
| 40 | (Limits.pullback.condition (f := T.hom) (g := C.f i))).injective.subsingleton |
| 41 | exact congrArg (fun z : Moduli.Isomorphisms.LevelPreservingIso ((A.pullback T.hom).pullback p) |
| 42 | ((B.pullback T.hom).pullback p) => z.abelian.hom) (Subsingleton.elim (e.pullback p) (d.pullback p)) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.UniversalLevelRigidity |