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.NumberTheory.PadicHodge.GeometricComparison.BicomplexLow |
| 2 | |
| 3 | /-! # Bicomplex One -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BicomplexOne.BicomplexOneCycleLifts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A comparison of the first three columns lifts total degree-one cycles |
| 10 | and detects total degree-one boundaries. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.GeometricComparison.BicomplexLow.BicomplexLowDegree |
| 15 | universe u v |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | {B C : HomologicalComplex₂ (ModuleCat.{v} R) (.up ℕ) (.up ℕ)} (f : B ⟶ C) |
| 18 | |
| 19 | theorem cycle_lift (h0 : QuasiIso (f.f 0)) (h1 : QuasiIso (f.f 1)) |
| 20 | (h2 : QuasiIsoAt (f.f 2) 0) |
| 21 | (x : (C.X 0).X 1) (y : (C.X 1).X 0) |
| 22 | (hx : BicomplexLow.BicomplexLowDegree.vertical C 0 1 x = 0) |
| 23 | (hxy : BicomplexLow.BicomplexLowDegree.horizontal C 0 1 x = BicomplexLow.BicomplexLowDegree.vertical C 1 0 y) |
| 24 | (hy : BicomplexLow.BicomplexLowDegree.horizontal C 1 0 y = 0) : |
| 25 | ∃ a : (B.X 0).X 1, ∃ c : (B.X 1).X 0, |
| 26 | BicomplexLow.BicomplexLowDegree.vertical B 0 1 a = 0 ∧ BicomplexLow.BicomplexLowDegree.horizontal B 0 1 a = BicomplexLow.BicomplexLowDegree.vertical B 1 0 c ∧ |
| 27 | BicomplexLow.BicomplexLowDegree.horizontal B 1 0 c = 0 ∧ ∃ b : (C.X 0).X 0, |
| 28 | BicomplexLow.BicomplexLowDegree.component f 0 1 a - x = BicomplexLow.BicomplexLowDegree.vertical C 0 0 b ∧ |
| 29 | BicomplexLow.BicomplexLowDegree.component f 1 0 c - y = BicomplexLow.BicomplexLowDegree.horizontal C 0 0 b := by |
| 30 | let := h0 |
| 31 | let := h1 |
| 32 | obtain ⟨a, ha, b, hb⟩ := |
| 33 | CochainLow.CochainLowDegreeLifts.one_cycle_lift (f.f 0) inferInstance x hx |
| 34 | change BicomplexLow.BicomplexLowDegree.vertical B 0 1 a = 0 at ha |
| 35 | have hfa : BicomplexLow.BicomplexLowDegree.component f 0 1 a = BicomplexLow.BicomplexLowDegree.vertical C 0 0 b + x := sub_eq_iff_eq_add.mp hb |
| 36 | let y' := BicomplexLow.BicomplexLowDegree.horizontal C 0 0 b + y |
| 37 | have hu : BicomplexLow.BicomplexLowDegree.vertical B 1 1 (BicomplexLow.BicomplexLowDegree.horizontal B 0 1 a) = 0 := by |
| 38 | rw [BicomplexLow.BicomplexLowDegree.vertical_horizontal, ha, map_zero] |
| 39 | have hfu : BicomplexLow.BicomplexLowDegree.component f 1 1 (BicomplexLow.BicomplexLowDegree.horizontal B 0 1 a) = BicomplexLow.BicomplexLowDegree.vertical C 1 0 y' := by |
| 40 | rw [BicomplexLow.BicomplexLowDegree.component_horizontal, hfa, map_add, ← BicomplexLow.BicomplexLowDegree.vertical_horizontal, hxy, ← map_add] |
| 41 | obtain ⟨z, hz⟩ := CochainLow.CochainLowDegreeLifts.one_boundary_lift (f.f 1) inferInstance |
| 42 | (BicomplexLow.BicomplexLowDegree.horizontal B 0 1 a) hu y' hfu |
| 43 | change BicomplexLow.BicomplexLowDegree.vertical B 1 0 z = BicomplexLow.BicomplexLowDegree.horizontal B 0 1 a at hz |
| 44 | have hclosed : BicomplexLow.BicomplexLowDegree.vertical C 1 0 (BicomplexLow.BicomplexLowDegree.component f 1 0 z - y') = 0 := by |
| 45 | rw [map_sub, ← BicomplexLow.BicomplexLowDegree.component_vertical, hz, hfu, sub_self] |
| 46 | obtain ⟨w, hw, hfw⟩ := CochainLow.CochainLowDegreeLifts.zero_cycle_lift (f.f 1) inferInstance |
| 47 | (BicomplexLow.BicomplexLowDegree.component f 1 0 z - y') hclosed |
| 48 | change BicomplexLow.BicomplexLowDegree.vertical B 1 0 w = 0 at hw |
| 49 | let c := z - w |
| 50 | have hc : BicomplexLow.BicomplexLowDegree.vertical B 1 0 c = BicomplexLow.BicomplexLowDegree.horizontal B 0 1 a := by |
| 51 | dsimp [c] |
| 52 | rw [map_sub, hw, sub_zero] |
| 53 | exact hz |
| 54 | have hfc : BicomplexLow.BicomplexLowDegree.component f 1 0 c = y' := by |
| 55 | change BicomplexLow.BicomplexLowDegree.component f 1 0 (z - w) = y' |
| 56 | rw [map_sub, show BicomplexLow.BicomplexLowDegree.component f 1 0 w = BicomplexLow.BicomplexLowDegree.component f 1 0 z - y' from hfw] |
| 57 | abel |
| 58 | have hvhc : BicomplexLow.BicomplexLowDegree.vertical B 2 0 (BicomplexLow.BicomplexLowDegree.horizontal B 1 0 c) = 0 := by |
| 59 | rw [BicomplexLow.BicomplexLowDegree.vertical_horizontal, hc, BicomplexLow.BicomplexLowDegree.horizontal_horizontal] |
| 60 | have hfhc : BicomplexLow.BicomplexLowDegree.component f 2 0 (BicomplexLow.BicomplexLowDegree.horizontal B 1 0 c) = 0 := by |
| 61 | rw [BicomplexLow.BicomplexLowDegree.component_horizontal, hfc] |
| 62 | dsimp [y'] |
| 63 | rw [map_add, BicomplexLow.BicomplexLowDegree.horizontal_horizontal, hy, add_zero] |
| 64 | have hhc := CochainLow.CochainLowDegreeLifts.zero_cycle_injective (f.f 2) h2 |
| 65 | (BicomplexLow.BicomplexLowDegree.horizontal B 1 0 c) hvhc hfhc |
| 66 | refine ⟨a, c, ha, hc.symm, hhc, b, hb, ?_⟩ |
| 67 | rw [hfc] |
| 68 | exact add_sub_cancel_right _ _ |
| 69 | |
| 70 | theorem boundary_lift (h0 : QuasiIso (f.f 0)) (h1 : QuasiIsoAt (f.f 1) 0) |
| 71 | (x : (B.X 0).X 1) (y : (B.X 1).X 0) |
| 72 | (hx : BicomplexLow.BicomplexLowDegree.vertical B 0 1 x = 0) |
| 73 | (hxy : BicomplexLow.BicomplexLowDegree.horizontal B 0 1 x = BicomplexLow.BicomplexLowDegree.vertical B 1 0 y) |
| 74 | (b : (C.X 0).X 0) |
| 75 | (hbx : BicomplexLow.BicomplexLowDegree.component f 0 1 x = BicomplexLow.BicomplexLowDegree.vertical C 0 0 b) |
| 76 | (hby : BicomplexLow.BicomplexLowDegree.component f 1 0 y = BicomplexLow.BicomplexLowDegree.horizontal C 0 0 b) : |
| 77 | ∃ a : (B.X 0).X 0, BicomplexLow.BicomplexLowDegree.vertical B 0 0 a = x ∧ BicomplexLow.BicomplexLowDegree.horizontal B 0 0 a = y := by |
| 78 | let := h0 |
| 79 | obtain ⟨a, ha⟩ := CochainLow.CochainLowDegreeLifts.one_boundary_lift (f.f 0) inferInstance x hx b hbx |
| 80 | change BicomplexLow.BicomplexLowDegree.vertical B 0 0 a = x at ha |
| 81 | have hclosed : BicomplexLow.BicomplexLowDegree.vertical C 0 0 (b - BicomplexLow.BicomplexLowDegree.component f 0 0 a) = 0 := by |
| 82 | rw [map_sub, ← BicomplexLow.BicomplexLowDegree.component_vertical, ha, hbx, sub_self] |
| 83 | obtain ⟨c, hc, hfc⟩ := CochainLow.CochainLowDegreeLifts.zero_cycle_lift (f.f 0) inferInstance |
| 84 | (b - BicomplexLow.BicomplexLowDegree.component f 0 0 a) hclosed |
| 85 | change BicomplexLow.BicomplexLowDegree.vertical B 0 0 c = 0 at hc |
| 86 | have hzero : BicomplexLow.BicomplexLowDegree.vertical B 1 0 (y - BicomplexLow.BicomplexLowDegree.horizontal B 0 0 (a + c)) = 0 := by |
| 87 | rw [map_sub, BicomplexLow.BicomplexLowDegree.vertical_horizontal, map_add, ha, hc, add_zero, hxy, sub_self] |
| 88 | have hfzero : BicomplexLow.BicomplexLowDegree.component f 1 0 (y - BicomplexLow.BicomplexLowDegree.horizontal B 0 0 (a + c)) = 0 := by |
| 89 | rw [map_sub, BicomplexLow.BicomplexLowDegree.component_horizontal, map_add] |
| 90 | change BicomplexLow.BicomplexLowDegree.component f 1 0 y - BicomplexLow.BicomplexLowDegree.horizontal C 0 0 (BicomplexLow.BicomplexLowDegree.component f 0 0 a + BicomplexLow.BicomplexLowDegree.component f 0 0 c) = 0 |
| 91 | rw [show BicomplexLow.BicomplexLowDegree.component f 0 0 c = b - BicomplexLow.BicomplexLowDegree.component f 0 0 a from hfc] |
| 92 | have hadd : BicomplexLow.BicomplexLowDegree.component f 0 0 a + (b - BicomplexLow.BicomplexLowDegree.component f 0 0 a) = b := by abel |
| 93 | rw [hadd, hby, sub_self] |
| 94 | have hz := CochainLow.CochainLowDegreeLifts.zero_cycle_injective (f.f 1) h1 |
| 95 | (y - BicomplexLow.BicomplexLowDegree.horizontal B 0 0 (a + c)) hzero hfzero |
| 96 | refine ⟨a + c, ?_, (sub_eq_zero.mp hz).symm⟩ |
| 97 | rw [map_add, ha, hc, add_zero] |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BicomplexOne.BicomplexOneCycleLifts |