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.FiniteEtaleDualBasis |
| 2 | |
| 3 | /-! # Trace Duality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.TraceDuality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The finite free étale trace identifies the algebra with its actual |
| 10 | linear dual. Evaluation at one is the coefficient trace. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable (A B : Type u) [CommRing A] [CommRing B] [Algebra A B] |
| 15 | [Module.Free A B] [Module.Finite A B] [Algebra.Etale A B] |
| 16 | |
| 17 | theorem bijective : Function.Bijective (Algebra.traceForm A B) := by |
| 18 | classical |
| 19 | let b := Module.Free.chooseBasis A B |
| 20 | constructor |
| 21 | · intro x y h |
| 22 | apply (PeriodInvariants.FiniteEtaleDualBasis.bijective b).injective |
| 23 | apply b.equivFun.injective |
| 24 | funext i |
| 25 | rw [PeriodInvariants.TracePairingBasis.coordinate, PeriodInvariants.TracePairingBasis.coordinate] |
| 26 | simpa only [Algebra.traceForm_apply, mul_comm] using LinearMap.congr_fun h (b i) |
| 27 | · intro φ |
| 28 | refine ⟨∑ i, φ (b i) • PeriodInvariants.FiniteEtaleDualBasis.dualBasis b i, ?_⟩ |
| 29 | apply b.ext |
| 30 | intro j |
| 31 | simp only [map_sum, LinearMap.sum_apply, map_smul, LinearMap.smul_apply, |
| 32 | Algebra.traceForm_apply, PeriodInvariants.FiniteEtaleDualBasis.trace_dual_basis, |
| 33 | smul_eq_mul, mul_ite, mul_one, mul_zero, Finset.sum_ite_eq', Finset.mem_univ, |
| 34 | ite_true] |
| 35 | |
| 36 | def equiv : B ≃ₗ[A] Module.Dual A B := |
| 37 | LinearEquiv.ofBijective (Algebra.traceForm A B) (bijective A B) |
| 38 | |
| 39 | theorem equiv_apply (x y : B) : equiv A B x y = Algebra.trace A B (x * y) := rfl |
| 40 | |
| 41 | theorem equiv_apply_one (x : B) : equiv A B x 1 = Algebra.trace A B x := by |
| 42 | rw [equiv_apply, mul_one] |
| 43 | |
| 44 | theorem equiv_mul (x y z : B) : equiv A B (x * y) z = equiv A B y (x * z) := by |
| 45 | simp only [equiv_apply] |
| 46 | rw [mul_assoc, mul_left_comm] |
| 47 | |
| 48 | theorem trace_eq_eval_one (φ : Module.Dual A B) : |
| 49 | Algebra.trace A B ((equiv A B).symm φ) = φ 1 := by |
| 50 | rw [← equiv_apply_one, LinearEquiv.apply_symm_apply] |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.TraceDuality |