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 Mathlib.LinearAlgebra.ExteriorPower.Basic |
| 2 | |
| 3 | /-! # Alternating Ordered Span -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AlternatingOrderedSpan |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: ordered values span the values of an alternating map |
| 11 | -/ |
| 12 | |
| 13 | universe u v w z |
| 14 | |
| 15 | variable (R : Type u) (A : Type v) [CommRing R] [CommRing A] |
| 16 | (M : Type w) [AddCommGroup M] [Module R M] |
| 17 | (N : Type z) [AddCommGroup N] [Module R N] [Module A N] |
| 18 | (σ : Type*) [LinearOrder σ] (n : ℕ) |
| 19 | (f : AlternatingMap R M N (Fin n)) (x : σ → M) |
| 20 | |
| 21 | def ordered (s : Set.powersetCard σ n) : N := |
| 22 | f (fun j => x (Set.powersetCard.ofFinEmbEquiv.symm s j)) |
| 23 | |
| 24 | theorem mem_span (v : Fin n → σ) : |
| 25 | f (x ∘ v) ∈ Submodule.span A (Set.range (ordered R M N σ n f x)) := by |
| 26 | classical |
| 27 | by_cases hv : Function.Injective v |
| 28 | · have hcard : (Finset.image v Finset.univ).card = n := |
| 29 | (Finset.card_image_of_injective Finset.univ hv).trans (Finset.card_fin n) |
| 30 | let s : Set.powersetCard σ n := ⟨Finset.image v Finset.univ, hcard⟩ |
| 31 | let π : Equiv.Perm (Fin n) := (Finset.orderIsoOfFin (Finset.image v Finset.univ) hcard).toEquiv.trans |
| 32 | ((Set.equivOfEq Fintype.coe_image_univ).trans (Equiv.ofInjective v hv).symm) |
| 33 | have he : v ∘ π = fun j => Set.powersetCard.ofFinEmbEquiv.symm s j := by |
| 34 | funext j |
| 35 | simp only [Function.comp_apply, π, Equiv.trans_apply] |
| 36 | simp only [Equiv.apply_ofInjective_symm] |
| 37 | rfl |
| 38 | have hs : f ((x ∘ v) ∘ π) ∈ Submodule.span A (Set.range (ordered R M N σ n f x)) := by |
| 39 | rw [Function.comp_assoc, he] |
| 40 | exact Submodule.subset_span ⟨s, rfl⟩ |
| 41 | rw [f.map_congr_perm (x ∘ v) π] |
| 42 | exact (Submodule.span A (Set.range (ordered R M N σ n f x))).toAddSubgroup.zsmul_mem hs (π.sign : ℤ) |
| 43 | · have hz : f (x ∘ v) = 0 := f.map_eq_zero_of_not_injective _ (fun h => hv h.of_comp) |
| 44 | rw [hz] |
| 45 | exact Submodule.zero_mem _ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AlternatingOrderedSpan |