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.Contraction |
| 2 | |
| 3 | /-! # Dual Frame -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.DualFrame |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite projective module has an actual finite dual frame. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | variable (R : Type u) [CommRing R] (M : Type u) [AddCommGroup M] [Module R M] |
| 15 | |
| 16 | structure Frame (ι : Type u) [Fintype ι] where |
| 17 | vector : ι → M |
| 18 | coord : ι → M →ₗ[R] R |
| 19 | reconstruct : ∀ m, ∑ i, coord i m • vector i = m |
| 20 | |
| 21 | variable [Module.Finite R M] [Module.Projective R M] |
| 22 | |
| 23 | theorem exists_frame : ∃ (ι : Type u) (_ : Fintype ι), Nonempty (Frame R M ι) := by |
| 24 | classical |
| 25 | let t := (dualTensorHomEquiv R M M).symm (LinearMap.id : M →ₗ[R] M) |
| 26 | obtain ⟨s, hs⟩ := TensorProduct.exists_finset t |
| 27 | refine ⟨s, inferInstance, ⟨⟨(fun i => i.val.2), (fun i => i.val.1), ?_⟩⟩⟩ |
| 28 | intro m |
| 29 | have h := congrArg (fun z => dualTensorHom R M M z m) hs |
| 30 | have ht : dualTensorHom R M M t m = m := by |
| 31 | exact congrArg (fun f : M →ₗ[R] M => f m) ((dualTensorHomEquiv R M M).apply_symm_apply _) |
| 32 | rw [ht] at h |
| 33 | simpa only [map_sum, LinearMap.sum_apply, dualTensorHom_apply, ← s.sum_coe_sort] using h.symm |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.DualFrame |