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.HilbertConstruction.Moduli.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.Data |
| 4 | |
| 5 | /-! # Fine -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.Fine |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The selected HilbertConstruction input, stated on the implemented pure polarized |
| 12 | moduli objects and actual quasi-projective presentations. It concerns |
| 13 | only the pure problem at a tame auxiliary level; no PEL model, |
| 14 | PEL representability, or analytic comparison is assumed. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | structure PurePolarizedModel (g : ℕ) (δ : Fin g → ℕ) (L : ℕ) (S : Scheme.{0}) where |
| 19 | space : Over S |
| 20 | universal : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ L space.left |
| 21 | |
| 22 | def PurePolarizedModel.IsFine {g L : ℕ} {δ : Fin g → ℕ} {S : Scheme.{0}} |
| 23 | (M : PurePolarizedModel g δ L S) : Prop := |
| 24 | ∀ (T : Over S) (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ L T.left), |
| 25 | ∃! f : T ⟶ M.space, Nonempty (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback f.left) A) |
| 26 | |
| 27 | /-- Exact pure HilbertConstruction graph input, with its proposed interfaces implemented. |
| 28 | This is an explicit theorem parameter, never an axiom declaration. -/ |
| 29 | def PureHilbertConstructionInput : Prop := |
| 30 | ∀ (g : ℕ), 0 < g → ∀ (δ : Fin g → ℕ), (∀ i, 0 < δ i) → |
| 31 | (∀ i j, i ≤ j → δ i ∣ δ j) → |
| 32 | ∀ (L : ℕ), 3 ≤ L → Nat.Coprime L (∏ i, δ i) → |
| 33 | ∀ (S : Scheme.{0}), IsUnit (L : Γ(S, ⊤)) → (∀ i, IsUnit (δ i : Γ(S, ⊤))) → |
| 34 | ∃ M : PurePolarizedModel g δ L S, |
| 35 | Nonempty (HilbertConstruction.Projective.ProjectivePresentations.QuasiProjectivePresentation M.space) ∧ M.IsFine |
| 36 | |
| 37 | theorem positive_integer_unit_on_field_base {K : Type} [Field K] [CharZero K] |
| 38 | {S : Scheme.{0}} (p : S ⟶ Spec (.of K)) (n : ℕ) (hn : 0 < n) : IsUnit (n : Γ(S, ⊤)) := by |
| 39 | let constants : K →+* Γ(S, ⊤) := p.appTop.hom.comp (Scheme.ΓSpecIso (.of K)).inv.hom |
| 40 | have h : IsUnit (n : K) := isUnit_iff_ne_zero.mpr (Nat.cast_ne_zero.mpr (Nat.ne_of_gt hn)) |
| 41 | simpa only [map_natCast] using h.map constants |
| 42 | |
| 43 | theorem exists_auxiliary_pure_moduli (h33 : PureHilbertConstructionInput) |
| 44 | {K : Type} [Field K] [CharZero K] (g : ℕ) (hg : 0 < g) (δ : Fin g → ℕ) |
| 45 | (hδ : ∀ i, 0 < δ i) (hchain : ∀ i j, i ≤ j → δ i ∣ δ j) |
| 46 | (N : ℕ) (hN : 0 < N) : |
| 47 | ∃ L : ℕ, 3 ≤ L ∧ Nat.Coprime L (∏ i, δ i) ∧ Nat.Coprime L N ∧ |
| 48 | ∃ M : PurePolarizedModel g δ L (Spec (.of K)), |
| 49 | Nonempty (HilbertConstruction.Projective.ProjectivePresentations.QuasiProjectivePresentation M.space) ∧ M.IsFine := by |
| 50 | have hD : 0 < ∏ i, δ i := Finset.prod_pos (fun i _ => hδ i) |
| 51 | obtain ⟨L, hL, hLD, hLN⟩ := Level.Data.exists_auxiliary_level (∏ i, δ i) N hD hN |
| 52 | obtain ⟨M, hM, hf⟩ := h33 g hg δ hδ hchain L hL hLD (Spec (.of K)) |
| 53 | (positive_integer_unit_on_field_base (𝟙 (Spec (.of K))) L (by omega)) |
| 54 | (fun i => positive_integer_unit_on_field_base (𝟙 (Spec (.of K))) (δ i) (hδ i)) |
| 55 | exact ⟨L, hL, hLD, hLN, M, hM, hf⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.Fine |