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.Volume |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.SelectedArithmeticProduct |
| 3 | |
| 4 | /-! # Ambient Projection -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.AmbientProjection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reindexing the S-union-T local quotient as the actual omitted |
| 11 | and selected product used in the strong approximation reduction. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open Set |
| 15 | |
| 16 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 17 | |
| 18 | def omittedSelectedIndex (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) (v : (S : Set (LocalAdeles.Place F))) : |
| 19 | (SelectedArithmeticProduct.selectedArithmeticPlaces S T : Set (LocalAdeles.Place F)) := |
| 20 | ⟨v.val, Finset.mem_union_left _ v.property⟩ |
| 21 | |
| 22 | def selectedSelectedIndex (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) (v : (T : Set (ApproximationTopology.AwayPlace S))) : |
| 23 | (SelectedArithmeticProduct.selectedArithmeticPlaces S T : Set (LocalAdeles.Place F)) := |
| 24 | ⟨v.val.val, Finset.mem_union_right _ (Finset.mem_image.mpr ⟨v.val, v.property, rfl⟩)⟩ |
| 25 | |
| 26 | def selectedAmbientProjection (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) : |
| 27 | Ambient.OmittedLocalProduct G (SelectedArithmeticProduct.selectedArithmeticPlaces S T) →* |
| 28 | Ambient.OmittedLocalProduct G S × Groups.SelectedLocalProduct G S T where |
| 29 | toFun g := (fun v => g (omittedSelectedIndex S T v), fun v => g (selectedSelectedIndex S T v)) |
| 30 | map_one' := rfl |
| 31 | map_mul' _ _ := rfl |
| 32 | |
| 33 | theorem selectedAmbientProjection_continuous (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 34 | (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) : Continuous (selectedAmbientProjection G S T) := |
| 35 | (continuous_pi (fun v => continuous_apply (omittedSelectedIndex S T v))).prodMk |
| 36 | (continuous_pi (fun v => continuous_apply (selectedSelectedIndex S T v))) |
| 37 | |
| 38 | omit [NumberField F] in |
| 39 | theorem selectedPlace_mem_T_of_not_mem_S (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) |
| 40 | (v : (SelectedArithmeticProduct.selectedArithmeticPlaces S T : Set (LocalAdeles.Place F))) (hv : v.val ∉ S) : |
| 41 | (⟨v.val, hv⟩ : ApproximationTopology.AwayPlace S) ∈ T := by |
| 42 | have ht := (Finset.mem_union.mp v.property).resolve_left hv |
| 43 | obtain ⟨w, hw, he⟩ := Finset.mem_image.mp ht |
| 44 | exact (Subtype.ext he : w = ⟨v.val, hv⟩) ▸ hw |
| 45 | |
| 46 | theorem selectedAmbientProjection_surjective (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 47 | (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) : Function.Surjective (selectedAmbientProjection G S T) := by |
| 48 | intro x |
| 49 | let y : Ambient.OmittedLocalProduct G (SelectedArithmeticProduct.selectedArithmeticPlaces S T) := fun v => |
| 50 | if hv : v.val ∈ S then x.1 ⟨v.val, hv⟩ |
| 51 | else x.2 ⟨⟨v.val, hv⟩, selectedPlace_mem_T_of_not_mem_S S T v hv⟩ |
| 52 | refine ⟨y, Prod.ext ?_ ?_⟩ |
| 53 | · funext v |
| 54 | exact dite_eq_left v.property |
| 55 | · funext v |
| 56 | exact dite_eq_right v.val.property |
| 57 | |
| 58 | theorem selectedAmbientProjection_arithmetic (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 59 | (S : Finset (LocalAdeles.Place F)) (T : Finset (ApproximationTopology.AwayPlace S)) : |
| 60 | (Adelic.sArithmeticLocalSubgroup G (SelectedArithmeticProduct.selectedArithmeticPlaces S T)).map (selectedAmbientProjection G S T) = |
| 61 | Ambient.arithmeticAmbientSubgroup G S T := by |
| 62 | ext y |
| 63 | constructor |
| 64 | · rintro ⟨z, hz, rfl⟩ |
| 65 | obtain ⟨q, hq, he⟩ := (Adelic.sArithmeticLocalSubgroup_mem G (SelectedArithmeticProduct.selectedArithmeticPlaces S T) z).mp hz |
| 66 | have hq' : q ∈ Groups.arithmeticSubgroup G S T := (SelectedArithmeticProduct.arithmeticSubgroup_eq_selectedIntegral G S T).ge hq |
| 67 | refine ⟨⟨q, hq'⟩, Prod.ext ?_ ?_⟩ |
| 68 | · funext v |
| 69 | exact he (omittedSelectedIndex S T v) |
| 70 | · funext v |
| 71 | exact he (selectedSelectedIndex S T v) |
| 72 | · rintro ⟨q, rfl⟩ |
| 73 | let z : Ambient.OmittedLocalProduct G (SelectedArithmeticProduct.selectedArithmeticPlaces S T) := fun v => LocalAdeles.diagonalLocal G v.val q.val |
| 74 | have hz : z ∈ Adelic.sArithmeticLocalSubgroup G (SelectedArithmeticProduct.selectedArithmeticPlaces S T) := |
| 75 | (Adelic.sArithmeticLocalSubgroup_mem G _ z).mpr |
| 76 | ⟨q.val, (SelectedArithmeticProduct.arithmeticSubgroup_eq_selectedIntegral G S T).le q.property, fun _ => rfl⟩ |
| 77 | exact ⟨z, hz, rfl⟩ |
| 78 | |
| 79 | theorem arithmeticAmbient_quotientProbability_of_full (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 80 | (S : Finset (LocalAdeles.Place F)) (harch : ∀ v : NumberField.InfinitePlace F, Sum.inl v ∈ S) |
| 81 | [CompactSpace (AdelicGroup.FullAdelicGroupPoints G ⧸ (AdelicGroup.diagonalFullAdelic G).range)] |
| 82 | (T : Finset (ApproximationTopology.AwayPlace S)) : CompactQuotientProjection.QuotientHasInvariantProbability (Ambient.arithmeticAmbientSubgroup G S T) := |
| 83 | CompactQuotientProjection.quotientProbability_of_surjective (selectedAmbientProjection G S T) |
| 84 | (selectedAmbientProjection_continuous G S T) (selectedAmbientProjection_surjective G S T) |
| 85 | _ _ (selectedAmbientProjection_arithmetic G S T).le |
| 86 | (Volume.sArithmeticLocal_quotientProbability_of_full G (SelectedArithmeticProduct.selectedArithmeticPlaces S T) |
| 87 | (fun v => Finset.mem_union_left _ (harch v))) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.Quaternion.Arithmetic.AmbientProjection |