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.Homogeneous.RelationPresentation |
| 2 | |
| 3 | /-! # Generated Degree Relations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.GeneratedDegreeRelations.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The generating degree of an ideal generated by homogeneous forms is |
| 10 | exactly their coefficient-ring linear span. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v |
| 15 | variable {R : Type u} [CommRing R] {n N : ℕ} {ι : Type v} [Fintype ι] |
| 16 | |
| 17 | theorem homogeneous_zero_eq_constant (f : Hilbert.Polynomial.GradedHilbert.grading R n 0) : |
| 18 | f.val = C (f.val.coeff 0) := by |
| 19 | exact totalDegree_eq_zero_iff_eq_C.mp |
| 20 | ((totalDegree_zero_iff_isHomogeneous (Fin (n + 1))).mpr f.property) |
| 21 | |
| 22 | theorem homogeneousGenerators_degreeRelations_span |
| 23 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (hg : ∀ i, (g i).IsHomogeneous N) : |
| 24 | Hilbert.Polynomial.GradedHilbert.degreeRelations (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal N = |
| 25 | Submodule.span R (Set.range (fun i => (⟨g i, hg i⟩ : Hilbert.Polynomial.GradedHilbert.grading R n N))) := by |
| 26 | apply le_antisymm |
| 27 | · intro f hf |
| 28 | have hf' : (⟨f.val, by simpa only [zero_add] using f.property⟩ : Hilbert.Polynomial.GradedHilbert.grading R n (0 + N)) ∈ |
| 29 | (Homogeneous.RelationPresentation.GradedHilbert.homogeneousRelationPresentation g N hg 0).range := by |
| 30 | rw [Homogeneous.RelationPresentation.GradedHilbert.homogeneousRelationPresentation_range] |
| 31 | exact hf |
| 32 | obtain ⟨a, ha⟩ := hf' |
| 33 | have he : f = ∑ i, (a i).val.coeff 0 • (⟨g i, hg i⟩ : Hilbert.Polynomial.GradedHilbert.grading R n N) := by |
| 34 | apply Subtype.ext |
| 35 | have hv := congrArg Subtype.val ha |
| 36 | change (∑ i, (a i).val * g i) = f.val at hv |
| 37 | rw [← hv] |
| 38 | simp only [Submodule.coe_sum, Submodule.coe_smul, smul_eq_C_mul] |
| 39 | apply Finset.sum_congr rfl |
| 40 | intro i _ |
| 41 | exact congrArg (fun p => p * g i) (homogeneous_zero_eq_constant (a i)) |
| 42 | rw [he] |
| 43 | exact Submodule.sum_mem _ (fun i _ => Submodule.smul_mem _ _ |
| 44 | (Submodule.subset_span (Set.mem_range_self i))) |
| 45 | · apply Submodule.span_le.mpr |
| 46 | rintro _ ⟨i, rfl⟩ |
| 47 | exact Ideal.subset_span (Set.mem_range_self i) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.GeneratedDegreeRelations.GradedHilbert |