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.Coefficient.FamilyEmbeddingIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramComparison |
| 3 | |
| 4 | /-! # Family Embedding Recovery -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual coefficient recovery is Cartesian for the prescribed projective embeddings. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 17 | variable {F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace R n)} (E : Single.DegreeFamilyModels.ProjectiveFamilyEquations F) |
| 18 | variable (B : Type v) [CommRing B] [Algebra B R] |
| 19 | |
| 20 | theorem Single.DegreeFamilyModels.ProjectiveFamilyEquations.coefficientModelMap_embedding : |
| 21 | E.coefficientModelMap B ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (E.modelIdeal B) = |
| 22 | F.inclusion.left ≫ Polynomial.ProjectiveCoefficients.polynomialProjectiveCoefficientMap (R := E.coefficientRing B) (A := R) (n := n) := by |
| 23 | let d : F.scheme.left ⟶ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := R) (E.modelIdeal B)) := |
| 24 | (E.coefficientModelIso B).inv.left |
| 25 | let p : HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := R) (E.modelIdeal B)) ⟶ |
| 26 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient (E.modelIdeal B) := HilbertScheme.Presentations.Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap (S := R) (E.modelIdeal B) |
| 27 | let j : HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := R) (E.modelIdeal B)) ⟶ |
| 28 | (Projective.ProjectivePresentations.affineProjectiveSpace R n).left := HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion _ |
| 29 | let j₀ : HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient (E.modelIdeal B) ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace (E.coefficientRing B) n).left := |
| 30 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion _ |
| 31 | let p₀ : (Projective.ProjectivePresentations.affineProjectiveSpace R n).left ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace (E.coefficientRing B) n).left := |
| 32 | Polynomial.ProjectiveCoefficients.polynomialProjectiveCoefficientMap (R := E.coefficientRing B) (A := R) (n := n) |
| 33 | have hi : d ≫ j = F.inclusion.left := congrArg (fun f => f.left) (E.coefficientModelIso_inv_embedding B) |
| 34 | have hp : p ≫ j₀ = j ≫ p₀ := (Polynomial.ProjectiveCoefficients.projectiveQuotientInclusion_coefficient (E.modelIdeal B)).symm |
| 35 | change (d ≫ p) ≫ j₀ = F.inclusion.left ≫ p₀ |
| 36 | rw [Category.assoc, hp, ← Category.assoc, hi] |
| 37 | |
| 38 | theorem Single.DegreeFamilyModels.ProjectiveFamilyEquations.coefficientModelEmbedding_isPullback : |
| 39 | IsPullback (E.coefficientModelMap B) F.inclusion.left |
| 40 | (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (E.modelIdeal B)) |
| 41 | (Polynomial.ProjectiveCoefficients.polynomialProjectiveCoefficientMap (R := E.coefficientRing B) (A := R) (n := n)) := |
| 42 | Cartesian.DiagramComparison.isPullback_arrow_of_base_squares _ _ F.scheme.hom (Projective.ProjectivePresentations.affineProjectiveSpace R n).hom |
| 43 | (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (E.modelIdeal B))) (Projective.ProjectivePresentations.affineProjectiveSpace (E.coefficientRing B) n).hom |
| 44 | (Spec.map (CommRingCat.ofHom (E.coefficientRing B).val.toRingHom)) _ _ |
| 45 | (E.coefficientModel_isPullback B) Projective.CoefficientPullback.polynomialProjectiveCoefficient_isPullback |
| 46 | F.inclusion.w (Projective.CoefficientPullback.projectiveQuotientInclusion_standard_over (E.modelIdeal B)) (E.coefficientModelMap_embedding B) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |