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.PeriodInvariants.FiniteProductTrace |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteEtaleIntegralTrace |
| 3 | |
| 4 | /-! # Etale Field Trace Pairing -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaleFieldTracePairing.Finite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The trace pairing of a finite étale algebra over a field is nondegenerate -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | theorem product_single (K : Type u) [Field K] {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 15 | (L : ι → Type u) [∀ i, Field (L i)] [∀ i, Algebra K (L i)] |
| 16 | [∀ i, FiniteDimensional K (L i)] (x : ∀ i, L i) (i : ι) (y : L i) : |
| 17 | Algebra.trace K (∀ i, L i) (x * Pi.single i y) = Algebra.trace K (L i) (x i * y) := by |
| 18 | classical |
| 19 | rw [FiniteProductTrace.of_field, Finset.sum_eq_single i] |
| 20 | · rw [Pi.mul_apply, Pi.single_eq_same] |
| 21 | · intro j _ hji |
| 22 | rw [Pi.mul_apply, Pi.single_eq_of_ne hji, mul_zero, map_zero] |
| 23 | · intro hi |
| 24 | exact False.elim (hi (Finset.mem_univ i)) |
| 25 | |
| 26 | variable (K E : Type u) [Field K] [CommRing E] [Algebra K E] [Algebra.Etale K E] |
| 27 | |
| 28 | theorem separates : (Algebra.traceForm K E).SeparatingLeft := by |
| 29 | classical |
| 30 | obtain ⟨ι, _, L, hL, hKL, e, hfin⟩ := (Algebra.Etale.iff_exists_algEquiv_prod K E).mp inferInstance |
| 31 | let : Fintype ι := Fintype.ofFinite ι |
| 32 | let : ∀ i, Field (L i) := hL |
| 33 | let : ∀ i, Algebra K (L i) := hKL |
| 34 | have : ∀ i, FiniteDimensional K (L i) := fun i => (hfin i).1 |
| 35 | have : ∀ i, Algebra.IsSeparable K (L i) := fun i => (hfin i).2 |
| 36 | intro x hx |
| 37 | apply e.injective |
| 38 | rw [map_zero] |
| 39 | funext i |
| 40 | apply (traceForm_nondegenerate K (L i)).1 (e x i) |
| 41 | intro y |
| 42 | have he := hx (e.symm (Pi.single i y)) |
| 43 | change Algebra.trace K E (x * e.symm (Pi.single i y)) = 0 at he |
| 44 | rw [← Algebra.trace_eq_of_algEquiv e, map_mul, AlgEquiv.apply_symm_apply, product_single] at he |
| 45 | exact he |
| 46 | |
| 47 | theorem nondegenerate : (Algebra.traceForm K E).Nondegenerate := by |
| 48 | refine ⟨separates K E, ?_⟩ |
| 49 | intro y hy |
| 50 | apply separates K E y |
| 51 | intro x |
| 52 | change Algebra.trace K E (y * x) = 0 |
| 53 | rw [mul_comm] |
| 54 | exact hy x |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaleFieldTracePairing.Finite |