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.FiniteLattices |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.CompactOpen |
| 3 | |
| 4 | /-! # Lattice Topology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.LatticeTopology.TestTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integer multiples of the integral position lattice form a basis of |
| 11 | zero-neighborhoods in the actual finite adeles of a number field. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField RestrictedProduct _root_.Topology |
| 14 | open OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction IsDedekindDomain |
| 15 | |
| 16 | theorem open_add_subgroup_inside_nhds_zero {G : Type*} [AddCommGroup G] |
| 17 | [TopologicalSpace G] [IsTopologicalAddGroup G] [LocallyCompactSpace G] |
| 18 | [T2Space G] [TotallyDisconnectedSpace G] (U : Set G) (hU : U ∈ 𝓝 (0 : G)) : |
| 19 | ∃ V : OpenAddSubgroup G, (V : Set G) ⊆ U := by |
| 20 | let : T2Space (Multiplicative G) := inferInstanceAs (T2Space G) |
| 21 | let : TotallyDisconnectedSpace (Multiplicative G) := |
| 22 | inferInstanceAs (TotallyDisconnectedSpace G) |
| 23 | obtain ⟨K, _, hK⟩ := RepresentationTheory.Theta.Adelic.CompactOpen.compact_open_subgroup_basis |
| 24 | (G := Multiplicative G) U hU |
| 25 | let V : OpenAddSubgroup G := |
| 26 | { carrier := K.toSubgroup.carrier |
| 27 | zero_mem' := K.one_mem |
| 28 | add_mem' := K.mul_mem |
| 29 | neg_mem' := K.inv_mem |
| 30 | isOpen' := K.isOpen } |
| 31 | exact ⟨V, hK⟩ |
| 32 | |
| 33 | variable (F : Type) [Field F] [NumberField F] |
| 34 | |
| 35 | theorem finiteAdeles_locallyCompact : LocallyCompactSpace (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := by |
| 36 | let : Fact (∀ v : HeightOneSpectrum (𝓞 F), |
| 37 | IsOpen (v.adicCompletionIntegers F : Set (v.adicCompletion F))) := |
| 38 | ⟨fun v => Valued.isOpen_valuationSubring (v.adicCompletion F)⟩ |
| 39 | exact inferInstanceAs (LocallyCompactSpace |
| 40 | (Πʳ v : HeightOneSpectrum (𝓞 F), [v.adicCompletion F, v.adicCompletionIntegers F])) |
| 41 | |
| 42 | theorem finiteAdeles_t2 : T2Space (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := |
| 43 | inferInstanceAs (T2Space |
| 44 | (Πʳ v : HeightOneSpectrum (𝓞 F), [v.adicCompletion F, v.adicCompletionIntegers F])) |
| 45 | |
| 46 | theorem finiteAdeles_totallyDisconnected : TotallyDisconnectedSpace (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := by |
| 47 | have hc : Continuous (fun x : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F => fun v => x v) := |
| 48 | continuous_pi (fun v => RestrictedProduct.continuous_eval v) |
| 49 | exact ⟨isTotallyDisconnected_of_image hc.continuousOn DFunLike.coe_injective |
| 50 | (isTotallyDisconnected_of_totallyDisconnectedSpace _)⟩ |
| 51 | |
| 52 | theorem finitePosition_integer_lattice_nhds {I : Type*} [Fintype I] |
| 53 | (U : Set (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F)) (hU : U ∈ 𝓝 (0 : I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F)) : |
| 54 | ∃ N : ℕ, ∃ hN : 0 < N, |
| 55 | (RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (ι := I) (N : F) (by exact_mod_cast hN.ne') : |
| 56 | Set (I → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F)) ⊆ U := by |
| 57 | let := finiteAdeles_locallyCompact F |
| 58 | let := finiteAdeles_t2 F |
| 59 | let := finiteAdeles_totallyDisconnected F |
| 60 | obtain ⟨V, hVU⟩ := open_add_subgroup_inside_nhds_zero U hU |
| 61 | obtain ⟨N, hN, hsmall⟩ := RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finitePosition_open_integer_multiple F V |
| 62 | refine ⟨N, hN, ?_⟩ |
| 63 | rintro x ⟨y, hy, rfl⟩ |
| 64 | apply hVU |
| 65 | change RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finitePositionScale (N : F) y ∈ V |
| 66 | rw [RepresentationTheory.Weil.AdelicSplitting.FiniteLattices.Construction.finitePositionScale_natCast] |
| 67 | exact hsmall (fun i => ⟨y i, hy i⟩) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.LatticeTopology.TestTransport |