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.Analysis.AbsoluteValue.Equivalence |
| 2 | import Mathlib.NumberTheory.NumberField.Basic |
| 3 | |
| 4 | /-! # Weak -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Approximation.Weak.HodgeWeakApproximation |
| 7 | |
| 8 | /- |
| 9 | WeakApproximation uses nontrivial, pairwise inequivalent real-valued absolute values to model |
| 10 | finitely many distinct places. Mathlib's abstract weak approximation theorem |
| 11 | gives density in the product of the corresponding `WithAbs` spaces; the |
| 12 | continuous dense completion maps then give the specified local completions. |
| 13 | The number-field hypothesis is retained from the statement specification. |
| 14 | -/ |
| 15 | |
| 16 | /-- Weak approximation for finitely many distinct places of a number field. -/ |
| 17 | theorem weak_approximation |
| 18 | (K : Type*) [Field K] [NumberField K] |
| 19 | {ι : Type*} [Finite ι] |
| 20 | (v : ι → AbsoluteValue K ℝ) |
| 21 | (h_nontrivial : ∀ i, (v i).IsNontrivial) |
| 22 | (h_distinct : Pairwise fun i j => ¬ (v i).IsEquiv (v j)) : |
| 23 | DenseRange |
| 24 | (fun x : K => fun i : ι => (x : (v i).Completion)) := by |
| 25 | let c : ((i : ι) → WithAbs (v i)) → ((i : ι) → (v i).Completion) := |
| 26 | fun x i => (x i : (v i).Completion) |
| 27 | have hc : DenseRange c := |
| 28 | DenseRange.piMap (fun i => |
| 29 | (UniformSpace.Completion.denseRange_coe : |
| 30 | DenseRange ((↑) : WithAbs (v i) → (v i).Completion))) |
| 31 | have hcont : Continuous c := |
| 32 | continuous_pi (fun i => |
| 33 | (UniformSpace.Completion.continuous_coe (WithAbs (v i)) : |
| 34 | Continuous ((↑) : WithAbs (v i) → (v i).Completion)).comp (continuous_apply i)) |
| 35 | exact hc.comp (AbsoluteValue.denseRange_algebraMap_pi h_nontrivial h_distinct) hcont |
| 36 | |
| 37 | end OAI.NumberTheory.Approximation.Weak.HodgeWeakApproximation |