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.PELModuli.IntegralModel.IntrinsicPointedDescent |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.Comparisons |
| 3 | |
| 4 | /-! # Intrinsic Pointed Sections -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.PELModuli.IntegralModel.IntrinsicPointedSections.PointedLiftParameters |
| 11 | |
| 12 | /-! Express effective fpqc pointed-map descent directly with the ordinary |
| 13 | base-changed sections. No relative Hom parameter scheme is required. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | |
| 18 | def terminalUnitIso (S : Scheme) : ⊤_ (Over S) ≅ 𝟙_ (Over S) := |
| 19 | terminalIsoIsTerminal Over.mkIdTerminal |
| 20 | |
| 21 | theorem terminalUnitIso_left {S : Scheme} (T : Over S) : |
| 22 | (terminal.from T ≫ (terminalUnitIso S).hom).left = T.hom := by |
| 23 | exact (Category.comp_id (terminal.from T ≫ (terminalUnitIso S).hom).left).symm.trans |
| 24 | (Over.w (terminal.from T ≫ (terminalUnitIso S).hom)) |
| 25 | |
| 26 | theorem mappedSection_pullback_fst {S T : Scheme} (u : T ⟶ S) |
| 27 | {X : Over S} (x₀ : 𝟙_ (Over S) ⟶ X) : |
| 28 | (Section.Comparisons.mappedSection (Over.pullback u) x₀).left ≫ pullback.fst X.hom u = u ≫ x₀.left := by |
| 29 | let F := Over.pullback u |
| 30 | have hm : (F.map x₀).left ≫ pullback.fst X.hom u = pullback.fst (𝟙 S) u ≫ x₀.left := by |
| 31 | simp only [F, Over.pullback_map_left, pullback.lift_fst, Over.tensorUnit_hom] |
| 32 | have hε : (Functor.LaxMonoidal.ε F).left ≫ pullback.fst (𝟙 S) u = u := by |
| 33 | have hf : pullback.fst (𝟙 S) u = pullback.snd (𝟙 S) u ≫ u := by |
| 34 | simpa only [Category.comp_id] using (pullback.condition (f := 𝟙 S) (g := u)) |
| 35 | rw [hf, ← Category.assoc, Over.ε_pullback_left, IsIso.inv_hom_id, Category.id_comp] |
| 36 | change ((Functor.LaxMonoidal.ε F).left ≫ (F.map x₀).left) ≫ pullback.fst X.hom u = _ |
| 37 | rw [Category.assoc, hm, ← Category.assoc, hε] |
| 38 | |
| 39 | theorem sectionAt_nativeSource {S : Scheme} (X T : Over S) |
| 40 | (x₀ : 𝟙_ (Over S) ⟶ X) : |
| 41 | (PointedLift.PointedLiftParameters.sectionAt X ((terminalUnitIso S).hom ≫ x₀) T).left ≫ |
| 42 | (IntrinsicPointedDescent.PointedLiftParameters.nativeSourceSchemeIso X T).hom = (Section.Comparisons.mappedSection (Over.pullback T.hom) x₀).left := by |
| 43 | apply pullback.hom_ext |
| 44 | · rw [Category.assoc, IntrinsicPointedDescent.PointedLiftParameters.nativeSourceSchemeIso_fst, mappedSection_pullback_fst, |
| 45 | ← Over.comp_left, PointedLift.PointedLiftParameters.sectionAt, prod.lift_snd, ← Category.assoc, |
| 46 | Over.comp_left, terminalUnitIso_left] |
| 47 | · rw [Category.assoc, IntrinsicPointedDescent.PointedLiftParameters.nativeSourceSchemeIso_snd, ← Over.comp_left, |
| 48 | PointedLift.PointedLiftParameters.sectionAt, prod.lift_fst] |
| 49 | exact (Section.Comparisons.mappedSection (Over.pullback T.hom) x₀).w.symm |
| 50 | |
| 51 | theorem native_pointed_equation {S : Scheme} (X Y T : Over S) |
| 52 | (x₀ : 𝟙_ (Over S) ⟶ X) (y₀ : 𝟙_ (Over S) ⟶ Y) |
| 53 | (h : (Over.pullback T.hom).obj X ⟶ (Over.pullback T.hom).obj Y) |
| 54 | (hp : Section.Comparisons.mappedSection (Over.pullback T.hom) x₀ ≫ h = Section.Comparisons.mappedSection (Over.pullback T.hom) y₀) : |
| 55 | PointedLift.PointedLiftParameters.sectionAt X ((terminalUnitIso S).hom ≫ x₀) T ≫ IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv X Y T h = |
| 56 | terminal.from T ≫ ((terminalUnitIso S).hom ≫ y₀) := by |
| 57 | apply Over.OverMorphism.ext |
| 58 | rw [Over.comp_left, IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv_left, ← Category.assoc, sectionAt_nativeSource, |
| 59 | ← Category.assoc, ← Over.comp_left, hp, mappedSection_pullback_fst] |
| 60 | rw [← Category.assoc, Over.comp_left, terminalUnitIso_left] |
| 61 | |
| 62 | /-- The input is the actual scalar-extended map and its usual section |
| 63 | equation; the output recovers that very map by native scalar extension. -/ |
| 64 | theorem native_unit_fpqc_pointed_lift_descends |
| 65 | {S : Scheme} (X Y Z : Over S) (q : Y ⟶ Z) (b : X ⟶ Z) |
| 66 | (x₀ : 𝟙_ (Over S) ⟶ X) (y₀ : 𝟙_ (Over S) ⟶ Y) |
| 67 | [GeometricallyConnected X.hom] [FormallyUnramified q.left] |
| 68 | [LocallyOfFiniteType q.left] [IsSeparated q.left] |
| 69 | (T : Over S) [Flat T.hom] [Surjective T.hom] [QuasiCompact T.hom] |
| 70 | (h : (Over.pullback T.hom).obj X ⟶ (Over.pullback T.hom).obj Y) |
| 71 | (hq : h ≫ (Over.pullback T.hom).map q = (Over.pullback T.hom).map b) |
| 72 | (hp : Section.Comparisons.mappedSection (Over.pullback T.hom) x₀ ≫ h = Section.Comparisons.mappedSection (Over.pullback T.hom) y₀) : |
| 73 | ∃! r : X ⟶ Y, r ≫ q = b ∧ x₀ ≫ r = y₀ ∧ (Over.pullback T.hom).map r = h := by |
| 74 | let e := terminalUnitIso S |
| 75 | obtain ⟨r, hr, huniq⟩ := IntrinsicPointedDescent.PointedLiftParameters.native_fpqc_pointed_lift_descends X Y Z q b |
| 76 | (e.hom ≫ x₀) (e.hom ≫ y₀) T h hq (native_pointed_equation X Y T x₀ y₀ h hp) |
| 77 | have hr₀ : x₀ ≫ r = y₀ := (cancel_epi e.hom).mp (by |
| 78 | simpa only [Category.assoc] using hr.2.1) |
| 79 | refine ⟨r, ⟨hr.1, hr₀, hr.2.2⟩, ?_⟩ |
| 80 | intro a ha |
| 81 | apply huniq a |
| 82 | exact ⟨ha.1, by rw [Category.assoc, ha.2.1], ha.2.2⟩ |
| 83 | |
| 84 | end AlgebraicGeometry.PELModuli.IntegralModel.IntrinsicPointedSections.PointedLiftParameters |
| 85 | |
| 86 | namespace AlgebraicGeometry.PELModuli.IntegralModel.IntrinsicPointedSections |
| 87 | |
| 88 | /-! Effective descent with specified source and target identifications. |
| 89 | The descended morphism recovers the original pointed complex morphism. -/ |
| 90 | |
| 91 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 92 | open _root_.CategoryTheory.MonoidalCategory |
| 93 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 94 | |
| 95 | theorem pointed_map_descends_through_unramified_comparison |
| 96 | {S T : Scheme} (u : T ⟶ S) [Flat u] [Surjective u] [QuasiCompact u] |
| 97 | (X Y Z : Over S) [GeometricallyConnected X.hom] [GrpObj Y] |
| 98 | (q : Y ⟶ Z) [FormallyUnramified q.left] [LocallyOfFiniteType q.left] |
| 99 | [IsSeparated q.left] (b : X ⟶ Z) (x₀ : 𝟙_ (Over S) ⟶ X) |
| 100 | (W A : Over T) [GrpObj A] (w₀ : 𝟙_ (Over T) ⟶ W) |
| 101 | (eX : (Over.pullback u).obj X ≅ W) |
| 102 | (eY : (Over.pullback u).obj Y ≅ A) [IsMonHom eY.hom] |
| 103 | (a : W ⟶ A) (f : A ⟶ (Over.pullback u).obj Z) |
| 104 | (hpoint : w₀ ≫ a = 1) |
| 105 | (hsource : Section.Comparisons.mappedSection (Over.pullback u) x₀ ≫ eX.hom = w₀) |
| 106 | (hq : (Over.pullback u).map q = eY.hom ≫ f) |
| 107 | (hb : eX.hom ≫ a ≫ f = (Over.pullback u).map b) : |
| 108 | ∃ r : X ⟶ Y, r ≫ q = b ∧ x₀ ≫ r = 1 ∧ |
| 109 | (Over.pullback u).map r ≫ eY.hom = eX.hom ≫ a := by |
| 110 | let F := Over.pullback u |
| 111 | let h : F.obj X ⟶ F.obj Y := eX.hom ≫ a ≫ eY.inv |
| 112 | have hq' : h ≫ F.map q = F.map b := by |
| 113 | dsimp only [h] |
| 114 | rw [hq] |
| 115 | simpa only [Category.assoc, Iso.inv_hom_id_assoc] using hb |
| 116 | have hp : Section.Comparisons.mappedSection F x₀ ≫ h = Section.Comparisons.mappedSection F (1 : 𝟙_ (Over S) ⟶ Y) := by |
| 117 | rw [Section.Comparisons.mappedSection_one] |
| 118 | dsimp only [h] |
| 119 | rw [← Category.assoc, hsource, ← Category.assoc, hpoint, MonObj.one_comp] |
| 120 | let T' : Over S := Over.mk u |
| 121 | have : Flat T'.hom := inferInstanceAs (Flat u) |
| 122 | have : Surjective T'.hom := inferInstanceAs (Surjective u) |
| 123 | have : QuasiCompact T'.hom := inferInstanceAs (QuasiCompact u) |
| 124 | obtain ⟨r, hr, _⟩ := PointedLiftParameters.native_unit_fpqc_pointed_lift_descends |
| 125 | X Y Z q b x₀ 1 T' h hq' hp |
| 126 | refine ⟨r, hr.1, hr.2.1, ?_⟩ |
| 127 | have hm : (Over.pullback u).map r = h := hr.2.2 |
| 128 | rw [hm] |
| 129 | simp only [h, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 130 | |
| 131 | end AlgebraicGeometry.PELModuli.IntegralModel.IntrinsicPointedSections |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI |