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.SupportedCochains |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CechTupleAlternatingHomotopy |
| 3 | |
| 4 | /-! # Tuple Cochain Boundary -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.TupleCochainBoundary.Cech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Pair arbitrary additive cochains with the actual finite integral tuple chains. -/ |
| 13 | |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.CechTupleAlternatingHomotopy |
| 17 | |
| 18 | variable {ι V : Type} [AddCommGroup V] |
| 19 | |
| 20 | def tupleCochainPairing (q : ℕ) (s : (Fin (q + 1) → ι) → V) : SheafCohomology.Projective.CechTupleAlternatingHomotopy.CechTupleChain ι q →ₗ[ℤ] V := |
| 21 | Finsupp.lsum ℤ (fun t => LinearMap.toSpanSingleton ℤ V (s t)) |
| 22 | |
| 23 | theorem tupleCochainPairing_sum (q : ℕ) (s : (Fin (q + 1) → ι) → V) (c : SheafCohomology.Projective.CechTupleAlternatingHomotopy.CechTupleChain ι q) : |
| 24 | tupleCochainPairing q s c = ∑ t ∈ c.support, c t • s t := rfl |
| 25 | |
| 26 | theorem tupleCochainPairing_single (q : ℕ) (s : (Fin (q + 1) → ι) → V) |
| 27 | (t : Fin (q + 1) → ι) (a : ℤ) : tupleCochainPairing q s (Finsupp.single t a) = a • s t := by |
| 28 | simp [tupleCochainPairing] |
| 29 | |
| 30 | theorem tupleCochainPairing_zero (q : ℕ) (c : SheafCohomology.Projective.CechTupleAlternatingHomotopy.CechTupleChain ι q) : |
| 31 | tupleCochainPairing q (0 : (Fin (q + 1) → ι) → V) c = 0 := by |
| 32 | rw [tupleCochainPairing_sum] |
| 33 | simp only [Pi.zero_apply, smul_zero, Finset.sum_const_zero] |
| 34 | |
| 35 | theorem tupleCochainPairing_add (q : ℕ) (s t : (Fin (q + 1) → ι) → V) (c : SheafCohomology.Projective.CechTupleAlternatingHomotopy.CechTupleChain ι q) : |
| 36 | tupleCochainPairing q (s + t) c = tupleCochainPairing q s c + tupleCochainPairing q t c := by |
| 37 | rw [tupleCochainPairing_sum, tupleCochainPairing_sum, tupleCochainPairing_sum] |
| 38 | simp only [Pi.add_apply, smul_add, Finset.sum_add_distrib] |
| 39 | |
| 40 | variable [DecidableEq ι] |
| 41 | |
| 42 | omit [DecidableEq ι] in |
| 43 | theorem supportCechDelete_eq_tupleDelete {q : ℕ} (t : Fin (q + 2) → ι) (k : Fin (q + 2)) : |
| 44 | SupportedCochains.Cech.supportCechDelete t k = SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleDelete t k := rfl |
| 45 | |
| 46 | theorem tupleCochainPairing_supported_zero (N : Finset ι) (q : ℕ) |
| 47 | (s : SupportedCochains.Cech.supportedCechCochains V N q) {r : ℕ} (t : Fin (r + 1) → ι) |
| 48 | (c : SheafCohomology.Projective.CechTupleAlternatingHomotopy.CechTupleChain ι q) (hc : SheafCohomology.Projective.CechTupleAlternatingHomotopy.CechTupleChain.SupportedBy c (Set.range t)) |
| 49 | (ht : ¬N ⊆ Finset.univ.image t) : tupleCochainPairing q s.val c = 0 := by |
| 50 | rw [tupleCochainPairing_sum] |
| 51 | apply Finset.sum_eq_zero |
| 52 | intro a ha |
| 53 | have hna : ¬N ⊆ Finset.univ.image a := by |
| 54 | intro hN |
| 55 | apply ht |
| 56 | intro j hj |
| 57 | obtain ⟨k, _, hk⟩ := Finset.mem_image.mp (hN hj) |
| 58 | obtain ⟨l, hl⟩ := hc ha ⟨k, hk⟩ |
| 59 | exact Finset.mem_image.mpr ⟨l, Finset.mem_univ _, hl⟩ |
| 60 | rw [s.property a hna, smul_zero] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | /-! Pairing identifies the original additive coboundary with the integral tuple boundary. -/ |
| 65 | |
| 66 | open scoped BigOperators |
| 67 | |
| 68 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.CechTupleAlternatingHomotopy |
| 69 | |
| 70 | variable {ι V : Type} [DecidableEq ι] [AddCommGroup V] |
| 71 | |
| 72 | theorem tupleCochainPairing_boundaryBasis (N : Finset ι) (q : ℕ) |
| 73 | (s : SupportedCochains.Cech.supportedCechCochains V N q) (t : Fin (q + 2) → ι) : |
| 74 | tupleCochainPairing q s.val (SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleBoundaryBasis q t) = |
| 75 | (SupportedCochains.Cech.supportedCechDifferential N q s).val t := by |
| 76 | change tupleCochainPairing q s.val (∑ k : Fin (q + 2), |
| 77 | Finsupp.single (SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleDelete t k) ((-1 : ℤ) ^ k.val)) = |
| 78 | ∑ k : Fin (q + 2), (-1 : ℤ) ^ k.val • s.val (SupportedCochains.Cech.supportCechDelete t k) |
| 79 | exact (map_sum (tupleCochainPairing q s.val) _ Finset.univ).trans |
| 80 | (Finset.sum_congr rfl (fun k _ => tupleCochainPairing_single q s.val (SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleDelete t k) _)) |
| 81 | |
| 82 | theorem tupleCochainPairing_boundary (N : Finset ι) (q : ℕ) |
| 83 | (s : SupportedCochains.Cech.supportedCechCochains V N q) (c : SheafCohomology.Projective.CechTupleAlternatingHomotopy.CechTupleChain ι (q + 1)) : |
| 84 | tupleCochainPairing q s.val (SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleBoundary q c) = |
| 85 | tupleCochainPairing (q + 1) (SupportedCochains.Cech.supportedCechDifferential N q s).val c := by |
| 86 | induction c using Finsupp.induction_linear with |
| 87 | | zero => simp only [map_zero] |
| 88 | | add c e hc he => simp only [map_add, hc, he] |
| 89 | | single t a => |
| 90 | rw [SheafCohomology.Projective.CechTupleAlternatingHomotopy.cechTupleBoundary_single, map_smul, tupleCochainPairing_single] |
| 91 | exact congrArg (a • ·) (tupleCochainPairing_boundaryBasis N q s t) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Comparison.Betti.TupleCochainBoundary.Cech |