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.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Groups |
| 2 | import Mathlib.Topology.Maps.Proper.Basic |
| 3 | |
| 4 | /-! # Compact Principal Level -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CompactPrincipalLevel.Approximation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A continuous linear action has open principal levels on a compact |
| 11 | open lattice whenever the corresponding multiple of that lattice is open. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem compact_forall_mem_open {X V W : Type*} |
| 16 | [TopologicalSpace X] [TopologicalSpace V] [TopologicalSpace W] |
| 17 | (f : X × V → W) (hf : Continuous f) (K : Set V) (hK : IsCompact K) |
| 18 | (U : Set W) (hU : IsOpen U) : |
| 19 | IsOpen {x | ∀ v ∈ K, f (x, v) ∈ U} := by |
| 20 | let : CompactSpace K := isCompact_iff_compactSpace.mp hK |
| 21 | have hc : Continuous (fun p : X × K => f (p.1, p.2.val)) := |
| 22 | hf.comp (continuous_fst.prodMk (continuous_subtype_val.comp continuous_snd)) |
| 23 | have hs : IsClosed {p : X × K | f (p.1, p.2.val) ∉ U} := hU.isClosed_compl.preimage hc |
| 24 | have hp := isClosedMap_fst_of_compactSpace _ hs |
| 25 | have he : {x | ∀ v ∈ K, f (x, v) ∈ U} = |
| 26 | (Prod.fst '' {p : X × K | f (p.1, p.2.val) ∉ U})ᶜ := by |
| 27 | ext x |
| 28 | constructor |
| 29 | · intro hx |
| 30 | rintro ⟨⟨y, v⟩, hy, he⟩ |
| 31 | exact hy (he ▸ hx v.val v.property) |
| 32 | · intro hx v hv |
| 33 | by_contra h |
| 34 | exact hx ⟨(x, ⟨v, hv⟩), h, rfl⟩ |
| 35 | rw [he] |
| 36 | exact hp.isOpen_compl |
| 37 | |
| 38 | variable {R V G : Type*} [CommRing R] [AddCommGroup V] [Module R V] |
| 39 | [TopologicalSpace V] [IsTopologicalAddGroup V] |
| 40 | [Group G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 41 | (ρ : G →* (V ≃ₗ[R] V)) (hρ : Continuous (fun p : G × V => ρ p.1 p.2)) |
| 42 | (L : AddSubgroup V) (hL : IsOpen (L : Set V)) (hLc : IsCompact (L : Set V)) (N : ℕ) |
| 43 | |
| 44 | include hρ hL hLc in |
| 45 | theorem principal_lattice_comap_open |
| 46 | (hN : IsOpen {z : V | ∃ y ∈ L, z = N • y}) : |
| 47 | IsOpen ((AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup (R := R) L N).comap ρ : Set G) := by |
| 48 | let A : Set G := {g | ∀ x ∈ L, ρ g x ∈ L} |
| 49 | let B : Set G := {g | ∀ x ∈ L, ρ g x - x ∈ {z : V | ∃ y ∈ L, z = N • y}} |
| 50 | have hA : IsOpen A := compact_forall_mem_open _ hρ _ hLc _ hL |
| 51 | have hB : IsOpen B := compact_forall_mem_open _ (hρ.sub continuous_snd) _ hLc _ hN |
| 52 | have hcancel (g : G) (x : V) : ρ (g⁻¹) (ρ g x) = x := by |
| 53 | rw [map_inv] |
| 54 | exact (ρ g).symm_apply_apply x |
| 55 | have hcancel' (g : G) (x : V) : ρ g (ρ (g⁻¹) x) = x := by |
| 56 | rw [map_inv] |
| 57 | exact (ρ g).apply_symm_apply x |
| 58 | have he : ((AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup (R := R) L N).comap ρ : Set G) = |
| 59 | (A ∩ (fun g : G => g⁻¹) ⁻¹' A) ∩ B := by |
| 60 | ext g |
| 61 | change ((∀ x, x ∈ L ↔ ρ g x ∈ L) ∧ (∀ x ∈ L, ∃ y ∈ L, ρ g x - x = N • y)) ↔ |
| 62 | ((g ∈ A ∧ g⁻¹ ∈ A) ∧ g ∈ B) |
| 63 | constructor |
| 64 | · rintro ⟨hpres, hcong⟩ |
| 65 | refine ⟨⟨fun x hx => (hpres x).mp hx, ?_⟩, hcong⟩ |
| 66 | intro x hx |
| 67 | exact (hpres (ρ (g⁻¹) x)).mpr ((hcancel' g x).symm ▸ hx) |
| 68 | · rintro ⟨⟨hpos, hneg⟩, hcong⟩ |
| 69 | refine ⟨fun x => ⟨hpos x, fun hx => ?_⟩, hcong⟩ |
| 70 | exact hcancel g x ▸ hneg (ρ g x) hx |
| 71 | rw [he] |
| 72 | exact (hA.inter (hA.preimage continuous_inv)).inter hB |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CompactPrincipalLevel.Approximation |