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.Boundary |
| 2 | |
| 3 | /-! # Canonical Labels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Boundary labels are determined by the number of actual steps, independently of the schemes and ideal presentations. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | def ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels : ℕ → Type → Type |
| 14 | | 0, β => β |
| 15 | | n + 1, β => iteratedBoundaryLabels n (Option β) |
| 16 | |
| 17 | instance ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels_fintype (n : ℕ) (β : Type) [Fintype β] : |
| 18 | Fintype (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels n β) := by |
| 19 | induction n generalizing β with |
| 20 | | zero => exact inferInstanceAs (Fintype β) |
| 21 | | succ n ih => exact ih (Option β) |
| 22 | |
| 23 | variable {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 24 | {J : X.IdealSheafData} {K : Y.IdealSheafData} |
| 25 | |
| 26 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.stepCount_of_followsCenters (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) |
| 27 | (centers : List X.IdealSheafData) (hP : P.followsCenters centers) : P.stepCount = centers.length := by |
| 28 | induction P with |
| 29 | | stop => |
| 30 | change centers = [] at hP |
| 31 | rw [hP] |
| 32 | rfl |
| 33 | | blowup I hI hb hp hs hbl tail ih => |
| 34 | obtain ⟨cs, rfl, hcs⟩ := hP |
| 35 | change tail.stepCount + 1 = cs.length + 1 |
| 36 | have ht := ih _ hcs |
| 37 | rw [List.length_map] at ht |
| 38 | rw [ht] |
| 39 | |
| 40 | def Smooth.ControlPrefix.Construction.SmoothControlPrefix.endpointLabelsEquiv (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) (β : Type) : |
| 41 | P.endpointLabels β ≃ ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels P.stepCount β := by |
| 42 | induction P generalizing β with |
| 43 | | stop => exact Equiv.refl β |
| 44 | | blowup I hI hb hp hs hbl tail ih => exact ih (Option β) |
| 45 | |
| 46 | def Smooth.ControlPrefix.Construction.SmoothControlPrefix.canonicalBoundary (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) {β : Type} |
| 47 | (D : β → X.IdealSheafData) : ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels P.stepCount β → Y.IdealSheafData := |
| 48 | fun l => P.endpointBoundary D ((P.endpointLabelsEquiv β).symm l) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Resolution.Blowups |