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.Quotients.FiniteDescent.ProductBaseLift |
| 2 | |
| 3 | /-! # Product Base Axes -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Rational-point axes and their Cartesian base-change squares. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [HasPullbacks C] |
| 16 | variable {X Y S X' Y' T : C} |
| 17 | |
| 18 | def left (f : X ⟶ S) (g : Y ⟶ S) (s : S ⟶ Y) (hs : s ≫ g = 𝟙 _) : X ⟶ pullback f g := |
| 19 | pullback.lift (𝟙 X) (f ≫ s) (by simp [Category.assoc, hs]) |
| 20 | |
| 21 | theorem left_over (f : X ⟶ S) (g : Y ⟶ S) (s : S ⟶ Y) (hs : s ≫ g = 𝟙 _) : |
| 22 | left f g s hs ≫ (pullback.fst f g ≫ f) = f := by |
| 23 | rw [left, pullback.lift_fst_assoc, Category.id_comp] |
| 24 | |
| 25 | def baseSection (f : X ⟶ S) (f' : X' ⟶ T) (p : X' ⟶ X) (t : T ⟶ S) |
| 26 | (hp : IsPullback p f' f t) (s : S ⟶ X) (hs : s ≫ f = 𝟙 _) : T ⟶ X' := |
| 27 | hp.lift (t ≫ s) (𝟙 T) (by simp [Category.assoc, hs]) |
| 28 | |
| 29 | omit [HasPullbacks C] in |
| 30 | theorem section_over (f : X ⟶ S) (f' : X' ⟶ T) (p : X' ⟶ X) (t : T ⟶ S) |
| 31 | (hp : IsPullback p f' f t) (s : S ⟶ X) (hs : s ≫ f = 𝟙 _) : |
| 32 | baseSection f f' p t hp s hs ≫ f' = 𝟙 T := hp.lift_snd _ _ _ |
| 33 | |
| 34 | variable (f : X ⟶ S) (g : Y ⟶ S) (f' : X' ⟶ T) (g' : Y' ⟶ T) |
| 35 | variable (p : X' ⟶ X) (q : Y' ⟶ Y) (t : T ⟶ S) |
| 36 | variable (hp : IsPullback p f' f t) (hq : IsPullback q g' g t) |
| 37 | variable (s : S ⟶ Y) (hs : s ≫ g = 𝟙 _) |
| 38 | |
| 39 | abbrev liftedLeft := left f' g' (baseSection g g' q t hq s hs) (section_over g g' q t hq s hs) |
| 40 | |
| 41 | theorem left_square : |
| 42 | liftedLeft g f' g' q t hq s hs ≫ ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq = |
| 43 | p ≫ left f g s hs := by |
| 44 | apply pullback.hom_ext |
| 45 | · simp only [liftedLeft, left, ProductBaseLift.Construction.ProductBaseChangeSquare.map, pullback.map, |
| 46 | Category.assoc, pullback.lift_fst, pullback.lift_fst_assoc, Category.id_comp, Category.comp_id] |
| 47 | · simp only [liftedLeft, left, ProductBaseLift.Construction.ProductBaseChangeSquare.map, pullback.map, |
| 48 | Category.assoc, pullback.lift_snd, pullback.lift_snd_assoc, baseSection, IsPullback.lift_fst] |
| 49 | simpa only [Category.assoc] using congrArg (fun a => a ≫ s) hp.w.symm |
| 50 | |
| 51 | theorem left_isPullback : |
| 52 | IsPullback (liftedLeft g f' g' q t hq s hs) p |
| 53 | (ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq) (left f g s hs) := by |
| 54 | have ho : IsPullback |
| 55 | (liftedLeft g f' g' q t hq s hs ≫ (pullback.fst f' g' ≫ f')) p t |
| 56 | (left f g s hs ≫ (pullback.fst f g ≫ f)) := by |
| 57 | rw [left_over, left_over] |
| 58 | exact hp.flip |
| 59 | exact IsPullback.of_right ho (left_square f g f' g' p q t hp hq s hs) |
| 60 | (ProductBaseLift.Construction.ProductBaseChangeSquare.isPullback f g f' g' p q t hp hq).flip |
| 61 | |
| 62 | def right (f : X ⟶ S) (g : Y ⟶ S) (s : S ⟶ X) (hs : s ≫ f = 𝟙 _) : Y ⟶ pullback f g := |
| 63 | pullback.lift (g ≫ s) (𝟙 Y) (by simp [Category.assoc, hs]) |
| 64 | |
| 65 | theorem right_over (f : X ⟶ S) (g : Y ⟶ S) (s : S ⟶ X) (hs : s ≫ f = 𝟙 _) : |
| 66 | right f g s hs ≫ (pullback.fst f g ≫ f) = g := by |
| 67 | rw [right, pullback.lift_fst_assoc, Category.assoc, hs, Category.comp_id] |
| 68 | |
| 69 | variable (sX : S ⟶ X) (hsX : sX ≫ f = 𝟙 _) |
| 70 | |
| 71 | abbrev liftedRight := right f' g' (baseSection f f' p t hp sX hsX) (section_over f f' p t hp sX hsX) |
| 72 | |
| 73 | theorem right_square : |
| 74 | liftedRight f f' g' p t hp sX hsX ≫ ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq = |
| 75 | q ≫ right f g sX hsX := by |
| 76 | apply pullback.hom_ext |
| 77 | · simp only [liftedRight, right, ProductBaseLift.Construction.ProductBaseChangeSquare.map, pullback.map, |
| 78 | Category.assoc, pullback.lift_fst, pullback.lift_fst_assoc, baseSection, IsPullback.lift_fst] |
| 79 | simpa only [Category.assoc] using congrArg (fun a => a ≫ sX) hq.w.symm |
| 80 | · simp only [liftedRight, right, ProductBaseLift.Construction.ProductBaseChangeSquare.map, pullback.map, |
| 81 | Category.assoc, pullback.lift_snd, pullback.lift_snd_assoc, Category.id_comp, Category.comp_id] |
| 82 | |
| 83 | theorem right_isPullback : |
| 84 | IsPullback (liftedRight f f' g' p t hp sX hsX) q |
| 85 | (ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq) (right f g sX hsX) := by |
| 86 | have ho : IsPullback |
| 87 | (liftedRight f f' g' p t hp sX hsX ≫ (pullback.fst f' g' ≫ f')) q t |
| 88 | (right f g sX hsX ≫ (pullback.fst f g ≫ f)) := by |
| 89 | rw [right_over, right_over] |
| 90 | exact hq.flip |
| 91 | exact IsPullback.of_right ho (right_square f g f' g' p q t hp hq sX hsX) |
| 92 | (ProductBaseLift.Construction.ProductBaseChangeSquare.isPullback f g f' g' p q t hp hq).flip |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes |