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.IntegralCompact |
| 2 | |
| 3 | /-! # Integral Complement -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.IntegralComplement |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! One local factor together with the compact integral groups at the |
| 10 | other selected places, and its continuous inclusion into the product. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField |
| 13 | open IsDedekindDomain |
| 14 | |
| 15 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} {ι : Type*} |
| 16 | |
| 17 | abbrev integralComplement (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (v : ι → HeightOneSpectrum (𝓞 F)) (i : ι) := |
| 18 | ∀ j : {j : ι // j ≠ i}, LocalAdeles.integralLocalSubgroup G (Sum.inr (v j.val)) |
| 19 | |
| 20 | instance integralComplementCompact (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 21 | (v : ι → HeightOneSpectrum (𝓞 F)) (i : ι) : CompactSpace (integralComplement G v i) := by |
| 22 | let : ∀ j : {j : ι // j ≠ i}, CompactSpace (LocalAdeles.integralLocalSubgroup G (Sum.inr (v j.val))) := |
| 23 | fun j => isCompact_iff_compactSpace.mp (IntegralCompact.integralLocalSubgroup_isCompact G (v j.val)) |
| 24 | infer_instance |
| 25 | |
| 26 | def insertIntegralComplement (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 27 | (v : ι → HeightOneSpectrum (𝓞 F)) (i : ι) : |
| 28 | (integralComplement G v i × LocalAdeles.LocalPoints G (Sum.inr (v i))) →* |
| 29 | (∀ j, LocalAdeles.LocalPoints G (Sum.inr (v j))) where |
| 30 | toFun x j := if h : j = i then h.symm ▸ x.2 else (x.1 ⟨j, h⟩).val |
| 31 | map_one' := by |
| 32 | funext j |
| 33 | dsimp only |
| 34 | split_ifs with h |
| 35 | · subst j; rfl |
| 36 | · rfl |
| 37 | map_mul' x y := by |
| 38 | funext j |
| 39 | by_cases h : j = i |
| 40 | · subst j |
| 41 | simp |
| 42 | · simp [h] |
| 43 | |
| 44 | @[simp] theorem insertIntegralComplement_self (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 45 | (v : ι → HeightOneSpectrum (𝓞 F)) (i : ι) |
| 46 | (x : integralComplement G v i × LocalAdeles.LocalPoints G (Sum.inr (v i))) : |
| 47 | insertIntegralComplement G v i x i = x.2 := by |
| 48 | simp [insertIntegralComplement] |
| 49 | |
| 50 | theorem insertIntegralComplement_continuous (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 51 | (v : ι → HeightOneSpectrum (𝓞 F)) (i : ι) : Continuous (insertIntegralComplement G v i) := by |
| 52 | have hc : Continuous (fun x : integralComplement G v i => |
| 53 | fun j : {j : ι // j ≠ i} => (x j).val) := |
| 54 | Continuous.piMap (fun _ => continuous_subtype_val) |
| 55 | exact (Homeomorph.piSplitAt i (fun j => LocalAdeles.LocalPoints G (Sum.inr (v j)))).symm.continuous.comp |
| 56 | (continuous_snd.prodMk (hc.comp continuous_fst)) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.Quaternion.Arithmetic.IntegralComplement |