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.AbelianModuli.HilbertConstruction.Intrinsic.FamilyPullbackPoints |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.FamilyPointNaturality |
| 3 | |
| 4 | /-! # Family Local Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.FamilyLocalPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cartesian comparisons for points of an actual local Hilbert family. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | private theorem cartesianLocalSection {C : Type*} [Category* C] |
| 15 | {A B D T U V : C} {πA : A ⟶ U} {πB : B ⟶ T} |
| 16 | {a : U ⟶ T} {f : A ⟶ B} (H : IsPullback πA f a πB) |
| 17 | (πD : D ⟶ V) (b : V ⟶ U) (g : D ⟶ A) |
| 18 | (sA : V ⟶ A) (sD : V ⟶ D) |
| 19 | (hA : sA ≫ πA = b) (hD : sD ≫ πD = 𝟙 V) |
| 20 | (hg : g ≫ πA = πD ≫ b) |
| 21 | (hs : (sD ≫ g) ≫ f = sA ≫ f) : sD ≫ g = sA := by |
| 22 | apply H.hom_ext |
| 23 | · simp only [Category.assoc, hg, ← Category.assoc sD πD b, |
| 24 | hD, Category.id_comp, hA] |
| 25 | · exact hs |
| 26 | |
| 27 | private theorem localSectionComposite {C : Type*} [Category* C] |
| 28 | {V A B FA FB F T : C} |
| 29 | (pA : V ⟶ FA) (pB : V ⟶ FB) (iA : FA ⟶ A) (iB : FB ⟶ B) |
| 30 | (m : B ⟶ A) (mA : A ⟶ T) (mB : B ⟶ T) |
| 31 | (p : V ⟶ F) (g : FA ⟶ F) (i : F ⟶ T) |
| 32 | (hm : mB = m ≫ mA) (hp : p = pA ≫ g) |
| 33 | (hg : g ≫ i = iA ≫ mA) (hB : pB ≫ iB ≫ mB = p ≫ i) : |
| 34 | ((pB ≫ iB) ≫ m) ≫ mA = (pA ≫ iA) ≫ mA := by |
| 35 | simp only [Category.assoc] |
| 36 | rw [← hm, hB, hp, Category.assoc, hg] |
| 37 | |
| 38 | private theorem localAmbientTransport {C : Type*} [Category* C] |
| 39 | {Z FA FB GA GB G A B T : C} |
| 40 | (pA : Z ⟶ FA) (pB : Z ⟶ FB) (eA : FA ⟶ GA) (eB : FB ⟶ GB) |
| 41 | (iFA : FA ⟶ A) (iFB : FB ⟶ B) (iGA : GA ⟶ A) (iGB : GB ⟶ B) |
| 42 | (gA : GA ⟶ G) (gB : GB ⟶ G) (iG : G ⟶ T) [Mono iG] |
| 43 | (m : B ⟶ A) (mA : A ⟶ T) (mB : B ⟶ T) (EA : A ⟶ A) (EB : B ⟶ B) |
| 44 | (hA : eA ≫ iGA = iFA ≫ EA) (hB : eB ≫ iGB = iFB ≫ EB) |
| 45 | (hE : EB ≫ m = m ≫ EA) (hP : pB ≫ iFB ≫ m = pA ≫ iFA) |
| 46 | (hgA : gA ≫ iG = iGA ≫ mA) (hgB : gB ≫ iG = iGB ≫ mB) |
| 47 | (hm : mB = m ≫ mA) : pB ≫ eB ≫ gB = pA ≫ eA ≫ gA := by |
| 48 | apply (cancel_mono iG).mp |
| 49 | simp only [Category.assoc, hgA, hgB] |
| 50 | rw [← Category.assoc eA iGA mA, ← Category.assoc eB iGB mB, hA, hB] |
| 51 | simp only [Category.assoc, hm] |
| 52 | rw [← Category.assoc EB m mA, hE] |
| 53 | simpa only [Category.assoc] using congrArg (fun f => f ≫ EA ≫ mA) hP |
| 54 | |
| 55 | variable {S : Scheme.{u}} (X : Over S) {T U V : Over S} |
| 56 | variable (a : U ⟶ T) (b : V ⟶ U) |
| 57 | |
| 58 | theorem nativeFamilyPointPullback_from_local_ambient |
| 59 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family X T) |
| 60 | (x : V.left ⟶ |
| 61 | (FamilyTestPoints.nativeFamilyOver X U (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F)).left) |
| 62 | (hx : x ≫ |
| 63 | (FamilyTestPoints.nativeFamilyOver X U (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F)).hom = b.left) |
| 64 | (p : Over.mk ((b ≫ a).left) ⟶ FamilyTestPoints.nativeFamilyOver X T F) |
| 65 | (hp : p.left = x ≫ HilbertScheme.Presentations.Hilbert.Functor.familyMap X a F.val) : |
| 66 | (FamilyTestPoints.nativeFamilyPointPullback X (b ≫ a) F p).left ≫ |
| 67 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X (b ≫ a) F).val.subschemeι ≫ |
| 68 | HilbertScheme.Presentations.Hilbert.Functor.ambientMap X b = |
| 69 | x ≫ (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F).val.subschemeι := by |
| 70 | let FA := HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F |
| 71 | let FB := HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X (b ≫ a) F |
| 72 | let z := FamilyTestPoints.nativeFamilyPointPullback X (b ≫ a) F p |
| 73 | have hz : |
| 74 | z.left ≫ FB.val.subschemeι ≫ HilbertScheme.Presentations.Hilbert.Functor.ambientProjection X V = |
| 75 | 𝟙 V.left := z.w |
| 76 | have hx' : |
| 77 | x ≫ FA.val.subschemeι ≫ HilbertScheme.Presentations.Hilbert.Functor.ambientProjection X U = |
| 78 | b.left := hx |
| 79 | have hs := localSectionComposite x z.left FA.val.subschemeι FB.val.subschemeι |
| 80 | (HilbertScheme.Presentations.Hilbert.Functor.ambientMap X b) (HilbertScheme.Presentations.Hilbert.Functor.ambientMap X a) (HilbertScheme.Presentations.Hilbert.Functor.ambientMap X (b ≫ a)) |
| 81 | p.left (HilbertScheme.Presentations.Hilbert.Functor.familyMap X a F.val) F.val.subschemeι |
| 82 | (HilbertScheme.Presentations.Hilbert.Functor.ambientMap_comp X b a) hp |
| 83 | (HilbertScheme.Presentations.Hilbert.Functor.family_ambient_isPullback X a F.val).w.symm |
| 84 | (FamilyPointNaturality.nativeFamilyPointPullback_ambient X (b ≫ a) F p) |
| 85 | exact cartesianLocalSection (HilbertScheme.Presentations.Hilbert.Functor.ambient_isPullback X a) |
| 86 | (HilbertScheme.Presentations.Hilbert.Functor.ambientProjection X V) b.left (HilbertScheme.Presentations.Hilbert.Functor.ambientMap X b) |
| 87 | (x ≫ FA.val.subschemeι) (z.left ≫ FB.val.subschemeι) |
| 88 | ((Category.assoc _ _ _).trans hx') ((Category.assoc _ _ _).trans hz) |
| 89 | (HilbertScheme.Presentations.Hilbert.AmbientProjections.ambientMap_projection X b) hs |
| 90 | |
| 91 | theorem nativeFamilyTestPointTransport_from_local |
| 92 | (F G : HilbertScheme.Presentations.Hilbert.Functor.Family X T) |
| 93 | (eA : FamilyTestPoints.nativeFamilyOver X U (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F) ≅ |
| 94 | FamilyTestPoints.nativeFamilyOver X U (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a G)) |
| 95 | (eB : FamilyTestPoints.nativeFamilyOver X V (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X (b ≫ a) F) ≅ |
| 96 | FamilyTestPoints.nativeFamilyOver X V (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X (b ≫ a) G)) |
| 97 | (EA : HilbertScheme.Presentations.Hilbert.Functor.ambient X U ⟶ HilbertScheme.Presentations.Hilbert.Functor.ambient X U) |
| 98 | (EB : HilbertScheme.Presentations.Hilbert.Functor.ambient X V ⟶ HilbertScheme.Presentations.Hilbert.Functor.ambient X V) |
| 99 | (hA : eA.hom.left ≫ |
| 100 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a G).val.subschemeι = |
| 101 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F).val.subschemeι ≫ EA) |
| 102 | (hB : eB.hom.left ≫ |
| 103 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X (b ≫ a) G).val.subschemeι = |
| 104 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X (b ≫ a) F).val.subschemeι ≫ EB) |
| 105 | (hE : EB ≫ HilbertScheme.Presentations.Hilbert.Functor.ambientMap X b = |
| 106 | HilbertScheme.Presentations.Hilbert.Functor.ambientMap X b ≫ EA) |
| 107 | (x : V.left ⟶ |
| 108 | (FamilyTestPoints.nativeFamilyOver X U (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F)).left) |
| 109 | (hx : x ≫ |
| 110 | (FamilyTestPoints.nativeFamilyOver X U (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F)).hom = b.left) |
| 111 | (p : Over.mk ((b ≫ a).left) ⟶ FamilyTestPoints.nativeFamilyOver X T F) |
| 112 | (hp : p.left = x ≫ HilbertScheme.Presentations.Hilbert.Functor.familyMap X a F.val) : |
| 113 | (FamilyTestPoints.nativeFamilyTestPointTransport X (b ≫ a) F G eB p).left = |
| 114 | x ≫ eA.hom.left ≫ HilbertScheme.Presentations.Hilbert.Functor.familyMap X a G.val := by |
| 115 | let z := FamilyTestPoints.nativeFamilyPointPullback X (b ≫ a) F p |
| 116 | have h := localAmbientTransport x z.left eA.hom.left eB.hom.left |
| 117 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F).val.subschemeι |
| 118 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X (b ≫ a) F).val.subschemeι |
| 119 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a G).val.subschemeι |
| 120 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X (b ≫ a) G).val.subschemeι |
| 121 | (HilbertScheme.Presentations.Hilbert.Functor.familyMap X a G.val) (HilbertScheme.Presentations.Hilbert.Functor.familyMap X (b ≫ a) G.val) G.val.subschemeι |
| 122 | (HilbertScheme.Presentations.Hilbert.Functor.ambientMap X b) (HilbertScheme.Presentations.Hilbert.Functor.ambientMap X a) (HilbertScheme.Presentations.Hilbert.Functor.ambientMap X (b ≫ a)) EA EB |
| 123 | hA hB hE (nativeFamilyPointPullback_from_local_ambient X a b F x hx p hp) |
| 124 | (HilbertScheme.Presentations.Hilbert.Functor.family_ambient_isPullback X a G.val).w.symm |
| 125 | (HilbertScheme.Presentations.Hilbert.Functor.family_ambient_isPullback X (b ≫ a) G.val).w.symm |
| 126 | (HilbertScheme.Presentations.Hilbert.Functor.ambientMap_comp X b a) |
| 127 | exact (FamilyTestPoints.nativeFamilyTestPointTransport_left X (b ≫ a) F G eB p).trans h |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.FamilyLocalPoints |