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.AdelicLatticeMahler |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.CompactIntegralValues |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.AdelicNormValues |
| 4 | |
| 5 | /-! # Finite Norm Values -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.FiniteNormValues |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Short vectors in quaternion adelic lattices may be chosen with |
| 12 | reduced norm in one finite set of nonzero rational values. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Quaternion |
| 15 | open _root_.NumberField _root_.NumberField.mixedEmbedding Set QuaternionAlgebra |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] |
| 18 | |
| 19 | theorem quaternion_nonsplit_finite_short_norm_values (a b : F) (ha : a ≠ 0) |
| 20 | (hs : ¬ ∃ x y : F, x ^ 2 - a * y ^ 2 = b) : |
| 21 | ∃ C : Set (Fin 4 → mixedSpace F), IsCompact C ∧ ∃ T : Set F, T.Finite ∧ |
| 22 | (∀ c ∈ T, c ≠ 0) ∧ |
| 23 | ∀ (g : FiniteAdelicMatrices.FiniteAdelicGroupPoints (MatrixGroup.quaternionNormOneMatrixGroup a b)) |
| 24 | (h : (MatrixGroup.quaternionNormOneMatrixGroup a b).ArchimedeanProduct Set.univ), |
| 25 | ∃ x ∈ FiniteAdelicLattice.finiteAdelicMatrixLattice (FiniteAdelicMatrices.finiteAdelicMatrix (MatrixGroup.quaternionNormOneMatrixGroup a b) g), |
| 26 | Norm.quaternionNorm a b (MatrixGroup.quaternionOfCoordinates a b x) ∈ T ∧ |
| 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, hvectors⟩ := AdelicLatticeMahler.quaternion_nonsplit_compact_adelic_vectors a b ha hs |
| 31 | obtain ⟨d, hd, hnorm⟩ := AdelicNormValues.quaternion_finiteAdelic_lattice_norm_integral a b |
| 32 | have hdF : (d : F) ≠ 0 := by exact_mod_cast hd |
| 33 | let P := MinkowskiLocalProjections.mixedPolynomialValue (MatrixGroup.quaternionNormPolynomial a b) |
| 34 | let T : Set F := {c | (d : F) * c ∈ (algebraMap (𝓞 F) F).range ∧ |
| 35 | mixedEmbedding F c ∈ P '' C ∧ c ≠ 0} |
| 36 | have hT : T.Finite := |
| 37 | (CompactIntegralValues.finite_rational_values_in_compact (d : F) hdF (P '' C) |
| 38 | (hC.image (MinkowskiLocalProjections.continuous_mixedPolynomialValue _))).subset (fun _ h => ⟨h.1, h.2.1⟩) |
| 39 | refine ⟨C, hC, T, hT, fun _ hc => hc.2.2, ?_⟩ |
| 40 | intro g h |
| 41 | obtain ⟨x, hx, hx0, harch⟩ := hvectors g h |
| 42 | refine ⟨x, hx, ⟨hnorm g x hx, ?_, ?_⟩, harch⟩ |
| 43 | · refine ⟨_, harch, ?_⟩ |
| 44 | dsimp only [P] |
| 45 | rw [MinkowskiLocalProjections.mixedPolynomialValue_archimedean_invariant (MatrixGroup.quaternionNormOneMatrixGroup a b) |
| 46 | (MatrixGroup.quaternionNormPolynomial a b) |
| 47 | (fun v g y => MatrixGroup.quaternionMatrixPoint_preserves_normPolynomial (algebraMap F v.Completion) a b g y), |
| 48 | MinkowskiLocalProjections.mixedPolynomialValue_diagonal] |
| 49 | apply congrArg (mixedEmbedding F) |
| 50 | exact MatrixGroup.quaternionNormPolynomial_eval (RingHom.id F) a b x |
| 51 | · intro hz |
| 52 | have hq := SplitCriterion.quaternion_norm_anisotropic_of_no_splitting_equation a b ha hs |
| 53 | (MatrixGroup.quaternionOfCoordinates a b x) hz |
| 54 | apply hx0 |
| 55 | apply (linearEquivTuple a 0 b).symm.injective |
| 56 | exact hq.trans (map_zero (linearEquivTuple a 0 b).symm).symm |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.Quaternion.Arithmetic.FiniteNormValues |