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.HistorySchedule |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.AuxiliaryHistoryOpen |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.ComparisonOpen |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.FixedLabelComposition |
| 5 | |
| 6 | /-! # History Program -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Surface.HistoryProgram.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A recorded history program combines auxiliary clearing, a continuation on the cleared-boundary complement, and its actual ambient extension. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | inductive SurfaceHistoryProgram (n : ℕ) : |
| 17 | {β γ : Type} → [Fintype β] → [Fintype γ] → [DecidableEq β] → {e : γ ↪ β} → |
| 18 | HistorySchedule.Construction.SurfaceHistorySchedule n e → |
| 19 | (X : Scheme) → (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → (J : X.IdealSheafData) → (β → X.IdealSheafData) → |
| 20 | (Y : Scheme) → (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → (K : Y.IdealSheafData) → |
| 21 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K → Prop |
| 22 | | full {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] |
| 23 | (e : γ ↪ β) (he : Function.Surjective e) (ℓ : ℕ) |
| 24 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 25 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 26 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 27 | (T : LogarithmicProgram.Construction.SurfaceLogarithmicProgram n ℓ β X f J D Y g K P) : |
| 28 | SurfaceHistoryProgram n (.full e he ℓ) X f J D Y g K P |
| 29 | | clear {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] |
| 30 | (e : γ ↪ β) (j : β) (hj : ∀ s, j ≠ e s) (ℓ : ℕ) |
| 31 | (schedule : HistorySchedule.Construction.SurfaceHistorySchedule n |
| 32 | (FixedLengthBoundaryHistory.Construction.iteratedExtendedBoundaryHistory (HistorySchedule.Construction.surfaceAuxiliaryProgramStepCount n ℓ (Fintype.card β)) e j hj)) |
| 33 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 34 | {J : X.IdealSheafData} {C J' : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 35 | (A : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J (D j) (n + 1)) Y g C) |
| 36 | (aux : AuxiliaryProgram.Construction.SurfaceAuxiliaryProgram n ℓ β X f J D j Y g C A) |
| 37 | (hA : A.uniformBoundaryCompatible β D) |
| 38 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g J') (same : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups (n + 1) (n + 1) A P) |
| 39 | {V Z : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {L : V.IdealSheafData} {M : Z.IdealSheafData} |
| 40 | (T : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) (A.transformedBoundaryComplement D j) |
| 41 | ((A.transformedBoundaryComplement D j).ι ≫ g) (J'.comap (A.transformedBoundaryComplement D j).ι) V h L) |
| 42 | (tail : SurfaceHistoryProgram n schedule (A.transformedBoundaryComplement D j) |
| 43 | ((A.transformedBoundaryComplement D j).ι ≫ g) (J'.comap (A.transformedBoundaryComplement D j).ι) |
| 44 | (fun l => (A.boundaryAtLength D _ aux.stepCount l).comap (A.transformedBoundaryComplement D j).ι) V h L T) |
| 45 | (R : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) Y g J' Z k M) (r : V ⟶ Z) |
| 46 | (comparison : R.EtaleComparison T (A.transformedBoundaryComplement D j).ι r) |
| 47 | (hR : R.uniformBoundaryCompatible (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels (HistorySchedule.Construction.surfaceAuxiliaryProgramStepCount n ℓ (Fintype.card β)) β) |
| 48 | (A.boundaryAtLength D _ aux.stepCount)) |
| 49 | (hcover : letI : Smooth k := R.endpoint_smooth |
| 50 | ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf k M n).support : Set Z) ⊆ Set.range r) : |
| 51 | SurfaceHistoryProgram n (.clear e j hj ℓ schedule) X f J D Z k M (P.append R) |
| 52 | |
| 53 | namespace SurfaceHistoryProgram |
| 54 | |
| 55 | theorem uniformBoundaryCompatible |
| 56 | {n : ℕ} {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] {e : γ ↪ β} |
| 57 | {schedule : HistorySchedule.Construction.SurfaceHistorySchedule n e} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 58 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 59 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 60 | (T : Construction.SurfaceHistoryProgram n schedule X f J D Y g K P) : P.uniformBoundaryCompatible β D := by |
| 61 | cases T with |
| 62 | | full e he ℓ T => exact T.uniformBoundaryCompatible |
| 63 | | clear e j hj ℓ schedule A aux hA P same T tail R r comparison hR hcover => |
| 64 | have hP := same.uniformBoundaryCompatible _ _ hA |
| 65 | have hcount := same.stepCount_eq.symm.trans aux.stepCount |
| 66 | have hboundary := same.boundaryAtLength β D _ aux.stepCount hcount |
| 67 | apply P.append_uniformBoundaryCompatible_fixed_labels R _ hP _ hcount |
| 68 | rw [← hboundary] |
| 69 | exact hR |
| 70 | |
| 71 | theorem terminal_order |
| 72 | {n : ℕ} {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] {e : γ ↪ β} |
| 73 | {schedule : HistorySchedule.Construction.SurfaceHistorySchedule n e} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 74 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 75 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 76 | (T : Construction.SurfaceHistoryProgram n schedule X f J D Y g K P) : |
| 77 | letI : Smooth g := P.endpoint_smooth |
| 78 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n = ⊤ := by |
| 79 | induction T with |
| 80 | | full e he ℓ T => exact T.terminal_order |
| 81 | | clear e j hj ℓ schedule A aux hA P same T tail R r comparison hR hcover ih => |
| 82 | exact comparison.terminal_order_of_endpoint_cover R T _ r n hcover ih |
| 83 | |
| 84 | theorem stepCount |
| 85 | {n : ℕ} {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] {e : γ ↪ β} |
| 86 | {schedule : HistorySchedule.Construction.SurfaceHistorySchedule n e} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 87 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 88 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 89 | (T : Construction.SurfaceHistoryProgram n schedule X f J D Y g K P) : P.stepCount = schedule.stepCount := by |
| 90 | induction T with |
| 91 | | full e he ℓ T => exact T.stepCount |
| 92 | | clear e j hj ℓ schedule A aux hA P same T tail R r comparison hR hcover ih => |
| 93 | rw [Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.append_stepCount, ← same.stepCount_eq, aux.stepCount, |
| 94 | comparison.stepCount_eq R T _ r, ih] |
| 95 | rfl |
| 96 | |
| 97 | end SurfaceHistoryProgram |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Resolution.Blowups.Surface.HistoryProgram.Construction |