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.Pullback.Comparisons |
| 2 | |
| 3 | /-! # Point Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Family.PointBaseChange.FamilyPointTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Transport of actual scheme points through isomorphisms of pulled-back |
| 12 | families, including its identity and composition laws. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {S T : Scheme.{0}} (A : Over S) (f g : T ⟶ S) |
| 17 | |
| 18 | def liftPoint (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : |
| 19 | T ⟶ ((Over.pullback f).obj A).left := |
| 20 | pullback.lift x (𝟙 T) (hx.trans (Category.id_comp f).symm) |
| 21 | |
| 22 | @[reassoc (attr := simp)] theorem liftPoint_fst (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : |
| 23 | liftPoint A f x hx ≫ pullback.fst A.hom f = x := pullback.lift_fst _ _ _ |
| 24 | |
| 25 | @[reassoc (attr := simp)] theorem liftPoint_snd (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : |
| 26 | liftPoint A f x hx ≫ pullback.snd A.hom f = 𝟙 T := pullback.lift_snd _ _ _ |
| 27 | |
| 28 | def transport (e : (Over.pullback f).obj A ≅ (Over.pullback g).obj A) |
| 29 | (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : T ⟶ A.left := |
| 30 | liftPoint A f x hx ≫ e.hom.left ≫ pullback.fst A.hom g |
| 31 | |
| 32 | @[reassoc] theorem transport_base |
| 33 | (e : (Over.pullback f).obj A ≅ (Over.pullback g).obj A) |
| 34 | (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : transport A f g e x hx ≫ A.hom = g := by |
| 35 | have he : e.hom.left ≫ pullback.snd A.hom g = pullback.snd A.hom f := e.hom.w |
| 36 | simp only [transport, Category.assoc, pullback.condition, reassoc_of% he, |
| 37 | liftPoint_snd_assoc] |
| 38 | |
| 39 | theorem liftPoint_transport |
| 40 | (e : (Over.pullback f).obj A ≅ (Over.pullback g).obj A) |
| 41 | (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : |
| 42 | liftPoint A g (transport A f g e x hx) (transport_base A f g e x hx) = |
| 43 | liftPoint A f x hx ≫ e.hom.left := by |
| 44 | apply pullback.hom_ext |
| 45 | · exact (liftPoint_fst _ _ _ _).trans (Category.assoc _ _ _).symm |
| 46 | · have he : e.hom.left ≫ pullback.snd A.hom g = pullback.snd A.hom f := e.hom.w |
| 47 | simp only [liftPoint_snd, Category.assoc, he] |
| 48 | |
| 49 | @[simp] theorem transport_refl (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : |
| 50 | transport A f f (Iso.refl _) x hx = x := by |
| 51 | simp only [transport, Iso.refl_hom, Over.id_left, Category.id_comp, liftPoint_fst] |
| 52 | |
| 53 | theorem transport_trans {h : T ⟶ S} |
| 54 | (e : (Over.pullback f).obj A ≅ (Over.pullback g).obj A) |
| 55 | (d : (Over.pullback g).obj A ≅ (Over.pullback h).obj A) |
| 56 | (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : |
| 57 | transport A g h d (transport A f g e x hx) (transport_base A f g e x hx) = |
| 58 | transport A f h (e ≪≫ d) x hx := by |
| 59 | change liftPoint A g (transport A f g e x hx) (transport_base A f g e x hx) ≫ |
| 60 | d.hom.left ≫ pullback.fst A.hom h = |
| 61 | liftPoint A f x hx ≫ (e ≪≫ d).hom.left ≫ pullback.fst A.hom h |
| 62 | rw [liftPoint_transport] |
| 63 | simp only [Iso.trans_hom, Over.comp_left, Category.assoc] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! Transport of actual family points commutes with arbitrary pullback |
| 68 | through the canonical iterated-pullback comparison. -/ |
| 69 | |
| 70 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 71 | |
| 72 | variable {S T W : Scheme.{0}} (A : Over S) (f g : T ⟶ S) (k : W ⟶ T) |
| 73 | |
| 74 | def nativeMap : ((Over.pullback (k ≫ f)).obj A).left ⟶ ((Over.pullback f).obj A).left := |
| 75 | ((Over.pullbackComp k f).hom.app A).left ≫ pullback.fst (pullback.snd A.hom f) k |
| 76 | |
| 77 | @[reassoc] theorem nativeMap_fst : |
| 78 | nativeMap A f k ≫ pullback.fst A.hom f = pullback.fst A.hom (k ≫ f) := by |
| 79 | exact (Category.assoc _ _ _).trans (AbelianModuli.HilbertConstruction.Pullback.Comparisons.pullbackComp_hom_fst_fst A f k) |
| 80 | |
| 81 | @[reassoc] theorem nativeMap_snd : |
| 82 | nativeMap A f k ≫ pullback.snd A.hom f = pullback.snd A.hom (k ≫ f) ≫ k := by |
| 83 | have he : ((Over.pullbackComp k f).hom.app A).left ≫ |
| 84 | pullback.snd (pullback.snd A.hom f) k = pullback.snd A.hom (k ≫ f) := |
| 85 | ((Over.pullbackComp k f).hom.app A).w |
| 86 | simp only [nativeMap, Category.assoc, pullback.condition, reassoc_of% he] |
| 87 | |
| 88 | def baseChangeIso (e : (Over.pullback f).obj A ≅ (Over.pullback g).obj A) : |
| 89 | (Over.pullback (k ≫ f)).obj A ≅ (Over.pullback (k ≫ g)).obj A := |
| 90 | (Over.pullbackComp k f).app A ≪≫ (Over.pullback k).mapIso e ≪≫ ((Over.pullbackComp k g).app A).symm |
| 91 | |
| 92 | theorem baseChangeIso_projection |
| 93 | (e : (Over.pullback f).obj A ≅ (Over.pullback g).obj A) : |
| 94 | (baseChangeIso A f g k e).hom.left ≫ pullback.fst A.hom (k ≫ g) = |
| 95 | nativeMap A f k ≫ e.hom.left ≫ pullback.fst A.hom g := by |
| 96 | have hg : ((Over.pullbackComp k g).inv.app A).left ≫ pullback.fst A.hom (k ≫ g) = |
| 97 | pullback.fst (pullback.snd A.hom g) k ≫ pullback.fst A.hom g := by |
| 98 | exact (((Over.forget W).mapIso ((Over.pullbackComp k g).app A)).inv_comp_eq).mpr |
| 99 | (AbelianModuli.HilbertConstruction.Pullback.Comparisons.pullbackComp_hom_fst_fst A g k).symm |
| 100 | change (((Over.pullbackComp k f).hom.app A).left ≫ |
| 101 | ((Over.pullback k).map e.hom).left ≫ ((Over.pullbackComp k g).inv.app A).left) ≫ |
| 102 | pullback.fst A.hom (k ≫ g) = _ |
| 103 | have hm : ((Over.pullback k).map e.hom).left ≫ pullback.fst (pullback.snd A.hom g) k = |
| 104 | pullback.fst (pullback.snd A.hom f) k ≫ e.hom.left := pullback.lift_fst _ _ _ |
| 105 | simp only [Category.assoc, hg, reassoc_of% hm, nativeMap] |
| 106 | |
| 107 | theorem liftPoint_nativeMap (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : |
| 108 | liftPoint A (k ≫ f) (k ≫ x) (by rw [Category.assoc, hx]) ≫ nativeMap A f k = |
| 109 | k ≫ liftPoint A f x hx := by |
| 110 | apply pullback.hom_ext |
| 111 | · rw [Category.assoc, nativeMap_fst, liftPoint_fst] |
| 112 | simp only [Category.assoc, liftPoint_fst] |
| 113 | · rw [Category.assoc, nativeMap_snd, ← Category.assoc, liftPoint_snd, Category.id_comp] |
| 114 | simp only [Category.assoc, liftPoint_snd, Category.comp_id] |
| 115 | |
| 116 | theorem transport_baseChange |
| 117 | (e : (Over.pullback f).obj A ≅ (Over.pullback g).obj A) |
| 118 | (x : T ⟶ A.left) (hx : x ≫ A.hom = f) : |
| 119 | transport A (k ≫ f) (k ≫ g) (baseChangeIso A f g k e) |
| 120 | (k ≫ x) (by rw [Category.assoc, hx]) = k ≫ transport A f g e x hx := by |
| 121 | change liftPoint A (k ≫ f) (k ≫ x) _ ≫ |
| 122 | (baseChangeIso A f g k e).hom.left ≫ pullback.fst A.hom (k ≫ g) = _ |
| 123 | rw [baseChangeIso_projection, ← Category.assoc _ (nativeMap A f k), liftPoint_nativeMap] |
| 124 | exact Category.assoc _ _ _ |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Family.PointBaseChange.FamilyPointTransport |