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.AuxiliaryIncidenceTrace |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IncidenceTraceOpenDescent |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.SameTraceComposition |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Surface.HistoryProgram |
| 5 | |
| 6 | /-! # History Incidence Trace -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Surface |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every complete surface history program follows one pure incidence trace determined by the common schedule. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | def HistorySchedule.Construction.SurfaceHistorySchedule.incidenceTrace |
| 17 | {n : ℕ} {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] {e : γ ↪ β} |
| 18 | (S : HistorySchedule.Construction.SurfaceHistorySchedule n e) : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β := by |
| 19 | induction S with |
| 20 | | @full β γ _ _ _ e he ℓ => exact ProgramIncidenceTrace.Construction.logarithmicSurfaceIncidenceTrace n ℓ β |
| 21 | | @clear β γ _ _ _ e j hj ℓ tail ih => |
| 22 | exact (AuxiliaryIncidenceTrace.Construction.auxiliarySurfaceIncidenceTrace n ℓ β j).appendAtLength |
| 23 | (HistorySchedule.Construction.surfaceAuxiliaryProgramStepCount n ℓ (Fintype.card β)) (AuxiliaryIncidenceTrace.Construction.auxiliarySurfaceIncidenceTrace_length n ℓ β j) ih |
| 24 | |
| 25 | theorem HistorySchedule.Construction.SurfaceHistorySchedule.incidenceTrace_length |
| 26 | {n : ℕ} {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] {e : γ ↪ β} |
| 27 | (S : HistorySchedule.Construction.SurfaceHistorySchedule n e) : S.incidenceTrace.length = S.stepCount := by |
| 28 | induction S with |
| 29 | | @full β γ _ _ _ e he ℓ => exact ProgramIncidenceTrace.Construction.logarithmicSurfaceIncidenceTrace_length n ℓ β |
| 30 | | @clear β γ _ _ _ e j hj ℓ tail ih => |
| 31 | change ((AuxiliaryIncidenceTrace.Construction.auxiliarySurfaceIncidenceTrace n ℓ β j).appendAtLength _ _ tail.incidenceTrace).length = _ |
| 32 | rw [Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.appendAtLength_length, ih] |
| 33 | rfl |
| 34 | |
| 35 | theorem HistoryProgram.Construction.SurfaceHistoryProgram.hasIncidenceTrace |
| 36 | {n : ℕ} {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] {e : γ ↪ β} |
| 37 | {schedule : HistorySchedule.Construction.SurfaceHistorySchedule n e} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 38 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 39 | {P : Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 40 | (T : HistoryProgram.Construction.SurfaceHistoryProgram n schedule X f J D Y g K P) : |
| 41 | P.HasIncidenceTrace β D schedule.incidenceTrace := by |
| 42 | induction T with |
| 43 | | full e he ℓ T => exact T.hasIncidenceTrace |
| 44 | | clear e j hj ℓ schedule A aux hA P same T tail R r comparison hR hcover ih => |
| 45 | let _ := A.endpoint_smooth |
| 46 | have hAB := Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible.boundaryCompatible A _ hA |
| 47 | obtain ⟨EA⟩ := A.boundaryCompatible_source_atlas _ hAB |
| 48 | have htraceA := aux.hasIncidenceTrace EA |
| 49 | obtain ⟨EY⟩ := A.boundaryAtLength_atlas _ hAB _ aux.stepCount |
| 50 | have hclear := A.auxiliary_clearance (Nat.succ_pos n) _ _ rfl |
| 51 | (by simpa only [Nat.add_sub_cancel, Nat.succ_sub_one] using aux.terminal_order) |
| 52 | rw [same.transformIdeal] at hclear |
| 53 | have htraceR := R.hasIncidenceTrace_of_order_neighborhood T _ r comparison |
| 54 | (Global.ClearedHistoryNeighborhood.Construction.cleared_boundary_complement_contains_order_locus _ _ _ (n + 1) hclear) |
| 55 | _ _ EY _ ih |
| 56 | exact same.append_traceAtLength A P R _ _ htraceA _ (AuxiliaryIncidenceTrace.Construction.auxiliarySurfaceIncidenceTrace_length n ℓ _ j) _ htraceR |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Resolution.Blowups.Surface |