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.Polarized.AutomorphismOpenCoverRigidity |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.TestBaseCover |
| 3 | |
| 4 | /-! # Open Polarized Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.OpenPolarizedRigidity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Multiply the finitely many localization coefficients from an open |
| 11 | cover. Actual automorphism equality then glues over every reduced test. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem finite_open_polarized_rigidity_away |
| 18 | {R : Type} [CommRing R] [IsDomain R] {S : Scheme.{0}} (p : S ⟶ Spec (.of R)) |
| 19 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 20 | {I : Type} [Fintype I] (U : I → S.Opens) (hU : iSup U = ⊤) |
| 21 | (r : I → R) (hr : ∀ i, r i ≠ 0) |
| 22 | (hlocal : ∀ i, ∀ (T : Over S) [IsReduced T.left] |
| 23 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom)), |
| 24 | (∀ x : T.left, T.hom x ∈ U i) → |
| 25 | (∀ x : T.left, r i ∉ (p (T.hom x)).asIdeal) → |
| 26 | e.abelian.hom = 𝟙 (A.abelian.pullback T.hom).scheme) : |
| 27 | ∃ a : R, a ≠ 0 ∧ ∀ (T : Over S) [IsReduced T.left] |
| 28 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom)), |
| 29 | (∀ x : T.left, a ∉ (p (T.hom x)).asIdeal) → |
| 30 | e.abelian.hom = 𝟙 (A.abelian.pullback T.hom).scheme := by |
| 31 | classical |
| 32 | refine ⟨∏ i, r i, Finset.prod_ne_zero_iff.mpr (fun i _ => hr i), ?_⟩ |
| 33 | intro T _ e hunit |
| 34 | let C := Reduced.TestBaseCover.testBaseOpenCover U hU T |
| 35 | apply Polarized.AutomorphismOpenCoverRigidity.polarized_automorphism_eq_id_of_open_cover A T C e |
| 36 | intro i |
| 37 | change I at i |
| 38 | let V := OverOpenCoverGluing.OverOpenCover.obj T C i |
| 39 | let j := OverOpenCoverGluing.OverOpenCover.inclusion T C i |
| 40 | apply hlocal i V (Polarized.AutomorphismRestriction.restrictPolarizedAutomorphism A j e) (Reduced.TestBaseCover.testBaseOpenCover_mapsTo U hU T i) |
| 41 | intro x hbad |
| 42 | have hx : p (V.hom x) = p (T.hom (j.left x)) := |
| 43 | congrArg p (congrArg (fun q : V.left ⟶ S => q x) j.w).symm |
| 44 | have hmem : (∏ k, r k) ∈ (p (T.hom (j.left x))).asIdeal := by |
| 45 | rw [← hx] |
| 46 | exact (p (V.hom x)).asIdeal.mem_of_dvd |
| 47 | (Finset.dvd_prod_of_mem r (Finset.mem_univ i)) hbad |
| 48 | exact hunit (j.left x) hmem |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.OpenPolarizedRigidity |