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.Coefficient.RingSectionBasis |
| 2 | import Mathlib.LinearAlgebra.Finsupp.LinearCombination |
| 3 | |
| 4 | /-! # Section Frame Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionFrameCriterion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A specified section family is complete precisely when its actual |
| 11 | coefficient linear-combination map is bijective. The inverse map constructs |
| 12 | the basis and retains the given sections. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u v |
| 15 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] {ι : Type v} |
| 16 | variable (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 17 | |
| 18 | def coefficientSectionLinearCombination (s : ι → (Line.Bundles.structureModule X ⟶ M)) : |
| 19 | (ι →₀ R) →ₗ[R] (GlobalSectionsFunctor.coefficientGlobalSectionsFunctor c).obj M := |
| 20 | Finsupp.linearCombination R (fun i => RingSectionBasis.coefficientRingSectionAddEquiv c M (s i)) |
| 21 | |
| 22 | theorem coefficientSectionLinearCombination_single |
| 23 | (s : ι → (Line.Bundles.structureModule X ⟶ M)) (i : ι) : |
| 24 | coefficientSectionLinearCombination c M s (Finsupp.single i 1) = |
| 25 | RingSectionBasis.coefficientRingSectionAddEquiv c M (s i) := by |
| 26 | exact (Finsupp.linearCombination_single R 1 i).trans (one_smul R _) |
| 27 | |
| 28 | def coefficientSectionBasisOfBijective (s : ι → (Line.Bundles.structureModule X ⟶ M)) |
| 29 | (h : Function.Bijective (coefficientSectionLinearCombination c M s)) : |
| 30 | Module.Basis ι R ((GlobalSectionsFunctor.coefficientGlobalSectionsFunctor c).obj M) := |
| 31 | Module.Basis.ofRepr (LinearEquiv.ofBijective (coefficientSectionLinearCombination c M s) h).symm |
| 32 | |
| 33 | theorem coefficientSectionBasisOfBijective_family (s : ι → (Line.Bundles.structureModule X ⟶ M)) |
| 34 | (h : Function.Bijective (coefficientSectionLinearCombination c M s)) : |
| 35 | RingSectionBasis.coefficientRingBasisFamily c M (coefficientSectionBasisOfBijective c M s h) = s := by |
| 36 | funext i |
| 37 | apply (RingSectionBasis.coefficientRingSectionAddEquiv c M).injective |
| 38 | change RingSectionBasis.coefficientRingSectionAddEquiv c M |
| 39 | ((RingSectionBasis.coefficientRingSectionAddEquiv c M).symm |
| 40 | (coefficientSectionLinearCombination c M s (Finsupp.single i 1))) = _ |
| 41 | exact (AddEquiv.apply_symm_apply _ _).trans |
| 42 | (coefficientSectionLinearCombination_single c M s i) |
| 43 | |
| 44 | theorem coefficientSectionLinearCombination_basis |
| 45 | (b : Module.Basis ι R ((GlobalSectionsFunctor.coefficientGlobalSectionsFunctor c).obj M)) : |
| 46 | coefficientSectionLinearCombination c M (RingSectionBasis.coefficientRingBasisFamily c M b) = |
| 47 | b.repr.symm.toLinearMap := by |
| 48 | have hv : (fun i => RingSectionBasis.coefficientRingSectionAddEquiv c M (RingSectionBasis.coefficientRingBasisFamily c M b i)) = b := by |
| 49 | funext i |
| 50 | exact (RingSectionBasis.coefficientRingSectionAddEquiv c M).apply_symm_apply (b i) |
| 51 | change Finsupp.linearCombination R _ = _ |
| 52 | rw [hv] |
| 53 | exact b.coe_repr_symm.symm |
| 54 | |
| 55 | theorem coefficientSectionLinearCombination_bijective_iff |
| 56 | (s : ι → (Line.Bundles.structureModule X ⟶ M)) : |
| 57 | Function.Bijective (coefficientSectionLinearCombination c M s) ↔ |
| 58 | ∃ b : Module.Basis ι R ((GlobalSectionsFunctor.coefficientGlobalSectionsFunctor c).obj M), |
| 59 | RingSectionBasis.coefficientRingBasisFamily c M b = s := by |
| 60 | constructor |
| 61 | · intro h |
| 62 | exact ⟨coefficientSectionBasisOfBijective c M s h, |
| 63 | coefficientSectionBasisOfBijective_family c M s h⟩ |
| 64 | · rintro ⟨b, rfl⟩ |
| 65 | rw [coefficientSectionLinearCombination_basis] |
| 66 | exact b.repr.symm.bijective |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionFrameCriterion |