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.Projective.ConeSupport |
| 2 | |
| 3 | /-! # Point Ideal -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.PointIdeal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! At every point the constructed projective projection acts by |
| 12 | contraction of the actual homogeneous prime ideal. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem constant_mem (n : ℕ) (x : Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (c : ℂ) : |
| 20 | MvPolynomial.C c ∈ x.asHomogeneousIdeal ↔ c = 0 := by |
| 21 | constructor |
| 22 | · intro hc |
| 23 | by_contra hn |
| 24 | have hu : IsUnit (MvPolynomial.C c : Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n) := |
| 25 | (isUnit_iff_ne_zero.mpr hn).map MvPolynomial.C |
| 26 | exact x.isPrime.ne_top (Ideal.eq_top_of_isUnit_mem x.asHomogeneousIdeal.toIdeal hc hu) |
| 27 | · rintro rfl |
| 28 | rw [MvPolynomial.C_0] |
| 29 | exact x.asHomogeneousIdeal.toIdeal.zero_mem |
| 30 | |
| 31 | theorem ideal {m n : ℕ} (f : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading n) |
| 32 | {S : Scheme} (i : S ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) |
| 33 | (hi : ∀ x, i x ∈ Projective.BasicOpen.RationalProjection.domain f) |
| 34 | (hC : ∀ c : ℂ, f (MvPolynomial.C c) = MvPolynomial.C c) (x : S) : |
| 35 | (Projective.ProjectionRestriction.projection f i hi x).asHomogeneousIdeal = |
| 36 | (i x).asHomogeneousIdeal.comap f := by |
| 37 | apply HomogeneousIdeal.ext' |
| 38 | intro d p hp |
| 39 | change p ∈ (Projective.ProjectionRestriction.projection f i hi x).asHomogeneousIdeal ↔ |
| 40 | f p ∈ (i x).asHomogeneousIdeal |
| 41 | rcases Nat.eq_zero_or_pos d with rfl | hd |
| 42 | · have he : MvPolynomial.C (AddMonoidAlgebra.coeff (p) (0)) = p := |
| 43 | congrArg Subtype.val ((Foundations.Scheme.ProjectiveSpace.degreeZeroConstants m).apply_symm_apply ⟨p, hp⟩) |
| 44 | rw [← he, hC, constant_mem, constant_mem] |
| 45 | · have he := Projective.ProjectionRestriction.preimage_basicOpen f i hi p hp hd |
| 46 | have he' := (congrArg (fun U : S.Opens => x ∈ U) he).to_iff |
| 47 | exact not_iff_not.mp he' |
| 48 | |
| 49 | end |
| 50 | |
| 51 | /-! The glued ambient rational projection contracts homogeneous |
| 52 | prime ideals at every point of its natural domain. -/ |
| 53 | |
| 54 | set_option backward.isDefEq.respectTransparency false |
| 55 | set_option backward.isDefEq.respectTransparency.types false |
| 56 | |
| 57 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 58 | |
| 59 | namespace Rational |
| 60 | |
| 61 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BasicOpen.RationalProjection OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ProjectionRestriction |
| 62 | |
| 63 | variable {m n : ℕ} (f : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading n) |
| 64 | |
| 65 | theorem in_domain (x : Projective.BasicOpen.RationalProjection.domain f) : (Projective.BasicOpen.RationalProjection.domain f).ι x ∈ Projective.BasicOpen.RationalProjection.domain f := x.property |
| 66 | |
| 67 | theorem restriction_eq : Projective.ProjectionRestriction.projection f (Projective.BasicOpen.RationalProjection.domain f).ι (in_domain f) = Projective.BasicOpen.RationalProjection.map f := by |
| 68 | have he : Projective.ProjectionRestriction.lift f (Projective.BasicOpen.RationalProjection.domain f).ι (in_domain f) = 𝟙 ((Projective.BasicOpen.RationalProjection.domain f) : Scheme) := by |
| 69 | apply (cancel_mono (Projective.BasicOpen.RationalProjection.domain f).ι).mp |
| 70 | rw [Projective.ProjectionRestriction.lift_fac, Category.id_comp] |
| 71 | rw [Projective.ProjectionRestriction.projection, he, Category.id_comp] |
| 72 | |
| 73 | theorem ideal (hC : ∀ c : ℂ, f (MvPolynomial.C c) = MvPolynomial.C c) (x : Projective.BasicOpen.RationalProjection.domain f) : |
| 74 | (Projective.BasicOpen.RationalProjection.map f x).asHomogeneousIdeal = x.val.asHomogeneousIdeal.comap f := by |
| 75 | have he := PointIdeal.ideal f (Projective.BasicOpen.RationalProjection.domain f).ι (in_domain f) hC x |
| 76 | rw [restriction_eq] at he |
| 77 | exact he |
| 78 | |
| 79 | end Rational |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.PointIdeal |