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.Comparison.Betti.SupportTopCochains |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.SupportedCochainSorting |
| 3 | |
| 4 | /-! # Support Top Cycles -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SupportTopCycles.Cech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Top-degree full-support cycles are exactly one copy of the additive coefficient group. -/ |
| 11 | |
| 12 | variable {V : Type} [AddCommGroup V] |
| 13 | |
| 14 | theorem fullSupportTopCycle_sorted (n : ℕ) |
| 15 | (s : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset (Fin (n + 1))) n) |
| 16 | (hs : SupportedCochains.Cech.supportedCechDifferential Finset.univ n s = 0) : |
| 17 | SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n s = s := by |
| 18 | cases n with |
| 19 | | zero => exact SupportedCochainSorting.Cech.supportedCechSorting_zero_degree Finset.univ s |
| 20 | | succ q => |
| 21 | have h := SupportedCochainSorting.Cech.supportedCechSorting_cycle Finset.univ q s hs |
| 22 | have hH : SupportedCochainSorting.Cech.supportedCechSortingHomotopy Finset.univ q s = 0 := |
| 23 | SupportTopCochains.Cech.fullSupportCochain_zero_of_lt q (by simp) _ |
| 24 | rw [hH, map_zero] at h |
| 25 | exact sub_eq_zero.mp h.symm |
| 26 | |
| 27 | theorem fullSupportTopSorting_cycle (n : ℕ) |
| 28 | (s : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset (Fin (n + 1))) n) : |
| 29 | SupportedCochains.Cech.supportedCechDifferential Finset.univ n (SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n s) = 0 := by |
| 30 | rw [SupportedCochainSorting.Cech.supportedCechSorting_differential] |
| 31 | exact SupportCochainVanishing.Cech.fullSupportSorting_zero (n + 1) (by simp) _ |
| 32 | |
| 33 | theorem fullSupportTopCycle_ext (n : ℕ) |
| 34 | (s t : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset (Fin (n + 1))) n) |
| 35 | (hs : SupportedCochains.Cech.supportedCechDifferential Finset.univ n s = 0) |
| 36 | (ht : SupportedCochains.Cech.supportedCechDifferential Finset.univ n t = 0) (h : s.val id = t.val id) : s = t := |
| 37 | (fullSupportTopCycle_sorted n s hs).symm.trans |
| 38 | ((SupportTopCochains.Cech.fullSupportTopSorting_ext n s t h).trans (fullSupportTopCycle_sorted n t ht)) |
| 39 | |
| 40 | def fullSupportTopSeed (n : ℕ) (v : V) : |
| 41 | SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset (Fin (n + 1))) n := |
| 42 | ⟨fun t => if t = id then v else 0, fun t ht => by |
| 43 | have hne : t ≠ id := by |
| 44 | intro h |
| 45 | subst t |
| 46 | apply ht |
| 47 | intro i _ |
| 48 | exact Finset.mem_image.mpr ⟨i, Finset.mem_univ _, rfl⟩ |
| 49 | exact ite_eq_right hne⟩ |
| 50 | |
| 51 | theorem fullSupportTopSeed_id (n : ℕ) (v : V) : (fullSupportTopSeed n v).val id = v := |
| 52 | ite_eq_left rfl |
| 53 | |
| 54 | def fullSupportTopCycleMap (n : ℕ) : |
| 55 | V →+ (SupportedCochains.Cech.supportedCechDifferential (V := V) (Finset.univ : Finset (Fin (n + 1))) n).ker where |
| 56 | toFun v := ⟨SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n (fullSupportTopSeed n v), |
| 57 | fullSupportTopSorting_cycle n _⟩ |
| 58 | map_zero' := by |
| 59 | apply Subtype.ext |
| 60 | apply fullSupportTopCycle_ext n |
| 61 | · exact fullSupportTopSorting_cycle n _ |
| 62 | · exact map_zero _ |
| 63 | · rw [SupportTopCochains.Cech.fullSupportTopSorting_id, fullSupportTopSeed_id] |
| 64 | rfl |
| 65 | map_add' v w := by |
| 66 | apply Subtype.ext |
| 67 | apply fullSupportTopCycle_ext n |
| 68 | · exact fullSupportTopSorting_cycle n _ |
| 69 | · change SupportedCochains.Cech.supportedCechDifferential Finset.univ n |
| 70 | (SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n (fullSupportTopSeed n v) + |
| 71 | SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n (fullSupportTopSeed n w)) = 0 |
| 72 | rw [map_add, fullSupportTopSorting_cycle, fullSupportTopSorting_cycle, add_zero] |
| 73 | · change (SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n (fullSupportTopSeed n (v + w))).val id = |
| 74 | (SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n (fullSupportTopSeed n v)).val id + |
| 75 | (SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n (fullSupportTopSeed n w)).val id |
| 76 | rw [SupportTopCochains.Cech.fullSupportTopSorting_id, SupportTopCochains.Cech.fullSupportTopSorting_id, SupportTopCochains.Cech.fullSupportTopSorting_id, |
| 77 | fullSupportTopSeed_id, fullSupportTopSeed_id, fullSupportTopSeed_id] |
| 78 | |
| 79 | def fullSupportTopCyclesEquiv (n : ℕ) : |
| 80 | (SupportedCochains.Cech.supportedCechDifferential (V := V) (Finset.univ : Finset (Fin (n + 1))) n).ker ≃+ V where |
| 81 | toFun s := s.val.val id |
| 82 | invFun v := fullSupportTopCycleMap n v |
| 83 | left_inv s := by |
| 84 | apply Subtype.ext |
| 85 | apply fullSupportTopCycle_ext n |
| 86 | · exact (fullSupportTopCycleMap n (s.val.val id)).property |
| 87 | · exact s.property |
| 88 | · exact (SupportTopCochains.Cech.fullSupportTopSorting_id n _).trans (fullSupportTopSeed_id n _) |
| 89 | right_inv v := (SupportTopCochains.Cech.fullSupportTopSorting_id n _).trans (fullSupportTopSeed_id n v) |
| 90 | map_add' _ _ := rfl |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Comparison.Betti.SupportTopCycles.Cech |