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.HilbertScheme.Presentations.Cech.Contraction |
| 2 | |
| 3 | /-! # Differential -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.Differential.ProjectiveCech |
| 6 | |
| 7 | /-! The subset Čech differential squares to zero and respects its supports. -/ |
| 8 | |
| 9 | universe u v |
| 10 | |
| 11 | variable {σ : Type u} [LinearOrder σ] |
| 12 | variable (R : Type v) [CommRing R] |
| 13 | |
| 14 | theorem cechDifferential_square (f : Finset σ → R) : |
| 15 | Contraction.ProjectiveCech.cechDifferential R (Contraction.ProjectiveCech.cechDifferential R f) = 0 := by |
| 16 | funext s |
| 17 | let F : σ × σ → R := fun p => if p.1 = p.2 then 0 else |
| 18 | Signs.ProjectiveCech.alternatingSign R s p.1 * Signs.ProjectiveCech.alternatingSign R (s.erase p.1) p.2 * |
| 19 | f ((s.erase p.1).erase p.2) |
| 20 | have hsum : Contraction.ProjectiveCech.cechDifferential R (Contraction.ProjectiveCech.cechDifferential R f) s = ∑ p ∈ s ×ˢ s, F p := by |
| 21 | rw [Contraction.ProjectiveCech.cechDifferential, Finset.sum_product] |
| 22 | apply Finset.sum_congr rfl |
| 23 | intro i hi |
| 24 | rw [Contraction.ProjectiveCech.cechDifferential, Finset.mul_sum] |
| 25 | calc |
| 26 | _ = ∑ j ∈ s.erase i, F (i, j) := by |
| 27 | apply Finset.sum_congr rfl |
| 28 | intro j hj |
| 29 | have hij := (Finset.mem_erase.mp hj).1.symm |
| 30 | simp only [F, ite_eq_right hij, mul_assoc] |
| 31 | _ = ∑ j ∈ s, F (i, j) := by |
| 32 | apply Finset.sum_subset (Finset.erase_subset i s) |
| 33 | intro j hj hji |
| 34 | have hij : i = j := by |
| 35 | by_contra h |
| 36 | exact hji (Finset.mem_erase.mpr ⟨Ne.symm h, hj⟩) |
| 37 | simp only [F, ite_eq_left hij] |
| 38 | rw [hsum] |
| 39 | apply Finset.sum_involution (s := s ×ˢ s) (f := F) (fun p _ => p.swap) |
| 40 | · intro p hp |
| 41 | obtain ⟨hi, hj⟩ := Finset.mem_product.mp hp |
| 42 | by_cases hij : p.1 = p.2 |
| 43 | · simp only [F, ite_eq_left hij, Prod.fst_swap, Prod.snd_swap, ite_eq_left hij.symm, add_zero] |
| 44 | · have he : (s.erase p.1).erase p.2 = (s.erase p.2).erase p.1 := by |
| 45 | ext i |
| 46 | simp only [Finset.mem_erase] |
| 47 | tauto |
| 48 | simp only [F, ite_eq_right hij, Prod.fst_swap, Prod.snd_swap, ite_eq_right (Ne.symm hij)] |
| 49 | rw [Signs.ProjectiveCech.alternatingSign_erase_anticommute R hi hj hij, he] |
| 50 | ring |
| 51 | · intro p _ hp hswap |
| 52 | have hij : p.1 = p.2 := (congrArg Prod.fst hswap).symm |
| 53 | exact hp (by simp only [F, ite_eq_left hij]) |
| 54 | · intro p hp |
| 55 | rw [Finset.mem_product] |
| 56 | exact (Finset.mem_product.mp hp).symm |
| 57 | · intro p _ |
| 58 | exact Prod.swap_swap p |
| 59 | |
| 60 | theorem cechDifferential_preserves_support (N : Finset σ) (f : Finset σ → R) |
| 61 | (hf : ∀ s, ¬N ⊆ s → f s = 0) : |
| 62 | ∀ s, ¬N ⊆ s → Contraction.ProjectiveCech.cechDifferential R f s = 0 := by |
| 63 | intro s hs |
| 64 | apply Finset.sum_eq_zero |
| 65 | intro i _ |
| 66 | have hNi : ¬N ⊆ s.erase i := fun h => hs (h.trans (Finset.erase_subset i s)) |
| 67 | rw [hf _ hNi, mul_zero] |
| 68 | |
| 69 | theorem cechDifferential_card_support (q : ℕ) (f : Finset σ → R) |
| 70 | (hf : ∀ s, s.card ≠ q → f s = 0) : |
| 71 | ∀ s, s.card ≠ q + 1 → Contraction.ProjectiveCech.cechDifferential R f s = 0 := by |
| 72 | intro s hs |
| 73 | apply Finset.sum_eq_zero |
| 74 | intro i hi |
| 75 | have hcard : (s.erase i).card ≠ q := by |
| 76 | intro h |
| 77 | exact hs ((Finset.card_erase_add_one hi).symm.trans (congrArg (· + 1) h)) |
| 78 | rw [hf _ hcard, mul_zero] |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.Differential.ProjectiveCech |