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.CanonicalCenterIncidenceTrace |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.IncidenceTraceFixedComposition |
| 4 | |
| 5 | /-! # Logarithmic Program -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Dimension.LogarithmicProgram.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full logarithmic programs combine canonical component clearing with a lower-dimensional coefficient schedule. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | def DimensionLogarithmicSchedule {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) |
| 16 | (n : ℕ) (β : Type) [Fintype β] [DecidableEq β] : Type 1 := |
| 17 | 𝒮.Schedule (n + 1).factorial (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels (Fintype.card (Finset β)) β) |
| 18 | |
| 19 | def dimensionLogarithmicIncidenceTrace {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} |
| 20 | {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 21 | (schedule : DimensionLogarithmicSchedule 𝒮 n β) : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β := |
| 22 | (CanonicalCenterIncidenceTrace.Construction.canonicalCenterIncidenceTrace β).appendAtLength (Fintype.card (Finset β)) |
| 23 | (CanonicalCenterIncidenceTrace.Construction.canonicalCenterIncidenceTrace_length β) (𝒮.incidenceTrace schedule) |
| 24 | |
| 25 | def DimensionLogarithmicSchedule.stepCount {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} |
| 26 | {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 27 | (schedule : DimensionLogarithmicSchedule 𝒮 n β) : ℕ := |
| 28 | Fintype.card (Finset β) + (𝒮.incidenceTrace schedule).length |
| 29 | |
| 30 | theorem dimensionLogarithmicIncidenceTrace_length {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} |
| 31 | {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 32 | (schedule : DimensionLogarithmicSchedule 𝒮 n β) : |
| 33 | (dimensionLogarithmicIncidenceTrace schedule).length = schedule.stepCount := |
| 34 | Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.appendAtLength_length _ _ _ _ |
| 35 | |
| 36 | inductive DimensionLogarithmicProgram {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) |
| 37 | {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 38 | (schedule : DimensionLogarithmicSchedule 𝒮 n β) : |
| 39 | (X : Scheme) → (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → (J : X.IdealSheafData) → (β → X.IdealSheafData) → |
| 40 | (Y : Scheme) → (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → (K : Y.IdealSheafData) → |
| 41 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K → Prop |
| 42 | | component {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] [CompactSpace X] |
| 43 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {D : β → X.IdealSheafData} |
| 44 | (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (AM : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f A.center D) |
| 45 | {Y Z : Scheme} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {h : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 46 | {K : Y.IdealSheafData} {L : Z.IdealSheafData} |
| 47 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K) |
| 48 | (hcenters : P.followsCenters (A.componentIncidenceCenters D)) |
| 49 | (hcount : P.stepCount = Fintype.card (Finset β)) (hP : P.uniformBoundaryCompatible β D) |
| 50 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) Y g K Z h L) |
| 51 | (tail : letI : Smooth g := P.endpoint_smooth |
| 52 | CoefficientProgram.Construction.DimensionCoefficientProgram 𝒮 schedule g K (P.boundaryAtLength D _ hcount) Q) : |
| 53 | DimensionLogarithmicProgram 𝒮 schedule X f J D Z h L (P.append Q) |
| 54 | |
| 55 | namespace DimensionLogarithmicProgram |
| 56 | |
| 57 | theorem hasIncidenceTrace |
| 58 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 59 | {schedule : DimensionLogarithmicSchedule 𝒮 n β} |
| 60 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 61 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 62 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 63 | (T : Construction.DimensionLogarithmicProgram 𝒮 schedule X f J D Y g K P) : |
| 64 | P.HasIncidenceTrace β D (dimensionLogarithmicIncidenceTrace schedule) := by |
| 65 | cases T with |
| 66 | | component A AM P hcenters hcount hP Q tail => |
| 67 | let : Smooth _ := P.endpoint_smooth |
| 68 | have hhead := A.componentIncidenceCenters_hasTrace _ AM P hcenters |
| 69 | exact hhead.appendAtLength P Q _ _ _ (CanonicalCenterIncidenceTrace.Construction.canonicalCenterIncidenceTrace_length _) _ tail.trace |
| 70 | |
| 71 | theorem uniformBoundaryCompatible |
| 72 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 73 | {schedule : DimensionLogarithmicSchedule 𝒮 n β} |
| 74 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 75 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 76 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 77 | (T : Construction.DimensionLogarithmicProgram 𝒮 schedule X f J D Y g K P) : |
| 78 | P.uniformBoundaryCompatible β D := |
| 79 | T.hasIncidenceTrace.uniformBoundaryCompatible P D _ |
| 80 | |
| 81 | theorem terminal_order |
| 82 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 83 | {schedule : DimensionLogarithmicSchedule 𝒮 n β} |
| 84 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 85 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 86 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 87 | (T : Construction.DimensionLogarithmicProgram 𝒮 schedule X f J D Y g K P) : |
| 88 | letI : Smooth g := P.endpoint_smooth; Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n = ⊤ := by |
| 89 | cases T with |
| 90 | | component A AM P hcenters hcount hP Q tail => |
| 91 | let : Smooth _ := P.endpoint_smooth |
| 92 | exact tail.terminal |
| 93 | |
| 94 | theorem stepCount |
| 95 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 96 | {schedule : DimensionLogarithmicSchedule 𝒮 n β} |
| 97 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 98 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 99 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 100 | (T : Construction.DimensionLogarithmicProgram 𝒮 schedule X f J D Y g K P) : |
| 101 | P.stepCount = schedule.stepCount := |
| 102 | (T.hasIncidenceTrace.stepCount P D _).trans (dimensionLogarithmicIncidenceTrace_length schedule) |
| 103 | |
| 104 | end DimensionLogarithmicProgram |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.Resolution.Blowups.Dimension.LogarithmicProgram.Construction |