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.UniversalPolarizedRigidity |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.AutomorphismStratum |
| 3 | |
| 4 | /-! # Stratum Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.StratumRigidity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Uniform arithmetic rigidity on one bounded graph-polynomial stratum. |
| 11 | The universal equality is pulled back to every reduced test scheme. -/ |
| 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 | |
| 17 | theorem polarized_stratum_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}} [IsAffine S] [IsLocallyNoetherian 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 | (P : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.abelian.scheme.left) (d : ℕ) |
| 25 | (hP : AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower (Relative.PoincareSimilitude.RelativePoincareClasses.polarizationLine A.dual |
| 26 | A.polarization.isogeny.hom).sheaf d P.sheaf) |
| 27 | {n : ℕ} (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.abelian.scheme.left ⟶ P.sheaf)) |
| 28 | (hs : ∀ x : A.abelian.scheme.left, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 29 | (he : IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom s hs).left) |
| 30 | (Q : Polynomial ℚ) : |
| 31 | ∃ r : R, r ≠ 0 ∧ ∀ (T : Over S) [IsReduced T.left] |
| 32 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom)), |
| 33 | (∀ t : T.left, AutomorphismSourcePolynomial.polarizedAutomorphismGraphPolynomial |
| 34 | (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) (T.hom t) = Q) → |
| 35 | (∀ x : T.left, r ∉ (p (T.hom x)).asIdeal) → |
| 36 | e.abelian.hom = 𝟙 (A.abelian.pullback T.hom).scheme := by |
| 37 | obtain ⟨Z, hr, hn, hft, _, _, u, hc⟩ := |
| 38 | AutomorphismStratum.exists_bounded_polarized_automorphism_stratum A P d hP s hs he hPresentations Q |
| 39 | have : IsReduced Z.left := hr |
| 40 | have : IsNoetherian Z.left := hn |
| 41 | have : LocallyOfFiniteType Z.hom := hft |
| 42 | obtain ⟨r, hnonzero, hid⟩ := UniversalPolarizedRigidity.universal_polarized_automorphism_identity_away |
| 43 | ι hι (Z.hom ≫ p) (A.pullback Z.hom) u hN |
| 44 | refine ⟨r, hnonzero, ?_⟩ |
| 45 | intro T _ e hT hunit |
| 46 | obtain ⟨f, hf⟩ := hc T e hT |
| 47 | have hfi (x : T.left) : r ∉ ((Z.hom ≫ p) (f.left x)).asIdeal := by |
| 48 | have hx : (Z.hom ≫ p) (f.left x) = p (T.hom x) := |
| 49 | congrArg p (congrArg (fun q : T.left ⟶ S => q x) f.w) |
| 50 | exact hx.symm ▸ hunit x |
| 51 | have hu := hid f.left hfi |
| 52 | have hres : EndomorphismFamiliesId.EndomorphismFamilies.restrict A.abelian f (Finite.Actions.GroupEndRing.ofHom _ u.abelian.hom) = |
| 53 | EndomorphismFamiliesId.EndomorphismFamilies.restrict A.abelian f 1 := (Relative.EndomorphismEquationLocus.restrict_groupEnd_eq_iff A.abelian f _ 1).mpr hu |
| 54 | have hv : Finite.Actions.GroupEndRing.ofHom _ e.abelian.hom = (1 : Finite.Actions.GroupEndRing (A.abelian.pullback T.hom)) := |
| 55 | hf.symm.trans (hres.trans (map_one (EndomorphismFamiliesId.EndomorphismFamilies.restrict A.abelian f))) |
| 56 | exact congrArg (Finite.Actions.GroupEndRing.hom (A.abelian.pullback T.hom)) hv |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.StratumRigidity |