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.RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits |
| 2 | |
| 3 | /-! # Restricted Open Factors -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedOpenFactors.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An open subgroup of a restricted product contains every supported |
| 10 | integral local subgroup outside a finite set of places. -/ |
| 11 | |
| 12 | open scoped Classical RestrictedProduct _root_.Topology |
| 13 | open Filter OAI.RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction |
| 14 | |
| 15 | variable {I : Type*} {G : I → Type*} [∀ i, Group (G i)] [∀ i, TopologicalSpace (G i)] |
| 16 | (K : ∀ i, Subgroup (G i)) |
| 17 | |
| 18 | def integralFamily : (∀ i, K i) →* RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K where |
| 19 | toFun f := ⟨fun i => (f i).val, Eventually.of_forall (fun i => (f i).property)⟩ |
| 20 | map_one' := rfl |
| 21 | map_mul' _ _ := rfl |
| 22 | |
| 23 | theorem integralFamily_continuous : Continuous (integralFamily K) := |
| 24 | (RestrictedProduct.continuous_inclusion (R := G) (A := fun i => (K i : Set (G i))) |
| 25 | (show cofinite ≤ ⊤ from le_top)).comp |
| 26 | (RestrictedProduct.homeoTop (R := G) (A := fun i => (K i : Set (G i)))).continuous |
| 27 | |
| 28 | omit [∀ i, TopologicalSpace (G i)] in |
| 29 | theorem family_single (i : I) (g : K i) : |
| 30 | integralFamily K (Pi.mulSingle i g) = RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace K i g.val := by |
| 31 | apply RestrictedProduct.ext |
| 32 | intro j |
| 33 | change (((Pi.mulSingle i g : ∀ i, K i) j) : G j) = (RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace K i g.val) j |
| 34 | by_cases h : j = i |
| 35 | · subst j |
| 36 | rw [Pi.mulSingle_eq_same, RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace_same] |
| 37 | · rw [Pi.mulSingle_eq_of_ne h, RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace_other K h] |
| 38 | rfl |
| 39 | |
| 40 | theorem cofinite (U : OpenSubgroup (RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K)) : |
| 41 | ∀ᶠ i in Filter.cofinite, ∀ g ∈ K i, RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace K i g ∈ U := by |
| 42 | have hopen : IsOpen ((integralFamily K) ⁻¹' (U : Set (RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K))) := |
| 43 | U.isOpen.preimage (integralFamily_continuous K) |
| 44 | have hone : (1 : ∀ i, K i) ∈ (integralFamily K) ⁻¹' (U : Set (RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K)) := by |
| 45 | change integralFamily K 1 ∈ U |
| 46 | rw [map_one] |
| 47 | exact U.one_mem |
| 48 | obtain ⟨S, V, hV, hsub⟩ := isOpen_pi_iff.mp hopen 1 hone |
| 49 | have hS : ∀ᶠ i in Filter.cofinite, i ∉ S := by |
| 50 | rw [Filter.eventually_cofinite] |
| 51 | exact S.finite_toSet.subset (fun i hi => Classical.not_not.mp hi) |
| 52 | filter_upwards [hS] with i hi |
| 53 | intro g hg |
| 54 | have hf : Pi.mulSingle i (⟨g, hg⟩ : K i) ∈ (S : Set I).pi V := by |
| 55 | intro j hj |
| 56 | have hji : j ≠ i := by intro h; subst j; exact hi hj |
| 57 | rw [Pi.mulSingle_eq_of_ne hji] |
| 58 | exact (hV j hj).2 |
| 59 | have hm := hsub hf |
| 60 | change integralFamily K (Pi.mulSingle i (⟨g, hg⟩ : K i)) ∈ U at hm |
| 61 | rwa [family_single] at hm |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedOpenFactors.CM |