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.Boundary.IncidenceTrace |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.Labels |
| 3 | |
| 4 | /-! # Incidence Trace Reindex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Injective relabelling preserves an exact incidence trace with the corresponding pulled-back finite sets. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | def Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.reindex {β : Type} (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) : |
| 15 | (γ : Type) → [Fintype γ] → (γ ↪ β) → Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace γ := by |
| 16 | induction T with |
| 17 | | stop => intro γ _ _; exact .stop γ |
| 18 | | step F tail ih => |
| 19 | intro γ _ e |
| 20 | classical |
| 21 | exact .step (Finset.univ.filter (fun j => e j ∈ F)) (ih (Option γ) (Function.Embedding.optionMap e)) |
| 22 | |
| 23 | theorem Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.reindex_length {β : Type} (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) |
| 24 | (γ : Type) [Fintype γ] (e : γ ↪ β) : (T.reindex γ e).length = T.length := by |
| 25 | induction T generalizing γ with |
| 26 | | stop => rfl |
| 27 | | step F tail ih => exact congrArg (fun a : ℕ => a + 1) (ih (Option γ) (Function.Embedding.optionMap e)) |
| 28 | |
| 29 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.reindex |
| 30 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 31 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 32 | ∀ (β γ : Type) [Fintype β] [Fintype γ] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β), |
| 33 | P.HasIncidenceTrace β D T → ∀ e : γ ↪ β, |
| 34 | P.HasIncidenceTrace γ (fun l => D (e l)) (T.reindex γ e) := by |
| 35 | induction P with |
| 36 | | stop => |
| 37 | intro β γ _ _ D T hP e |
| 38 | cases T with |
| 39 | | step => exact False.elim hP |
| 40 | | stop => |
| 41 | obtain ⟨A⟩ := hP |
| 42 | refine ⟨A.pullbackLabels (fun j => some (e j)) ?_ (fun j => D (e j)) (fun _ => rfl)⟩ |
| 43 | intro i j s hi hj |
| 44 | exact e.injective (Option.some_injective _ (hi.trans hj.symm)) |
| 45 | | blowup I hI hb hp hs hbl tail ih => |
| 46 | intro β γ _ _ D T hP e |
| 47 | classical |
| 48 | cases T with |
| 49 | | stop => exact False.elim hP |
| 50 | | step F rest => |
| 51 | obtain ⟨A, hF⟩ := hP.1 |
| 52 | have he : ∀ i j s, some (e i) = some s → some (e j) = some s → i = j := by |
| 53 | intro i j s hi hj |
| 54 | exact e.injective (Option.some_injective _ (hi.trans hj.symm)) |
| 55 | let A' := A.pullbackLabels (fun j => some (e j)) he (fun j => D (e j)) (fun _ => rfl) |
| 56 | refine ⟨⟨A', ?_⟩, ?_⟩ |
| 57 | · intro i |
| 58 | change Finset.univ.filter (fun j => ∃ s ∈ A.divided i, some (e j) = some s) = _ |
| 59 | rw [hF i] |
| 60 | ext j |
| 61 | simp |
| 62 | · let e' := Function.Embedding.optionMap e |
| 63 | have ht := ih (Option β) (Option γ) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) rest hP.2 e' |
| 64 | have heq : CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI (fun l => D (e l)) = |
| 65 | (fun l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D (e' l)) := by |
| 66 | funext j |
| 67 | cases j <;> rfl |
| 68 | change tail.HasIncidenceTrace (Option γ) _ (rest.reindex (Option γ) e') |
| 69 | rw [heq] |
| 70 | exact ht |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Resolution.Blowups |