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.SectionTrace |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.TraceDualBaseChange |
| 3 | |
| 4 | /-! # Fiber Section Trace -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FiberSectionTrace |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A point of a finite étale algebra over a quotient of the base |
| 11 | selects a unique trace-dual component in the actual fiber algebra. |
| 12 | Every lift of that component has the exact residue-evaluation trace. -/ |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | variable (B C k : Type u) [CommRing B] [CommRing C] [CommRing k] |
| 16 | [Algebra B C] [Algebra B k] [Module.Free B C] [Module.Finite B C] |
| 17 | [Algebra.Etale B C] (ε : C →ₐ[B] k) |
| 18 | |
| 19 | def evaluation : k ⊗[B] C →ₐ[k] k := AlgHom.liftEquiv B k C k ε |
| 20 | |
| 21 | omit [Module.Free B C] [Module.Finite B C] [Algebra.Etale B C] in |
| 22 | theorem evaluation_tmul (a : k) (x : C) : evaluation B C k ε (a ⊗ₜ[B] x) = a * ε x := rfl |
| 23 | |
| 24 | def component : k ⊗[B] C := |
| 25 | SectionTrace.component k (k ⊗[B] C) (evaluation B C k ε) |
| 26 | |
| 27 | omit [Module.Free B C] [Module.Finite B C] in |
| 28 | theorem component_evaluation : evaluation B C k ε (component B C k ε) = 1 := |
| 29 | SectionTrace.component_evaluation k (k ⊗[B] C) (evaluation B C k ε) |
| 30 | |
| 31 | theorem trace_component_mul (x : C) : |
| 32 | Algebra.trace k (k ⊗[B] C) (component B C k ε * (1 ⊗ₜ[B] x)) = ε x := by |
| 33 | have h := SectionTrace.trace_mul k (k ⊗[B] C) (evaluation B C k ε) |
| 34 | (component B C k ε) (component_evaluation B C k ε) |
| 35 | (SectionTrace.component_annihilates k (k ⊗[B] C) (evaluation B C k ε)) |
| 36 | (1 ⊗ₜ[B] x) |
| 37 | exact h.trans (by rw [evaluation_tmul, one_mul]) |
| 38 | |
| 39 | theorem trace_lift (z : C) (hz : (1 ⊗ₜ[B] z : k ⊗[B] C) = component B C k ε) (x : C) : |
| 40 | algebraMap B k (Algebra.trace B C (z * x)) = ε x := by |
| 41 | rw [← PeriodInvariants.AlgebraTraceBaseChange.includeRight B C k] |
| 42 | have h : (1 ⊗ₜ[B] (z * x) : k ⊗[B] C) = (1 ⊗ₜ[B] z) * (1 ⊗ₜ[B] x) := by |
| 43 | rw [Algebra.TensorProduct.tmul_mul_tmul, one_mul] |
| 44 | rw [h, hz, trace_component_mul] |
| 45 | |
| 46 | theorem exists_lift (h : Function.Surjective (algebraMap B k)) : |
| 47 | ∃ z : C, (1 ⊗ₜ[B] z : k ⊗[B] C) = component B C k ε ∧ |
| 48 | ε z = 1 ∧ ∀ x : C, algebraMap B k (Algebra.trace B C (z * x)) = ε x := by |
| 49 | obtain ⟨z, hz⟩ := Algebra.TensorProduct.includeRight_surjective C h (component B C k ε) |
| 50 | refine ⟨z, hz, ?_, trace_lift B C k ε z hz⟩ |
| 51 | have he := congrArg (evaluation B C k ε) hz |
| 52 | rw [component_evaluation] at he |
| 53 | change (1 : k) * ε z = 1 at he |
| 54 | simpa only [one_mul] using he |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FiberSectionTrace |