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.ArithmeticCoefficientLocalization |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.GlobalReducedPolarizedRigidity |
| 3 | |
| 4 | /-! # Polarized Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.PolarizedRigidity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Realize full-level rigidity over the arithmetic bases of the polarized |
| 11 | moduli problem. The natural denominator and the compatible map of arithmetic |
| 12 | bases are constructed, and the result covers all reduced tests. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | theorem arithmetic_polarized_reduced_rigidity |
| 19 | {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 20 | (B : Base.ArithmeticBaseExtension K κ) {S : Scheme.{0}} [IsNoetherian S] |
| 21 | (p : S ⟶ B.base) [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 | ∃ (D : ℕ) (hD : D ≠ 0), N ∣ D ∧ B.denominator ∣ D ∧ |
| 25 | let B' := B.withDenominator D hD |
| 26 | ∃ b : B'.base ⟶ B.base, B'.generic ≫ b = B.generic ∧ |
| 27 | ∀ {T : Scheme.{0}} [IsReduced T] (t : T ⟶ S) (q : T ⟶ B'.base), |
| 28 | t ≫ p = q ≫ b → |
| 29 | ∀ e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback t) (A.pullback t), |
| 30 | e.abelian.hom = 𝟙 (A.abelian.pullback t).scheme := by |
| 31 | have : IsDomain B.R := Function.Injective.isDomain B.toField B.toField_injective |
| 32 | have : Countable B.extension.carrier := AbelianScheme.TateComparison.CountableResidueFields.countable_finiteType ℚ B.extension.carrier |
| 33 | obtain ⟨r, hr, hrigid⟩ := GlobalReducedPolarizedRigidity.polarized_reduced_rigidity_away B.toField B.toField_injective p A hN hPresentations |
| 34 | obtain ⟨D, hD, hND, hBD, φ, hφ, hunit⟩ := |
| 35 | B.coefficient_isUnit_after_localization r hr N (by omega) |
| 36 | let B' := B.withDenominator D hD |
| 37 | let b : B'.base ⟶ B.base := Spec.map (CommRingCat.ofHom φ) |
| 38 | have hb : B'.generic ≫ b = B.generic := by |
| 39 | change Spec.map (CommRingCat.ofHom B'.toField) ≫ Spec.map (CommRingCat.ofHom φ) = _ |
| 40 | rw [← Spec.map_comp] |
| 41 | exact congrArg (fun f => Spec.map (CommRingCat.ofHom f)) hφ |
| 42 | refine ⟨D, hD, hND, hBD, b, hb, ?_⟩ |
| 43 | intro T _ t q hbase e |
| 44 | have : IsReduced (Over.mk t).left := inferInstanceAs (IsReduced T) |
| 45 | apply hrigid (Over.mk t) e |
| 46 | intro x hbad |
| 47 | have hx : p (t x) = b (q x) := congrArg (fun f : T ⟶ B.base => f x) hbase |
| 48 | have hmem : φ r ∈ (q x).asIdeal := |
| 49 | (congrArg (fun z : B.base => r ∈ z.asIdeal) hx).mp hbad |
| 50 | exact (q x).isPrime.ne_top ((q x).asIdeal.eq_top_of_isUnit_mem hmem hunit) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.PolarizedRigidity |