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.SupportedCochainSorting |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.SupportedCochainContraction |
| 3 | |
| 4 | /-! # Support Cochain Vanishing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SupportCochainVanishing.Cech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Full-support cochain cohomology vanishes away from the top finite-cover degree. -/ |
| 11 | |
| 12 | variable {ι V : Type} [Fintype ι] [LinearOrder ι] [AddCommGroup V] |
| 13 | |
| 14 | theorem fullSupportSorting_zero (q : ℕ) (hq : q + 1 ≠ Fintype.card ι) |
| 15 | (s : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset ι) q) : |
| 16 | SupportedCochainSorting.Cech.supportedCechSorting Finset.univ q s = 0 := by |
| 17 | apply Subtype.ext |
| 18 | funext t |
| 19 | change TupleCochainBoundary.Cech.tupleCochainPairing q s.val (SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjection q (Finsupp.single t 1)) = 0 |
| 20 | by_cases ht : Function.Injective t |
| 21 | · have hN : ¬(Finset.univ : Finset ι) ⊆ Finset.univ.image t := by |
| 22 | intro hN |
| 23 | have hsurj : Function.Surjective t := by |
| 24 | intro i |
| 25 | obtain ⟨k, _, hk⟩ := Finset.mem_image.mp (hN (Finset.mem_univ i)) |
| 26 | exact ⟨k, hk⟩ |
| 27 | apply hq |
| 28 | simpa only [Fintype.card_fin] using Fintype.card_congr (Equiv.ofBijective t ⟨ht, hsurj⟩) |
| 29 | exact TupleCochainBoundary.Cech.tupleCochainPairing_supported_zero Finset.univ q s t _ |
| 30 | (SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjection_supportedBy q (Finsupp.single t 1) (Set.range t) |
| 31 | (SheafCohomology.Projective.CechTupleAlternatingHomotopy.CechTupleChain.supportedBy_single t 1 Set.Subset.rfl)) hN |
| 32 | · rw [SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjection_single, one_smul, |
| 33 | SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleAlternatingProjectionBasis_of_not_injective t ht, map_zero] |
| 34 | |
| 35 | theorem fullSupportCycle_has_primitive (q : ℕ) (hq : q + 2 ≠ Fintype.card ι) |
| 36 | (s : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset ι) (q + 1)) |
| 37 | (hs : SupportedCochains.Cech.supportedCechDifferential Finset.univ (q + 1) s = 0) : |
| 38 | ∃ t : SupportedCochains.Cech.supportedCechCochains V (Finset.univ : Finset ι) q, |
| 39 | SupportedCochains.Cech.supportedCechDifferential Finset.univ q t = s := by |
| 40 | refine ⟨-SupportedCochainSorting.Cech.supportedCechSortingHomotopy Finset.univ q s, ?_⟩ |
| 41 | rw [map_neg, SupportedCochainSorting.Cech.supportedCechSorting_cycle Finset.univ q s hs, |
| 42 | fullSupportSorting_zero (q + 1) hq s, zero_sub, neg_neg] |
| 43 | |
| 44 | theorem supportedCechCycle_has_primitive_of_card_ne (N : Finset ι) (q : ℕ) |
| 45 | (hq : q + 2 ≠ Fintype.card ι) (s : SupportedCochains.Cech.supportedCechCochains V N (q + 1)) |
| 46 | (hs : SupportedCochains.Cech.supportedCechDifferential N (q + 1) s = 0) : |
| 47 | ∃ t : SupportedCochains.Cech.supportedCechCochains V N q, SupportedCochains.Cech.supportedCechDifferential N q t = s := by |
| 48 | by_cases hN : N = Finset.univ |
| 49 | · subst N |
| 50 | exact fullSupportCycle_has_primitive q hq s hs |
| 51 | · have hex : ∃ i, i ∉ N := by |
| 52 | by_contra h |
| 53 | apply hN |
| 54 | apply Finset.ext |
| 55 | intro i |
| 56 | constructor |
| 57 | · intro _ |
| 58 | exact Finset.mem_univ i |
| 59 | · intro _ |
| 60 | by_contra hi |
| 61 | exact h ⟨i, hi⟩ |
| 62 | obtain ⟨i, hi⟩ := hex |
| 63 | exact SupportedCochainContraction.Cech.supportedCechCycle_has_primitive N i hi q s hs |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Comparison.Betti.SupportCochainVanishing.Cech |