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.ArithmeticGroups.Lattices.Discrete |
| 2 | |
| 3 | /-! # Adele Coordinate Lattice -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.AdeleCoordinateLattice.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Diagonal images of finite integral coordinate modules in the product |
| 10 | of all archimedean completions are discrete and closed. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField |
| 13 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 14 | |
| 15 | abbrev CoordinateAdeleSpace (k I : Type) [Field k] := |
| 16 | (v : InfinitePlace k) → I → v.Completion |
| 17 | |
| 18 | def coordinateAdeleEmbedding (k I : Type) [Field k] : |
| 19 | (I → k) →ₗ[ℤ] CoordinateAdeleSpace k I where |
| 20 | toFun x v i := algebraMap k v.Completion (x i) |
| 21 | map_add' x y := by funext v i; exact map_add (algebraMap k v.Completion) (x i) (y i) |
| 22 | map_smul' z x := by |
| 23 | funext v i |
| 24 | exact map_zsmul (algebraMap k v.Completion).toAddMonoidHom z (x i) |
| 25 | |
| 26 | def coordinateAdeleLattice {k I : Type} [Field k] [NumberField k] |
| 27 | (Λ : Submodule (𝓞 k) (I → k)) : Submodule ℤ (CoordinateAdeleSpace k I) := |
| 28 | (Λ.restrictScalars ℤ).map (coordinateAdeleEmbedding k I) |
| 29 | |
| 30 | theorem coordinateAdeleLattice_discrete |
| 31 | {k I : Type} [Field k] [NumberField k] [Finite I] |
| 32 | (Λ : Submodule (𝓞 k) (I → k)) (hΛ : Λ.FG) : |
| 33 | DiscreteTopology (coordinateAdeleLattice Λ) := by |
| 34 | let J : I → Submodule (𝓞 k) k := fun i => Λ.map (LinearMap.proj i) |
| 35 | let : ∀ i, DiscreteTopology (IntegralLattice.Construction.scalarLatticeImage (J i)) := |
| 36 | fun i => IntegralLattice.Construction.scalarLatticeImage_discrete (J i) (hΛ.map (LinearMap.proj i)) |
| 37 | let f : coordinateAdeleLattice Λ → (i : I) → IntegralLattice.Construction.scalarLatticeImage (J i) := fun x i => |
| 38 | ⟨InfiniteAdeleRing.ringEquiv_mixedSpace k (fun v => x.val v i), by |
| 39 | obtain ⟨a, ha, he⟩ := x.property |
| 40 | refine ⟨a i, ⟨a, ha, rfl⟩, ?_⟩ |
| 41 | change mixedEmbedding k (a i) = InfiniteAdeleRing.ringEquiv_mixedSpace k |
| 42 | (show InfiniteAdeleRing k from fun v => x.val v i) |
| 43 | rw [InfiniteAdeleRing.mixedEmbedding_eq_algebraMap_comp] |
| 44 | apply congrArg (InfiniteAdeleRing.ringEquiv_mixedSpace k) |
| 45 | funext v |
| 46 | exact congrArg (fun z : CoordinateAdeleSpace k I => z v i) he⟩ |
| 47 | apply DiscreteTopology.of_continuous_injective (f := f) |
| 48 | · apply continuous_pi |
| 49 | intro i |
| 50 | apply Continuous.subtype_mk |
| 51 | apply Discrete.Construction.continuous_adele_to_mixed.comp |
| 52 | apply continuous_pi |
| 53 | intro v |
| 54 | exact (continuous_apply i).comp ((continuous_apply v).comp continuous_subtype_val) |
| 55 | · intro x y h |
| 56 | apply Subtype.ext |
| 57 | funext v i |
| 58 | have hi := congrArg (fun z : (j : I) → IntegralLattice.Construction.scalarLatticeImage (J j) => (z i).val) h |
| 59 | exact congrFun ((InfiniteAdeleRing.ringEquiv_mixedSpace k).injective hi) v |
| 60 | |
| 61 | theorem coordinateAdeleLattice_closed |
| 62 | {k I : Type} [Field k] [NumberField k] [Finite I] |
| 63 | (Λ : Submodule (𝓞 k) (I → k)) (hΛ : Λ.FG) : |
| 64 | IsClosed (coordinateAdeleLattice Λ : Set (CoordinateAdeleSpace k I)) := by |
| 65 | let : DiscreteTopology (coordinateAdeleLattice Λ) := coordinateAdeleLattice_discrete Λ hΛ |
| 66 | exact (coordinateAdeleLattice Λ).toAddSubgroup.isClosed_of_discreteTopology |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.ArithmeticGroups.Lattices.AdeleCoordinateLattice.Construction |