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.Albanese.Construction.ReducedFactor |
| 2 | import OAI.AlgebraicGeometry.Albanese.Construction.WordPoints |
| 3 | |
| 4 | /-! # Subgroup Scheme -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Albanese.Construction.SubgroupScheme |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 12 | |
| 13 | @[simp] |
| 14 | theorem toUnit_complexBase : |
| 15 | toUnit (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase)) = 𝟙 (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase)) := |
| 16 | toUnit_unique _ _ |
| 17 | |
| 18 | /-- Restrict an ambient morphism to a reduced closed subscheme that it preserves. -/ |
| 19 | def closedRestriction (X G : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsReduced X.left] |
| 20 | (i : X ⟶ G) [IsClosedImmersion i.left] (t : G ⟶ G) |
| 21 | (ht : Set.range (i ≫ t).left ⊆ Set.range i.left) : X ⟶ X := |
| 22 | Over.homMk (ReducedFactor.factorThroughClosed i.left (i ≫ t).left ht) (by |
| 23 | calc |
| 24 | ReducedFactor.factorThroughClosed i.left (i ≫ t).left ht ≫ X.hom = |
| 25 | ReducedFactor.factorThroughClosed i.left (i ≫ t).left ht ≫ i.left ≫ G.hom := by rw [i.w] |
| 26 | _ = (i ≫ t).left ≫ G.hom := by rw [← Category.assoc, ReducedFactor.factorThroughClosed_comp] |
| 27 | _ = X.hom := (i ≫ t).w) |
| 28 | |
| 29 | @[reassoc (attr := simp)] |
| 30 | theorem closedRestriction_comp (X G : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsReduced X.left] |
| 31 | (i : X ⟶ G) [IsClosedImmersion i.left] (t : G ⟶ G) |
| 32 | (ht : Set.range (i ≫ t).left ⊆ Set.range i.left) : |
| 33 | closedRestriction X G i t ht ≫ i = i ≫ t := by |
| 34 | ext1 |
| 35 | exact ReducedFactor.factorThroughClosed_comp i.left (i ≫ t).left ht |
| 36 | |
| 37 | /-- Restrict an ambient automorphism when it and its inverse preserve the support. -/ |
| 38 | def closedRestrictionIso (X G : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsReduced X.left] |
| 39 | (i : X ⟶ G) [IsClosedImmersion i.left] (t : G ≅ G) |
| 40 | (ht : Set.range (i ≫ t.hom).left ⊆ Set.range i.left) |
| 41 | (htinv : Set.range (i ≫ t.inv).left ⊆ Set.range i.left) : X ≅ X := by |
| 42 | have : Mono i := Over.mono_of_mono_left i |
| 43 | refine |
| 44 | { hom := closedRestriction X G i t.hom ht |
| 45 | inv := closedRestriction X G i t.inv htinv |
| 46 | hom_inv_id := ?_ |
| 47 | inv_hom_id := ?_ } |
| 48 | · apply (cancel_mono i).mp |
| 49 | simp [Category.assoc] |
| 50 | · apply (cancel_mono i).mp |
| 51 | simp [Category.assoc] |
| 52 | |
| 53 | @[reassoc (attr := simp)] |
| 54 | theorem closedRestrictionIso_hom_comp (X G : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsReduced X.left] |
| 55 | (i : X ⟶ G) [IsClosedImmersion i.left] (t : G ≅ G) |
| 56 | (ht : Set.range (i ≫ t.hom).left ⊆ Set.range i.left) |
| 57 | (htinv : Set.range (i ≫ t.inv).left ⊆ Set.range i.left) : |
| 58 | (closedRestrictionIso X G i t ht htinv).hom ≫ i = i ≫ t.hom := |
| 59 | closedRestriction_comp X G i t.hom ht |
| 60 | |
| 61 | theorem point_mulRight (G : Over Foundations.Scheme.ProjectiveSpace.complexBase) [GrpObj G] |
| 62 | (p z : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ G) : |
| 63 | p ≫ (GrpObj.mulRight z).hom = p * z := by |
| 64 | simp [GrpObj.mulRight_hom, Hom.mul_def, comp_lift_assoc] |
| 65 | |
| 66 | theorem point_mulRight_inv (G : Over Foundations.Scheme.ProjectiveSpace.complexBase) [GrpObj G] |
| 67 | (p z : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ G) : |
| 68 | p ≫ (GrpObj.mulRight z).inv = p * z⁻¹ := by |
| 69 | simp [GrpObj.mulRight_inv, Hom.mul_def, Hom.inv_def, comp_lift_assoc] |
| 70 | |
| 71 | /-- A translation by a point of a closed point-subgroup preserves the whole |
| 72 | closed subscheme set-theoretically, as does its inverse. -/ |
| 73 | theorem translation_preserves_closed (X G : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 74 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType G.hom] [GrpObj G] |
| 75 | (i : X ⟶ G) [IsClosedImmersion i.left] |
| 76 | (S : Subgroup (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ G)) |
| 77 | (hS : ∀ q : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ G, |
| 78 | (∃ p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X, p ≫ i = q) ↔ q ∈ S) |
| 79 | (z : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ G) (hz : z ∈ S) : |
| 80 | Set.range (i ≫ (GrpObj.mulRight z).hom).left ⊆ Set.range i.left ∧ |
| 81 | Set.range (i ≫ (GrpObj.mulRight z).inv).left ⊆ Set.range i.left := by |
| 82 | let Z : TopologicalSpace.Closeds G.left := ⟨Set.range i.left, i.left.isClosedMap.isClosed_range⟩ |
| 83 | constructor |
| 84 | · apply ReducedFactor.range_subset_closed_of_points X G _ Z |
| 85 | intro p |
| 86 | apply (ClosedPoints.pointMap_range_iff X G i _).mp |
| 87 | apply (hS _).mpr |
| 88 | rw [← Category.assoc, point_mulRight] |
| 89 | exact S.mul_mem ((hS _).mp ⟨p, rfl⟩) hz |
| 90 | · apply ReducedFactor.range_subset_closed_of_points X G _ Z |
| 91 | intro p |
| 92 | apply (ClosedPoints.pointMap_range_iff X G i _).mp |
| 93 | apply (hS _).mpr |
| 94 | rw [← Category.assoc, point_mulRight_inv] |
| 95 | exact S.mul_mem ((hS _).mp ⟨p, rfl⟩) (S.inv_mem hz) |
| 96 | |
| 97 | /-- The reduced closed subscheme whose rational points form a subgroup is |
| 98 | smooth: translations act transitively on its rational points. -/ |
| 99 | theorem closed_point_subgroup_smooth (X G : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 100 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType G.hom] [GrpObj G] |
| 101 | [IsReduced X.left] [Nonempty X.left] |
| 102 | (i : X ⟶ G) [IsClosedImmersion i.left] |
| 103 | (S : Subgroup (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ G)) |
| 104 | (hS : ∀ q : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ G, |
| 105 | (∃ p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X, p ≫ i = q) ↔ q ∈ S) : Smooth X.hom := by |
| 106 | have : Mono i := Over.mono_of_mono_left i |
| 107 | apply ReducedFactor.smooth_of_point_transitive X |
| 108 | intro p q |
| 109 | let z := (p ≫ i)⁻¹ * (q ≫ i) |
| 110 | have hz : z ∈ S := S.mul_mem (S.inv_mem ((hS _).mp ⟨p, rfl⟩)) |
| 111 | ((hS _).mp ⟨q, rfl⟩) |
| 112 | obtain ⟨ht, htinv⟩ := translation_preserves_closed X G i S hS z hz |
| 113 | refine ⟨closedRestrictionIso X G i (GrpObj.mulRight z) ht htinv, ?_⟩ |
| 114 | apply (cancel_mono i).mp |
| 115 | rw [Category.assoc, closedRestrictionIso_hom_comp, ← Category.assoc, point_mulRight] |
| 116 | simp [z] |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.Albanese.Construction.SubgroupScheme |