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.SupportCochainVanishing |
| 2 | import Mathlib.Order.Preorder.Finite |
| 3 | |
| 4 | /-! # Support Top Cochains -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SupportTopCochains.Cech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Full-support cochains below top degree vanish; sorted top cochains have one coefficient. -/ |
| 11 | |
| 12 | variable {ι V : Type} [Fintype ι] [LinearOrder ι] [AddCommGroup V] |
| 13 | |
| 14 | theorem fullSupportCochain_zero_of_lt (q : ℕ) (hq : q + 1 < Fintype.card ι) |
| 15 | (s : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset ι) q) : s = 0 := by |
| 16 | apply Subtype.ext |
| 17 | funext t |
| 18 | apply s.property t |
| 19 | intro hN |
| 20 | have ht : Function.Surjective t := by |
| 21 | intro i |
| 22 | obtain ⟨k, _, hk⟩ := Finset.mem_image.mp (hN (Finset.mem_univ i)) |
| 23 | exact ⟨k, hk⟩ |
| 24 | have hcard := Fintype.card_le_of_surjective t ht |
| 25 | exact (Nat.not_le_of_gt hq) (by simpa only [Fintype.card_fin] using hcard) |
| 26 | |
| 27 | omit [Fintype ι] [LinearOrder ι] in |
| 28 | theorem fullSupportTop_sorted_tuple (n : ℕ) (t : Fin (n + 1) → Fin (n + 1)) |
| 29 | (ht : Function.Injective t) : t ∘ Tuple.sort t = id := |
| 30 | ((Tuple.monotone_sort t).strictMono_of_injective (ht.comp (Tuple.sort t).injective)).eq_id |
| 31 | |
| 32 | omit [Fintype ι] [LinearOrder ι] in |
| 33 | theorem fullSupportTopSorting_apply (n : ℕ) |
| 34 | (s : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset (Fin (n + 1))) n) |
| 35 | (t : Fin (n + 1) → Fin (n + 1)) : |
| 36 | (SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n s).val t = |
| 37 | if Function.Injective t then (Equiv.Perm.sign (Tuple.sort t) : ℤ) • s.val id else 0 := by |
| 38 | change TupleCochainBoundary.Cech.tupleCochainPairing n s.val (SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjection n (Finsupp.single t 1)) = _ |
| 39 | rw [SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjection_single, one_smul] |
| 40 | by_cases ht : Function.Injective t |
| 41 | · rw [ite_eq_left ht, SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjectionBasis_of_injective t ht, |
| 42 | TupleCochainBoundary.Cech.tupleCochainPairing_single, fullSupportTop_sorted_tuple n t ht] |
| 43 | · rw [ite_eq_right ht, SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjectionBasis_of_not_injective t ht, map_zero] |
| 44 | |
| 45 | omit [Fintype ι] [LinearOrder ι] in |
| 46 | theorem fullSupportTopSorting_ext (n : ℕ) |
| 47 | (s t : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset (Fin (n + 1))) n) |
| 48 | (h : s.val id = t.val id) : |
| 49 | SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n s = SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n t := by |
| 50 | apply Subtype.ext |
| 51 | funext a |
| 52 | rw [fullSupportTopSorting_apply, fullSupportTopSorting_apply, h] |
| 53 | |
| 54 | omit [Fintype ι] [LinearOrder ι] in |
| 55 | theorem fullSupportTopSorting_id (n : ℕ) |
| 56 | (s : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset (Fin (n + 1))) n) : |
| 57 | (SupportedCochainSorting.Cech.supportedCechSorting Finset.univ n s).val id = s.val id := by |
| 58 | change TupleCochainBoundary.Cech.tupleCochainPairing n s.val (SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjection n (Finsupp.single id 1)) = _ |
| 59 | rw [SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjection_single, one_smul, |
| 60 | SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjectionBasis_of_strictMono id strictMono_id, |
| 61 | TupleCochainBoundary.Cech.tupleCochainPairing_single, one_smul] |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Comparison.Betti.SupportTopCochains.Cech |