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 Mathlib.Data.Fin.Basic |
| 3 | |
| 4 | /-! # Supported Zero Cycles -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SupportedZeroCycles.Cech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Degree-zero supported cocycles are constant, and nonempty supports vanish on a nontrivial cover. -/ |
| 11 | |
| 12 | variable {ι V : Type} [DecidableEq ι] [AddCommGroup V] |
| 13 | |
| 14 | omit [DecidableEq ι] in |
| 15 | theorem supportCechDelete_pair_zero (t : Fin 2 → ι) : |
| 16 | SupportedCochains.Cech.supportCechDelete t 0 = fun _ : Fin 1 => t 1 := by |
| 17 | funext k |
| 18 | have hk : k = 0 := Fin.eq_zero k |
| 19 | subst k |
| 20 | rfl |
| 21 | |
| 22 | omit [DecidableEq ι] in |
| 23 | theorem supportCechDelete_pair_one (t : Fin 2 → ι) : |
| 24 | SupportedCochains.Cech.supportCechDelete t 1 = fun _ : Fin 1 => t 0 := by |
| 25 | funext k |
| 26 | have hk : k = 0 := Fin.eq_zero k |
| 27 | subst k |
| 28 | rfl |
| 29 | |
| 30 | theorem supportedCechDifferential_zero_apply (N : Finset ι) (s : SupportedCochains.Cech.supportedCechCochains V N 0) |
| 31 | (t : Fin 2 → ι) : |
| 32 | (SupportedCochains.Cech.supportedCechDifferential N 0 s).val t = |
| 33 | s.val (fun _ : Fin 1 => t 1) - s.val (fun _ : Fin 1 => t 0) := by |
| 34 | rw [SupportedCochains.Cech.supportedCechDifferential_apply, Fin.sum_univ_two, supportCechDelete_pair_zero, |
| 35 | supportCechDelete_pair_one] |
| 36 | simp only [Fin.val_zero, pow_zero, one_smul, Fin.val_one, pow_one, neg_smul, one_smul, |
| 37 | sub_eq_add_neg, add_comm] |
| 38 | |
| 39 | theorem supportedZeroCycle_constant (N : Finset ι) (s : SupportedCochains.Cech.supportedCechCochains V N 0) |
| 40 | (hs : SupportedCochains.Cech.supportedCechDifferential N 0 s = 0) (i j : ι) : |
| 41 | s.val (fun _ : Fin 1 => i) = s.val (fun _ : Fin 1 => j) := by |
| 42 | let t : Fin 2 → ι := Fin.cases j (fun _ => i) |
| 43 | have h := congrArg (fun a : SupportedCochains.Cech.supportedCechCochains V N 1 => a.val t) hs |
| 44 | have hd := supportedCechDifferential_zero_apply N s t |
| 45 | exact sub_eq_zero.mp (hd.symm.trans h) |
| 46 | |
| 47 | theorem supportedZeroCycle_zero_of_nonempty [Nontrivial ι] (N : Finset ι) (hN : N.Nonempty) |
| 48 | (s : SupportedCochains.Cech.supportedCechCochains V N 0) (hs : SupportedCochains.Cech.supportedCechDifferential N 0 s = 0) : s = 0 := by |
| 49 | obtain ⟨i, hi⟩ := hN |
| 50 | obtain ⟨j, hji⟩ := exists_ne i |
| 51 | have hj : ¬N ⊆ Finset.univ.image (fun _ : Fin 1 => j) := by |
| 52 | intro h |
| 53 | obtain ⟨_, _, h⟩ := Finset.mem_image.mp (h hi) |
| 54 | exact hji h |
| 55 | have hz := s.property (fun _ : Fin 1 => j) hj |
| 56 | apply Subtype.ext |
| 57 | funext t |
| 58 | have ht : t = fun _ : Fin 1 => t 0 := |
| 59 | funext (fun k => congrArg t (Fin.eq_zero k)) |
| 60 | exact (congrArg s.val ht).trans ((supportedZeroCycle_constant N s hs (t 0) j).trans hz) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Comparison.Betti.SupportedZeroCycles.Cech |