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 Controlled Continuity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedControlledContinuity.Approximation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A map to a restricted product is continuous when its local maps are |
| 10 | continuous and finitely many continuous adele coordinates control its |
| 11 | integrality. This also applies to entries and inverse entries of matrices. -/ |
| 12 | |
| 13 | open scoped Classical RestrictedProduct |
| 14 | open Filter |
| 15 | |
| 16 | theorem continuous_restricted_of_finite_controls |
| 17 | {X I J : Type*} [TopologicalSpace X] [Finite J] |
| 18 | {G : I → Type*} [∀ v, TopologicalSpace (G v)] (K : ∀ v, Set (G v)) |
| 19 | {R : J → I → Type*} [∀ j v, TopologicalSpace (R j v)] |
| 20 | (S : ∀ j v, Set (R j v)) (hS : ∀ j v, IsOpen (S j v)) |
| 21 | (a : ∀ j, X → RestrictedProduct (R j) (S j) cofinite) |
| 22 | (ha : ∀ j, Continuous (a j)) |
| 23 | (f : X → RestrictedProduct G K cofinite) |
| 24 | (hf : ∀ v, Continuous (fun x => f x v)) |
| 25 | (hcontrol : ∀ x v, (∀ j, a j x v ∈ S j v) → f x v ∈ K v) : |
| 26 | Continuous f := by |
| 27 | rw [continuous_iff_continuousAt] |
| 28 | intro x |
| 29 | let T : Set I := {v | ∀ j, a j x v ∈ S j v} |
| 30 | have hT : cofinite ≤ principal T := by |
| 31 | rw [le_principal_iff] |
| 32 | exact eventually_all.mpr (fun j => (a j x).property) |
| 33 | let U : Set X := {y | ∀ j, ∀ v ∈ T, a j y v ∈ S j v} |
| 34 | have hU : IsOpen U := by |
| 35 | have hUeq : U = ⋂ j, {y | ∀ v ∈ T, a j y v ∈ S j v} := by |
| 36 | ext y |
| 37 | simp only [U, Set.mem_ofPred_eq, Set.mem_iInter] |
| 38 | rw [hUeq] |
| 39 | apply isOpen_iInter_of_finite |
| 40 | intro j |
| 41 | exact (RestrictedProduct.isOpen_forall_imp_mem (hS j) (p := fun v => v ∈ T)).preimage (ha j) |
| 42 | have hx : x ∈ U := fun j v hv => hv j |
| 43 | let fT : U → RestrictedProduct G K (principal T) := fun y => |
| 44 | ⟨fun v => f y.val v, by |
| 45 | rw [eventually_principal] |
| 46 | intro v hv |
| 47 | exact hcontrol y.val v (fun j => y.property j v hv)⟩ |
| 48 | have hfT : Continuous fT := by |
| 49 | apply RestrictedProduct.continuous_rng_of_principal.mpr |
| 50 | exact continuous_pi (fun v => (hf v).comp continuous_subtype_val) |
| 51 | have hrestrict : Continuous (fun y : U => f y.val) := |
| 52 | (RestrictedProduct.continuous_inclusion hT).comp hfT |
| 53 | exact (continuousOn_iff_continuous_domRestrict.mpr hrestrict).continuousAt (hU.mem_nhds hx) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedControlledContinuity.Approximation |