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.ControlPrefix.FixedLabelComposition |
| 2 | |
| 3 | /-! # Incidence Trace -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A pure incidence trace fixes the containing boundary labels at every blowup, including identity steps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | inductive Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace : Type → Type 1 |
| 14 | | stop (β : Type) : BoundaryIncidenceTrace β |
| 15 | | step {β : Type} (F : Finset β) (tail : BoundaryIncidenceTrace (Option β)) : BoundaryIncidenceTrace β |
| 16 | |
| 17 | def Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.length {β : Type} (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) : ℕ := by |
| 18 | induction T with |
| 19 | | stop => exact 0 |
| 20 | | step F tail ih => exact ih + 1 |
| 21 | |
| 22 | def Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.append {β : Type} (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) : |
| 23 | Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels T.length β) → Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β := by |
| 24 | induction T with |
| 25 | | stop => exact id |
| 26 | | step F tail ih => exact fun U => .step F (ih U) |
| 27 | |
| 28 | theorem Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.append_length {β : Type} (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) |
| 29 | (U : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels T.length β)) : (T.append U).length = T.length + U.length := by |
| 30 | induction T with |
| 31 | | stop => exact (Nat.zero_add _).symm |
| 32 | | @step β F tail ih => |
| 33 | change Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels tail.length (Option β)) at U |
| 34 | change (tail.append U).length + 1 = (tail.length + 1) + U.length |
| 35 | rw [ih] |
| 36 | omega |
| 37 | |
| 38 | def Boundary.IncidenceTrace.Construction.disjointBoundaryIncidenceTrace {β : Type} : List (Finset β) → Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β |
| 39 | | [] => .stop β |
| 40 | | F :: L => .step F (disjointBoundaryIncidenceTrace (L.map (fun G => G.map Function.Embedding.some))) |
| 41 | termination_by L => L.length |
| 42 | decreasing_by simp |
| 43 | |
| 44 | theorem Boundary.IncidenceTrace.Construction.disjointBoundaryIncidenceTrace_length {β : Type} (L : List (Finset β)) : |
| 45 | (Boundary.IncidenceTrace.Construction.disjointBoundaryIncidenceTrace L).length = L.length := by |
| 46 | have aux (N : ℕ) : ∀ (β : Type) (L : List (Finset β)), L.length ≤ N → |
| 47 | (Boundary.IncidenceTrace.Construction.disjointBoundaryIncidenceTrace L).length = L.length := by |
| 48 | induction N using Nat.strong_induction_on with |
| 49 | | h N ih => |
| 50 | intro β L hL |
| 51 | cases L with |
| 52 | | nil => rw [Boundary.IncidenceTrace.Construction.disjointBoundaryIncidenceTrace]; rfl |
| 53 | | cons F L => |
| 54 | rw [Boundary.IncidenceTrace.Construction.disjointBoundaryIncidenceTrace] |
| 55 | change (Boundary.IncidenceTrace.Construction.disjointBoundaryIncidenceTrace (L.map (fun G => G.map Function.Embedding.some))).length + 1 = L.length + 1 |
| 56 | have ht := ih L.length (by simpa only [List.length_cons] using Nat.lt_of_lt_of_le (Nat.lt_succ_self _) hL) |
| 57 | (Option β) (L.map (fun G => G.map Function.Embedding.some)) (by simp) |
| 58 | rw [ht, List.length_map] |
| 59 | exact aux L.length β L le_rfl |
| 60 | |
| 61 | def Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace |
| 62 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 63 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 64 | ∀ (β : Type) [Fintype β], (β → X.IdealSheafData) → Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β → Prop := by |
| 65 | induction P with |
| 66 | | @stop X f hf J => |
| 67 | intro β _ D T |
| 68 | cases T with |
| 69 | | stop => exact Nonempty (Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D [Finset.univ]) |
| 70 | | step => exact False |
| 71 | | @blowup X hX hNX f J I hI hb hp hs hbl Y g K tail ih => |
| 72 | intro β _ D T |
| 73 | cases T with |
| 74 | | stop => exact False |
| 75 | | step F rest => |
| 76 | exact (∃ A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D, ∀ i, A.divided i = F) ∧ |
| 77 | ih (Option β) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) rest |
| 78 | |
| 79 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.uniformBoundaryCompatible |
| 80 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 81 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 82 | ∀ {β : Type} [Fintype β] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β), |
| 83 | P.HasIncidenceTrace β D T → P.uniformBoundaryCompatible β D := by |
| 84 | induction P with |
| 85 | | stop => |
| 86 | intro β _ D T h |
| 87 | cases T with |
| 88 | | stop => exact h |
| 89 | | step => exact False.elim h |
| 90 | | blowup I hI hb hp hs hbl tail ih => |
| 91 | intro β _ D T h |
| 92 | cases T with |
| 93 | | stop => exact False.elim h |
| 94 | | step F rest => |
| 95 | obtain ⟨A, hA⟩ := h.1 |
| 96 | exact ⟨⟨A, F, hA⟩, ih _ rest h.2⟩ |
| 97 | |
| 98 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.stepCount |
| 99 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 100 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 101 | ∀ {β : Type} [Fintype β] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β), |
| 102 | P.HasIncidenceTrace β D T → P.stepCount = T.length := by |
| 103 | induction P with |
| 104 | | stop => |
| 105 | intro β _ D T h |
| 106 | cases T with |
| 107 | | stop => rfl |
| 108 | | step => exact False.elim h |
| 109 | | blowup I hI hb hp hs hbl tail ih => |
| 110 | intro β _ D T h |
| 111 | cases T with |
| 112 | | stop => exact False.elim h |
| 113 | | step F rest => exact congrArg (fun a : ℕ => a + 1) (ih (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) rest h.2) |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.Resolution.Blowups |