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.HilbertScheme.Presentations.FreeCechLinearAssembly |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.PolynomialCechClasses |
| 3 | |
| 4 | /-! # Free Cech Residues -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.FreeCechResidues.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual homogeneous Čech cycles of a finite weighted free polynomial module have representatives in a finite coefficient module. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {σ : Type u} [Fintype σ] [LinearOrder σ] [Nonempty σ] |
| 17 | variable (R : Type v) [CommRing R] (ι : Type w) [Fintype ι] |
| 18 | |
| 19 | def freeCechResidueAssembly (w : ι → ℤ) (d : ℤ) : |
| 20 | ((i : ι) → PolynomialResidues.ProjectiveCech.polynomialResidueCoefficientModule (σ := σ) R (d - w i)) →ₗ[R] |
| 21 | ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R (ι →₀ MvPolynomial σ R) := |
| 22 | (FreeCechLinearAssembly.ProjectiveCech.freeCechAssembleLinear R ι).comp (LinearMap.pi (fun i => |
| 23 | (PolynomialResidues.ProjectiveCech.polynomialResidueAssembly (σ := σ) R (d - w i)).comp (LinearMap.proj i))) |
| 24 | |
| 25 | omit [Nonempty σ] in |
| 26 | theorem freeCechCoordinate_residueAssembly (w : ι → ℤ) (d : ℤ) |
| 27 | (c : (i : ι) → PolynomialResidues.ProjectiveCech.polynomialResidueCoefficientModule (σ := σ) R (d - w i)) (i : ι) : |
| 28 | ModuleCech.Card.ProjectiveCech.freeCechCoordinate R ι i (freeCechResidueAssembly R ι w d c) = |
| 29 | PolynomialResidues.ProjectiveCech.polynomialResidueAssembly (σ := σ) R (d - w i) (c i) := |
| 30 | FreeModuleCechExactness.ProjectiveCech.freeCechCoordinate_assemble R ι (fun j => PolynomialResidues.ProjectiveCech.polynomialResidueAssembly (σ := σ) R (d - w j) (c j)) i |
| 31 | |
| 32 | instance freeCechResidueAssembly_finite_range (w : ι → ℤ) (d : ℤ) : |
| 33 | Module.Finite R (freeCechResidueAssembly (σ := σ) R ι w d).range := by |
| 34 | infer_instance |
| 35 | |
| 36 | theorem freeModuleCech_cycle_mod_finite_range (w : ι → ℤ) (d : ℤ) (q : ℕ) |
| 37 | (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R (ι →₀ MvPolynomial σ R)) |
| 38 | (hf : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R (ι →₀ MvPolynomial σ R) (WeightedFreeModules.GradedModules.weightedFreeGrading R w) d f) |
| 39 | (hcard : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R (ι →₀ MvPolynomial σ R) (q + 1) f) |
| 40 | (hcycle : ModuleCech.Card.ProjectiveCech.moduleCechDifferential R (ι →₀ MvPolynomial σ R) f = 0) : |
| 41 | ∃ g : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R (ι →₀ MvPolynomial σ R), |
| 42 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R (ι →₀ MvPolynomial σ R) (WeightedFreeModules.GradedModules.weightedFreeGrading R w) d g ∧ |
| 43 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R (ι →₀ MvPolynomial σ R) q g ∧ |
| 44 | f - ModuleCech.Card.ProjectiveCech.moduleCechDifferential R (ι →₀ MvPolynomial σ R) g ∈ (freeCechResidueAssembly R ι w d).range := by |
| 45 | have hcoord (i : ι) : Polynomial.Cech.ProjectiveCech.CechHomogeneous R (d - w i) (ModuleCech.Card.ProjectiveCech.freeCechCoordinate R ι i f) := |
| 46 | fun s => Localized.FreeDegrees.ProjectiveCech.freeLocalizedEquiv_degree R w s d (f s) (hf s) i |
| 47 | have hcoordcard (i : ι) : Polynomial.Cech.ProjectiveCech.CechCardSupported R (q + 1) (ModuleCech.Card.ProjectiveCech.freeCechCoordinate R ι i f) := by |
| 48 | intro s hs |
| 49 | change Localized.FreeCoordinates.ProjectiveCech.freeLocalizedEquiv R ι s (f s) i = 0 |
| 50 | rw [hcard s hs, map_zero, Finsupp.zero_apply] |
| 51 | have hcoordcycle (i : ι) : Polynomial.Cech.ProjectiveCech.polynomialCechDifferential R (ModuleCech.Card.ProjectiveCech.freeCechCoordinate R ι i f) = 0 := by |
| 52 | rw [← ModuleCech.Card.ProjectiveCech.freeCechCoordinate_differential, hcycle, FreeModuleCechExactness.ProjectiveCech.freeCechCoordinate_zero] |
| 53 | choose g hg hgc hres using fun i => PolynomialCechClasses.ProjectiveCech.polynomialCech_cycle_mod_finite_range R (d - w i) q |
| 54 | (ModuleCech.Card.ProjectiveCech.freeCechCoordinate R ι i f) (hcoord i) (hcoordcard i) (hcoordcycle i) |
| 55 | choose c hc using hres |
| 56 | refine ⟨FreeModuleCechExactness.ProjectiveCech.freeCechAssemble R ι g, FreeModuleCechExactness.ProjectiveCech.freeCechAssemble_homogeneous R ι w d g hg, |
| 57 | FreeModuleCechExactness.ProjectiveCech.freeCechAssemble_card R ι q g hgc, c, ?_⟩ |
| 58 | apply FreeModuleCechExactness.ProjectiveCech.freeCechCoordinate_ext R ι |
| 59 | intro i |
| 60 | rw [freeCechCoordinate_residueAssembly, FreeCechLinearAssembly.ProjectiveCech.freeCechCoordinate_sub, ModuleCech.Card.ProjectiveCech.freeCechCoordinate_differential, |
| 61 | FreeModuleCechExactness.ProjectiveCech.freeCechCoordinate_assemble] |
| 62 | exact hc i |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.FreeCechResidues.ProjectiveCech |