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.ComplexMultiplication.CMAbelianVariety |
| 2 | |
| 3 | /-! # Rigidity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Albanese.Construction.Rigidity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Rigidity tools for Construction. The geometric argument adapts the proof of |
| 11 | `AlgebraicGeometry.isCommMonObj_of_isProper_of_isIntegral_tensorObj_of_isAlgClosed` |
| 12 | in Mathlib/AlgebraicGeometry/Group/Abelian.lean (Andrew Yang and Christian Merten, |
| 13 | Apache 2.0). It applies the same finite-image argument to an arbitrary morphism |
| 14 | which is constant on the two identity axes. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true in |
| 23 | set_option backward.isDefEq.respectTransparency false in |
| 24 | /-- A morphism from a proper integral group product, constant on both identity |
| 25 | axes, is constant everywhere. -/ |
| 26 | theorem rigidity_eq_one {K : Type u} [Field K] [IsAlgClosed K] |
| 27 | (G H : Over (Spec (.of K))) [IsProper G.hom] [IsProper H.hom] |
| 28 | [IsIntegral (G ⊗ G).left] [GrpObj G] [GrpObj H] |
| 29 | (d : G ⊗ G ⟶ H) |
| 30 | (hl : η[G] ▷ G ≫ d = 1) |
| 31 | (hr : G ◁ η[G] ≫ d = 1) : d = 1 := by |
| 32 | let S := Spec (.of K) |
| 33 | let point : S := IsLocalRing.closedPoint K |
| 34 | have hpoint : IsClosed {point} := isClosed_discrete _ |
| 35 | have : Nonempty G.left := ⟨η[G].left point⟩ |
| 36 | have : IsProper (G ⊗ G).hom := by dsimp; infer_instance |
| 37 | have : JacobsonSpace (G ⊗ G).left := |
| 38 | LocallyOfFiniteType.jacobsonSpace (Y := Spec _) (G ⊗ G).hom |
| 39 | have : Surjective G.hom := |
| 40 | ⟨Function.surjective_to_subsingleton (α := G.left) (β := Spec _) _⟩ |
| 41 | have : IsProper (fst G G).left := by dsimp; infer_instance |
| 42 | have : IsProper (fst G H).left := by dsimp; infer_instance |
| 43 | have : Surjective (fst G G).left := by dsimp; infer_instance |
| 44 | have : IsProper (d.left ≫ H.hom) := by rw [Over.w]; infer_instance |
| 45 | have : IsClosedImmersion ((lift η[G] η[H]).left ≫ (fst G H).left) := by |
| 46 | simpa using inferInstanceAs (IsClosedImmersion η[G].left) |
| 47 | have : IsClosedImmersion (lift η[G] η[H]).left := |
| 48 | .of_comp _ (g := (fst G H).left) |
| 49 | let γ : G ⊗ G ⟶ G ⊗ H := lift (fst _ _) d |
| 50 | have : IsProper (γ.left ≫ (fst G H).left) := by simpa [γ] |
| 51 | have : IsProper γ.left := .of_comp _ (fst G H).left |
| 52 | have γ_right : (ρ_ G).inv ≫ G ◁ η[G] ≫ γ = |
| 53 | (ρ_ G).inv ≫ G ◁ η[H] := by |
| 54 | ext <;> simp [γ, hr, Hom.one_def] |
| 55 | ext1 |
| 56 | have hfinite : γ.left '' ((fst G G).left ⁻¹' {η[G].left point}) ⊆ |
| 57 | {(lift η[G] η[H]).left point} := by |
| 58 | rw [Set.image_subset_iff, ← Set.sdiff_eq_empty, ← Set.not_nonempty_iff_eq_empty] |
| 59 | intro hne |
| 60 | obtain ⟨c₀, ⟨hc₁, hc₂⟩, hc₃⟩ := nonempty_inter_closedPoints hne <| by |
| 61 | rw [Set.sdiff_eq_compl_inter, ← Set.image_singleton, ← Set.image_singleton] |
| 62 | refine (IsOpen.isLocallyClosed ?_).inter (IsClosed.isLocallyClosed ?_) |
| 63 | · exact (((lift η[G] η[H]).left.isClosedMap _ hpoint).preimage |
| 64 | γ.left.continuous).isOpen_compl |
| 65 | · exact (η[G].left.isClosedMap _ hpoint).preimage (fst G G).left.continuous |
| 66 | obtain ⟨⟨c, hc⟩, e⟩ := (pointEquivClosedPoint (G ⊗ G).hom).surjective ⟨c₀, hc₃⟩ |
| 67 | obtain rfl : c point = c₀ := congr(($e).1) |
| 68 | let fc : 𝟙_ (Over S) ⟶ 𝟙_ (Over S) ⊗ G := |
| 69 | lift (𝟙 _) (Over.homMk c hc ≫ snd G G) |
| 70 | have hcfirst : c ≫ pullback.fst G.hom G.hom = η[G].left := |
| 71 | ext_of_apply_closedPoint_eq G.hom (by simpa) (by simp) (by simpa) |
| 72 | have hcdecomp : c = fc.left ≫ (η[G] ▷ G).left := by |
| 73 | dsimp |
| 74 | ext <;> simp [fc, S, hcfirst] |
| 75 | have hcimage : fc ≫ η[G] ▷ G ≫ γ = lift η[G] η[H] := by |
| 76 | ext1 <;> simp [fc, γ, S, hl, ← one_eq_one] |
| 77 | exact hc₂ <| by |
| 78 | simp [hcdecomp, hcimage, ← Scheme.Hom.comp_apply, Category.assoc, ← Over.comp_left] |
| 79 | obtain ⟨U, hηU, hU⟩ := exists_finite_imageι_comp_morphismRestrict_of_finite_image_preimage |
| 80 | γ.left (fst G H).left (η[G].left point) (by |
| 81 | dsimp [-Scheme.Hom.comp_base, γ] |
| 82 | simp only [pullback.lift_fst] |
| 83 | exact (Set.finite_singleton _).subset hfinite) |
| 84 | have hUfinite (x : U) : |
| 85 | ((pullback.fst G.hom H.hom) ⁻¹' {x.1} ∩ Set.range ⇑γ.left).Finite := by |
| 86 | refine ((((γ.left.imageι ≫ (fst G H).left) ∣_ U).finite_preimage_singleton x).image |
| 87 | (Scheme.Opens.ι _ ≫ γ.left.imageι)).subset ?_ |
| 88 | have hx : U.ι ⁻¹' {x.1} = {x} := by ext; simp |
| 89 | rw [← hx, ← Set.preimage_comp, ← TopCat.coe_comp, ← Scheme.Hom.comp_base, |
| 90 | morphismRestrict_ι, ← Category.assoc, Scheme.Hom.comp_base (_ ≫ _) (fst G H).left, |
| 91 | TopCat.coe_comp, Set.preimage_comp, Set.image_preimage_eq_inter_range] |
| 92 | simp only [Scheme.Hom.comp_base, TopCat.coe_comp, Set.range_comp, Scheme.Opens.range_ι] |
| 93 | dsimp |
| 94 | rw [Set.image_preimage_eq_inter_range, Scheme.IdealSheafData.range_subschemeι, |
| 95 | Scheme.Hom.support_ker, ← Set.inter_assoc, ← Set.preimage_inter, |
| 96 | Set.singleton_inter_of_mem x.2, IsClosed.closure_eq |
| 97 | (by exact γ.left.isClosedMap.isClosed_range)] |
| 98 | refine ext_of_apply_eq H.hom _ |
| 99 | ((fst G G).left ⁻¹ᵁ U).isOpen.isLocallyClosed |
| 100 | (((fst G G).left ⁻¹ᵁ U).isOpen.dense ?_) ?_ ?_ |
| 101 | · exact .preimage ⟨_, hηU⟩ (fst G G).left.surjective |
| 102 | · intro y hyU hy |
| 103 | have hx : IsClosed {(fst G G).left y} := by |
| 104 | simpa using (fst G G).left.isClosedMap _ hy |
| 105 | let x : 𝟙_ _ ⟶ G := Over.homMk (pointOfClosedPoint G.hom _ hx) (by simp) |
| 106 | let xe : (G ⊗ G).left := (fst G G ≫ (ρ_ _).inv ≫ G ◁ η[G]).left y |
| 107 | let target : (G ⊗ H).left := (fst G G ≫ (ρ_ _).inv ≫ G ◁ η[H]).left y |
| 108 | have heq : γ.left y = target := by |
| 109 | refine subsingleton_image_closure_of_finite_of_isPreirreducible |
| 110 | (hx.preimage (fst G G).left.continuous).isLocallyClosed ?_ γ.left.continuous |
| 111 | γ.left.isClosedMap ((hUfinite ⟨_, hyU⟩).subset (Set.image_subset_iff.mpr fun _ ↦ by |
| 112 | simp [← Scheme.Hom.comp_apply, -Scheme.Hom.comp_base, γ])) ?_ ?_ |
| 113 | · let α : G ⊗ G ⟶ G ⊗ G := toUnit _ ≫ x ⊗ₘ 𝟙 _ |
| 114 | convert! |
| 115 | ((IrreducibleSpace.isIrreducible_univ _).image α.left |
| 116 | α.left.continuous.continuousOn).isPreirreducible |
| 117 | rw [Over.tensorHom_left] |
| 118 | simp [Set.range_comp, Scheme.Pullback.range_map, x] |
| 119 | · exact ⟨y, subset_closure (by simp), rfl⟩ |
| 120 | · refine ⟨xe, subset_closure ?_, ?_⟩ |
| 121 | · simp [xe, ← Scheme.Hom.comp_apply, -Scheme.Hom.comp_base] |
| 122 | · simp only [xe, target, ← Scheme.Hom.comp_apply, ← Over.comp_left] |
| 123 | simp [Category.assoc, γ_right] |
| 124 | convert! congr((snd G H).left $heq) using 1 |
| 125 | · simp [γ, ← Scheme.Hom.comp_apply] |
| 126 | · simp [target, Hom.one_def, ← Scheme.Hom.comp_apply, -Scheme.Hom.comp_base] |
| 127 | · simp |
| 128 | |
| 129 | /-- A pointed morphism of proper group schemes is a group homomorphism when |
| 130 | the source product is integral. -/ |
| 131 | theorem isMonHom_of_pointed_of_integral_product |
| 132 | {K : Type u} [Field K] [IsAlgClosed K] |
| 133 | (G H : Over (Spec (.of K))) [IsProper G.hom] [IsProper H.hom] |
| 134 | [IsIntegral (G ⊗ G).left] [GrpObj G] [GrpObj H] |
| 135 | (f : G ⟶ H) (hf : η[G] ≫ f = η[H]) : IsMonHom f := by |
| 136 | let d : G ⊗ G ⟶ H := |
| 137 | (μ[G] ≫ f) / ((fst G G ≫ f) * (snd G G ≫ f)) |
| 138 | have hμl : η[G] ▷ G ≫ μ[G] = (λ_ G).hom := by |
| 139 | simpa only [tensorHom_id] using MonObj.one_mul G |
| 140 | have hμr : G ◁ η[G] ≫ μ[G] = (ρ_ G).hom := by |
| 141 | simpa only [id_tensorHom] using MonObj.mul_one G |
| 142 | have hl : η[G] ▷ G ≫ d = 1 := by |
| 143 | dsimp [d] |
| 144 | rw [GrpObj.comp_div, comp_mul] |
| 145 | simp only [← Category.assoc, hμl, whiskerRight_fst, whiskerRight_snd] |
| 146 | rw [Category.assoc, hf] |
| 147 | simp [leftUnitor_hom, one_eq_one] |
| 148 | have hr : G ◁ η[G] ≫ d = 1 := by |
| 149 | dsimp [d] |
| 150 | rw [GrpObj.comp_div, comp_mul] |
| 151 | simp only [← Category.assoc, hμr, whiskerLeft_fst, whiskerLeft_snd] |
| 152 | rw [Category.assoc, hf] |
| 153 | simp [rightUnitor_hom, one_eq_one] |
| 154 | have hd := rigidity_eq_one G H d hl hr |
| 155 | refine ⟨hf, ?_⟩ |
| 156 | have hmul : μ[G] ≫ f = (fst G G ≫ f) * (snd G G ≫ f) := div_eq_one.mp hd |
| 157 | simpa only [Hom.mul_def, ← lift_map, lift_fst_snd, Category.id_comp] using hmul |
| 158 | |
| 159 | end |
| 160 | |
| 161 | end OAI.AlgebraicGeometry.Albanese.Construction.Rigidity |