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.Adeles.LocalCompletions |
| 2 | |
| 3 | /-! # Local Norms -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Adeles.LocalNorms.CompletionFactors |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual algebraic norms on the local completion extensions. -/ |
| 10 | |
| 11 | open _root_.NumberField IsDedekindDomain HeightOneSpectrum |
| 12 | open scoped _root_.NumberField _root_.Topology |
| 13 | |
| 14 | /-- Continuity of the determinant norm on a finite extension of complete normed fields. -/ |
| 15 | theorem continuous_algebraNorm |
| 16 | {K L : Type*} [NontriviallyNormedField K] [CompleteSpace K] |
| 17 | [NormedField L] [Algebra K L] [ContinuousSMul K L] [FiniteDimensional K L] : |
| 18 | Continuous (Algebra.norm K (S := L)) := by |
| 19 | let b := Module.finBasis K L |
| 20 | have hm : Continuous (Algebra.leftMulMatrix b) := |
| 21 | (Algebra.leftMulMatrix b).toLinearMap.continuous_of_finiteDimensional |
| 22 | convert hm.matrix_det using 1 |
| 23 | ext x |
| 24 | exact Algebra.norm_eq_matrix_det b x |
| 25 | |
| 26 | variable {F E : Type*} [Field F] [NumberField F] |
| 27 | [Field E] [NumberField E] [Algebra F E] |
| 28 | |
| 29 | section Finite |
| 30 | |
| 31 | open scoped OAI.NumberTheory.Adeles.LocalCompletions.CompletionFactors.FiniteLiesOver Valued |
| 32 | |
| 33 | variable (v : HeightOneSpectrum (𝓞 F)) (w : HeightOneSpectrum (𝓞 E)) |
| 34 | [w.asIdeal.LiesOver v.asIdeal] |
| 35 | |
| 36 | /-- The canonical relative field norm at a finite place. -/ |
| 37 | def finiteLocalNorm : w.adicCompletion E →* v.adicCompletion F := |
| 38 | Algebra.norm (v.adicCompletion F) |
| 39 | |
| 40 | theorem continuous_finiteLocalNorm : Continuous (finiteLocalNorm v w) := |
| 41 | continuous_algebraNorm (K := v.adicCompletion F) (L := w.adicCompletion E) |
| 42 | |
| 43 | def finiteLocalIdeleNorm : (w.adicCompletion E)ˣ →ₜ* (v.adicCompletion F)ˣ where |
| 44 | toMonoidHom := Units.map (finiteLocalNorm v w) |
| 45 | continuous_toFun := Continuous.units_map _ (continuous_finiteLocalNorm v w) |
| 46 | |
| 47 | end Finite |
| 48 | |
| 49 | @[instance_reducible] |
| 50 | def infiniteCompletionNontriviallyNormedField (v : InfinitePlace F) : |
| 51 | NontriviallyNormedField v.Completion := { |
| 52 | (inferInstance : NormedField v.Completion) with |
| 53 | non_trivial := by |
| 54 | refine ⟨algebraMap F v.Completion 2, ?_⟩ |
| 55 | change 1 < ‖((WithAbs.equiv v.1).symm (2 : F) : v.Completion)‖ |
| 56 | rw [InfinitePlace.Completion.norm_coe] |
| 57 | change 1 < v (2 : F) |
| 58 | rw [show (2 : F) = (2 : ℕ) from rfl, v.map_natCast] |
| 59 | norm_num |
| 60 | } |
| 61 | |
| 62 | open scoped _root_.NumberField.LiesOver |
| 63 | |
| 64 | variable (v : InfinitePlace F) (w : InfinitePlace E) [w.LiesOver v] |
| 65 | |
| 66 | omit [NumberField F] [NumberField E] in |
| 67 | theorem infiniteCompletion_finiteDimensional : FiniteDimensional v.Completion w.Completion := by |
| 68 | apply Module.finite_of_finrank_pos |
| 69 | rcases w.isUnramified_or_isRamified F with h | h |
| 70 | · rw [h.finrank_eq_one v] |
| 71 | decide |
| 72 | · rw [h.finrank_eq_two v] |
| 73 | decide |
| 74 | |
| 75 | /-- The canonical relative field norm at an infinite place. -/ |
| 76 | def infiniteLocalNorm : w.Completion →* v.Completion := Algebra.norm v.Completion |
| 77 | |
| 78 | omit [NumberField F] [NumberField E] in |
| 79 | theorem continuous_infiniteLocalNorm : Continuous (infiniteLocalNorm v w) := |
| 80 | letI := infiniteCompletionNontriviallyNormedField v |
| 81 | letI := infiniteCompletion_finiteDimensional v w |
| 82 | continuous_algebraNorm (K := v.Completion) (L := w.Completion) |
| 83 | |
| 84 | def infiniteLocalIdeleNorm : w.Completionˣ →ₜ* v.Completionˣ where |
| 85 | toMonoidHom := Units.map (infiniteLocalNorm v w) |
| 86 | continuous_toFun := Continuous.units_map _ (continuous_infiniteLocalNorm v w) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.Adeles.LocalNorms.CompletionFactors |