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.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechCoordinates |
| 2 | import Mathlib.Order.WithBot |
| 3 | |
| 4 | /-! # Indices -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Indices |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Deleting the distinguished chart from the ordered indices of a |
| 11 | relative Čech cover. -/ |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechCoordinates |
| 14 | |
| 15 | universe u |
| 16 | variable {ι : Type u} [LinearOrder ι] {n : ℕ} |
| 17 | |
| 18 | theorem succ_ne_bot (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 1)) |
| 19 | (h : a.val 0 = ⊥) (j : Fin n) : a.val j.succ ≠ ⊥ := by |
| 20 | intro hj |
| 21 | have ht := a.property (Fin.succ_pos j) |
| 22 | rw [h, hj] at ht |
| 23 | exact (lt_irrefl _ ht) |
| 24 | |
| 25 | def tail (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 1)) (h : a.val 0 = ⊥) : AugmentedOrdered.Cech.Index ι n := |
| 26 | ⟨fun j => (a.val j.succ).unbot (succ_ne_bot a h j), by |
| 27 | intro i j hij |
| 28 | exact (WithBot.unbot_lt_unbot_iff _ _).mpr |
| 29 | (a.property (Fin.succ_lt_succ_iff.mpr hij))⟩ |
| 30 | |
| 31 | theorem coe_tail (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 1)) (h : a.val 0 = ⊥) (j : Fin n) : |
| 32 | ((tail a h).val j : WithBot ι) = a.val j.succ := |
| 33 | WithBot.coe_unbot _ _ |
| 34 | |
| 35 | theorem all_ne_bot (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 1)) |
| 36 | (h : a.val 0 ≠ ⊥) (j : Fin (n + 1)) : a.val j ≠ ⊥ := by |
| 37 | intro hj |
| 38 | apply h |
| 39 | apply le_antisymm |
| 40 | · exact hj ▸ a.property.monotone (Fin.zero_le j) |
| 41 | · exact bot_le |
| 42 | |
| 43 | theorem delete_zero_ne_bot (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) |
| 44 | (h : a.val 0 = ⊥) : (a.delete 0).val 0 ≠ ⊥ := by |
| 45 | exact succ_ne_bot a h 0 |
| 46 | |
| 47 | theorem delete_succ_bot (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) |
| 48 | (h : a.val 0 = ⊥) (j : Fin (n + 1)) : (a.delete j.succ).val 0 = ⊥ := by |
| 49 | simpa only [AugmentedOrdered.Cech.Index.delete, Function.comp_apply, Fin.succ_succAbove_zero] using h |
| 50 | |
| 51 | theorem delete_ne_bot (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) |
| 52 | (h : a.val 0 ≠ ⊥) (j : Fin (n + 2)) : (a.delete j).val 0 ≠ ⊥ := |
| 53 | all_ne_bot a h (j.succAbove 0) |
| 54 | |
| 55 | theorem tail_delete_succ (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) |
| 56 | (h : a.val 0 = ⊥) (j : Fin (n + 1)) : |
| 57 | tail (a.delete j.succ) (delete_succ_bot a h j) = (tail a h).delete j := by |
| 58 | apply Subtype.ext |
| 59 | funext i |
| 60 | apply WithBot.coe_injective |
| 61 | rw [coe_tail] |
| 62 | change a.val (j.succ.succAbove i.succ) = ((tail a h).val (j.succAbove i) : WithBot ι) |
| 63 | rw [Fin.succ_succAbove_succ, coe_tail] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Indices |