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.OpenCechDegreeZero |
| 2 | |
| 3 | /-! # Cube Open Cech Cocycles -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeOpenCechCocycles.Construction.CubeCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Cech one-cocycles expressed on arbitrary common subopens, for geometric gluing arguments. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] {X : TopCat.{v}} |
| 16 | (F : TopCat.Sheaf (ModuleCat.{v} R) X) {ι : Type w} (U : ι → Opens X) |
| 17 | |
| 18 | def openCechRestrict1 (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) (i j : ι) (W : Opens X) |
| 19 | (hi : W ≤ U i) (hj : W ≤ U j) : F.obj.obj (op W) := |
| 20 | F.obj.map (homOfLE (le_inf hi hj)).op (z i j) |
| 21 | |
| 22 | def IsOpenCechCocycle (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) : Prop := |
| 23 | ∀ (i j k : ι) (W : Opens X) (hi : W ≤ U i) (hj : W ≤ U j) (hk : W ≤ U k), |
| 24 | openCechRestrict1 F U z i j W hi hj + openCechRestrict1 F U z j k W hj hk = |
| 25 | openCechRestrict1 F U z i k W hi hk |
| 26 | |
| 27 | theorem openCechRestrict1_self (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) (i j : ι) : |
| 28 | openCechRestrict1 F U z i j (U i ⊓ U j) inf_le_left inf_le_right = z i j := by |
| 29 | change F.obj.map (𝟙 (op (U i ⊓ U j))) (z i j) = _ |
| 30 | rw [F.obj.map_id] |
| 31 | rfl |
| 32 | |
| 33 | theorem openCechRestrict1_comp (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) (i j : ι) |
| 34 | (W W' : Opens X) (hi : W ≤ U i) (hj : W ≤ U j) (h : W' ≤ W) : |
| 35 | F.obj.map (homOfLE h).op (openCechRestrict1 F U z i j W hi hj) = |
| 36 | openCechRestrict1 F U z i j W' (h.trans hi) (h.trans hj) := by |
| 37 | change F.obj.map (homOfLE h).op (F.obj.map (homOfLE (le_inf hi hj)).op (z i j)) = _ |
| 38 | rw [← ConcreteCategory.comp_apply, ← F.obj.map_comp] |
| 39 | rfl |
| 40 | |
| 41 | theorem openCechRestrict1_d0 (x : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 F U) (i j : ι) (W : Opens X) |
| 42 | (hi : W ≤ U i) (hj : W ≤ U j) : |
| 43 | openCechRestrict1 F U (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U x) i j W hi hj = |
| 44 | F.obj.map (homOfLE hj).op (x j) - F.obj.map (homOfLE hi).op (x i) := by |
| 45 | change F.obj.map (homOfLE (le_inf hi hj)).op |
| 46 | (F.obj.map (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op (x j) - |
| 47 | F.obj.map (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op (x i)) = _ |
| 48 | rw [map_sub, ← ConcreteCategory.comp_apply, ← ConcreteCategory.comp_apply, |
| 49 | ← F.obj.map_comp, ← F.obj.map_comp] |
| 50 | rfl |
| 51 | |
| 52 | theorem openCechD0_isCocycle (x : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 F U) : |
| 53 | IsOpenCechCocycle F U (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U x) := by |
| 54 | intro i j k W hi hj hk |
| 55 | rw [openCechRestrict1_d0, openCechRestrict1_d0, openCechRestrict1_d0] |
| 56 | abel |
| 57 | |
| 58 | theorem openCechRestrict1_sub (z w : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) (i j : ι) (W : Opens X) |
| 59 | (hi : W ≤ U i) (hj : W ≤ U j) : |
| 60 | openCechRestrict1 F U (z - w) i j W hi hj = |
| 61 | openCechRestrict1 F U z i j W hi hj - openCechRestrict1 F U w i j W hi hj := by |
| 62 | exact map_sub (F.obj.map (homOfLE (le_inf hi hj)).op).hom (z i j) (w i j) |
| 63 | |
| 64 | theorem openCechCocycle_sub (z w : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) |
| 65 | (hz : IsOpenCechCocycle F U z) (hw : IsOpenCechCocycle F U w) : |
| 66 | IsOpenCechCocycle F U (z - w) := by |
| 67 | intro i j k W hi hj hk |
| 68 | rw [openCechRestrict1_sub, openCechRestrict1_sub, openCechRestrict1_sub] |
| 69 | calc |
| 70 | _ = (openCechRestrict1 F U z i j W hi hj + openCechRestrict1 F U z j k W hj hk) - |
| 71 | (openCechRestrict1 F U w i j W hi hj + openCechRestrict1 F U w j k W hj hk) := by abel |
| 72 | _ = _ := congrArg₂ (fun a b ↦ a - b) (hz i j k W hi hj hk) (hw i j k W hi hj hk) |
| 73 | |
| 74 | theorem openCechCocycle_diagonal (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) |
| 75 | (hz : IsOpenCechCocycle F U z) (i : ι) : z i i = 0 := by |
| 76 | have h := hz i i i (U i ⊓ U i) inf_le_left inf_le_right inf_le_left |
| 77 | have hid : openCechRestrict1 F U z i i (U i ⊓ U i) inf_le_left inf_le_right = z i i := |
| 78 | openCechRestrict1_self F U z i i |
| 79 | change openCechRestrict1 F U z i i (U i ⊓ U i) inf_le_left inf_le_right + |
| 80 | openCechRestrict1 F U z i i (U i ⊓ U i) inf_le_left inf_le_right = |
| 81 | openCechRestrict1 F U z i i (U i ⊓ U i) inf_le_left inf_le_right at h |
| 82 | rw [hid] at h |
| 83 | exact add_eq_left.mp h |
| 84 | |
| 85 | theorem openCechCocycle_square (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) (hz : IsOpenCechCocycle F U z) |
| 86 | (p q r s : ι) (W : Opens X) (hp : W ≤ U p) (hq : W ≤ U q) |
| 87 | (hr : W ≤ U r) (hs : W ≤ U s) : |
| 88 | openCechRestrict1 F U z s q W hs hq - openCechRestrict1 F U z p r W hp hr = |
| 89 | openCechRestrict1 F U z r q W hr hq - openCechRestrict1 F U z p s W hp hs := by |
| 90 | apply sub_eq_sub_iff_add_eq_add.mpr |
| 91 | exact (add_comm _ _).trans |
| 92 | (((hz p s q W hp hs hq).trans (hz p r q W hp hr hq).symm).trans (add_comm _ _)) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeOpenCechCocycles.Construction.CubeCech |