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.SheafCohomology.Projective.HomogeneousPolynomialMatrix |
| 2 | |
| 3 | /-! # Weighted Free Degree Components -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.WeightedFreeDegreeComponents |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coordinates of a sufficiently high degree piece of a weighted free polynomial module. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | universe u v w |
| 13 | variable {R : Type u} [CommRing R] {σ : Type v} [Fintype σ] |
| 14 | variable {ι : Type w} [Fintype ι] |
| 15 | |
| 16 | def weightedFreeDegreeComponents (d : ι → ℕ) (n : ℕ) (hd : ∀ i, d i ≤ n) : |
| 17 | HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) R (fun i => (d i : ℤ)) (n : ℤ) →ₗ[R] |
| 18 | (∀ i, homogeneousSubmodule σ R (n - d i)) where |
| 19 | toFun f i := ⟨f.val i, by |
| 20 | have hi := (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.mem_weightedFreeGrading R (fun i => (d i : ℤ)) (n : ℤ) f.val).mp f.property i |
| 21 | rwa [← Int.natCast_sub (hd i), HilbertScheme.Presentations.IntegerPolynomialGrading.GradedModules.polynomialIntegerGrading_nat] at hi⟩ |
| 22 | map_add' f g := by ext i; rfl |
| 23 | map_smul' r f := by ext i; rfl |
| 24 | |
| 25 | def weightedFreeDegreeComponentsEquiv (d : ι → ℕ) (n : ℕ) (hd : ∀ i, d i ≤ n) : |
| 26 | HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) R (fun i => (d i : ℤ)) (n : ℤ) ≃ₗ[R] |
| 27 | (∀ i, homogeneousSubmodule σ R (n - d i)) := |
| 28 | LinearEquiv.ofBijective (weightedFreeDegreeComponents d n hd) (by |
| 29 | constructor |
| 30 | · intro f g h |
| 31 | apply Subtype.ext |
| 32 | apply Finsupp.ext |
| 33 | intro i |
| 34 | exact congrArg (fun a => (a i).val) h |
| 35 | · intro f |
| 36 | let x : ι →₀ MvPolynomial σ R := Finsupp.equivFunOnFinite.symm (fun i => (f i).val) |
| 37 | have hx : x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun i => (d i : ℤ)) (n : ℤ) := by |
| 38 | rw [HilbertScheme.Presentations.WeightedFreeModules.GradedModules.mem_weightedFreeGrading] |
| 39 | intro i |
| 40 | change (f i).val ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading R ((n : ℤ) - (d i : ℤ)) |
| 41 | rw [← Int.natCast_sub (hd i), HilbertScheme.Presentations.IntegerPolynomialGrading.GradedModules.polynomialIntegerGrading_nat] |
| 42 | exact (f i).property |
| 43 | exact ⟨⟨x, hx⟩, rfl⟩) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.WeightedFreeDegreeComponents |