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.IdealTransforms |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.IncidenceSurfaceLength |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Finite.BoundaryHistoryExtension |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.SequenceHistoryLabels |
| 5 | |
| 6 | /-! # Fixed Length Boundary History -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.FixedLengthBoundaryHistory.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Selected boundary histories use common label types after a prescribed number of steps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | def iteratedBoundaryEmbedding : (N : ℕ) → {β γ : Type} → (γ ↪ β) → |
| 17 | ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N γ ↪ ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β |
| 18 | | 0, _, _, e => e |
| 19 | | N + 1, _, _, e => iteratedBoundaryEmbedding N (Function.Embedding.optionMap e) |
| 20 | |
| 21 | theorem iteratedBoundaryEmbedding_excludes_initial (N : ℕ) {β γ : Type} |
| 22 | (e : γ ↪ β) (j : β) (hj : ∀ s, j ≠ e s) : |
| 23 | ∀ s, ControlPrefix.IdealTransforms.Construction.iteratedInitialBoundaryEmbedding N β j ≠ Construction.iteratedBoundaryEmbedding N e s := by |
| 24 | induction N generalizing β γ with |
| 25 | | zero => exact hj |
| 26 | | succ N ih => exact ih (Function.Embedding.optionMap e) (some j) (Finite.BoundaryHistoryExtension.Construction.excluded_boundary_label_optionMap e j hj) |
| 27 | |
| 28 | def iteratedExtendedBoundaryHistory (N : ℕ) {β γ : Type} (e : γ ↪ β) (j : β) (hj : ∀ s, j ≠ e s) : |
| 29 | Option (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N γ) ↪ ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β := |
| 30 | Finite.BoundaryHistoryExtension.Construction.extendSelectedBoundaryHistory (Construction.iteratedBoundaryEmbedding N e) (ControlPrefix.IdealTransforms.Construction.iteratedInitialBoundaryEmbedding N β j) |
| 31 | (iteratedBoundaryEmbedding_excludes_initial N e j hj) |
| 32 | |
| 33 | theorem iteratedExtendedBoundaryHistory_missing_count_lt (N : ℕ) {β γ : Type} [Fintype β] [Fintype γ] |
| 34 | (e : γ ↪ β) (j : β) (hj : ∀ s, j ≠ e s) : |
| 35 | Fintype.card (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) - Fintype.card (Option (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N γ)) < |
| 36 | Fintype.card β - Fintype.card γ := by |
| 37 | have h := Finite.BoundaryHistoryExtension.Construction.remaining_boundary_count_extend_lt (Construction.iteratedBoundaryEmbedding N e) (ControlPrefix.IdealTransforms.Construction.iteratedInitialBoundaryEmbedding N β j) |
| 38 | (iteratedBoundaryEmbedding_excludes_initial N e j hj) |
| 39 | simpa only [Uniform.IncidenceSurfaceLength.Construction.card_iteratedBoundaryLabels, Fintype.card_option, Nat.add_sub_add_right] using h |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Resolution.Blowups.FixedLengthBoundaryHistory.Construction |