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.ReferenceFamily.Pure.GeometricRigidity |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothEquationSupport |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.NoetherianGenericClosedLocus |
| 4 | |
| 5 | /-! # Generic Polarized Automorphism Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericPolarizedAutomorphismSupport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Characteristic-zero rigidity forces the nonidentity locus of an |
| 12 | actual universal polarized automorphism to be vertical. Noetherianity |
| 13 | then removes that locus by one nonzero equation on the coefficient base. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable {R K : Type} [CommRing R] [Field K] [CharZero K] [Countable K] |
| 20 | (ι : R →+* K) (hι : Function.Injective ι) |
| 21 | {Z : Scheme.{0}} (p : Z ⟶ Spec (.of R)) [LocallyOfFiniteType p] |
| 22 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N Z) |
| 23 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso A A) (hN : 3 ≤ N) |
| 24 | |
| 25 | include ι hι hN |
| 26 | |
| 27 | theorem generic_polarized_automorphism_support (z : Z) (hz : (p z).asIdeal = ⊥) : |
| 28 | z ∈ SmoothEquationSupport.smoothEquationSupport e.abelian.hom (𝟙 A.abelian.scheme) := by |
| 29 | let b : Spec (.of K) ⟶ Spec (.of R) := Spec.map (CommRingCat.ofHom ι) |
| 30 | have hb : p z ∈ Set.range b := by |
| 31 | refine ⟨(⊥ : PrimeSpectrum K), PrimeSpectrum.ext ?_⟩ |
| 32 | exact (Ideal.comap_bot_of_injective ι hι).trans hz.symm |
| 33 | have hpoint : z ∈ Set.range (pullback.fst p b) := by |
| 34 | rw [Scheme.Pullback.range_fst] |
| 35 | exact hb |
| 36 | obtain ⟨y, hy⟩ := hpoint |
| 37 | let F := AlgebraicClosure ((pullback p b).residueField y) |
| 38 | let q : Spec (.of F) ⟶ pullback p b := |
| 39 | Spec.map (CommRingCat.ofHom (algebraMap ((pullback p b).residueField y) F)) ≫ |
| 40 | (pullback p b).fromSpecResidueField y |
| 41 | have hq : q (default : Spec (.of F)) = y := (pullback p b).fromSpecResidueField_apply y _ |
| 42 | let a := q ≫ pullback.fst p b |
| 43 | have ha : a (default : Spec (.of F)) = z := (congrArg (pullback.fst p b) hq).trans hy |
| 44 | have he : (e.pullback a).abelian.hom = 𝟙 (A.abelian.pullback a).scheme := by |
| 45 | apply AbelianModuli.ReferenceFamily.Pure.AutomorphismDescent.pure_abelian_eq_id_via (e.pullback a) |
| 46 | (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A (pullback.fst p b) q).symm |
| 47 | intro u |
| 48 | exact AbelianModuli.ReferenceFamily.Pure.GeometricRigidity.pureGeometricPullback_abelian_eq_id (pullback.snd p b) |
| 49 | (A.pullback (pullback.fst p b)) hN q u |
| 50 | have heq : (Over.pullback a).map e.abelian.hom = (Over.pullback a).map (𝟙 A.abelian.scheme) := |
| 51 | he.trans ((Over.pullback a).map_id A.abelian.scheme).symm |
| 52 | exact SmoothEquationSupport.equation_range_subset_support e.abelian.hom (𝟙 A.abelian.scheme) a heq ⟨default, ha⟩ |
| 53 | |
| 54 | theorem polarized_automorphism_identity_away [IsDomain R] [IsNoetherian Z] : |
| 55 | ∃ r : R, r ≠ 0 ∧ ∀ z : Z, r ∉ (p z).asIdeal → |
| 56 | z ∈ SmoothEquationSupport.smoothEquationSupport e.abelian.hom (𝟙 A.abelian.scheme) := |
| 57 | NoetherianGenericClosedLocus.noetherian_generic_closed_locus_away p _ |
| 58 | (SmoothEquationSupport.smoothEquationSupport_closed e.abelian.hom (𝟙 A.abelian.scheme)) |
| 59 | (generic_polarized_automorphism_support ι hι p A e hN) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericPolarizedAutomorphismSupport |