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.Affine.ReducedPolarizedRigidity |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.FiniteAffineCover |
| 3 | |
| 4 | /-! # Global Reduced Polarized Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GlobalReducedPolarizedRigidity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Arithmetic full-level rigidity on all reduced tests of an arbitrary |
| 11 | noetherian finite-type polarized family. -/ |
| 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 polarized_reduced_rigidity_away |
| 18 | {R K : Type} [CommRing R] [IsDomain R] [Field K] [CharZero K] [Countable K] |
| 19 | (ι : R →+* K) (hι : Function.Injective ι) |
| 20 | {S : Scheme.{0}} [IsNoetherian S] |
| 21 | (p : S ⟶ Spec (.of R)) [LocallyOfFiniteType p] |
| 22 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 23 | (hN : 3 ≤ N) (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) : |
| 24 | ∃ r : R, r ≠ 0 ∧ ∀ (T : Over S) [IsReduced T.left] |
| 25 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom)), |
| 26 | (∀ x : T.left, r ∉ (p (T.hom x)).asIdeal) → |
| 27 | e.abelian.hom = 𝟙 (A.abelian.pullback T.hom).scheme := by |
| 28 | classical |
| 29 | obtain ⟨I, hI, U, hU, hcover⟩ := ArithmeticGeometry.Models.SpreadingOut.FiniteAffineCover.Construction.finite_nonempty_affine_open_cover S |
| 30 | let := hI |
| 31 | let : Fintype I := Fintype.ofFinite I |
| 32 | have ha (i : I) : IsAffine (U i).toScheme := (hU i).1 |
| 33 | have hp (i : I) : LocallyOfFiniteType ((U i).ι ≫ p) := inferInstance |
| 34 | choose r hr hrigid using fun i : I => Affine.ReducedPolarizedRigidity.affine_polarized_reduced_rigidity_away ι hι |
| 35 | ((U i).ι ≫ p) (A.pullback (U i).ι) hN hPresentations |
| 36 | apply Finite.OpenPolarizedRigidity.finite_open_polarized_rigidity_away p A U hcover r hr |
| 37 | intro i T _ e hT hunit |
| 38 | let q := Open.BaseFunctorRepresentation.OpenBaseTest.lift (U i) T hT |
| 39 | have hq : q ≫ (U i).ι = T.hom := Open.BaseFunctorRepresentation.OpenBaseTest.lift_ι (U i) T hT |
| 40 | apply AbelianModuli.ReferenceFamily.Pure.AutomorphismDescent.pure_abelian_eq_id_via e (AbelianModuli.ReferenceFamily.Pure.AutomorphismDescent.purePullbackFactor A q (U i).ι T.hom hq) |
| 41 | intro a |
| 42 | have : IsReduced (Over.mk q).left := inferInstanceAs (IsReduced T.left) |
| 43 | apply hrigid i (Over.mk q) a |
| 44 | intro x |
| 45 | have hx : ((U i).ι ≫ p) (q x) = p (T.hom x) := |
| 46 | congrArg p (congrArg (fun f : T.left ⟶ S => f x) hq) |
| 47 | exact hx.symm ▸ hunit x |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GlobalReducedPolarizedRigidity |