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.AbelianModuli.HilbertConstruction.Linear.CoordinateIdeals |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SaturationBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GradedProjectiveIsomorphism |
| 4 | |
| 5 | /-! # Coordinate Ideal Projective Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.CoordinateIdealProjectiveIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coordinate-transformed homogeneous ideals define genuinely |
| 12 | isomorphic projective families, with the precise ambient projective |
| 13 | coordinate map. No saturation or flatness hypothesis is needed. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 17 | variable (e : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R)) |
| 18 | variable (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 19 | |
| 20 | def linearCoordinateIdealQuotientForward : |
| 21 | HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (CoordinateIdeals.linearCoordinateIdeal e I) →+*ᵍ HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I where |
| 22 | __ := Ideal.quotientMap I.toIdeal (CoordinateIdeals.polynomialLinearAlgEquiv e).toRingHom le_rfl |
| 23 | map_mem h := by |
| 24 | obtain ⟨p, hp, rfl⟩ := h |
| 25 | exact ⟨CoordinateIdeals.polynomialLinearAlgEquiv e p, CoordinateSubstitution.polynomialLinearSubstitution_homogeneous _ hp, rfl⟩ |
| 26 | |
| 27 | def linearCoordinateIdealQuotientBackward : |
| 28 | HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I →+*ᵍ HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (CoordinateIdeals.linearCoordinateIdeal e I) where |
| 29 | __ := Ideal.quotientMap (CoordinateIdeals.linearCoordinateIdeal e I).toIdeal (CoordinateIdeals.polynomialLinearAlgEquiv e).symm.toRingHom (by |
| 30 | intro p hp |
| 31 | change CoordinateIdeals.polynomialLinearAlgEquiv e ((CoordinateIdeals.polynomialLinearAlgEquiv e).symm p) ∈ I.toIdeal |
| 32 | rwa [AlgEquiv.apply_symm_apply]) |
| 33 | map_mem h := by |
| 34 | obtain ⟨p, hp, rfl⟩ := h |
| 35 | exact ⟨(CoordinateIdeals.polynomialLinearAlgEquiv e).symm p, |
| 36 | CoordinateSubstitution.polynomialLinearSubstitution_homogeneous e.symm.toLinearMap hp, rfl⟩ |
| 37 | |
| 38 | theorem linearCoordinateIdealQuotient_forward_backward : |
| 39 | (linearCoordinateIdealQuotientForward e I).comp (linearCoordinateIdealQuotientBackward e I) = |
| 40 | GradedRingHom.id (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) := by |
| 41 | apply GradedRingHom.ext |
| 42 | intro z |
| 43 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective z |
| 44 | change Ideal.Quotient.mk I.toIdeal |
| 45 | (CoordinateIdeals.polynomialLinearAlgEquiv e ((CoordinateIdeals.polynomialLinearAlgEquiv e).symm p)) = Ideal.Quotient.mk I.toIdeal p |
| 46 | rw [AlgEquiv.apply_symm_apply] |
| 47 | |
| 48 | theorem linearCoordinateIdealQuotient_backward_forward : |
| 49 | (linearCoordinateIdealQuotientBackward e I).comp (linearCoordinateIdealQuotientForward e I) = |
| 50 | GradedRingHom.id (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (CoordinateIdeals.linearCoordinateIdeal e I)) := by |
| 51 | apply GradedRingHom.ext |
| 52 | intro z |
| 53 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective z |
| 54 | change Ideal.Quotient.mk (CoordinateIdeals.linearCoordinateIdeal e I).toIdeal |
| 55 | ((CoordinateIdeals.polynomialLinearAlgEquiv e).symm (CoordinateIdeals.polynomialLinearAlgEquiv e p)) = |
| 56 | Ideal.Quotient.mk (CoordinateIdeals.linearCoordinateIdeal e I).toIdeal p |
| 57 | rw [AlgEquiv.symm_apply_apply] |
| 58 | |
| 59 | def linearCoordinateIdealProjectiveIso : |
| 60 | Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) ≅ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (CoordinateIdeals.linearCoordinateIdeal e I)) := |
| 61 | GradedProjectiveIsomorphism.gradedProjectiveIso _ _ (linearCoordinateIdealQuotientBackward e I) |
| 62 | (linearCoordinateIdealQuotientForward e I) (linearCoordinateIdealQuotient_backward_forward e I) |
| 63 | (linearCoordinateIdealQuotient_forward_backward e I) |
| 64 | |
| 65 | theorem linearCoordinateIdealQuotientForward_commutes (r : R) : |
| 66 | linearCoordinateIdealQuotientForward e I |
| 67 | (algebraMap R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ (CoordinateIdeals.linearCoordinateIdeal e I).toIdeal) r) = |
| 68 | algebraMap R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) r := by |
| 69 | change Ideal.Quotient.mk I.toIdeal (CoordinateIdeals.polynomialLinearAlgEquiv e (algebraMap R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) r)) = |
| 70 | Ideal.Quotient.mk I.toIdeal (algebraMap R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) r) |
| 71 | rw [AlgEquiv.commutes] |
| 72 | |
| 73 | def linearCoordinateIdealFamilyIso : |
| 74 | Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily (CoordinateIdeals.linearCoordinateIdeal e I) := |
| 75 | Over.isoMk (linearCoordinateIdealProjectiveIso e I) (by |
| 76 | exact Projective.MapOverBase.projectiveMap_over_base _ _ (linearCoordinateIdealQuotientForward e I) |
| 77 | (GradedProjectiveIsomorphism.gradedMap_irrelevant_of_inverse _ _ _ _ (linearCoordinateIdealQuotient_forward_backward e I)) |
| 78 | (linearCoordinateIdealQuotientForward_commutes e I)) |
| 79 | |
| 80 | theorem linearCoordinateIdealProjectiveIso_ambient : |
| 81 | (linearCoordinateIdealProjectiveIso e I).hom ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (CoordinateIdeals.linearCoordinateIdeal e I) = |
| 82 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I ≫ (GradedLinearCoordinateIsomorphism.linearCoordinateProjectiveIso e.symm).hom := by |
| 83 | change Proj.map (linearCoordinateIdealQuotientForward e I) _ ≫ |
| 84 | Proj.map (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap (CoordinateIdeals.linearCoordinateIdeal e I)) _ = |
| 85 | Proj.map (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I) _ ≫ Proj.map (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap e.toLinearMap) _ |
| 86 | rw [← Proj.map_comp, ← Proj.map_comp] |
| 87 | rfl |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.CoordinateIdealProjectiveIso |