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.IntersectionTheory.ProjectionFormula.Projection.ChartFractions |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BasicOpen |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ProjectionRestriction |
| 4 | |
| 5 | /-! # Rational Fractions -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.RationalFractions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The glued rational projection has the expected action on |
| 14 | ratios in every stalk of its domain of definition. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BasicOpen.RationalProjection OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ChartFractions |
| 22 | |
| 23 | variable {m n : ℕ} (f : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading n) |
| 24 | (i : Fin (m + 1)) (a : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1) |
| 25 | |
| 26 | abbrev variableForm : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1 := ⟨MvPolynomial.X i, MvPolynomial.isHomogeneous_X ℂ i⟩ |
| 27 | |
| 28 | variable (x : (Projective.BasicOpen.RationalProjection.domain f).toScheme) (hs : f (MvPolynomial.X i) ∉ x.val.asHomogeneousIdeal) |
| 29 | |
| 30 | include hs in |
| 31 | theorem target_mem : MvPolynomial.X i ∉ (Projective.BasicOpen.RationalProjection.map f x).asHomogeneousIdeal := by |
| 32 | have h : x ∈ (Projective.BasicOpen.RationalProjection.domain f).ι ⁻¹ᵁ Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f (MvPolynomial.X i)) := hs |
| 33 | rw [← Projective.BasicOpen.Projection.preimage_basicOpen f (MvPolynomial.X i) |
| 34 | (MvPolynomial.isHomogeneous_X ℂ i) (by decide : 0 < 1)] at h |
| 35 | exact h |
| 36 | |
| 37 | theorem pull : |
| 38 | GermPullback.fraction m (Projective.BasicOpen.RationalProjection.map f) x a (variableForm i) (target_mem f i x hs) = |
| 39 | GermPullback.fraction n (Projective.BasicOpen.RationalProjection.domain f).ι x (ChartFractions.image f a) (ChartFractions.image f (variableForm i)) hs := by |
| 40 | let U := Projective.BasicOpen.RationalProjection.coordinateOpen f i |
| 41 | let y : U.toScheme := ⟨x.val, hs⟩ |
| 42 | let u := (Foundations.Scheme.ProjectiveSpace.projectiveSpace n).homOfLE (le_iSup (Projective.BasicOpen.RationalProjection.coordinateOpen f) i) |
| 43 | have hy : u y = x := by |
| 44 | apply Subtype.ext |
| 45 | exact Scheme.homOfLE_apply (le_iSup (Projective.BasicOpen.RationalProjection.coordinateOpen f) i) y |
| 46 | have hm : u ≫ Projective.BasicOpen.RationalProjection.map f = Projective.LinearChart.Hom.chart f (MvPolynomial.X i) |
| 47 | (MvPolynomial.isHomogeneous_X ℂ i) (by decide : 0 < 1) := Projective.BasicOpen.RationalProjection.chart_map f i |
| 48 | have hc : MvPolynomial.X i ∉ (Projective.LinearChart.Hom.chart f (MvPolynomial.X i) |
| 49 | (MvPolynomial.isHomogeneous_X ℂ i) (by decide : 0 < 1) y).asHomogeneousIdeal := by |
| 50 | rw [← hm] |
| 51 | simpa only [Scheme.Hom.comp_apply, hy] using target_mem f i x hs |
| 52 | have hu : u ≫ (Projective.BasicOpen.RationalProjection.domain f).ι = U.ι := Scheme.homOfLE_ι (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (le_iSup (Projective.BasicOpen.RationalProjection.coordinateOpen f) i) |
| 53 | have hsy : f (MvPolynomial.X i) ∉ (u y).val.asHomogeneousIdeal := by rw [hy]; exact hs |
| 54 | apply (ConcreteCategory.bijective_of_isIso |
| 55 | ((Projective.BasicOpen.RationalProjection.domain f).toScheme.presheaf.stalkCongr (.of_eq hy.symm)).hom).injective |
| 56 | rw [GermPullback.fraction_point m (Projective.BasicOpen.RationalProjection.map f) x (u y) hy.symm a (variableForm i) |
| 57 | (target_mem f i x hs) (target_mem f i (u y) hsy), |
| 58 | GermPullback.fraction_point n (Projective.BasicOpen.RationalProjection.domain f).ι x (u y) hy.symm (ChartFractions.image f a) (ChartFractions.image f (variableForm i)) hs hsy] |
| 59 | apply (ConcreteCategory.bijective_of_isIso (u.stalkMap y)).injective |
| 60 | rw [← GermPullback.fraction_comp, ← GermPullback.fraction_comp] |
| 61 | exact (GermPullback.fraction_congr m _ _ hm y a (variableForm i) _ hc).trans |
| 62 | ((ChartFractions.chart f (variableForm i) a y hc).trans |
| 63 | (GermPullback.fraction_congr n _ _ hu.symm y (ChartFractions.image f a) (ChartFractions.image f (variableForm i)) _ _)) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! Coordinate-ratio pullback for a projective projection restricted |
| 68 | to an arbitrary scheme whose image avoids the center. -/ |
| 69 | |
| 70 | set_option backward.isDefEq.respectTransparency false |
| 71 | set_option backward.isDefEq.respectTransparency.types false |
| 72 | |
| 73 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 74 | |
| 75 | namespace Restricted |
| 76 | |
| 77 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ProjectionRestriction OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ChartFractions OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.RationalFractions |
| 78 | |
| 79 | variable {X : Scheme} {m n : ℕ} (f : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading n) |
| 80 | (j : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (hj : ∀ x : X, j x ∈ Projective.BasicOpen.RationalProjection.domain f) |
| 81 | (i : Fin (m + 1)) (a : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1) (x : X) |
| 82 | (hs : f (MvPolynomial.X i) ∉ (j x).asHomogeneousIdeal) |
| 83 | |
| 84 | include hs in |
| 85 | theorem lifted_mem : f (MvPolynomial.X i) ∉ ((Projective.ProjectionRestriction.lift f j hj x).val).asHomogeneousIdeal := by |
| 86 | have he : (Projective.ProjectionRestriction.lift f j hj x).val = j x := congrArg (fun k : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n => k x) (Projective.ProjectionRestriction.lift_fac f j hj) |
| 87 | rw [he] |
| 88 | exact hs |
| 89 | |
| 90 | include hs in |
| 91 | theorem target_mem : MvPolynomial.X i ∉ (Projective.ProjectionRestriction.projection f j hj x).asHomogeneousIdeal := |
| 92 | RationalFractions.target_mem f i (Projective.ProjectionRestriction.lift f j hj x) (lifted_mem f j hj i x hs) |
| 93 | |
| 94 | theorem pull : |
| 95 | GermPullback.fraction m (Projective.ProjectionRestriction.projection f j hj) x a (variableForm i) (target_mem f j hj i x hs) = |
| 96 | GermPullback.fraction n j x (ChartFractions.image f a) (ChartFractions.image f (variableForm i)) hs := by |
| 97 | change GermPullback.fraction m (Projective.ProjectionRestriction.lift f j hj ≫ Projective.BasicOpen.RationalProjection.map f) |
| 98 | x a (variableForm i) _ = _ |
| 99 | rw [GermPullback.fraction_comp] |
| 100 | calc |
| 101 | _ = (Projective.ProjectionRestriction.lift f j hj).stalkMap x |
| 102 | (GermPullback.fraction n (Projective.BasicOpen.RationalProjection.domain f).ι (Projective.ProjectionRestriction.lift f j hj x) |
| 103 | (ChartFractions.image f a) (ChartFractions.image f (variableForm i)) (lifted_mem f j hj i x hs)) := |
| 104 | congrArg ((Projective.ProjectionRestriction.lift f j hj).stalkMap x) |
| 105 | (RationalFractions.pull f i a (Projective.ProjectionRestriction.lift f j hj x) (lifted_mem f j hj i x hs)) |
| 106 | _ = _ := by |
| 107 | rw [← GermPullback.fraction_comp] |
| 108 | exact GermPullback.fraction_congr n _ _ (Projective.ProjectionRestriction.lift_fac f j hj) x (ChartFractions.image f a) (ChartFractions.image f (variableForm i)) _ hs |
| 109 | |
| 110 | end Restricted |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.RationalFractions |