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.Generic |
| 2 | |
| 3 | /-! # Projection Coincidence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ProjectionCoincidence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The partial projection agrees with the finite projection when the |
| 12 | chosen coordinates have no common zero. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | namespace Restriction |
| 20 | |
| 21 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 22 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 23 | (h : ∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) |
| 24 | |
| 25 | include h in |
| 26 | theorem domain_top : PartialLinear.Projection.domain X m L = ⊤ := by |
| 27 | apply top_unique |
| 28 | intro x _ |
| 29 | exact (PartialLinear.Projection.mem_domain X m L x).mpr (h x) |
| 30 | |
| 31 | theorem map_eq : PartialLinear.Projection.map X m L = |
| 32 | (PartialLinear.Projection.domain X m L).ι ≫ FiniteProjective.FromForms.map X m L h := by |
| 33 | unfold PartialLinear.Projection.map FiniteProjective.FromForms.map |
| 34 | Projective.ProjectionRestriction.projection |
| 35 | rw [← Category.assoc] |
| 36 | congr 1 |
| 37 | apply (cancel_mono (Projective.BasicOpen.RationalProjection.domain |
| 38 | (FiniteProjective.FromForms.coordinates X m L)).ι).mp |
| 39 | rw [Projective.ProjectionRestriction.lift_fac, Category.assoc, |
| 40 | Projective.ProjectionRestriction.lift_fac] |
| 41 | |
| 42 | variable {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} (u v : T ⟶ X.toOver) |
| 43 | |
| 44 | include h in |
| 45 | theorem pair_domain_top : Coincidence.domain X m L u v = ⊤ := by |
| 46 | apply top_unique |
| 47 | intro x _ |
| 48 | exact ⟨(PartialLinear.Projection.mem_domain X m L (u.left x)).mpr (h (u.left x)), |
| 49 | (PartialLinear.Projection.mem_domain X m L (v.left x)).mpr (h (v.left x))⟩ |
| 50 | |
| 51 | theorem first_eq : (Coincidence.first X m L u v).left = |
| 52 | (Coincidence.domain X m L u v).ι ≫ u.left ≫ FiniteProjective.FromForms.map X m L h := by |
| 53 | change u.left.resLE _ _ _ ≫ PartialLinear.Projection.map X m L = _ |
| 54 | rw [map_eq X m L h, ← Category.assoc, Scheme.Hom.resLE_comp_ι, Category.assoc] |
| 55 | |
| 56 | theorem second_eq : (Coincidence.second X m L u v).left = |
| 57 | (Coincidence.domain X m L u v).ι ≫ v.left ≫ FiniteProjective.FromForms.map X m L h := by |
| 58 | change v.left.resLE _ _ _ ≫ PartialLinear.Projection.map X m L = _ |
| 59 | rw [map_eq X m L h, ← Category.assoc, Scheme.Hom.resLE_comp_ι, Category.assoc] |
| 60 | |
| 61 | end Restriction |
| 62 | |
| 63 | end |
| 64 | |
| 65 | /-! The closed coincidence locus of a complete projection is the |
| 66 | actual scheme equalizer on the scheme of pairs. -/ |
| 67 | |
| 68 | set_option backward.isDefEq.respectTransparency false |
| 69 | set_option backward.isDefEq.respectTransparency.types false |
| 70 | |
| 71 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 72 | |
| 73 | theorem closed_subset {S : Scheme} (f : S ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 74 | (A B : Closeds S) (h : ∀ x ∈ A, IsClosed ({x} : Set S) → x ∈ B) : A ≤ B := by |
| 75 | let : JacobsonSpace S := LocallyOfFiniteType.jacobsonSpace f |
| 76 | have he : closure ((A : Set S) ∩ closedPoints S) = (A : Set S) := |
| 77 | (JacobsonSpace.closure_inter_closedPoints_eq_closure A.isClosed.isLocallyClosed).trans A.isClosed.closure_eq |
| 78 | change (A : Set S) ⊆ B |
| 79 | rw [← he] |
| 80 | exact closure_minimal (fun x hx => h x hx.1 hx.2) B.isClosed |
| 81 | |
| 82 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 83 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 84 | (h : ∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) |
| 85 | |
| 86 | def over : X.toOver ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m) := |
| 87 | Over.homMk (FiniteProjective.FromForms.map X m L h) (FiniteProjective.FromForms.over_base X m L h) |
| 88 | |
| 89 | variable {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} (u v : T ⟶ X.toOver) [LocallyOfFiniteType T.hom] |
| 90 | |
| 91 | theorem mem_iff_closed (x : T.left) (hx : IsClosed ({x} : Set T.left)) : |
| 92 | x ∈ Coincidence.locus X m L u v ↔ |
| 93 | FiniteProjective.FromForms.map X m L h (u.left x) = |
| 94 | FiniteProjective.FromForms.map X m L h (v.left x) := by |
| 95 | let U := Coincidence.domain X m L u v |
| 96 | let y : U := ⟨x, by |
| 97 | change x ∈ Coincidence.domain X m L u v |
| 98 | rw [Restriction.pair_domain_top X m L h u v] |
| 99 | trivial⟩ |
| 100 | have hset : U.ι ⁻¹' ({x} : Set T.left) = ({y} : Set (U : Scheme)) := by |
| 101 | ext z |
| 102 | change z.val = x ↔ z = y |
| 103 | constructor |
| 104 | · exact fun hz => Subtype.ext hz |
| 105 | · rintro rfl |
| 106 | rfl |
| 107 | have hy : IsClosed ({y} : Set (U : Scheme)) := hset ▸ hx.preimage U.ι.continuous |
| 108 | have he := Coincidence.mem_iff_closed X m L u v y hy |
| 109 | rw [Restriction.first_eq X m L h u v, |
| 110 | Restriction.second_eq X m L h u v] at he |
| 111 | exact he |
| 112 | |
| 113 | theorem locus_eq : Coincidence.locus X m L u v = |
| 114 | Closed.Equalizer.locus (u ≫ over X m L h) (v ≫ over X m L h) := by |
| 115 | apply le_antisymm |
| 116 | · apply closed_subset T.hom |
| 117 | intro x hx hc |
| 118 | exact Closed.Equalizer.mem_of_closed _ _ x hc ((mem_iff_closed X m L h u v x hc).mp hx) |
| 119 | · apply closed_subset T.hom |
| 120 | intro x hx hc |
| 121 | exact (mem_iff_closed X m L h u v x hc).mpr (Closed.Equalizer.eq_of_mem _ _ x hx) |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ProjectionCoincidence |