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.Uniform.IncidenceSurfaceProgram |
| 2 | |
| 3 | /-! # Incidence Surface Length -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The number of actual steps depends only on the prescribed levels and the initial number of boundary labels. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | theorem IncidenceSurfaceLength.Construction.card_iteratedBoundaryLabels (N : ℕ) (β : Type) [Fintype β] : |
| 14 | Fintype.card (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) = Fintype.card β + N := by |
| 15 | induction N generalizing β with |
| 16 | | zero => exact (Nat.add_zero _).symm |
| 17 | | succ N ih => |
| 18 | change Fintype.card (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N (Option β)) = Fintype.card β + (N + 1) |
| 19 | rw [ih, Fintype.card_option] |
| 20 | omega |
| 21 | |
| 22 | def IncidenceSurfaceLength.Construction.surfaceIncidenceProgramStepCount (n : ℕ) : ℕ → ℕ → ℕ |
| 23 | | 0, _ => 0 |
| 24 | | m + 1, k => if (n + 1).factorial ≤ m + 1 then |
| 25 | 2 ^ k + surfaceIncidenceProgramStepCount n m (k + 2 ^ k) else 0 |
| 26 | |
| 27 | theorem IncidenceSurfaceLength.Construction.surfaceIncidenceProgramStepCount_of_lt (n m k : ℕ) (h : m < (n + 1).factorial) : |
| 28 | IncidenceSurfaceLength.Construction.surfaceIncidenceProgramStepCount n m k = 0 := by |
| 29 | cases m with |
| 30 | | zero => rfl |
| 31 | | succ m => exact ite_eq_right (Nat.not_le.mpr h) |
| 32 | |
| 33 | theorem IncidenceSurfaceProgram.Construction.UniformIncidenceSurfaceProgram.stepCount |
| 34 | {n m : ℕ} {β : Type} [Fintype β] {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 35 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 36 | {P : Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 37 | (T : IncidenceSurfaceProgram.Construction.UniformIncidenceSurfaceProgram n m β X f J D Y g K P) : |
| 38 | P.stepCount = IncidenceSurfaceLength.Construction.surfaceIncidenceProgramStepCount n m (Fintype.card β) := by |
| 39 | classical |
| 40 | induction T with |
| 41 | | terminal hstop A ht => |
| 42 | exact (IncidenceSurfaceLength.Construction.surfaceIncidenceProgramStepCount_of_lt _ _ _ hstop).symm |
| 43 | | refine A hb hd hlevel AM P hcenters hcount hP Q tail ih => |
| 44 | rw [Smooth.ControlPrefix.Construction.SmoothControlPrefix.append_stepCount, hcount, ih, IncidenceSurfaceLength.Construction.card_iteratedBoundaryLabels, Fintype.card_finset] |
| 45 | exact (ite_eq_left hlevel).symm |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |