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.Polynomial.ProjectiveCoefficientMap |
| 2 | |
| 3 | /-! # Quotient Bot -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.QuotientBot.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The projective quotient by the zero homogeneous ideal is canonically |
| 10 | the original polynomial projective space, over its coefficient ring. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable (R : Type u) [CommRing R] (n : ℕ) |
| 16 | |
| 17 | def gradedQuotientBotInverse : Graded.Quotient.GradedHilbert.quotientGrading (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) →+*ᵍ Hilbert.Polynomial.GradedHilbert.grading R n where |
| 18 | __ := (RingEquiv.quotientBot (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)).toRingHom |
| 19 | map_mem h := by |
| 20 | obtain ⟨f, hf, rfl⟩ := h |
| 21 | exact hf |
| 22 | |
| 23 | theorem gradedQuotientBotInverse_mk (f : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : |
| 24 | gradedQuotientBotInverse R n (Graded.Quotient.GradedHilbert.gradedQuotientMap (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) f) = f := |
| 25 | RingEquiv.quotientBot_mk f |
| 26 | |
| 27 | theorem gradedQuotientBotInverse_comp : |
| 28 | (gradedQuotientBotInverse R n).comp (Graded.Quotient.GradedHilbert.gradedQuotientMap (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n))) = |
| 29 | GradedRingHom.id (Hilbert.Polynomial.GradedHilbert.grading R n) := by |
| 30 | ext1 f |
| 31 | exact gradedQuotientBotInverse_mk R n f |
| 32 | |
| 33 | theorem gradedQuotientBot_comp_inverse : |
| 34 | (Graded.Quotient.GradedHilbert.gradedQuotientMap (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n))).comp (gradedQuotientBotInverse R n) = |
| 35 | GradedRingHom.id (Graded.Quotient.GradedHilbert.quotientGrading (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n))) := by |
| 36 | ext q |
| 37 | obtain ⟨f, rfl⟩ := Ideal.Quotient.mk_surjective q |
| 38 | change Graded.Quotient.GradedHilbert.gradedQuotientMap (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 39 | (gradedQuotientBotInverse R n (Graded.Quotient.GradedHilbert.gradedQuotientMap (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) f)) = _ |
| 40 | rw [gradedQuotientBotInverse_mk] |
| 41 | rfl |
| 42 | |
| 43 | theorem irrelevant_gradedQuotientBotInverse_le_map : |
| 44 | HomogeneousIdeal.irrelevant (Hilbert.Polynomial.GradedHilbert.grading R n) ≤ |
| 45 | (HomogeneousIdeal.irrelevant (Graded.Quotient.GradedHilbert.quotientGrading (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)))).map |
| 46 | (gradedQuotientBotInverse R n) := by |
| 47 | change (HomogeneousIdeal.irrelevant (Hilbert.Polynomial.GradedHilbert.grading R n)).toIdeal ≤ _ |
| 48 | apply Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomial_irrelevant_le_span_variables.trans |
| 49 | apply Ideal.span_le.mpr |
| 50 | rintro _ ⟨i, rfl⟩ |
| 51 | rw [← gradedQuotientBotInverse_mk R n (X i)] |
| 52 | exact Ideal.mem_map_of_mem _ (HomogeneousIdeal.mem_irrelevant_of_mem |
| 53 | (Graded.Quotient.GradedHilbert.quotientGrading (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n))) Nat.zero_lt_one |
| 54 | ((Graded.Quotient.GradedHilbert.gradedQuotientMap (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n))).map_mem (isHomogeneous_X R i))) |
| 55 | |
| 56 | def projectiveQuotientBotSection : Proj (Hilbert.Polynomial.GradedHilbert.grading R n) ⟶ |
| 57 | Projective.Quotient.GradedHilbert.projectiveQuotient (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) := |
| 58 | Proj.map (gradedQuotientBotInverse R n) (irrelevant_gradedQuotientBotInverse_le_map R n) |
| 59 | |
| 60 | theorem projectiveQuotientBotSection_inclusion : |
| 61 | projectiveQuotientBotSection R n ≫ Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) = |
| 62 | 𝟙 _ := by |
| 63 | change Proj.map (gradedQuotientBotInverse R n) _ ≫ |
| 64 | Proj.map (Graded.Quotient.GradedHilbert.gradedQuotientMap (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n))) _ = 𝟙 _ |
| 65 | rw [← Proj.map_comp] |
| 66 | simpa only [gradedQuotientBotInverse_comp] using (Proj.map_id (𝒜 := Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 67 | |
| 68 | theorem projectiveQuotientBotInclusion_section : |
| 69 | Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) ≫ projectiveQuotientBotSection R n = |
| 70 | 𝟙 _ := by |
| 71 | change Proj.map (Graded.Quotient.GradedHilbert.gradedQuotientMap (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n))) _ ≫ |
| 72 | Proj.map (gradedQuotientBotInverse R n) _ = 𝟙 _ |
| 73 | rw [← Proj.map_comp] |
| 74 | simpa only [gradedQuotientBot_comp_inverse] using |
| 75 | (Proj.map_id (𝒜 := Graded.Quotient.GradedHilbert.quotientGrading (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)))) |
| 76 | |
| 77 | instance projectiveQuotientBotInclusion_isIso : |
| 78 | IsIso (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (⊥ : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n))) := |
| 79 | ⟨⟨projectiveQuotientBotSection R n, projectiveQuotientBotInclusion_section R n, |
| 80 | projectiveQuotientBotSection_inclusion R n⟩⟩ |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.QuotientBot.GradedHilbert |