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.OrbitReconstruction |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.CompactReconstruction |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.IntegralCompact |
| 4 | |
| 5 | /-! # Orbit Topology -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.OrbitTopology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Quaternion norm-one orbits on units have compact inverse images |
| 12 | of compact coordinate sets. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Quaternion _root_.Matrix |
| 15 | open QuaternionAlgebra Set |
| 16 | |
| 17 | variable {F K : Type} [Field F] |
| 18 | |
| 19 | section Algebra |
| 20 | variable [Field K] |
| 21 | |
| 22 | def quaternionPointsOrbit (a b : F) (ρ : F →+* K) (r : ℍ[K,ρ a,ρ b]ˣ) |
| 23 | (g : (MatrixGroup.quaternionNormOneMatrixGroup a b).Points ρ) : Fin 4 → K := |
| 24 | g.val.val *ᵥ linearEquivTuple (ρ a) 0 (ρ b) r.val |
| 25 | |
| 26 | theorem quaternionPointsOrbit_continuous [TopologicalSpace K] [IsTopologicalRing K] |
| 27 | (a b : F) (ρ : F →+* K) (r : ℍ[K,ρ a,ρ b]ˣ) : |
| 28 | Continuous (quaternionPointsOrbit a b ρ r) := by |
| 29 | have hm : Continuous (fun g : (MatrixGroup.quaternionNormOneMatrixGroup a b).Points ρ => g.val.val) := |
| 30 | continuous_subtype_val.comp continuous_subtype_val |
| 31 | exact hm.matrix_mulVec continuous_const |
| 32 | |
| 33 | end Algebra |
| 34 | |
| 35 | theorem quaternionPointsOrbit_compact_preimage |
| 36 | [Field K] [TopologicalSpace K] [IsTopologicalRing K] [T2Space K] |
| 37 | (a b : F) (ρ : F →+* K) (r : ℍ[K,ρ a,ρ b]ˣ) |
| 38 | (C : Set (Fin 4 → K)) (hC : IsCompact C) : |
| 39 | IsCompact (quaternionPointsOrbit a b ρ r ⁻¹' C) := by |
| 40 | exact CompactReconstruction.isCompact_preimage_of_reconstruction |
| 41 | (fun g : (MatrixGroup.quaternionNormOneMatrixGroup a b).Points ρ => g.val.val) |
| 42 | ((MatrixGroup.quaternionNormOneMatrixGroup a b).points_isClosedEmbedding ρ) |
| 43 | (quaternionPointsOrbit a b ρ r) (quaternionPointsOrbit_continuous a b ρ r) |
| 44 | (OrbitReconstruction.quaternionOrbitRecovery (ρ a) (ρ b) r) |
| 45 | (OrbitReconstruction.quaternionOrbitRecovery (ρ a) (ρ b) r).continuous_on_pi |
| 46 | (OrbitReconstruction.quaternionOrbitRecovery_apply a b ρ r) C hC |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.Quaternion.Arithmetic.OrbitTopology |