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.Finite.ProjectiveSectionKernelOpen |
| 2 | import Mathlib.AlgebraicGeometry.ResidueField |
| 3 | |
| 4 | /-! # Kernel Open All Tests -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.KernelOpenAllTests |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The cycle-completeness rank open classifies fiberwise completeness |
| 11 | on every test scheme. This is a geometric field-test condition; identifying |
| 12 | it with complete sections of the Hilbert family is a separate comparison. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} {r : ℕ} |
| 16 | variable {M N : Type u} [AddCommGroup M] [Module Γ(S, ⊤) M] |
| 17 | variable [AddCommGroup N] [Module Γ(S, ⊤) N] |
| 18 | variable [Module.Finite Γ(S, ⊤) M] [Module.Projective Γ(S, ⊤) M] |
| 19 | variable [Module.Finite Γ(S, ⊤) N] [Module.Projective Γ(S, ⊤) N] |
| 20 | variable (s : (Fin r →₀ Γ(S, ⊤)) →ₗ[Γ(S, ⊤)] M) (d : M →ₗ[Γ(S, ⊤)] N) (h : d.comp s = 0) |
| 21 | |
| 22 | def GeometricSectionKernelComplete {T : Scheme.{u}} (b : T ⟶ S) : Prop := |
| 23 | ∀ (K : Type u) [Field K] (q : Spec (.of K) ⟶ T), |
| 24 | letI := (q ≫ b).appTop.hom.toAlgebra |
| 25 | Function.Bijective (HilbertConstruction.Finite.ProjectiveSectionKernelOpen.baseChangedSectionKernelComparison s d h Γ(Spec (.of K), ⊤)) |
| 26 | |
| 27 | theorem finiteProjectiveSectionKernelOpen_all_tests {T : Scheme.{u}} (b : T ⟶ S) : |
| 28 | GeometricSectionKernelComplete s d h b ↔ |
| 29 | Set.range b ⊆ (HilbertConstruction.Finite.ProjectiveSectionKernelOpen.finiteProjectiveSectionKernelOpen s d : Set S) := by |
| 30 | constructor |
| 31 | · intro hb |
| 32 | rintro _ ⟨t, rfl⟩ |
| 33 | let q := T.fromSpecResidueField t |
| 34 | let k : Spec (T.residueField t) := (⊥ : PrimeSpectrum (T.residueField t)) |
| 35 | have hk := ((HilbertConstruction.Finite.ProjectiveSectionKernelOpen.finiteProjectiveSectionKernelOpen_field_point s d h (q ≫ b)).mpr |
| 36 | (hb (T.residueField t) q)) ⟨k, rfl⟩ |
| 37 | change b (T.fromSpecResidueField t k) ∈ HilbertConstruction.Finite.ProjectiveSectionKernelOpen.finiteProjectiveSectionKernelOpen s d at hk |
| 38 | simpa only [Scheme.fromSpecResidueField_apply, SetLike.mem_coe] using hk |
| 39 | · intro hb K _ q |
| 40 | apply (HilbertConstruction.Finite.ProjectiveSectionKernelOpen.finiteProjectiveSectionKernelOpen_field_point s d h (q ≫ b)).mp |
| 41 | rintro _ ⟨x, rfl⟩ |
| 42 | exact hb ⟨q x, rfl⟩ |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.KernelOpenAllTests |