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.FiniteNormValues |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.FiniteKernelRepresentatives |
| 3 | |
| 4 | /-! # Multiplicative Reduction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.MultiplicativeReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finitely many rational quaternion units, together with a compact |
| 11 | archimedean set, suffice after rational norm-one correction. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField _root_.Quaternion |
| 14 | open _root_.NumberField _root_.NumberField.mixedEmbedding Set QuaternionAlgebra |
| 15 | |
| 16 | variable {F : Type} [Field F] [NumberField F] |
| 17 | |
| 18 | theorem quaternion_nonsplit_finite_multiplicative_reduction (a b : F) (ha : a ≠ 0) |
| 19 | (hs : ¬ ∃ x y : F, x ^ 2 - a * y ^ 2 = b) : |
| 20 | ∃ C : Set (Fin 4 → mixedSpace F), IsCompact C ∧ |
| 21 | ∃ R : Set (ℍ[F,a,b]ˣ), R.Finite ∧ |
| 22 | ∀ (g : FiniteAdelicMatrices.FiniteAdelicGroupPoints (MatrixGroup.quaternionNormOneMatrixGroup a b)) |
| 23 | (h : (MatrixGroup.quaternionNormOneMatrixGroup a b).ArchimedeanProduct Set.univ), |
| 24 | ∃ q : (Norm.quaternionUnitNorm a b).ker, ∃ r ∈ R, |
| 25 | let x := linearEquivTuple a 0 b (q.val.val * r.val) |
| 26 | x ∈ FiniteAdelicLattice.finiteAdelicMatrixLattice (FiniteAdelicMatrices.finiteAdelicMatrix (MatrixGroup.quaternionNormOneMatrixGroup a b) g) ∧ |
| 27 | ArithmeticGroups.Lattices.Archimedean.Quotient.Construction.archimedeanRealRepresentation F 4 |
| 28 | (ArithmeticGroups.Lattices.Archimedean.Quotient.Construction.fullArchimedeanPointsEquiv (MatrixGroup.quaternionNormOneMatrixGroup a b) h).val |
| 29 | (fun i => mixedEmbedding F (x i)) ∈ C := by |
| 30 | obtain ⟨C, hC, T, hT, hT0, hv⟩ := FiniteNormValues.quaternion_nonsplit_finite_short_norm_values a b ha hs |
| 31 | obtain ⟨R, hR, hrep⟩ := FiniteKernelRepresentatives.quaternion_finite_norm_representatives a b T hT |
| 32 | refine ⟨C, hC, R, hR, ?_⟩ |
| 33 | intro g h |
| 34 | obtain ⟨x, hx, hn, hc⟩ := hv g h |
| 35 | let u := Norm.quaternionUnitOfNormNeZero a b (MatrixGroup.quaternionOfCoordinates a b x) (hT0 _ hn) |
| 36 | obtain ⟨r, hr, q, he⟩ := hrep u hn |
| 37 | have hcoords : linearEquivTuple a 0 b (q.val.val * r.val) = x := by |
| 38 | have he' : q.val.val * r.val = MatrixGroup.quaternionOfCoordinates a b x := congrArg Units.val he |
| 39 | rw [he'] |
| 40 | exact (linearEquivTuple a 0 b).apply_symm_apply x |
| 41 | refine ⟨q, r, hr, ?_⟩ |
| 42 | dsimp only |
| 43 | rw [hcoords] |
| 44 | exact ⟨hx, hc⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.Quaternion.Arithmetic.MultiplicativeReduction |