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.Resolution.Blowups.Uniform.IncidenceSurfaceProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.BoundedChoicePullback |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.EtaleDataPullback |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.EtalePullbackExistence |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.ComparisonBoundary |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.ComparisonOpen |
| 7 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.Bounds |
| 8 | |
| 9 | /-! # Surface Program Etale Pullback -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Construct the complete prescribed-level surface program on an étale pullback, retaining every actual comparison. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem IncidenceSurfaceProgram.Construction.UniformIncidenceSurfaceProgram.exists_etale_pullback |
| 20 | {n m : ℕ} {β : Type} [Fintype β] {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 21 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 22 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 23 | (H : IncidenceSurfaceProgram.Construction.UniformIncidenceSurfaceProgram n m β X f J D Y g K P) : |
| 24 | ∀ [Smooth f] (V : Scheme) [IsIntegral V] [IsLocallyNoetherian V] [CompactSpace V], |
| 25 | topologicalKrullDim V ≤ 2 → ∀ (h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : V.IdealSheafData) |
| 26 | (E : β → V.IdealSheafData) (q : V ⟶ X) [Etale q], |
| 27 | q ≫ f = h → J.comap q = L → (∀ l, (D l).comap q = E l) → |
| 28 | ∃ (W : Scheme) (k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : W.IdealSheafData) |
| 29 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V h L W k M) (r : W ⟶ Y), |
| 30 | IncidenceSurfaceProgram.Construction.UniformIncidenceSurfaceProgram n m β V h L E W k M Q ∧ P.EtaleComparison Q q r := by |
| 31 | induction H with |
| 32 | | @terminal m β hβ X f hf J D hstop A ht => |
| 33 | intro _ V _ _ _ _ h L E q _ hstructure hL hD |
| 34 | subst h |
| 35 | subst L |
| 36 | have he : (fun l => (D l).comap q) = E := funext hD |
| 37 | subst E |
| 38 | have ht' : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (q ≫ f) (J.comap q) n = ⊤ := by |
| 39 | rw [← Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothDifferentialIdealSheaf_comap_etale, ht, Scheme.IdealSheafData.comap_top] |
| 40 | exact ⟨V, q ≫ f, J.comap q, .stop, q, .terminal hstop (A.comapEtale f q) ht', |
| 41 | inferInstance, rfl, rfl, rfl⟩ |
| 42 | | @refine ℓ β hβ X hX hNX hCX f J D A hb hd hlevel AM Y Z g k K M P hcenters hcount hP Q tail ih => |
| 43 | intro _ V _ _ _ hdV h L E q _ hstructure hL hD |
| 44 | subst h |
| 45 | subst L |
| 46 | have he : (fun l => (D l).comap q) = E := funext hD |
| 47 | subst E |
| 48 | obtain ⟨B, hbB⟩ := A.exists_bounded_etale_pullback (ℓ + 1) hb q |
| 49 | let hdB := B.chart_dimension_le 2 hdV |
| 50 | have hcenter := A.surfaceCenter_comap_etale ℓ hb hd hlevel q B hbB hdB |
| 51 | let BM : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas (q ≫ f) (B.surfaceCenter ℓ hbB hdB hlevel) |
| 52 | (fun l => (D l).comap q) := by |
| 53 | rw [← hcenter] |
| 54 | exact AM.comapEtale f q |
| 55 | obtain ⟨V', h', L', P', r, hc⟩ := P.exists_etale_pullback V (q ≫ f) (J.comap q) q rfl rfl |
| 56 | let : Smooth g := P.endpoint_smooth |
| 57 | let : Smooth h' := P'.endpoint_smooth |
| 58 | let : IsIntegral V' := P'.endpoint_integral |
| 59 | let : IsLocallyNoetherian V' := LocallyOfFiniteType.isLocallyNoetherian h' |
| 60 | let : CompactSpace V' := QuasiCompact.compactSpace_of_compactSpace P'.toBase |
| 61 | obtain ⟨hr, _, hK⟩ := hc.endpoint_pullback P P' q r |
| 62 | let : Etale r := hr |
| 63 | have hrstructure := hc.endpoint_structure P P' q r |
| 64 | have hcount' : P'.stepCount = Fintype.card (Finset β) := (hc.stepCount_eq P P' q r).symm.trans hcount |
| 65 | have hcenters' := hc.followsCenters P P' q r _ hcenters |
| 66 | rw [A.surfaceIncidenceCenters_comap_etale ℓ hb hd hlevel D AM q (q ≫ f) (J.comap q) |
| 67 | B hbB hdB (fun l => (D l).comap q) BM rfl rfl (fun _ => rfl)] at hcenters' |
| 68 | have hP' := hc.uniformBoundaryCompatible P P' q r β D hP |
| 69 | have hboundary := hc.boundaryAtLength P P' q r β D (fun l => (D l).comap q) |
| 70 | (fun _ => rfl) (Fintype.card (Finset β)) hcount hcount' |
| 71 | obtain ⟨W, k', M', Q', s, hQ', hcomp⟩ := ih V' (P'.endpoint_dimension_le 2 hdV) h' L' |
| 72 | (P'.boundaryAtLength (fun l => (D l).comap q) _ hcount') r hrstructure hK |
| 73 | (fun l => congrFun hboundary l) |
| 74 | exact ⟨W, k', M', P'.append Q', s, |
| 75 | .refine B hbB hdB hlevel BM P' hcenters' hcount' hP' Q' hQ', |
| 76 | hc.append P P' q r Q Q' s hcomp⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |