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.IntegerHilbertDegreeBound |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedCyclicFinrank |
| 3 | |
| 4 | /-! # Module Hilbert Degree Bound -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleHilbertDegreeBound |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ambient degree bounds for Hilbert polynomials of finite graded polynomial modules. |
| 11 | |
| 12 | Noetherian induction adjoins one homogeneous element at a time. The resulting |
| 13 | cyclic quotient is a shifted homogeneous coordinate quotient, and the exact |
| 14 | sequence on degree pieces adds its Hilbert polynomial. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.MvPolynomial |
| 18 | universe u |
| 19 | |
| 20 | variable {K : Type u} [Field K] {r : ℕ} |
| 21 | |
| 22 | theorem finiteGradedModule_quotient_eventuallyPolynomialOfDegree |
| 23 | (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule (Fin (r + 1)) K) |
| 24 | (P : Submodule (MvPolynomial (Fin (r + 1)) K) D.Carrier) |
| 25 | (hP : P.IsHomogeneous D.grading) : |
| 26 | BoundedEventualPolynomial.EventuallyPolynomialOfDegree (fun n => |
| 27 | (Module.finrank K (GradedCyclicDegreeSequence.DegreeQuotient D.grading P (n : ℤ)) : ℚ)) r := by |
| 28 | have (d : ℤ) : Module.Finite K (D.grading d) := |
| 29 | GradedPieceFiniteness.finiteGradedPolynomialModule_piece_finite K D d |
| 30 | induction P using IsNoetherian.induction with |
| 31 | | hgt P ih => |
| 32 | by_cases ht : P = ⊤ |
| 33 | · subst P |
| 34 | refine ⟨0, by simp, 0, fun n _ => ?_⟩ |
| 35 | change (Module.finrank K (GradedCyclicDegreeSequence.DegreeQuotient D.grading ⊤ (n : ℤ)) : ℚ) = _ |
| 36 | have hrel : GradedCyclicDegreeSequence.degreeRelations D.grading |
| 37 | (⊤ : Submodule (MvPolynomial (Fin (r + 1)) K) D.Carrier) (n : ℤ) = ⊤ := by |
| 38 | ext x |
| 39 | simp [GradedCyclicDegreeSequence.degreeRelations] |
| 40 | unfold GradedCyclicDegreeSequence.DegreeQuotient |
| 41 | rw [hrel, Module.finrank_zero_of_subsingleton] |
| 42 | simp |
| 43 | · obtain ⟨m, e, hm, hnot⟩ := GradedCyclicSubmodule.exists_homogeneous_not_mem D.grading ht |
| 44 | let Q := P ⊔ Submodule.span (MvPolynomial (Fin (r + 1)) K) {m} |
| 45 | have hPQ : P < Q := by |
| 46 | refine lt_of_le_of_ne le_sup_left ?_ |
| 47 | intro heq |
| 48 | apply hnot |
| 49 | rw [heq] |
| 50 | exact (show Submodule.span (MvPolynomial (Fin (r + 1)) K) {m} ≤ Q from le_sup_right) |
| 51 | (Submodule.mem_span_singleton_self m) |
| 52 | have hQ : Q.IsHomogeneous D.grading := |
| 53 | GradedCyclicSubmodule.sup_isHomogeneous D.grading hP |
| 54 | (GradedCyclicSubmodule.span_singleton_isHomogeneous (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading K) D.grading hm) |
| 55 | have hc := IntegerHilbertDegreeBound.integerIdealDegree_eventuallyPolynomialOfDegree (GradedCyclicSubmodule.relativeAnnihilator P m) |
| 56 | (GradedCyclicSubmodule.relativeAnnihilator_isHomogeneous (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading K) D.grading P hP hm) e |
| 57 | obtain ⟨F, hF, b, hb⟩ := (ih Q hPQ hQ).add hc |
| 58 | refine ⟨F, hF, b, fun n hn => ?_⟩ |
| 59 | change (Module.finrank K (GradedCyclicDegreeSequence.DegreeQuotient D.grading P (n : ℤ)) : ℚ) = F.eval (n : ℚ) |
| 60 | rw [GradedCyclicFinrank.cyclicDegreeSequence_finrank (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading K) D.grading P hP hm] |
| 61 | exact hb n hn |
| 62 | |
| 63 | theorem finiteGradedPolynomialModule_eventuallyPolynomialOfDegree |
| 64 | (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule (Fin (r + 1)) K) : |
| 65 | BoundedEventualPolynomial.EventuallyPolynomialOfDegree (fun n => (Module.finrank K (D.grading (n : ℤ)) : ℚ)) r := by |
| 66 | have hbot : (⊥ : Submodule (MvPolynomial (Fin (r + 1)) K) D.Carrier).IsHomogeneous |
| 67 | D.grading := by |
| 68 | intro d m hm |
| 69 | change m = 0 at hm |
| 70 | subst m |
| 71 | simp |
| 72 | obtain ⟨F, hF, b, hb⟩ := finiteGradedModule_quotient_eventuallyPolynomialOfDegree D ⊥ hbot |
| 73 | refine ⟨F, hF, b, fun n hn => ?_⟩ |
| 74 | have hrel : GradedCyclicDegreeSequence.degreeRelations D.grading |
| 75 | (⊥ : Submodule (MvPolynomial (Fin (r + 1)) K) D.Carrier) (n : ℤ) = ⊥ := by |
| 76 | ext x |
| 77 | simp [GradedCyclicDegreeSequence.degreeRelations] |
| 78 | have hd := ((GradedCyclicDegreeSequence.degreeRelations D.grading |
| 79 | (⊥ : Submodule (MvPolynomial (Fin (r + 1)) K) D.Carrier) (n : ℤ)).quotEquivOfEqBot hrel).finrank_eq |
| 80 | change (Module.finrank K (D.grading (n : ℤ)) : ℚ) = F.eval (n : ℚ) |
| 81 | rw [← hd] |
| 82 | exact hb n hn |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleHilbertDegreeBound |