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.Geometry.ComplexTorus.RiemannProjectivity.ReducedFamiliesOn |
| 2 | |
| 3 | /-! # Glue Reduced -/ |
| 4 | |
| 5 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.GlueReduced.Constructions.GlueReducedFamilies |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # RiemannProjectivity: gluing canonical local polynomial families -/ |
| 10 | |
| 11 | open Set Filter _root_.Polynomial |
| 12 | open scoped _root_.Topology |
| 13 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ReducedFamiliesOn.Constructions.ReducedFamilies |
| 14 | |
| 15 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 16 | |
| 17 | theorem congr {S : Set (V × ℂ)} {U : Set V} {P Q : V → ℂ[X]} |
| 18 | (hP : ReducedFamiliesOn.Constructions.ReducedFamilies.On S U P) (heq : EqOn Q P U) : ReducedFamiliesOn.Constructions.ReducedFamilies.On S U Q := by |
| 19 | refine ⟨fun j => (hP.holomorphic j).congr (fun y hy => congrArg (fun p : ℂ[X] => p.coeff j) |
| 20 | (heq hy)), ?_, ?_, ?_, ?_⟩ |
| 21 | · intro y hy |
| 22 | rw [heq hy] |
| 23 | exact hP.monic y hy |
| 24 | · obtain ⟨k, hk⟩ := hP.constant_degree |
| 25 | exact ⟨k, fun y hy => by rw [heq hy]; exact hk y hy⟩ |
| 26 | · intro y hy z |
| 27 | rw [heq hy] |
| 28 | exact hP.roots y hy z |
| 29 | · obtain ⟨c, hc, hn, hs⟩ := hP.generic |
| 30 | exact ⟨c, hc, hn, fun y hy hcy => by rw [heq hy]; exact hs y hy hcy⟩ |
| 31 | |
| 32 | theorem exists_global {S : Set (V × ℂ)} {B : Set V} |
| 33 | (hlocal : ∀ x ∈ B, ∃ (U : Set V) (P : V → ℂ[X]), |
| 34 | IsOpen U ∧ x ∈ U ∧ U ⊆ B ∧ ReducedFamiliesOn.Constructions.ReducedFamilies.On S U P) : |
| 35 | ∃ Q : V → ℂ[X], |
| 36 | (∀ j, DifferentiableOn ℂ (fun y => (Q y).coeff j) B) ∧ |
| 37 | (∀ y ∈ B, (Q y).Monic) ∧ |
| 38 | (∀ y ∈ B, ∀ z, (y, z) ∈ S ↔ (Q y).eval z = 0) ∧ |
| 39 | ∀ x ∈ B, ∃ U : Set V, IsOpen U ∧ x ∈ U ∧ U ⊆ B ∧ ReducedFamiliesOn.Constructions.ReducedFamilies.On S U Q := by |
| 40 | classical |
| 41 | choose U P hU hxU hUB hP using (fun x : B => hlocal x x.property) |
| 42 | let Q : V → ℂ[X] := fun y => if hy : y ∈ B then P ⟨y, hy⟩ y else 1 |
| 43 | have hQeq (x : B) : EqOn Q (P x) (U x) := by |
| 44 | intro y hy |
| 45 | have hyB := hUB x hy |
| 46 | simp only [Q, dite_eq_left hyB] |
| 47 | exact ReducedFamiliesOn.Constructions.ReducedFamilies.eq_at (hU ⟨y, hyB⟩) (hU x) (hP ⟨y, hyB⟩) (hP x) |
| 48 | (hxU ⟨y, hyB⟩) hy |
| 49 | have hOn (x : B) : ReducedFamiliesOn.Constructions.ReducedFamilies.On S (U x) Q := GlueReducedFamilies.congr (hP x) (hQeq x) |
| 50 | refine ⟨Q, ?_, ?_, ?_, ?_⟩ |
| 51 | · intro j y hy |
| 52 | exact (((hOn ⟨y, hy⟩).holomorphic j).differentiableAt |
| 53 | ((hU ⟨y, hy⟩).mem_nhds (hxU ⟨y, hy⟩))).differentiableWithinAt |
| 54 | · intro y hy |
| 55 | exact (hOn ⟨y, hy⟩).monic y (hxU ⟨y, hy⟩) |
| 56 | · intro y hy |
| 57 | exact (hOn ⟨y, hy⟩).roots y (hxU ⟨y, hy⟩) |
| 58 | · intro y hy |
| 59 | exact ⟨U ⟨y, hy⟩, hU ⟨y, hy⟩, hxU ⟨y, hy⟩, hUB ⟨y, hy⟩, hOn ⟨y, hy⟩⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.GlueReduced.Constructions.GlueReducedFamilies |