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.Graded.ModuleRestriction |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.LaurentDegree |
| 3 | |
| 4 | /-! # Fraction Degrees -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.FractionDegrees.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Comparison of homogeneous polynomial fractions with the Laurent basis degree. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.ModuleRestriction.GradedModules |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {σ : Type u} [Fintype σ] [DecidableEq σ] |
| 19 | variable (R : Type v) [CommRing R] |
| 20 | |
| 21 | theorem sum_inversionExponent (s : Finset σ) : |
| 22 | (∑ i, (LaurentExponents.ProjectiveCech.inversionExponent s i : ℤ)) = (s.card : ℤ) := by |
| 23 | simp [LaurentExponents.ProjectiveCech.inversionExponent_apply] |
| 24 | |
| 25 | theorem exponentDegree_ofNumerator (s : Finset σ) (m : σ →₀ ℕ) (k : ℕ) : |
| 26 | LaurentDegree.ProjectiveCech.exponentDegree (LaurentExponents.ProjectiveCech.exponentOfNumerator s m k).val = |
| 27 | Finsupp.weight (fun _ : σ => (1 : ℤ)) m - (k : ℤ) * (s.card : ℤ) := by |
| 28 | change (∑ i, ((m i : ℤ) - (k : ℤ) * (LaurentExponents.ProjectiveCech.inversionExponent s i : ℤ))) = _ |
| 29 | rw [Finset.sum_sub_distrib, ← Finset.mul_sum, sum_inversionExponent, Finsupp.weight_eq_sum] |
| 30 | simp only [nsmul_eq_mul, mul_one] |
| 31 | |
| 32 | theorem exponentOfNumerator_numeratorExponent {s : Finset σ} (a : LaurentExponents.ProjectiveCech.LaurentExponent s) |
| 33 | (k : ℕ) (hk : LaurentExponents.ProjectiveCech.denominatorBound a ≤ k) : |
| 34 | LaurentExponents.ProjectiveCech.exponentOfNumerator s (LaurentExponents.ProjectiveCech.numeratorExponent a k) k = a := by |
| 35 | apply Subtype.ext |
| 36 | funext i |
| 37 | change (LaurentExponents.ProjectiveCech.numeratorExponent a k i : ℤ) - (k : ℤ) * (LaurentExponents.ProjectiveCech.inversionExponent s i : ℤ) = a.val i |
| 38 | rw [LaurentExponents.ProjectiveCech.numeratorExponent_cast a k hk, add_sub_cancel_right] |
| 39 | |
| 40 | theorem numeratorExponent_weight {s : Finset σ} (a : LaurentExponents.ProjectiveCech.LaurentExponent s) |
| 41 | (k : ℕ) (hk : LaurentExponents.ProjectiveCech.denominatorBound a ≤ k) : |
| 42 | Finsupp.weight (fun _ : σ => (1 : ℤ)) (LaurentExponents.ProjectiveCech.numeratorExponent a k) = |
| 43 | LaurentDegree.ProjectiveCech.exponentDegree a.val + (k : ℤ) * (s.card : ℤ) := by |
| 44 | have h := exponentDegree_ofNumerator s (LaurentExponents.ProjectiveCech.numeratorExponent a k) k |
| 45 | rw [exponentOfNumerator_numeratorExponent a k hk] at h |
| 46 | omega |
| 47 | |
| 48 | theorem chartFractionLinearMap_homogeneous (s : Finset σ) (d : ℤ) (k : ℕ) |
| 49 | (p : MvPolynomial σ R) (hp : p ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading R (d + (k : ℤ) * (s.card : ℤ))) : |
| 50 | LaurentBasis.ProjectiveCech.chartFractionLinearMap R s k p ∈ LaurentDegree.ProjectiveCech.laurentDegreeSubmodule R s d := by |
| 51 | apply MvPolynomial.IsWeightedHomogeneous.induction_on |
| 52 | (motive := fun p _ => LaurentBasis.ProjectiveCech.chartFractionLinearMap R s k p ∈ LaurentDegree.ProjectiveCech.laurentDegreeSubmodule R s d) |
| 53 | ?_ ?_ ?_ hp |
| 54 | · rw [map_zero] |
| 55 | exact Submodule.zero_mem _ |
| 56 | · intro p q _ _ hp hq |
| 57 | rw [map_add] |
| 58 | exact Submodule.add_mem _ hp hq |
| 59 | · intro m r hm |
| 60 | have hr : monomial m r = r • monomial m (1 : R) := by |
| 61 | rw [smul_monomial, smul_eq_mul, mul_one] |
| 62 | rw [hr, map_smul, LaurentBasis.ProjectiveCech.chartFractionLinearMap_apply, ← LaurentMonomials.ProjectiveCech.laurentMonomial_ofNumerator] |
| 63 | apply Submodule.smul_mem |
| 64 | have hd : LaurentDegree.ProjectiveCech.exponentDegree (LaurentExponents.ProjectiveCech.exponentOfNumerator s m k).val = d := by |
| 65 | rw [exponentDegree_ofNumerator, hm, add_sub_cancel_right] |
| 66 | exact hd ▸ LaurentDegree.ProjectiveCech.laurentMonomial_mem_degree R s (LaurentExponents.ProjectiveCech.exponentOfNumerator s m k) |
| 67 | |
| 68 | theorem laurentMonomial_homogeneous_fraction (s : Finset σ) (a : LaurentExponents.ProjectiveCech.LaurentExponent s) : |
| 69 | ∃ (k : ℕ) (p : MvPolynomial σ R), |
| 70 | p ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading R (LaurentDegree.ProjectiveCech.exponentDegree a.val + (k : ℤ) * (s.card : ℤ)) ∧ |
| 71 | LaurentBasis.ProjectiveCech.chartFractionLinearMap R s k p = LaurentMonomials.ProjectiveCech.laurentMonomial R a := by |
| 72 | refine ⟨LaurentExponents.ProjectiveCech.denominatorBound a, monomial (LaurentExponents.ProjectiveCech.numeratorExponent a (LaurentExponents.ProjectiveCech.denominatorBound a)) 1, ?_, ?_⟩ |
| 73 | · exact isWeightedHomogeneous_monomial _ _ _ (numeratorExponent_weight a _ le_rfl) |
| 74 | · rw [LaurentBasis.ProjectiveCech.chartFractionLinearMap_apply] |
| 75 | rfl |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.FractionDegrees.ProjectiveCech |