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.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.Duality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.Vanishing |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KernelTowerCechHomology |
| 4 | |
| 5 | /-! # Cohomology -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.Cohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The top-cohomology complex of the actual negative-twist resolution |
| 12 | computes the lower native Čech cohomology of the original coherent sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 21 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 22 | |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativeResolution OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.Duality |
| 26 | Vanishing |
| 27 | |
| 28 | variable (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 29 | (j : σ) (B : ℕ) |
| 30 | |
| 31 | private instance tower_object_quasicoherent (i : ℕ) : |
| 32 | ((Projective.NegativeResolution.tower M j B).object i).IsQuasicoherent := |
| 33 | inferInstanceAs ((Projective.NegativeResolution.state M j B i).module.IsQuasicoherent) |
| 34 | |
| 35 | private instance tower_term_quasicoherent (i : ℕ) : |
| 36 | ((Projective.NegativeResolution.tower M j B).term i).IsQuasicoherent := |
| 37 | Duality.term_quasicoherent M j B i |
| 38 | |
| 39 | def zeroIso (n : ℕ) (hn : Fintype.card σ = n + 2) : |
| 40 | (Duality.topComplex M j B n).homology 0 ≅ |
| 41 | (Vanishing.cohomology (R := R) (σ := σ) (n + 1)).obj M := |
| 42 | KernelTowerCechHomology.zeroIso (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 43 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R)) |
| 44 | (Projective.NegativeResolution.tower M j B) (n + 1) (by simpa using hn.le) |
| 45 | |
| 46 | def positiveIso (hB : 0 < B) (q i : ℕ) (hn : Fintype.card σ = q + i + 2) : |
| 47 | (Duality.topComplex M j B (q + i)).homology (i + 1) ≅ |
| 48 | (Vanishing.cohomology (R := R) (σ := σ) q).obj M := by |
| 49 | letI : Nontrivial σ := Fintype.one_lt_card_iff_nontrivial.mp (by omega) |
| 50 | exact KernelTowerCechHomology.shiftedPositiveIso (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 51 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R)) |
| 52 | (Projective.NegativeResolution.tower M j B) q i (by simpa using hn.le) |
| 53 | (fun r hr k => Vanishing.term_isZero M j B hB k r (by omega)) |
| 54 | |
| 55 | def comparisonIso (hB : 0 < B) (n : ℕ) (hn : Fintype.card σ = n + 2) |
| 56 | (d : ℕ) (hd : d ≤ n + 1) : |
| 57 | (Duality.topComplex M j B n).homology d ≅ |
| 58 | (Vanishing.cohomology (R := R) (σ := σ) (n + 1 - d)).obj M := by |
| 59 | cases d with |
| 60 | | zero => exact zeroIso M j B n hn |
| 61 | | succ i => |
| 62 | have hi : i ≤ n := by omega |
| 63 | have hi' : n - i + i = n := Nat.sub_add_cancel hi |
| 64 | have hcard : Fintype.card σ = n - i + i + 2 := by omega |
| 65 | simpa only [hi', Nat.add_sub_add_right] using positiveIso M j B hB (n - i) i hcard |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.Cohomology |