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.Divisors.LineBundles.Relative.BaseChangeMap |
| 2 | |
| 3 | /-! # Relative Base Change Chart -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RelativeBaseChangeChart.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! A cartesian open relative chart produces an actual cartesian |
| 12 | open chart after arbitrary change of the base. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | variable {E X V U Y : Scheme.{0}} (p : E ⟶ X) (q : V ⟶ U) |
| 17 | (i : U ⟶ X) (j : V ⟶ E) (hs : IsPullback q j i p) (b : Y ⟶ X) |
| 18 | |
| 19 | def openRelativeBaseChangeChartMap : |
| 20 | pullback q (pullback.snd b i) ⟶ pullback p b := |
| 21 | pullback.lift (pullback.fst q (pullback.snd b i) ≫ j) |
| 22 | (pullback.snd q (pullback.snd b i) ≫ pullback.fst b i) |
| 23 | (by rw [Category.assoc, ← hs.w, ← Category.assoc, pullback.condition, |
| 24 | Category.assoc, ← pullback.condition, ← Category.assoc]) |
| 25 | |
| 26 | theorem openRelativeBaseChangeChartMap_fst : |
| 27 | openRelativeBaseChangeChartMap p q i j hs b ≫ pullback.fst p b = |
| 28 | pullback.fst q (pullback.snd b i) ≫ j := pullback.lift_fst _ _ _ |
| 29 | |
| 30 | theorem openRelativeBaseChangeChartMap_snd : |
| 31 | openRelativeBaseChangeChartMap p q i j hs b ≫ pullback.snd p b = |
| 32 | pullback.snd q (pullback.snd b i) ≫ pullback.fst b i := pullback.lift_snd _ _ _ |
| 33 | |
| 34 | theorem openRelativeBaseChangeChartMap_isPullback : |
| 35 | IsPullback (openRelativeBaseChangeChartMap p q i j hs b) |
| 36 | (pullback.fst q (pullback.snd b i)) (pullback.fst p b) j := by |
| 37 | have H := (IsPullback.of_hasPullback q (pullback.snd b i)).flip.paste_horiz |
| 38 | (IsPullback.of_hasPullback b i) |
| 39 | rw [hs.w] at H |
| 40 | have H' : IsPullback (openRelativeBaseChangeChartMap p q i j hs b ≫ pullback.snd p b) |
| 41 | (pullback.fst q (pullback.snd b i)) b (j ≫ p) := by |
| 42 | rw [openRelativeBaseChangeChartMap_snd] |
| 43 | exact H |
| 44 | exact H'.of_right (openRelativeBaseChangeChartMap_fst p q i j hs b) |
| 45 | (IsPullback.of_hasPullback p b).flip |
| 46 | |
| 47 | instance openRelativeBaseChangeChartMap_isOpenImmersion [IsOpenImmersion j] : |
| 48 | IsOpenImmersion (openRelativeBaseChangeChartMap p q i j hs b) := |
| 49 | MorphismProperty.of_isPullback (openRelativeBaseChangeChartMap_isPullback p q i j hs b).flip inferInstance |
| 50 | |
| 51 | theorem openRelativeBaseChangeChart_projection_isPullback : |
| 52 | IsPullback (pullback.snd q (pullback.snd b i)) |
| 53 | (openRelativeBaseChangeChartMap p q i j hs b) (pullback.fst b i) (pullback.snd p b) := by |
| 54 | have H := (IsPullback.of_hasPullback q (pullback.snd b i)).flip.paste_vert hs |
| 55 | have H' : IsPullback (pullback.snd q (pullback.snd b i)) |
| 56 | (openRelativeBaseChangeChartMap p q i j hs b ≫ pullback.fst p b) |
| 57 | (pullback.fst b i ≫ b) p := by |
| 58 | rw [openRelativeBaseChangeChartMap_fst, pullback.condition] |
| 59 | exact H |
| 60 | exact H'.of_bot (openRelativeBaseChangeChartMap_snd p q i j hs b).symm |
| 61 | (IsPullback.of_hasPullback p b).flip |
| 62 | |
| 63 | end |
| 64 | |
| 65 | /-! An actual cartesian relative chart whose base map factors through |
| 66 | an open subscheme lifts to the pullback over that open subscheme. -/ |
| 67 | |
| 68 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 69 | |
| 70 | variable {E X V B U : Scheme.{0}} (p : E ⟶ X) (q : V ⟶ B) |
| 71 | (b : B ⟶ X) (j : V ⟶ E) (hs : IsPullback q j b p) |
| 72 | (i : U ⟶ X) (a : B ⟶ U) (ha : a ≫ i = b) |
| 73 | |
| 74 | def openRelativeChartLift : V ⟶ pullback p i := |
| 75 | pullback.lift j (q ≫ a) (by rw [Category.assoc, ha, hs.w]) |
| 76 | |
| 77 | theorem openRelativeChartLift_fst : openRelativeChartLift p q b j hs i a ha ≫ pullback.fst p i = j := |
| 78 | pullback.lift_fst _ _ _ |
| 79 | |
| 80 | theorem openRelativeChartLift_snd : openRelativeChartLift p q b j hs i a ha ≫ pullback.snd p i = q ≫ a := |
| 81 | pullback.lift_snd _ _ _ |
| 82 | |
| 83 | instance openRelativeChartLift_isOpenImmersion [IsOpenImmersion i] [IsOpenImmersion j] : |
| 84 | IsOpenImmersion (openRelativeChartLift p q b j hs i a ha) := by |
| 85 | let : IsOpenImmersion (openRelativeChartLift p q b j hs i a ha ≫ pullback.fst p i) := by |
| 86 | rw [openRelativeChartLift_fst] |
| 87 | infer_instance |
| 88 | exact IsOpenImmersion.of_comp _ (pullback.fst p i) |
| 89 | |
| 90 | theorem openRelativeChartLift_isPullback : |
| 91 | IsPullback q (openRelativeChartLift p q b j hs i a ha) a (pullback.snd p i) := by |
| 92 | have H : IsPullback q (openRelativeChartLift p q b j hs i a ha ≫ pullback.fst p i) (a ≫ i) p := by |
| 93 | rw [openRelativeChartLift_fst, ha] |
| 94 | exact hs |
| 95 | exact H.of_bot (openRelativeChartLift_snd p q b j hs i a ha).symm (IsPullback.of_hasPullback p i).flip |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RelativeBaseChangeChart.BundleCycles |