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.Surface.LogarithmicFiniteFamily |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Surface.LogarithmicProgramNaturality |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.AuxiliaryPrefixBoundary |
| 4 | import Mathlib.Logic.Equiv.Option |
| 5 | |
| 6 | /-! # Auxiliary Program -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Surface.AuxiliaryProgram.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Surface auxiliary programs retain the full labelled boundary while using a common logarithmic coefficient program. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | def SurfaceAuxiliaryProgram (n ℓ : ℕ) (β : Type) [Fintype β] [DecidableEq β] |
| 17 | (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (J : X.IdealSheafData) (D : β → X.IdealSheafData) (j : β) |
| 18 | (Y : Scheme) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) |
| 19 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) Y g K) : Prop := |
| 20 | LogarithmicProgram.Construction.SurfaceLogarithmicProgram n ℓ {l : β // l ≠ j} X f (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) |
| 21 | (fun l => D l.val) Y g K P |
| 22 | |
| 23 | namespace SurfaceAuxiliaryProgram |
| 24 | |
| 25 | theorem uniformBoundaryCompatible |
| 26 | {n ℓ : ℕ} {β : Type} [Fintype β] [DecidableEq β] {X Y : Scheme} |
| 27 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 28 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} {j : β} |
| 29 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) Y g K} |
| 30 | (T : SurfaceAuxiliaryProgram n ℓ β X f J D j Y g K P) |
| 31 | (A : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D [Finset.univ]) : P.uniformBoundaryCompatible β D := by |
| 32 | classical |
| 33 | let γ := {l : β // l ≠ j} |
| 34 | let E : γ → X.IdealSheafData := fun l => D l.val |
| 35 | have hT : P.uniformBoundaryCompatible γ E := LogarithmicProgram.Construction.SurfaceLogarithmicProgram.uniformBoundaryCompatible T |
| 36 | let e : Option γ ≃ β := Equiv.optionSubtypeNe j |
| 37 | let F : Option γ → X.IdealSheafData := fun l => match l with | none => D j | some s => E s |
| 38 | have hF (l : Option γ) : F l = D (e l) := by cases l <;> rfl |
| 39 | let AF : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f F [Finset.univ] := |
| 40 | A.pullbackLabels (fun l => some (e l)) |
| 41 | (fun l l' s hl hl' => e.injective (Option.some_injective _ (hl.trans hl'.symm))) F hF |
| 42 | have hPF : P.uniformBoundaryCompatible (Option γ) F := |
| 43 | P.uniformBoundaryCompatible_adjoin_auxiliary_carrier (Nat.succ_pos n) J (D j) rfl γ E hT |
| 44 | (by convert AF using 1) |
| 45 | have ht := P.uniformBoundaryCompatible_reindex (Option γ) β F hPF e.symm.toEmbedding |
| 46 | change P.uniformBoundaryCompatible β (fun l => F (e.symm l)) at ht |
| 47 | have heq : (fun l => F (e.symm l)) = D := by |
| 48 | funext l |
| 49 | exact (hF (e.symm l)).trans (congrArg D (e.apply_symm_apply l)) |
| 50 | rwa [heq] at ht |
| 51 | |
| 52 | theorem terminal_order |
| 53 | {n ℓ : ℕ} {β : Type} [Fintype β] [DecidableEq β] {X Y : Scheme} |
| 54 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 55 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} {j : β} |
| 56 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) Y g K} |
| 57 | (T : SurfaceAuxiliaryProgram n ℓ β X f J D j Y g K P) : |
| 58 | letI : Smooth g := P.endpoint_smooth |
| 59 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n = ⊤ := LogarithmicProgram.Construction.SurfaceLogarithmicProgram.terminal_order T |
| 60 | |
| 61 | theorem exists_etaleComparison |
| 62 | {n ℓ : ℕ} {β : Type} [Fintype β] [DecidableEq β] {X Y V W : Scheme} |
| 63 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 64 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 65 | {D : β → X.IdealSheafData} {E : β → V.IdealSheafData} {j : β} |
| 66 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) Y g K} |
| 67 | {Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V h (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal L (E j) (n + 1)) W k M} |
| 68 | (T : SurfaceAuxiliaryProgram n ℓ β X f J D j Y g K P) |
| 69 | (S : SurfaceAuxiliaryProgram n ℓ β V h L E j W k M Q) |
| 70 | (q : V ⟶ X) [Etale q] (hstructure : q ≫ f = h) (hJ : J.comap q = L) |
| 71 | (hD : ∀ l, (D l).comap q = E l) : ∃ r : W ⟶ Y, P.EtaleComparison Q q r := by |
| 72 | apply LogarithmicProgram.Construction.SurfaceLogarithmicProgram.exists_etaleComparison T S q hstructure |
| 73 | · rw [GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal_comap, hJ, hD] |
| 74 | · intro l |
| 75 | exact hD l.val |
| 76 | |
| 77 | end SurfaceAuxiliaryProgram |
| 78 | |
| 79 | theorem exists_surface_auxiliary_program_threshold |
| 80 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] [CompactSpace X] |
| 81 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (n : ℕ) |
| 82 | (hd : topologicalKrullDim X ≤ 2) {β : Type} [Fintype β] [DecidableEq β] |
| 83 | (D : β → X.IdealSheafData) (A : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D [Finset.univ]) (j : β) : |
| 84 | ∃ ℓ₀ : ℕ, ∀ ℓ : ℕ, ℓ₀ ≤ ℓ → |
| 85 | ∃ (Y : Scheme) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) |
| 86 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) Y g K), |
| 87 | SurfaceAuxiliaryProgram n ℓ β X f J D j Y g K P := by |
| 88 | classical |
| 89 | obtain ⟨B⟩ := A.exists_modelAtlas |
| 90 | let γ := {l : β // l ≠ j} |
| 91 | let e : γ ↪ β := ⟨Subtype.val, Subtype.val_injective⟩ |
| 92 | let E : γ → X.IdealSheafData := fun l => D (e l) |
| 93 | let AE : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f E [Finset.univ] := |
| 94 | A.pullbackLabels (fun l => some (e l)) |
| 95 | (fun a b s ha hb => e.injective (Option.some_injective _ (ha.trans hb.symm))) E (fun _ => rfl) |
| 96 | have hlog : (B.reindex e).logarithmicIdeal (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) (n + 1) = ⊤ := |
| 97 | B.old_boundary_auxiliary_logarithmic_bound j e (fun l h => l.property h.symm) J (D j) le_rfl (n + 1) |
| 98 | exact LogarithmicFiniteFamily.Construction.exists_surface_logarithmic_program_threshold f (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) n hd |
| 99 | E AE (B.reindex e) hlog |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Resolution.Blowups.Surface.AuxiliaryProgram.Construction |