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.RepresentationTheory.Theta.Geometric.Intrinsic.Hecke |
| 2 | |
| 3 | /-! # Reverse Active Weight -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.ReverseActiveWeight |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Reversal preserves the exact predicate used by the original chosen |
| 10 | clearing exponent. Consequently the original choices agree. -/ |
| 11 | |
| 12 | def reverseActiveWeight (a : Intrinsic.Hecke.ActiveWeight) : Intrinsic.Hecke.ActiveWeight := |
| 13 | ⟨fun i => -a.val (Fin.rev i), by |
| 14 | constructor |
| 15 | · intro i j hij |
| 16 | apply neg_le_neg |
| 17 | exact a.property.1 (Fin.rev_le_rev.mpr hij) |
| 18 | · rw [Finset.sum_neg_distrib] |
| 19 | have h := Equiv.sum_comp Fin.revPerm a.val |
| 20 | simpa only [Fin.revPerm_apply, h, a.property.2, neg_zero] using congrArg Neg.neg h⟩ |
| 21 | |
| 22 | theorem reverse_active_integral {s : ℕ} (v : Fin s) (a : Intrinsic.Hecke.ActiveWeight) (n : ℕ) : |
| 23 | ((Intrinsic.Hecke.activeType v (reverseActiveWeight a)).shift n).IsIntegral ↔ |
| 24 | ((Intrinsic.Hecke.activeType v a).shift n).IsIntegral := by |
| 25 | constructor <;> rintro ⟨hm, he⟩ <;> refine ⟨hm, ?_⟩ <;> intro w i |
| 26 | · have h := he w (Fin.rev i) |
| 27 | by_cases hw : w = v |
| 28 | · simp only [AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.shift, Intrinsic.Hecke.activeType, reverseActiveWeight, hw, ite_true, Fin.rev_rev] at h ⊢ |
| 29 | omega |
| 30 | · simp only [AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.shift, Intrinsic.Hecke.activeType, hw, ite_false] at h ⊢ |
| 31 | exact h |
| 32 | · have h := he w (Fin.rev i) |
| 33 | by_cases hw : w = v |
| 34 | · simp only [AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.shift, Intrinsic.Hecke.activeType, reverseActiveWeight, hw, ite_true] at h ⊢ |
| 35 | omega |
| 36 | · simp only [AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.shift, Intrinsic.Hecke.activeType, hw, ite_false] at h ⊢ |
| 37 | exact h |
| 38 | |
| 39 | theorem choose_congr_predicate {α : Sort*} {p r : α → Prop} |
| 40 | (h : p = r) (hp : ∃ x, p x) (hr : ∃ x, r x) : hp.choose = hr.choose := by |
| 41 | subst r |
| 42 | rfl |
| 43 | |
| 44 | theorem reverse_clearingExponent {s : ℕ} (v : Fin s) (a : Intrinsic.Hecke.ActiveWeight) : |
| 45 | Intrinsic.Hecke.clearingExponent v (reverseActiveWeight a) = Intrinsic.Hecke.clearingExponent v a := by |
| 46 | apply choose_congr_predicate |
| 47 | funext n |
| 48 | exact propext (reverse_active_integral v a n) |
| 49 | |
| 50 | theorem reverse_cleared_exponent {s : ℕ} (v w : Fin s) (a : Intrinsic.Hecke.ActiveWeight) (i : Fin 3) : |
| 51 | (Intrinsic.Hecke.clearedActiveType v (reverseActiveWeight a)).val.exponent w i = |
| 52 | 2 * (Intrinsic.Hecke.clearingExponent v a : ℤ) - (Intrinsic.Hecke.clearedActiveType v a).val.exponent w (Fin.rev i) := by |
| 53 | change (Intrinsic.Hecke.activeType v (reverseActiveWeight a)).exponent w i + |
| 54 | Intrinsic.Hecke.clearingExponent v (reverseActiveWeight a) = _ |
| 55 | rw [reverse_clearingExponent] |
| 56 | simp only [Intrinsic.Hecke.clearedActiveType, AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.shift, Intrinsic.Hecke.activeType, reverseActiveWeight] |
| 57 | split_ifs <;> omega |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.RepresentationTheory.Theta.Geometric.ReverseActiveWeight |