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.RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles |
| 3 | |
| 4 | /-! # Rational Discreteness -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.RationalDiscreteness.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finiteness of rational points in compact adelic sets. Finite-place |
| 11 | supports clear denominators; the archimedean images then lie in an actual |
| 12 | Minkowski integer lattice. -/ |
| 13 | |
| 14 | open scoped _root_.NumberField Classical |
| 15 | open _root_.NumberField |
| 16 | |
| 17 | variable (F : Type) [Field F] [NumberField F] |
| 18 | |
| 19 | theorem compact_finiteAdeles_common_denominator (K : Set (ArchimedeanAdeles.Construction.FiniteAdeles F)) (hK : IsCompact K) : |
| 20 | ∃ r : 𝓞 F, r ≠ 0 ∧ ∀ a ∈ K, |
| 21 | algebraMap (𝓞 F) (ArchimedeanAdeles.Construction.FiniteAdeles F) r * a ∈ IntegralAdeles.Construction.finiteIntegralRing F := by |
| 22 | have hc : Continuous (fun a : ArchimedeanAdeles.Construction.FiniteAdeles F => fun _ : Unit => a) := |
| 23 | continuous_pi (fun _ => continuous_id) |
| 24 | obtain ⟨r, hr, hKr⟩ := IntegralAdeles.Construction.compact_subset_finiteIntegralBox F _ (hK.image hc) |
| 25 | exact ⟨r, hr, fun a ha => hKr (Set.mem_image_of_mem _ ha) ()⟩ |
| 26 | |
| 27 | theorem finite_rational_preimage_compact (K : Set (ArchimedeanAdeles.Construction.Adeles F)) (hK : IsCompact K) : |
| 28 | Set.Finite {q : F | algebraMap F (ArchimedeanAdeles.Construction.Adeles F) q ∈ K} := by |
| 29 | obtain ⟨r, hr, hKr⟩ := compact_finiteAdeles_common_denominator F _ |
| 30 | (hK.image (continuous_snd : Continuous (fun a : ArchimedeanAdeles.Construction.Adeles F => a.2))) |
| 31 | let rF := algebraMap (𝓞 F) F r |
| 32 | have hrF : rF ≠ 0 := (map_ne_zero_iff _ (IsFractionRing.injective (𝓞 F) F)).mpr hr |
| 33 | let f : ArchimedeanAdeles.Construction.Adeles F → mixedEmbedding.mixedSpace F := fun a => |
| 34 | mixedEmbedding F rF * ArchimedeanAdeles.Construction.infiniteAdeleMixedHomeomorph F a.1 |
| 35 | have hf : Continuous f := continuous_const.mul |
| 36 | ((ArchimedeanAdeles.Construction.infiniteAdeleMixedHomeomorph F).continuous.comp continuous_fst) |
| 37 | let T := f '' K |
| 38 | have hT : IsCompact T := hK.image hf |
| 39 | have hfinite : Set.Finite (T ∩ mixedEmbedding.integerLattice F) := by |
| 40 | rw [← mixedEmbedding.span_latticeBasis F] |
| 41 | exact ZSpan.setFinite_inter (mixedEmbedding.latticeBasis F) hT.isBounded |
| 42 | let g : F → mixedEmbedding.mixedSpace F := fun q => mixedEmbedding F (rF * q) |
| 43 | have hg : Function.Injective g := (mixedEmbedding_injective F).comp (mul_right_injective₀ hrF) |
| 44 | apply Set.Finite.of_finite_image (f := g) _ (Set.injOn_of_injective hg) |
| 45 | apply hfinite.subset |
| 46 | rintro _ ⟨q, hq, rfl⟩ |
| 47 | constructor |
| 48 | · refine ⟨algebraMap F (ArchimedeanAdeles.Construction.Adeles F) q, hq, ?_⟩ |
| 49 | dsimp only [f, g] |
| 50 | rw [map_mul, ← ArchimedeanAdeles.Construction.infiniteAdeleMixedHomeomorph_rational F q] |
| 51 | rfl |
| 52 | · have hqr : algebraMap F (ArchimedeanAdeles.Construction.FiniteAdeles F) (rF * q) ∈ IntegralAdeles.Construction.finiteIntegralRing F := by |
| 53 | have hh := hKr _ (Set.mem_image_of_mem Prod.snd hq) |
| 54 | simpa only [map_mul, rF, ← IsScalarTower.algebraMap_apply] using! hh |
| 55 | obtain ⟨b, hb⟩ := (IntegralAdeles.Construction.rational_mem_finiteIntegral_iff F (rF * q)).mp hqr |
| 56 | change ∃ b : 𝓞 F, mixedEmbedding F (algebraMap (𝓞 F) F b) = g q |
| 57 | exact ⟨b, congrArg (mixedEmbedding F) hb⟩ |
| 58 | |
| 59 | theorem finite_rational_positions_preimage_compact {ι : Type*} [Fintype ι] |
| 60 | (K : Set (ι → ArchimedeanAdeles.Construction.Adeles F)) (hK : IsCompact K) : |
| 61 | Set.Finite {q : ι → F | (fun i => algebraMap F (ArchimedeanAdeles.Construction.Adeles F) (q i)) ∈ K} := by |
| 62 | let S : ι → Set F := fun i => {q | algebraMap F (ArchimedeanAdeles.Construction.Adeles F) q ∈ (fun a : ι → ArchimedeanAdeles.Construction.Adeles F => a i) '' K} |
| 63 | have hS : ∀ i, (S i).Finite := fun i => |
| 64 | finite_rational_preimage_compact F _ (hK.image (continuous_apply i)) |
| 65 | apply (Set.Finite.pi hS).subset |
| 66 | intro q hq i _ |
| 67 | exact Set.mem_image_of_mem (fun a : ι → ArchimedeanAdeles.Construction.Adeles F => a i) hq |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.RepresentationTheory.Weil.AdelicSplitting.RationalDiscreteness.Construction |