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 Integral Neighborhoods -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RestrictedIntegralNeighborhoods.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! ThetaCycle: inside the product of the actual local integral subgroups, |
| 10 | a restricted-product neighborhood imposes conditions at only finitely |
| 11 | many places, in the original local group topologies. -/ |
| 12 | |
| 13 | open Filter |
| 14 | open scoped Classical RestrictedProduct _root_.Topology |
| 15 | |
| 16 | theorem restricted_integral_neighborhood {I : Type*} {G : I → Type*} |
| 17 | [∀ i, Group (G i)] [∀ i, TopologicalSpace (G i)] |
| 18 | (K : ∀ i, Subgroup (G i)) |
| 19 | (U : Set (RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K)) |
| 20 | (hU : U ∈ 𝓝 (1 : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K)) : |
| 21 | ∃ (J : Finset I) (V : ∀ i, Set (G i)), (∀ i, V i ∈ 𝓝 (1 : G i)) ∧ |
| 22 | ∀ g : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K, |
| 23 | (∀ i, g i ∈ K i) → (∀ i ∈ J, g i ∈ V i) → g ∈ U := by |
| 24 | let f : (∀ i, K i) → RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K := |
| 25 | RestrictedProduct.structureMap G (fun i => (K i : Set (G i))) cofinite |
| 26 | have hf : Continuous f := RestrictedProduct.isEmbedding_structureMap.continuous |
| 27 | have hone : f 1 = 1 := rfl |
| 28 | have hpre : f ⁻¹' U ∈ 𝓝 (1 : ∀ i, K i) := hf.continuousAt.preimage_mem_nhds (hone.symm ▸ hU) |
| 29 | rw [nhds_pi] at hpre |
| 30 | obtain ⟨J, W, hW, hsub⟩ := mem_pi'.mp hpre |
| 31 | have he (i : I) : ∃ V : Set (G i), V ∈ 𝓝 (1 : G i) ∧ |
| 32 | (fun x : K i => (x : G i)) ⁻¹' V ⊆ W i := by |
| 33 | have h := hW i |
| 34 | rw [nhds_subtype_eq_comap] at h |
| 35 | exact mem_comap.mp h |
| 36 | choose V hV hVW using he |
| 37 | refine ⟨J, V, hV, ?_⟩ |
| 38 | intro g hg hJ |
| 39 | let x : ∀ i, K i := fun i => ⟨g i, hg i⟩ |
| 40 | have hx : x ∈ Set.pi (J : Set I) W := by |
| 41 | intro i hi |
| 42 | exact hVW i (hJ i hi) |
| 43 | have hfg : f x = g := by |
| 44 | apply RestrictedProduct.ext |
| 45 | intro i |
| 46 | rfl |
| 47 | have hh : f x ∈ U := hsub hx |
| 48 | exact hfg ▸ hh |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RestrictedIntegralNeighborhoods.CM |