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.Groups |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.IntegralCompact |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.NondiscreteProjection |
| 4 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalClosure |
| 5 | |
| 6 | /-! # Ambient -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.Quaternion.Arithmetic.Ambient |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual arithmetic subgroup in the product of omitted and selected |
| 13 | local factors. These constructions connect the general quotient-volume |
| 14 | lemmas to the arithmetic groups in Arithmetic. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | |
| 18 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 19 | variable (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 20 | variable (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) |
| 21 | |
| 22 | abbrev OmittedLocalProduct := (v : (S : Set (LocalAdeles.Place F))) → LocalAdeles.LocalPoints G v.val |
| 23 | |
| 24 | def arithmeticOmittedProjection : Groups.arithmeticSubgroup G S T →* OmittedLocalProduct G S where |
| 25 | toFun g v := LocalAdeles.diagonalLocal G v.val g.val |
| 26 | map_one' := by funext v; exact map_one (LocalAdeles.diagonalLocal G v.val) |
| 27 | map_mul' g h := by funext v; exact map_mul (LocalAdeles.diagonalLocal G v.val) g.val h.val |
| 28 | |
| 29 | def arithmeticAmbientEmbedding : Groups.arithmeticSubgroup G S T →* |
| 30 | OmittedLocalProduct G S × Groups.SelectedLocalProduct G S T := |
| 31 | (arithmeticOmittedProjection G S T).prod (Groups.arithmeticProjection G S T) |
| 32 | |
| 33 | def arithmeticAmbientSubgroup : |
| 34 | Subgroup (OmittedLocalProduct G S × Groups.SelectedLocalProduct G S T) := |
| 35 | (arithmeticAmbientEmbedding G S T).range |
| 36 | |
| 37 | theorem arithmeticAmbient_projection : |
| 38 | (arithmeticAmbientSubgroup G S T).map |
| 39 | (MonoidHom.snd (OmittedLocalProduct G S) (Groups.SelectedLocalProduct G S T)) = |
| 40 | (Groups.arithmeticProjection G S T).range := by |
| 41 | rw [arithmeticAmbientSubgroup, MonoidHom.map_range] |
| 42 | rfl |
| 43 | |
| 44 | theorem arithmeticProjection_injective (hT : T.Nonempty) : |
| 45 | Function.Injective (Groups.arithmeticProjection G S T) := by |
| 46 | obtain ⟨v, hv⟩ := hT |
| 47 | intro g h hgh |
| 48 | apply Subtype.ext |
| 49 | apply LocalAdeles.diagonalLocal_injective G v.val |
| 50 | exact congrFun hgh ⟨v, hv⟩ |
| 51 | |
| 52 | theorem arithmeticAmbient_snd_injective (hT : T.Nonempty) : |
| 53 | Function.Injective |
| 54 | ((MonoidHom.snd (OmittedLocalProduct G S) (Groups.SelectedLocalProduct G S T)).comp |
| 55 | (arithmeticAmbientSubgroup G S T).subtype) := by |
| 56 | intro g h hgh |
| 57 | obtain ⟨a, ha⟩ := g.property |
| 58 | obtain ⟨b, hb⟩ := h.property |
| 59 | have hab : Groups.arithmeticProjection G S T a = Groups.arithmeticProjection G S T b := by |
| 60 | change (arithmeticAmbientEmbedding G S T a).2 = (arithmeticAmbientEmbedding G S T b).2 |
| 61 | rw [ha, hb] |
| 62 | exact hgh |
| 63 | have := arithmeticProjection_injective G S T hT hab |
| 64 | apply Subtype.ext |
| 65 | rw [← ha, ← hb, this] |
| 66 | |
| 67 | /-- The lattice-volume obligation alone gives nondiscreteness in every |
| 68 | nonempty selected product, under the original local noncompactness condition. -/ |
| 69 | theorem arithmeticProjection_not_discrete (hT : T.Nonempty) |
| 70 | (hnoncompact : ∃ v : LocalAdeles.Place F, v ∈ S ∧ ¬ CompactSpace (LocalAdeles.LocalPoints G v)) |
| 71 | (hvolume : CompactQuotientProjection.QuotientHasInvariantProbability (arithmeticAmbientSubgroup G S T)) : |
| 72 | ¬ IsDiscrete ((Groups.arithmeticProjection G S T).range : Set (Groups.SelectedLocalProduct G S T)) := by |
| 73 | let : NoncompactSpace (OmittedLocalProduct G S) := not_compactSpace_iff.mp |
| 74 | ((LocalAdeles.noncompact_place_iff_noncompact_product G S).mp hnoncompact) |
| 75 | have h := NondiscreteProjection.projected_subgroup_not_discrete (arithmeticAmbientSubgroup G S T) |
| 76 | (arithmeticAmbient_snd_injective G S T hT) hvolume |
| 77 | rwa [arithmeticAmbient_projection] at h |
| 78 | |
| 79 | /-- An open local closure has finite index once the arithmetic quotient |
| 80 | has finite invariant volume. -/ |
| 81 | theorem arithmeticProjection_closure_finiteIndex |
| 82 | (hvolume : CompactQuotientProjection.QuotientHasInvariantProbability (arithmeticAmbientSubgroup G S T)) |
| 83 | (hopen : IsOpen ((Groups.arithmeticProjection G S T).range.topologicalClosure : |
| 84 | Set (Groups.SelectedLocalProduct G S T))) : |
| 85 | (Groups.arithmeticProjection G S T).range.topologicalClosure.FiniteIndex := by |
| 86 | have hopen' : IsOpen |
| 87 | (((arithmeticAmbientSubgroup G S T).map |
| 88 | (MonoidHom.snd (OmittedLocalProduct G S) (Groups.SelectedLocalProduct G S T))).topologicalClosure : |
| 89 | Set (Groups.SelectedLocalProduct G S T)) := by |
| 90 | rwa [arithmeticAmbient_projection] |
| 91 | have h := CompactQuotientProjection.projectedClosure_finiteIndex |
| 92 | (MonoidHom.snd (OmittedLocalProduct G S) (Groups.SelectedLocalProduct G S T)) continuous_snd |
| 93 | (fun x => ⟨(1, x), rfl⟩) (arithmeticAmbientSubgroup G S T) hvolume hopen' |
| 94 | rwa [arithmeticAmbient_projection] at h |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.Quaternion.Arithmetic.Ambient |