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.Product |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.IntegralBlockComplement |
| 3 | |
| 4 | /-! # Block Complement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.BlockComplement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual S-integral arithmetic points for a selected block have |
| 11 | integral coordinates in its complement, with exactly the expected |
| 12 | arithmetic subgroup as their projection to the block. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open IsDedekindDomain Set |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} {ι : Type*} [Fintype ι] |
| 18 | |
| 19 | def arithmeticBlockPlaces (S : Finset (LocalAdeles.Place F)) |
| 20 | (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) : Finset (LocalAdeles.Place F) := |
| 21 | S ∪ Finset.univ.image (fun i : {i : ι // p i} => Sum.inr (v i.val)) |
| 22 | |
| 23 | omit [NumberField F] in |
| 24 | theorem arithmeticBlockPlaces_contains_base (S : Finset (LocalAdeles.Place F)) |
| 25 | (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) : S ⊆ arithmeticBlockPlaces S v p := |
| 26 | Finset.subset_union_left |
| 27 | |
| 28 | omit [NumberField F] in |
| 29 | theorem arithmeticBlockPlaces_contains_block (S : Finset (LocalAdeles.Place F)) |
| 30 | (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) (i : {i : ι // p i}) : |
| 31 | Sum.inr (v i.val) ∈ arithmeticBlockPlaces S v p := |
| 32 | Finset.mem_union_right _ (Finset.mem_image.mpr ⟨i, Finset.mem_univ _, rfl⟩) |
| 33 | |
| 34 | omit [NumberField F] in |
| 35 | theorem arithmeticBlockPlaces_subset (S U : Finset (LocalAdeles.Place F)) |
| 36 | (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) |
| 37 | (hSU : S ⊆ U) (hU : ∀ i, Sum.inr (v i) ∈ U) : arithmeticBlockPlaces S v p ⊆ U := by |
| 38 | intro w hw |
| 39 | rcases Finset.mem_union.mp hw with hs | hb |
| 40 | · exact hSU hs |
| 41 | · obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hb |
| 42 | exact hU i.val |
| 43 | |
| 44 | theorem arithmeticBlock_integral_elsewhere (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 45 | (S : Finset (LocalAdeles.Place F)) (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) |
| 46 | (hv : Function.Injective v) (haway : ∀ i, Sum.inr (v i) ∉ S) |
| 47 | (g : Groups.sIntegralPoints G (arithmeticBlockPlaces S v p : Set (LocalAdeles.Place F))) |
| 48 | (i : {i : ι // ¬ p i}) : LocalAdeles.diagonalLocal G (Sum.inr (v i.val)) g.val ∈ |
| 49 | LocalAdeles.integralLocalSubgroup G (Sum.inr (v i.val)) := by |
| 50 | apply g.property |
| 51 | intro hi |
| 52 | rcases Finset.mem_union.mp hi with hs | hb |
| 53 | · exact haway i.val hs |
| 54 | · obtain ⟨j, _, he⟩ := Finset.mem_image.mp hb |
| 55 | exact i.property ((hv (Sum.inr.inj he)) ▸ j.property) |
| 56 | |
| 57 | def arithmeticBlockComplementEmbedding (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 58 | (S : Finset (LocalAdeles.Place F)) (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) |
| 59 | (hv : Function.Injective v) (haway : ∀ i, Sum.inr (v i) ∉ S) : |
| 60 | Groups.sIntegralPoints G (arithmeticBlockPlaces S v p : Set (LocalAdeles.Place F)) →* |
| 61 | (IntegralBlockComplement.integralBlockComplement G v p × IntegralBlockComplement.localBlockPoints G v p) where |
| 62 | toFun g := (fun i => ⟨LocalAdeles.diagonalLocal G (Sum.inr (v i.val)) g.val, |
| 63 | arithmeticBlock_integral_elsewhere G S v p hv haway g i⟩, |
| 64 | fun i => LocalAdeles.diagonalLocal G (Sum.inr (v i.val)) g.val) |
| 65 | map_one' := by |
| 66 | apply Prod.ext |
| 67 | · funext i; apply Subtype.ext; exact map_one _ |
| 68 | · funext i; exact map_one _ |
| 69 | map_mul' g h := by |
| 70 | apply Prod.ext |
| 71 | · funext i; apply Subtype.ext; exact map_mul _ _ _ |
| 72 | · funext i; exact map_mul _ _ _ |
| 73 | |
| 74 | theorem arithmeticBlockComplementEmbedding_insert (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 75 | (S : Finset (LocalAdeles.Place F)) (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) |
| 76 | (hv : Function.Injective v) (haway : ∀ i, Sum.inr (v i) ∉ S) |
| 77 | (g : Groups.sIntegralPoints G (arithmeticBlockPlaces S v p : Set (LocalAdeles.Place F))) : |
| 78 | IntegralBlockComplement.insertIntegralBlockComplement G v p (arithmeticBlockComplementEmbedding G S v p hv haway g) = |
| 79 | Product.diagonalFiniteProduct G v g.val := by |
| 80 | funext i |
| 81 | by_cases hi : p i <;> |
| 82 | simp [IntegralBlockComplement.insertIntegralBlockComplement, arithmeticBlockComplementEmbedding, Product.diagonalFiniteProduct, hi] |
| 83 | |
| 84 | theorem arithmeticBlockComplementEmbedding_projection_range (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 85 | (S : Finset (LocalAdeles.Place F)) (v : ι → HeightOneSpectrum (𝓞 F)) (p : ι → Prop) |
| 86 | (hv : Function.Injective v) (haway : ∀ i, Sum.inr (v i) ∉ S) : |
| 87 | (arithmeticBlockComplementEmbedding G S v p hv haway).range.map (MonoidHom.snd _ _) = |
| 88 | Product.arithmeticProductSubgroup G (arithmeticBlockPlaces S v p) (fun i : {i : ι // p i} => v i.val) := by |
| 89 | rw [MonoidHom.map_range] |
| 90 | ext x |
| 91 | constructor |
| 92 | · rintro ⟨g, rfl⟩ |
| 93 | exact ⟨g.val, g.property, rfl⟩ |
| 94 | · rintro ⟨g, hg, rfl⟩ |
| 95 | exact ⟨⟨g, hg⟩, rfl⟩ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.NumberTheory.Quaternion.Arithmetic.BlockComplement |