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.AdelicCompact |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.AmbientProjection |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.StrongApproximationReduction |
| 4 | import OAI.NumberTheory.Quaternion.Arithmetic.SplitAdeles |
| 5 | |
| 6 | /-! # Strong Approximation -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.Quaternion.Arithmetic.StrongApproximation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Strong approximation for the actual regular quaternion norm-one |
| 13 | matrix group. The nonsplit case uses the constructed compact adelic |
| 14 | quotient and its invariant S-arithmetic quotient measures. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | |
| 18 | variable {F : Type} [Field F] [NumberField F] |
| 19 | |
| 20 | theorem quaternion_nonsplit_arithmetic_volume (a b : F) (ha : a ≠ 0) |
| 21 | (hs : ¬ ∃ x y : F, x ^ 2 - a * y ^ 2 = b) |
| 22 | (S : Finset (LocalAdeles.Place F)) (harch : ∀ v : NumberField.InfinitePlace F, Sum.inl v ∈ S) |
| 23 | (T : Finset (ApproximationTopology.AwayPlace S)) : |
| 24 | CompactQuotientProjection.QuotientHasInvariantProbability (Ambient.arithmeticAmbientSubgroup (MatrixGroup.quaternionNormOneMatrixGroup a b) S T) := by |
| 25 | let : CompactSpace (AdelicGroup.FullAdelicGroupPoints (MatrixGroup.quaternionNormOneMatrixGroup a b) ⧸ |
| 26 | (AdelicGroup.diagonalFullAdelic (MatrixGroup.quaternionNormOneMatrixGroup a b)).range) := |
| 27 | AdelicCompact.quaternion_nonsplit_adelic_quotient_compact a b ha hs |
| 28 | exact AmbientProjection.arithmeticAmbient_quotientProbability_of_full (MatrixGroup.quaternionNormOneMatrixGroup a b) S harch T |
| 29 | |
| 30 | theorem strongApproximation_quaternion (a b : F) (ha : a ≠ 0) (hb : b ≠ 0) |
| 31 | (S : Finset (LocalAdeles.Place F)) (harch : ∀ v : NumberField.InfinitePlace F, Sum.inl v ∈ S) |
| 32 | (hnoncompact : ∃ v : LocalAdeles.Place F, v ∈ S ∧ ¬ CompactSpace (LocalAdeles.LocalPoints (MatrixGroup.quaternionNormOneMatrixGroup a b) v)) : |
| 33 | DenseRange (LocalAdeles.diagonalAway (MatrixGroup.quaternionNormOneMatrixGroup a b) S) := by |
| 34 | by_cases hs : ∃ x y : F, x ^ 2 - a * y ^ 2 = b |
| 35 | · obtain ⟨x, y, hxy⟩ := hs |
| 36 | exact SplitAdeles.strongApproximation_splitQuaternion a b x y ha hb hxy S harch |
| 37 | · exact StrongApproximationReduction.strongApproximation_quaternion_of_volume a b ha hb S harch hnoncompact |
| 38 | (quaternion_nonsplit_arithmetic_volume a b ha hs S harch) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.Quaternion.Arithmetic.StrongApproximation |