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.Projective.QuotientPoint |
| 2 | |
| 3 | /-! # Polynomial Point Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialPointComparison.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual point-fiber isomorphism respects the native Hilbert closed |
| 10 | embedding into relative projective space. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} |
| 16 | |
| 17 | theorem nativePolynomialAmbient_second_projection {T : Over S} (x : T ⟶ M) : |
| 18 | (prod.snd : Over.mk x.left ⨯ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left ≫ |
| 19 | (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom = |
| 20 | Hilbert.Functor.ambientProjection (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left) ≫ x.left := |
| 21 | (prod.snd : Over.mk x.left ⨯ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).w.trans |
| 22 | (prod.fst : Over.mk x.left ⨯ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ Over.mk x.left).w.symm |
| 23 | |
| 24 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) |
| 25 | variable {R : Type u} [CommRing R] (a : Spec (CommRingCat.of R) ⟶ M.left) |
| 26 | |
| 27 | theorem projectiveQuotientPointIso_native_inclusion : |
| 28 | (Projective.QuotientPoint.GradedHilbert.projectiveQuotientPointIso M I a).hom ≫ PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I (Projective.QuotientPoint.GradedHilbert.polynomialPointMorphism M a) ≫ |
| 29 | (prod.snd : Over.mk a ⨯ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left = |
| 30 | Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (Projective.QuotientPoint.GradedHilbert.pointHomogeneousIdeal M I a) ≫ Projective.Point.GradedHilbert.projectiveSchemePointMap n a := by |
| 31 | let F := Relative.PolynomialFamily.GradedHilbert.relativePolynomialFamily M I (Projective.QuotientPoint.GradedHilbert.polynomialPointMorphism M a) |
| 32 | let A := Hilbert.Functor.ambient (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk a) |
| 33 | let J := Projective.QuotientPoint.GradedHilbert.pointHomogeneousIdeal M I a |
| 34 | let e : Proj (Graded.Quotient.GradedHilbert.quotientGrading J) ≅ F := Projective.QuotientPoint.GradedHilbert.projectiveQuotientPointIso M I a |
| 35 | let k : F ⟶ A := PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I (Projective.QuotientPoint.GradedHilbert.polynomialPointMorphism M a) |
| 36 | let s : A ⟶ (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left := |
| 37 | (prod.snd : Over.mk a ⨯ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left |
| 38 | let j : Proj (Graded.Quotient.GradedHilbert.quotientGrading J) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading R n) := Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J |
| 39 | let jI : Proj (Graded.Quotient.GradedHilbert.quotientGrading I) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n) := Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I |
| 40 | let r : F ⟶ Proj (Graded.Quotient.GradedHilbert.quotientGrading I) := pullback.fst _ _ |
| 41 | let c : Proj (Graded.Quotient.GradedHilbert.quotientGrading J) ⟶ Proj (Graded.Quotient.GradedHilbert.quotientGrading I) := Projective.QuotientPoint.GradedHilbert.projectiveQuotientPointCoefficient M I a |
| 42 | let q := Projective.Point.GradedHilbert.projectiveSchemePointMap n a |
| 43 | let t : A ⟶ Spec (CommRingCat.of R) := Hilbert.Functor.ambientProjection (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk a) |
| 44 | let pF : F ⟶ Spec (CommRingCat.of R) := Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M I (Projective.QuotientPoint.GradedHilbert.polynomialPointMorphism M a) |
| 45 | let pJ := Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J) |
| 46 | let pR := Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) |
| 47 | change e.hom ≫ k ≫ s = j ≫ q |
| 48 | apply pullback.hom_ext |
| 49 | · have hk : k ≫ s ≫ pullback.fst _ _ = r ≫ jI := PolynomialCoordinates.GradedHilbert.nativePolynomialInclusion_coefficient M I (Projective.QuotientPoint.GradedHilbert.polynomialPointMorphism M a) |
| 50 | have he : e.hom ≫ r = c := Projective.QuotientPoint.GradedHilbert.projectiveQuotientPointIso_coefficient M I a |
| 51 | have hc : c ≫ jI = j ≫ Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) (PointCoefficients.schemePointCoefficientMap a) := |
| 52 | Projective.QuotientPoint.GradedHilbert.projectiveQuotientPointCoefficient_inclusion M I a |
| 53 | have hq : q ≫ pullback.fst _ _ = Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) (PointCoefficients.schemePointCoefficientMap a) := |
| 54 | Projective.Point.GradedHilbert.projectiveSchemePointMap_coefficient n a |
| 55 | calc |
| 56 | _ = e.hom ≫ (k ≫ s ≫ pullback.fst _ _) := by simp only [Category.assoc] |
| 57 | _ = e.hom ≫ (r ≫ jI) := congrArg (fun l => e.hom ≫ l) hk |
| 58 | _ = (e.hom ≫ r) ≫ jI := (Category.assoc _ _ _).symm |
| 59 | _ = c ≫ jI := congrArg (fun l => l ≫ jI) he |
| 60 | _ = j ≫ Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) (PointCoefficients.schemePointCoefficientMap a) := hc |
| 61 | _ = _ := by rw [Category.assoc, hq] |
| 62 | · change (e.hom ≫ k ≫ s) ≫ (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom = |
| 63 | (j ≫ q) ≫ (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom |
| 64 | have hs : s ≫ (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom = t ≫ a := |
| 65 | nativePolynomialAmbient_second_projection M (Projective.QuotientPoint.GradedHilbert.polynomialPointMorphism M a) |
| 66 | have hk : k ≫ t = pF := PolynomialAmbient.GradedHilbert.nativePolynomialInclusion_projection M I (Projective.QuotientPoint.GradedHilbert.polynomialPointMorphism M a) |
| 67 | have he : e.hom ≫ pF = pJ := Projective.QuotientPoint.GradedHilbert.projectiveQuotientPointIso_projection M I a |
| 68 | have hq : q ≫ (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom = pR ≫ a := Projective.Point.GradedHilbert.projectiveSchemePointMap_projection n a |
| 69 | have hj : j ≫ pR = pJ := Projective.QuotientStructure.GradedHilbert.projectiveQuotientInclusion_structure J |
| 70 | calc |
| 71 | _ = e.hom ≫ k ≫ (s ≫ (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom) := by simp only [Category.assoc] |
| 72 | _ = e.hom ≫ k ≫ (t ≫ a) := by rw [hs] |
| 73 | _ = (e.hom ≫ (k ≫ t)) ≫ a := by simp only [Category.assoc] |
| 74 | _ = (e.hom ≫ pF) ≫ a := by rw [hk] |
| 75 | _ = pJ ≫ a := congrArg (fun l => l ≫ a) he |
| 76 | _ = _ := by rw [Category.assoc, hq, ← Category.assoc, hj] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialPointComparison.GradedHilbert |