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.FiniteSpecialLinearCorrection |
| 2 | |
| 3 | /-! # Compact Restricted Boxes -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.CompactRestrictedBoxes |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compact coordinate boxes in a restricted product. The coordinate |
| 10 | boxes lie in the distinguished subsets outside a finite set. -/ |
| 11 | |
| 12 | open scoped Classical RestrictedProduct |
| 13 | open Set Filter _root_.Topology |
| 14 | |
| 15 | theorem isCompact_restricted_product_box {ι : Type*} (R : ι → Type*) |
| 16 | [∀ i, TopologicalSpace (R i)] (A K : (i : ι) → Set (R i)) |
| 17 | (hK : ∀ i, IsCompact (K i)) (hKA : ∀ᶠ i in cofinite, K i ⊆ A i) : |
| 18 | IsCompact {x : Πʳ i, [R i, A i] | ∀ i, x i ∈ K i} := by |
| 19 | let S : Set ι := {i | K i ⊆ A i} |
| 20 | have hS : cofinite ≤ 𝓟 S := le_principal_iff.mpr hKA |
| 21 | let f : ((i : ι) → K i) → Πʳ i, [R i, A i]_[𝓟 S] := |
| 22 | fun x => ⟨fun i => (x i).val, fun i hi => hi (x i).property⟩ |
| 23 | have hf : Continuous f := RestrictedProduct.continuous_rng_of_principal.mpr |
| 24 | (continuous_pi (fun i => continuous_subtype_val.comp (continuous_apply i))) |
| 25 | let j := RestrictedProduct.inclusion R A hS |
| 26 | have hj : Continuous j := RestrictedProduct.continuous_inclusion hS |
| 27 | let : ∀ i, CompactSpace (K i) := fun i => isCompact_iff_compactSpace.mp (hK i) |
| 28 | have hc := isCompact_univ.image (hj.comp hf) |
| 29 | have he : (j ∘ f) '' Set.univ = {x : Πʳ i, [R i, A i] | ∀ i, x i ∈ K i} := by |
| 30 | ext x |
| 31 | constructor |
| 32 | · rintro ⟨y, _, rfl⟩ i |
| 33 | exact (y i).property |
| 34 | · intro hx |
| 35 | exact ⟨fun i => ⟨x i, hx i⟩, trivial, rfl⟩ |
| 36 | rw [he] at hc |
| 37 | exact hc |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.Quaternion.Arithmetic.CompactRestrictedBoxes |