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.FiniteEtale.TraceDuality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.SectionKernel |
| 3 | |
| 4 | /-! # Section Trace -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionTrace |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The trace-dual of a genuine section of a finite étale algebra is |
| 11 | exactly its component idempotent. Its trace is one, without a degree |
| 12 | factor or a choice of trace normalization. -/ |
| 13 | universe u |
| 14 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 15 | [Module.Free R A] [Module.Finite R A] |
| 16 | (ε : A →ₐ[R] R) (e : A) (he : ε e = 1) |
| 17 | (hker : ∀ x, ε x = 0 → e * x = 0) |
| 18 | |
| 19 | include hker in |
| 20 | omit [Module.Free R A] [Module.Finite R A] in |
| 21 | theorem mul (x : A) : e * x = ε x • e := by |
| 22 | have h := hker (x - algebraMap R A (ε x)) (by simp only [map_sub, ε.commutes, Algebra.algebraMap_self, RingHom.id_apply, sub_self]) |
| 23 | rw [mul_sub, sub_eq_zero] at h |
| 24 | exact h.trans (by rw [Algebra.smul_def, mul_comm]) |
| 25 | |
| 26 | omit [Module.Free R A] [Module.Finite R A] in |
| 27 | include he hker in |
| 28 | theorem idempotent : IsIdempotentElem e := by |
| 29 | change e * e = e |
| 30 | rw [mul R A ε e hker e, he, one_smul] |
| 31 | |
| 32 | include he hker in |
| 33 | theorem trace_one : Algebra.trace R A e = 1 := by |
| 34 | have h : Algebra.lmul R A e = ε.toLinearMap.smulRight e := by |
| 35 | apply LinearMap.ext |
| 36 | intro x |
| 37 | exact mul R A ε e hker x |
| 38 | rw [Algebra.trace_apply, h, LinearMap.trace_smulRight] |
| 39 | exact he |
| 40 | |
| 41 | include he hker in |
| 42 | theorem trace_mul (x : A) : Algebra.trace R A (e * x) = ε x := by |
| 43 | rw [mul R A ε e hker x, map_smul, trace_one R A ε e he hker, smul_eq_mul, mul_one] |
| 44 | |
| 45 | variable [Algebra.Etale R A] |
| 46 | |
| 47 | include he hker in |
| 48 | theorem dual : TraceDuality.equiv R A e = ε.toLinearMap := by |
| 49 | apply LinearMap.ext |
| 50 | intro x |
| 51 | exact trace_mul R A ε e he hker x |
| 52 | |
| 53 | include he hker in |
| 54 | theorem inverse : (TraceDuality.equiv R A).symm ε.toLinearMap = e := by |
| 55 | apply (TraceDuality.equiv R A).injective |
| 56 | rw [LinearEquiv.apply_symm_apply, dual R A ε e he hker] |
| 57 | |
| 58 | def component : A := (IntegralComparison.Etale.SectionKernel.exists_annihilator ε).choose |
| 59 | |
| 60 | omit [Module.Free R A] [Module.Finite R A] in |
| 61 | theorem component_evaluation : ε (component R A ε) = 1 := |
| 62 | (IntegralComparison.Etale.SectionKernel.exists_annihilator ε).choose_spec.1 |
| 63 | |
| 64 | omit [Module.Free R A] [Module.Finite R A] in |
| 65 | theorem component_annihilates (x : A) (hx : ε x = 0) : component R A ε * x = 0 := |
| 66 | (IntegralComparison.Etale.SectionKernel.exists_annihilator ε).choose_spec.2 x hx |
| 67 | |
| 68 | theorem inverse_eq_component : (TraceDuality.equiv R A).symm ε.toLinearMap = |
| 69 | component R A ε := |
| 70 | inverse R A ε (component R A ε) (component_evaluation R A ε) (component_annihilates R A ε) |
| 71 | |
| 72 | theorem component_trace : Algebra.trace R A (component R A ε) = 1 := |
| 73 | trace_one R A ε (component R A ε) (component_evaluation R A ε) (component_annihilates R A ε) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionTrace |