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.KernelDimensionCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProjectiveKernelOpen |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Projective Section Kernel Open -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProjectiveSectionKernelOpen |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A specified finite family of cycles is a complete kernel basis on |
| 12 | an actual open set. The field-valued-point criterion uses two open rank |
| 13 | inequalities and the actual scalar-extended cycle comparison. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {r : ℕ} |
| 18 | variable {M N : Type u} [AddCommGroup M] [Module Γ(S, ⊤) M] |
| 19 | variable [AddCommGroup N] [Module Γ(S, ⊤) N] |
| 20 | variable [Module.Finite Γ(S, ⊤) M] [Module.Projective Γ(S, ⊤) M] |
| 21 | variable [Module.Finite Γ(S, ⊤) N] [Module.Projective Γ(S, ⊤) N] |
| 22 | variable (s : (Fin r →₀ Γ(S, ⊤)) →ₗ[Γ(S, ⊤)] M) (d : M →ₗ[Γ(S, ⊤)] N) |
| 23 | |
| 24 | def finiteProjectiveSectionKernelOpen : S.Opens := |
| 25 | ProjectiveKernelOpen.finiteProjectiveKernelDimensionOpen s 0 ⊓ ProjectiveKernelOpen.finiteProjectiveKernelDimensionOpen d r |
| 26 | |
| 27 | def baseChangedSectionKernelComparison (h : d.comp s = 0) |
| 28 | (B : Type u) [CommRing B] [Algebra Γ(S, ⊤) B] : |
| 29 | (B ⊗[Γ(S, ⊤)] (Fin r →₀ Γ(S, ⊤))) →ₗ[B] (d.baseChange B).ker := |
| 30 | KernelDimensionCriterion.linearKernelComparison (s.baseChange B) (d.baseChange B) (by |
| 31 | rw [← LinearMap.baseChange_comp, h, LinearMap.baseChange_zero]) |
| 32 | |
| 33 | theorem finiteProjectiveSectionKernelOpen_field_point (h : d.comp s = 0) |
| 34 | {K : Type u} [Field K] (c : Spec (.of K) ⟶ S) : |
| 35 | (letI := c.appTop.hom.toAlgebra; |
| 36 | Set.range c ⊆ (finiteProjectiveSectionKernelOpen s d : Set S) ↔ |
| 37 | Function.Bijective (baseChangedSectionKernelComparison s d h Γ(Spec (.of K), ⊤))) := by |
| 38 | let := c.appTop.hom.toAlgebra |
| 39 | let : Field Γ(Spec (.of K), ⊤) := |
| 40 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 41 | (Field.toIsField K)).toField |
| 42 | have hr : Module.finrank Γ(Spec (.of K), ⊤) |
| 43 | (Γ(Spec (.of K), ⊤) ⊗[Γ(S, ⊤)] (Fin r →₀ Γ(S, ⊤))) = r := by |
| 44 | let b := (Finsupp.basisSingleOne : Module.Basis (Fin r) Γ(S, ⊤) (Fin r →₀ Γ(S, ⊤))).baseChange |
| 45 | Γ(Spec (.of K), ⊤) |
| 46 | simpa only [Fintype.card_fin] using Module.finrank_eq_card_basis b |
| 47 | have hs := ProjectiveKernelOpen.finiteProjectiveKernelDimensionOpen_field_point c s 0 |
| 48 | have hd := ProjectiveKernelOpen.finiteProjectiveKernelDimensionOpen_field_point c d r |
| 49 | change Set.range c ⊆ |
| 50 | (ProjectiveKernelOpen.finiteProjectiveKernelDimensionOpen s 0 : Set S) ∩ (ProjectiveKernelOpen.finiteProjectiveKernelDimensionOpen d r : Set S) ↔ |
| 51 | Function.Bijective (KernelDimensionCriterion.linearKernelComparison (s.baseChange Γ(Spec (.of K), ⊤)) |
| 52 | (d.baseChange Γ(Spec (.of K), ⊤)) _) |
| 53 | rw [Set.subset_inter_iff, hs, hd, KernelDimensionCriterion.linearKernelComparison_bijective_iff_kernelDimensions, hr] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProjectiveSectionKernelOpen |