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.Coefficient.GenericOpenEquality |
| 2 | |
| 3 | /-! # Invariant Cover Localization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.InvariantCoverLocalization.Coefficients |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Equality of generic opens becomes equality on every test point |
| 12 | away from one nonzero coefficient of the actual model base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {R K : Type} [CommRing R] [Field K] [Algebra R K] |
| 17 | |
| 18 | theorem coefficient_open_equality_away {X : Over (Spec (.of K))} |
| 19 | (M : Models.Coefficients.CoefficientModel R K X) [IsNoetherian M.model.left] (U V : M.model.left.Opens) |
| 20 | (h : M.specialization ⁻¹ᵁ U = M.specialization ⁻¹ᵁ V) : |
| 21 | ∃ r : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K M.coefficients, r ≠ 0 ∧ |
| 22 | ∀ x : M.model.left, r ∉ (M.model.hom x).asIdeal → (x ∈ U ↔ x ∈ V) := |
| 23 | GenericOpenEqualityLocalization.generic_open_equality_away_of_field_baseChange |
| 24 | (algebraMap (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K M.coefficients) K) Subtype.val_injective M.model.hom U V |
| 25 | (GenericOpenEquality.Coefficients.generic_open_equality_of_specialization M U V h) |
| 26 | |
| 27 | end |
| 28 | |
| 29 | /-! A finite generic cover and all its finitely many invariance |
| 30 | equations hold uniformly after one coefficient localization. -/ |
| 31 | |
| 32 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 33 | |
| 34 | variable {R K : Type} [CommRing R] [Field K] [Algebra R K] |
| 35 | |
| 36 | theorem finite_invariant_cover_away {I G : Type} [Finite I] [Finite G] |
| 37 | {X : Over (Spec (.of K))} (M : Models.Coefficients.CoefficientModel R K X) [IsNoetherian M.model.left] |
| 38 | (V : I → M.model.left.Opens) (a : G → (M.model ⟶ M.model)) (b : G → (X ⟶ X)) |
| 39 | (hcomp : ∀ g, M.specialization ≫ (a g).left = (b g).left ≫ M.specialization) |
| 40 | (hcover : (⨆ i, M.specialization ⁻¹ᵁ V i) = ⊤) |
| 41 | (hInv : ∀ g i, (b g).left ⁻¹ᵁ (M.specialization ⁻¹ᵁ V i) = M.specialization ⁻¹ᵁ V i) : |
| 42 | ∃ r : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K M.coefficients, r ≠ 0 ∧ |
| 43 | (∀ x : M.model.left, r ∉ (M.model.hom x).asIdeal → ∃ i, x ∈ V i) ∧ |
| 44 | (∀ g i (x : M.model.left), r ∉ (M.model.hom x).asIdeal → ((a g).left x ∈ V i ↔ x ∈ V i)) := by |
| 45 | classical |
| 46 | let : Fintype (G × I) := Fintype.ofFinite (G × I) |
| 47 | have htop : M.specialization ⁻¹ᵁ iSup V = M.specialization ⁻¹ᵁ ⊤ := by |
| 48 | ext x |
| 49 | change M.specialization x ∈ iSup V ↔ M.specialization x ∈ (⊤ : M.model.left.Opens) |
| 50 | refine ⟨fun _ => trivial, fun _ => ?_⟩ |
| 51 | have hx : x ∈ ⨆ i, M.specialization ⁻¹ᵁ V i := by rw [hcover]; trivial |
| 52 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hx |
| 53 | exact Opens.mem_iSup.mpr ⟨i, hi⟩ |
| 54 | obtain ⟨r₀, hr₀, hcov⟩ := coefficient_open_equality_away M (iSup V) ⊤ htop |
| 55 | have hEq (j : G × I) : M.specialization ⁻¹ᵁ ((a j.1).left ⁻¹ᵁ V j.2) = |
| 56 | M.specialization ⁻¹ᵁ V j.2 := by |
| 57 | rw [← Scheme.Hom.comp_preimage, hcomp, Scheme.Hom.comp_preimage] |
| 58 | exact hInv j.1 j.2 |
| 59 | choose r hr hgood using fun j : G × I => |
| 60 | coefficient_open_equality_away M ((a j.1).left ⁻¹ᵁ V j.2) (V j.2) (hEq j) |
| 61 | let d := ∏ j : G × I, r j |
| 62 | refine ⟨r₀ * d, mul_ne_zero hr₀ (Finset.prod_ne_zero_iff.mpr (fun j _ => hr j)), ?_, ?_⟩ |
| 63 | · intro x hx |
| 64 | exact Opens.mem_iSup.mp ((hcov x (fun h => hx ((M.model.hom x).asIdeal.mul_mem_right d h))).mpr trivial) |
| 65 | · intro g i x hx |
| 66 | apply hgood (g, i) x |
| 67 | intro h |
| 68 | have hd : r (g, i) ∣ r₀ * d := |
| 69 | (Finset.dvd_prod_of_mem r (Finset.mem_univ (g, i))).trans (dvd_mul_left d r₀) |
| 70 | exact hx ((M.model.hom x).asIdeal.mem_of_dvd hd h) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.InvariantCoverLocalization.Coefficients |