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.Arithmetic.PrimeModels |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.AuxiliaryPrimeLevel |
| 3 | |
| 4 | /-! # Models From Pure Factory -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.ModelsFromPureFactory |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual pure models at sufficiently large levels give the arithmetic |
| 11 | prime models used by IntegralModel. Only one finite integer denominator is enlarged. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem arithmeticPrimePELModels_of_pure_models |
| 16 | {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 17 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (B d : ℕ) (hd : 0 < d) |
| 18 | (hPure : ∀ (p : ℕ) [NeZero p], 3 ≤ p → B < p → |
| 19 | ∀ (R : Type) [CommRing R] [IsNoetherianRing R], |
| 20 | IsUnit (p : R) → IsUnit (2 : R) → IsUnit (d : R) → |
| 21 | IsUnit ((∏ i, P.polarizationType i) : R) → |
| 22 | ∃ M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel (3 * s) P.polarizationType p (Spec (.of R)), |
| 23 | Nonempty (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.QuasiProjectivePresentation M.space) ∧ M.IsFine) |
| 24 | (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) : Arithmetic.PrimeModels.ArithmeticPrimePELModels P := by |
| 25 | constructor |
| 26 | intro K _ _ κ N _ _hs hδ _hchain iota |
| 27 | let δ₀ := ∏ i, P.polarizationType i |
| 28 | have hδ₀ : 0 < δ₀ := Finset.prod_pos (fun i _ => hδ i) |
| 29 | obtain ⟨p, hp, hp3, hpδ, hpN, hpB⟩ := |
| 30 | AuxiliaryPrimeLevel.exists_auxiliary_prime_level_above δ₀ N B hδ₀ (NeZero.pos N) |
| 31 | let : NeZero p := ⟨hp.ne_zero⟩ |
| 32 | obtain ⟨G⟩ := CM.GeneratorReconstruction.cm_integral_generator_data_exists E |
| 33 | let D₀ := N * p * δ₀ * G.conductor |
| 34 | have hD₀ : D₀ ≠ 0 := mul_ne_zero (mul_ne_zero (mul_ne_zero (NeZero.ne N) hp.ne_zero) |
| 35 | (ne_of_gt hδ₀)) G.conductor_ne_zero |
| 36 | let D := D₀ * (2 * d) |
| 37 | have hD : D ≠ 0 := mul_ne_zero hD₀ (mul_ne_zero (by decide) (ne_of_gt hd)) |
| 38 | let L : Arithmetic.Open.FiniteNumberFieldExtension K := { carrier := K } |
| 39 | let A : Base.ArithmeticBaseExtension K κ := { |
| 40 | extension := L |
| 41 | embedding := κ |
| 42 | embedding_extends := by ext x; rfl |
| 43 | denominator := D |
| 44 | denominator_ne_zero := hD } |
| 45 | have hbase : D₀ ∣ D := dvd_mul_right D₀ (2 * d) |
| 46 | have hNdiv : N ∣ D := ((dvd_mul_right N p).trans |
| 47 | ((dvd_mul_right (N * p) δ₀).trans (dvd_mul_right (N * p * δ₀) G.conductor))).trans hbase |
| 48 | have hpdiv : p ∣ D := ((dvd_mul_left p N).trans |
| 49 | ((dvd_mul_right (N * p) δ₀).trans (dvd_mul_right (N * p * δ₀) G.conductor))).trans hbase |
| 50 | have hδdiv : δ₀ ∣ D := ((dvd_mul_left δ₀ (N * p)).trans |
| 51 | (dvd_mul_right (N * p * δ₀) G.conductor)).trans hbase |
| 52 | have hcdiv : G.conductor ∣ D := (dvd_mul_left G.conductor (N * p * δ₀)).trans hbase |
| 53 | have h2div : 2 ∣ D := (dvd_mul_right 2 d).trans (dvd_mul_left (2 * d) D₀) |
| 54 | have hddiv : d ∣ D := (dvd_mul_left d 2).trans (dvd_mul_left (2 * d) D₀) |
| 55 | obtain ⟨M, ⟨Q⟩, hM⟩ := hPure p hp3 hpB A.R |
| 56 | (A.divisor_isUnit p hpdiv) (A.divisor_isUnit 2 h2div) (A.divisor_isUnit d hddiv) |
| 57 | (by simpa only [δ₀, Nat.cast_prod] using A.divisor_isUnit δ₀ hδdiv) |
| 58 | obtain ⟨D', hD', hND', hAD', φ, hφ, V, hred, hn, hft, hqc, hsep, U, hclass⟩ := |
| 59 | Arithmetic.AddedFromPure.exists_arithmetic_added_pel_fine_model_from_pureModel A P iota M hM Q hp3 |
| 60 | (A.divisor_isUnit N hNdiv) G (A.divisor_isUnit G.conductor hcdiv) hPresentations |
| 61 | let A' := A.withDenominator D' hD' |
| 62 | exact ⟨A', A'.divisor_isUnit N hND', p, hp, hp3, hpN, hpδ, |
| 63 | A'.divisor_isUnit p (hpdiv.trans hAD'), V, hred, hn, hft, hqc, hsep, U, hclass⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.ModelsFromPureFactory |