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.BaseLinearSectionIso |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.TwistSectionRank |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.TwistRankRigidity |
| 4 | |
| 5 | /-! # Section Rank -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.SectionRank |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A base-linear section rank for actual projective module sheaves, |
| 12 | invariant under module isomorphism and base-preserving scheme automorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | universe u |
| 17 | variable (K : Type u) [Field K] {n : ℕ} |
| 18 | |
| 19 | def projectiveSectionRank (M : (Proj (Hilbert.Polynomial.GradedHilbert.grading K n)).Modules) : ℕ := |
| 20 | letI := Module.compHom Γ(M, ⊤) (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (n + 1))).appTop.hom |
| 21 | Module.finrank Γ(Spec (.of K), ⊤) Γ(M, ⊤) |
| 22 | |
| 23 | theorem projectiveSectionRank_iso {M N : (Proj (Hilbert.Polynomial.GradedHilbert.grading K n)).Modules} (e : M ≅ N) : |
| 24 | projectiveSectionRank K M = projectiveSectionRank K N := by |
| 25 | let := Module.compHom Γ(M, ⊤) (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (n + 1))).appTop.hom |
| 26 | let := Module.compHom Γ(N, ⊤) (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (n + 1))).appTop.hom |
| 27 | exact (BaseLinearSectionIso.baseLinearSectionIso (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (n + 1))) e).finrank_eq |
| 28 | |
| 29 | theorem projectiveSectionRank_pullback |
| 30 | (e : Proj (Hilbert.Polynomial.GradedHilbert.grading K n) ≅ Proj (Hilbert.Polynomial.GradedHilbert.grading K n)) |
| 31 | (he : e.hom ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) |
| 32 | (M : (Proj (Hilbert.Polynomial.GradedHilbert.grading K n)).Modules) : |
| 33 | projectiveSectionRank K ((Scheme.Modules.pullback e.hom).obj M) = projectiveSectionRank K M := by |
| 34 | let := Module.compHom Γ(M, ⊤) (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (n + 1))).appTop.hom |
| 35 | let := Module.compHom Γ((Scheme.Modules.pullback e.hom).obj M, ⊤) |
| 36 | (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (n + 1))).appTop.hom |
| 37 | exact (BaseLinearSectionPullback.baseLinearSectionPullbackEquiv SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ e he M).finrank_eq.symm |
| 38 | |
| 39 | theorem projectiveSectionRank_twist_nat (j : Fin (n + 1)) (d : ℕ) : |
| 40 | projectiveSectionRank K (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := K) j (d : ℤ)) = (d + n).choose n := |
| 41 | TwistSectionRank.projectiveTwistSections_finrank K j d |
| 42 | |
| 43 | theorem projectiveSectionRank_twist_neg (hn : 0 < n) (j : Fin (n + 1)) (d : ℤ) (hd : d < 0) : |
| 44 | projectiveSectionRank K (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := K) j d) = 0 := by |
| 45 | let := (TwistSectionRank.specFieldSectionRing_isField K).toField |
| 46 | let := Module.compHom Γ(SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := K) j d, ⊤) |
| 47 | (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (n + 1))).appTop.hom |
| 48 | let := TwistSectionRank.projectiveTwistSections_subsingleton_of_neg K hn j d hd |
| 49 | exact Module.finrank_zero_of_subsingleton |
| 50 | |
| 51 | theorem projectiveSectionRank_twist_eq_dimension (hn : 0 < n) (j : Fin (n + 1)) (d : ℤ) |
| 52 | (hd : projectiveSectionRank K (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := K) j d) = n + 1) : d = 1 := by |
| 53 | by_cases hnonneg : 0 ≤ d |
| 54 | · obtain ⟨a, rfl⟩ := Int.eq_ofNat_of_zero_le hnonneg |
| 55 | rw [projectiveSectionRank_twist_nat] at hd |
| 56 | have ha := (TwistRankRigidity.projectiveTwistRank_eq_dimension_iff n hn a).mp hd |
| 57 | exact_mod_cast ha |
| 58 | · rw [projectiveSectionRank_twist_neg K hn j d (lt_of_not_ge hnonneg)] at hd |
| 59 | omega |
| 60 | |
| 61 | theorem projectiveSectionRank_twist_eq_natDegree (hn : 0 < n) (j : Fin (n + 1)) (d : ℤ) (m : ℕ) |
| 62 | (hd : projectiveSectionRank K (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := K) j d) = (m + n).choose n) : d = (m : ℤ) := by |
| 63 | by_cases hnonneg : 0 ≤ d |
| 64 | · obtain ⟨a, rfl⟩ := Int.eq_ofNat_of_zero_le hnonneg |
| 65 | rw [projectiveSectionRank_twist_nat] at hd |
| 66 | exact_mod_cast (TwistRankRigidity.projectiveTwistRank_strictMono n hn).injective hd |
| 67 | · rw [projectiveSectionRank_twist_neg K hn j d (lt_of_not_ge hnonneg)] at hd |
| 68 | have hp : 0 < (m + n).choose n := Nat.choose_pos (Nat.le_add_left n m) |
| 69 | omega |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.SectionRank |