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.Quaternion.Arithmetic.BlockComplement |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.PrimeBlockCompactProjection |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.FiniteProductBlockOpenness |
| 4 | |
| 5 | /-! # Block Assembly -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.BlockAssembly |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Arithmetic closure in an arbitrary finite local product is open |
| 12 | once the arithmetic closures in its residue-prime blocks are open. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open IsDedekindDomain Set _root_.Topology |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} {ι : Type*} [Fintype ι] |
| 18 | |
| 19 | theorem arithmeticBlockComplementEmbedding_mem_closure |
| 20 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S U : Finset (LocalAdeles.Place F)) |
| 21 | (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) |
| 22 | (hinj : Function.Injective v) (haway : ∀ i, Sum.inr (v i) ∉ S) |
| 23 | (hSU : S ⊆ U) (hU : ∀ i, Sum.inr (v i) ∈ U) |
| 24 | (g : Groups.sIntegralPoints G (BlockComplement.arithmeticBlockPlaces S v p : Set (LocalAdeles.Place F))) : |
| 25 | IntegralBlockComplement.insertIntegralBlockComplement G v p (BlockComplement.arithmeticBlockComplementEmbedding G S v p hinj haway g) ∈ |
| 26 | (Product.arithmeticProductSubgroup G U v).topologicalClosure := by |
| 27 | rw [BlockComplement.arithmeticBlockComplementEmbedding_insert] |
| 28 | apply (Product.arithmeticProductSubgroup G U v).le_topologicalClosure |
| 29 | refine ⟨g.val, ?_, rfl⟩ |
| 30 | exact Groups.sIntegralPoints_mono G (BlockComplement.arithmeticBlockPlaces_subset S U v p hSU hU) g.property |
| 31 | |
| 32 | theorem arithmetic_closure_isOpen_of_primeBlock_closures |
| 33 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S U : Finset (LocalAdeles.Place F)) |
| 34 | (v : ι → HeightOneSpectrum (𝓞 F)) |
| 35 | (hinj : Function.Injective v) (haway : ∀ i, Sum.inr (v i) ∉ S) |
| 36 | (hSU : S ⊆ U) (hU : ∀ i, Sum.inr (v i) ∈ U) |
| 37 | (hblock : ∀ q ∈ Finset.univ.image (fun i => LocalCompletion.residuePrime (v i)), |
| 38 | IsOpen ((Product.arithmeticProductSubgroup G (BlockComplement.arithmeticBlockPlaces S v (fun i => LocalCompletion.residuePrime (v i) = q)) |
| 39 | (fun i : {i : ι // LocalCompletion.residuePrime (v i) = q} => v i.val)).topologicalClosure : |
| 40 | Set (IntegralBlockComplement.localBlockPoints G v (fun i => LocalCompletion.residuePrime (v i) = q)))) : |
| 41 | IsOpen ((Product.arithmeticProductSubgroup G U v).topologicalClosure : |
| 42 | Set (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i)))) := by |
| 43 | let H := (Product.arithmeticProductSubgroup G U v).topologicalClosure |
| 44 | apply FiniteProductBlockOpenness.local_product_isOpen_of_block_comaps G v H |
| 45 | intro q hq |
| 46 | obtain ⟨i₀, _, hi₀⟩ := Finset.mem_image.mp hq |
| 47 | let p := fun i => LocalCompletion.residuePrime (v i) = q |
| 48 | let e := BlockComplement.arithmeticBlockComplementEmbedding G S v p hinj haway |
| 49 | apply PrimeBlockCompactProjection.primeBlock_comap_isOpen_of_open_compact_projection G v (v i₀) q hi₀ H |
| 50 | (Product.arithmeticProductSubgroup G U v).isClosed_topologicalClosure e.range |
| 51 | · rintro x ⟨g, rfl⟩ |
| 52 | exact arithmeticBlockComplementEmbedding_mem_closure G S U v p hinj haway hSU hU g |
| 53 | · have he := BlockComplement.arithmeticBlockComplementEmbedding_projection_range G S v p hinj haway |
| 54 | change IsOpen ((e.range.map (MonoidHom.snd _ _)).topologicalClosure : Set (IntegralBlockComplement.localBlockPoints G v p)) |
| 55 | rw [he] |
| 56 | exact hblock q (Finset.mem_image.mpr ⟨i₀, Finset.mem_univ _, hi₀⟩) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.Quaternion.Arithmetic.BlockAssembly |