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.Finite.CommonCover |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.StandardPolynomialCover |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.Changes |
| 4 | |
| 5 | /-! # Change Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.ChangeCover.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The linear forms of a coordinate automorphism give the same actual graded Čech exactness as the original variables. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial DirectSum |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {K : Type u} [Field K] {n : ℕ} |
| 18 | |
| 19 | def changedLinearCover (e : Hilbert.Polynomial.GradedHilbert.grading K n 1 ≃ₗ[K] Hilbert.Polynomial.GradedHilbert.grading K n 1) : |
| 20 | Fin (n + 1) → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n := fun i => (e (Changes.GradedHilbert.linearVariable i)).val |
| 21 | |
| 22 | theorem changedLinearCover_homogeneous (e : Hilbert.Polynomial.GradedHilbert.grading K n 1 ≃ₗ[K] Hilbert.Polynomial.GradedHilbert.grading K n 1) (i : Fin (n + 1)) : |
| 23 | (changedLinearCover e i).IsHomogeneous 1 := (e (Changes.GradedHilbert.linearVariable i)).property |
| 24 | |
| 25 | theorem changedLinearCover_span (e : Hilbert.Polynomial.GradedHilbert.grading K n 1 ≃ₗ[K] Hilbert.Polynomial.GradedHilbert.grading K n 1) : |
| 26 | Submodule.span K (Set.range (changedLinearCover e)) = |
| 27 | Submodule.span K (Set.range (X : Fin (n + 1) → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)) := by |
| 28 | apply le_antisymm |
| 29 | · apply Submodule.span_le.mpr |
| 30 | rintro _ ⟨i, rfl⟩ |
| 31 | rw [← homogeneousSubmodule_one_eq_span_X] |
| 32 | exact changedLinearCover_homogeneous e i |
| 33 | · apply Submodule.span_le.mpr |
| 34 | rintro _ ⟨i, rfl⟩ |
| 35 | have hp : (e.symm (Changes.GradedHilbert.linearVariable i)).val ∈ |
| 36 | Submodule.span K (Set.range (X : Fin (n + 1) → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)) := by |
| 37 | rw [← homogeneousSubmodule_one_eq_span_X] |
| 38 | exact (e.symm (Changes.GradedHilbert.linearVariable i)).property |
| 39 | obtain ⟨c, hc⟩ := (Submodule.mem_span_range_iff_exists_fun K).mp hp |
| 40 | have heq : ∑ j, c j • changedLinearCover e j = X i := by |
| 41 | have h := congrArg (Changes.GradedHilbert.extendLinearMap e.toLinearMap) hc |
| 42 | simp only [map_sum, map_smul, Changes.GradedHilbert.extendLinearMap_X, Changes.GradedHilbert.extendLinearMap_linear, |
| 43 | LinearEquiv.coe_coe, e.apply_symm_apply] at h |
| 44 | exact h |
| 45 | rw [← heq] |
| 46 | apply Submodule.sum_mem |
| 47 | intro j _ |
| 48 | exact Submodule.smul_mem _ _ (Submodule.subset_span (Set.mem_range_self j)) |
| 49 | |
| 50 | variable (M : Type v) [AddCommGroup M] [Module K M] [Module (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) M] |
| 51 | [IsScalarTower K (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) M] |
| 52 | variable (ℳ : ℤ → Submodule K M) [Decomposition ℳ] |
| 53 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := Fin (n + 1)) K) ℳ] |
| 54 | |
| 55 | theorem changedLinearCover_moduleCechExactAt_iff (e : Hilbert.Polynomial.GradedHilbert.grading K n 1 ≃ₗ[K] Hilbert.Polynomial.GradedHilbert.grading K n 1) |
| 56 | (d : ℤ) (q : ℕ) : |
| 57 | Polynomial.CoverModule.ProjectiveCech.polynomialCoverCechExactAt K (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) M (changedLinearCover e) ℳ d q ↔ |
| 58 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin (n + 1)) K M ℳ d q := |
| 59 | (Finite.CommonCover.ProjectiveCech.polynomialCover_exact_iff_of_span_eq K M ℳ (changedLinearCover e) X |
| 60 | (changedLinearCover_homogeneous e) (isHomogeneous_X K) (changedLinearCover_span e) d q).trans |
| 61 | (StandardPolynomialCover.ProjectiveCech.polynomialCover_X_exact_iff K M ℳ d q) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.ChangeCover.GradedHilbert |