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.Dimension.CoefficientProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.UniformAtlasEtalePullback |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.SameEtalePullbackExistence |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.SameSymmetry |
| 5 | |
| 6 | /-! # Coefficient Named Pullback -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Dimension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Actual étale restrictions retain complete dimension-indexed coefficient phases and their homogeneous witnesses. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | theorem CoefficientProgram.Construction.DimensionCoefficientProgram.of_etale_comparison |
| 19 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 20 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 21 | {X Y V W : Scheme} [CompactSpace V] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J : X.IdealSheafData} |
| 22 | {D : β → X.IdealSheafData} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 23 | {K : Y.IdealSheafData} {M : W.IdealSheafData} {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 24 | (A : CoefficientProgram.Construction.DimensionCoefficientProgram 𝒮 schedule f J D P) (q : V ⟶ X) [Etale q] |
| 25 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V (q ≫ f) (J.comap q) W k M) |
| 26 | (r : W ⟶ Y) (hc : P.EtaleComparison Q q r) : |
| 27 | CoefficientProgram.Construction.DimensionCoefficientProgram 𝒮 schedule (q ≫ f) (J.comap q) (fun l => (D l).comap q) Q := by |
| 28 | classical |
| 29 | refine ⟨hc.hasIncidenceTrace P Q q r β D (𝒮.incidenceTrace schedule) A.trace, |
| 30 | hc.endpoint_order_bound P Q q r n A.terminal, ?_⟩ |
| 31 | by_cases ht : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (q ≫ f) (J.comap q) n = ⊤ |
| 32 | · exact Or.inl ht |
| 33 | rcases A.witness with hstart | ⟨L, R, ⟨AR⟩, same⟩ |
| 34 | · apply False.elim |
| 35 | apply ht |
| 36 | rw [← Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothDifferentialIdealSheaf_comap_etale, hstart, Scheme.IdealSheafData.comap_top] |
| 37 | · obtain ⟨L', R', same', hR'⟩ := same.symm.exists_etale_pullback_transport Q q r hc |
| 38 | (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (q ≫ f) (J.comap q) n) (Global.HomogenizationEtalePullback.Construction.smoothHomogenizedIdealSheaf_comap_etale f J n q) |
| 39 | obtain ⟨AR'⟩ := AR.exists_on_etale_comparison q R' r hR' ht |
| 40 | exact Or.inr ⟨L', R', ⟨AR'⟩, same'.symm⟩ |
| 41 | |
| 42 | theorem CoefficientProgram.Construction.DimensionCoefficientProgram.exists_etaleComparison |
| 43 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 44 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 45 | {X Y V W : Scheme} [IsIntegral V] [IsLocallyNoetherian V] [CompactSpace V] |
| 46 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth h] |
| 47 | {J : X.IdealSheafData} {L : V.IdealSheafData} {D : β → X.IdealSheafData} {E : β → V.IdealSheafData} |
| 48 | {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} {M : W.IdealSheafData} |
| 49 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} {Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V h L W k M} |
| 50 | (A : CoefficientProgram.Construction.DimensionCoefficientProgram 𝒮 schedule f J D P) (B : CoefficientProgram.Construction.DimensionCoefficientProgram 𝒮 schedule h L E Q) |
| 51 | (q : V ⟶ X) [Etale q] (hf : q ≫ f = h) (hJ : J.comap q = L) (hD : ∀ l, (D l).comap q = E l) : |
| 52 | ∃ r : W ⟶ Y, P.EtaleComparison Q q r := by |
| 53 | subst h |
| 54 | subst L |
| 55 | have he : (fun l => (D l).comap q) = E := funext hD |
| 56 | subst E |
| 57 | obtain ⟨Z, z, N, R, r, hr⟩ := P.exists_etale_pullback V (q ≫ f) (J.comap q) q rfl rfl |
| 58 | have AR := A.of_etale_comparison q R r hr |
| 59 | obtain ⟨e, he, _⟩ := AR.exists_endpointIso B |
| 60 | refine ⟨e.hom ≫ r, ?_⟩ |
| 61 | simpa only [Category.id_comp] using hr.comp P R q r Q (𝟙 V) e.hom he |
| 62 | |
| 63 | end |
| 64 | |
| 65 | /-! Coefficient programs have actual pullbacks with independently named structure maps, ideals, and labelled boundaries. -/ |
| 66 | |
| 67 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 68 | |
| 69 | theorem CoefficientProgram.Construction.DimensionCoefficientProgram.exists_etale_pullback |
| 70 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 71 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 72 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 73 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 74 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 75 | (A : CoefficientProgram.Construction.DimensionCoefficientProgram 𝒮 schedule f J D P) |
| 76 | (V : Scheme) [IsIntegral V] [IsLocallyNoetherian V] [CompactSpace V] |
| 77 | (h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth h] (L : V.IdealSheafData) (E : β → V.IdealSheafData) |
| 78 | (q : V ⟶ X) [Etale q] (hf : q ≫ f = h) (hJ : J.comap q = L) (hD : ∀ l, (D l).comap q = E l) : |
| 79 | ∃ (W : Scheme) (k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : W.IdealSheafData) |
| 80 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V h L W k M) (r : W ⟶ Y), |
| 81 | CoefficientProgram.Construction.DimensionCoefficientProgram 𝒮 schedule h L E Q ∧ P.EtaleComparison Q q r := by |
| 82 | subst h |
| 83 | subst L |
| 84 | have he : (fun l => (D l).comap q) = E := funext hD |
| 85 | subst E |
| 86 | obtain ⟨W, k, M, Q, r, hc⟩ := P.exists_etale_pullback V (q ≫ f) (J.comap q) q rfl rfl |
| 87 | exact ⟨W, k, M, Q, r, A.of_etale_comparison q Q r hc, hc⟩ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Resolution.Blowups.Dimension |