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.GlobalBoundary.ResidualUpdate |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.SequenceCompatibility |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalControlled.Identities |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.SequenceHypersurface |
| 5 | |
| 6 | /-! # Control Boundary Endpoint -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Canonical endpoint boundaries and exact total-transform exponents of global control sequences. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | def MonomialSequence.Construction.SmoothFixedControlSequence.endpointLabels {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 19 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) (β : Type) : Type := |
| 20 | match T with |
| 21 | | @MonomialSequence.Construction.SmoothFixedControlSequence.terminal _ _ _ _ _ _ => β |
| 22 | | @MonomialSequence.Construction.SmoothFixedControlSequence.blowup _ _ _ _ _ _ _ _ _ _ _ _ tail => tail.endpointLabels (Option β) |
| 23 | |
| 24 | instance MonomialSequence.Construction.SmoothFixedControlSequence.endpointLabels_fintype {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 25 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) (β : Type) [Fintype β] : |
| 26 | Fintype (T.endpointLabels β) := by |
| 27 | induction T generalizing β with |
| 28 | | terminal => exact inferInstanceAs (Fintype β) |
| 29 | | blowup I hI hb hp hs hbl tail ih => exact ih (Option β) |
| 30 | |
| 31 | def MonomialSequence.Construction.SmoothFixedControlSequence.endpointBoundary {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 32 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) {β : Type} |
| 33 | (D : β → X.IdealSheafData) : T.endpointLabels β → T.endpoint.IdealSheafData := |
| 34 | match T with |
| 35 | | @MonomialSequence.Construction.SmoothFixedControlSequence.terminal _ _ _ _ _ _ => D |
| 36 | | @MonomialSequence.Construction.SmoothFixedControlSequence.blowup _ _ _ _ _ _ I hI _ _ _ _ tail => |
| 37 | tail.endpointBoundary (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) |
| 38 | |
| 39 | def MonomialSequence.Construction.SmoothFixedControlSequence.totalBoundaryExponents {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 40 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) {β : Type} [Fintype β] |
| 41 | (D : β → X.IdealSheafData) (a : β → ℕ) : T.endpointLabels β → ℕ := |
| 42 | match T with |
| 43 | | @MonomialSequence.Construction.SmoothFixedControlSequence.terminal _ _ _ _ _ _ => a |
| 44 | | @MonomialSequence.Construction.SmoothFixedControlSequence.blowup _ _ _ _ _ _ I hI _ _ _ _ tail => |
| 45 | tail.totalBoundaryExponents (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) |
| 46 | (ResidualBoundaryMonomialUpdate.Construction.residualBoundaryMonomialExponents (AdmissibleMonomialTransform.Construction.integralCenterBoundaryLabels I D) a b 0) |
| 47 | |
| 48 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.endpointBoundary_nonzero |
| 49 | {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 50 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) {β : Type} |
| 51 | (D : β → X.IdealSheafData) (hD : ∀ l, D l ≠ ⊥) : ∀ l, T.endpointBoundary D l ≠ ⊥ := by |
| 52 | induction T generalizing β with |
| 53 | | terminal => exact hD |
| 54 | | blowup I hI hb hp hs hbl tail ih => |
| 55 | exact ih (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary_ne_bot I hI D hD) |
| 56 | |
| 57 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.endpointBoundary_atlas |
| 58 | {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 59 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) {β : Type} [Fintype β] |
| 60 | (D : β → X.IdealSheafData) (hB : T.boundaryCompatible β D) : |
| 61 | Nonempty (MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (T.toBase ≫ f) (T.endpointBoundary D) [Finset.univ]) := by |
| 62 | induction T generalizing β with |
| 63 | | @terminal Y g hs J ht => |
| 64 | change Nonempty (MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (𝟙 Y ≫ g) D [Finset.univ]) |
| 65 | rw [Category.id_comp] |
| 66 | exact hB |
| 67 | | @blowup Y hY hN g J I hI hb hp hs hbl tail ih => |
| 68 | have h := ih (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) hB.2 |
| 69 | change Nonempty (MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas ((tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI) ≫ g) |
| 70 | (tail.endpointBoundary (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D)) [Finset.univ]) |
| 71 | rw [Category.assoc] |
| 72 | exact h |
| 73 | |
| 74 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.totalTransform_eq_boundaryMonomial_mul_terminalIdeal |
| 75 | {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 76 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) {β : Type} [Fintype β] |
| 77 | (D : β → X.IdealSheafData) (a : β → ℕ) |
| 78 | (hcenters : T.integralCenters) (hB : T.boundaryCompatible β D) : |
| 79 | (MixedBoundary.Construction.boundaryMonomialSheaf D a * J).comap T.toBase = |
| 80 | MixedBoundary.Construction.boundaryMonomialSheaf (T.endpointBoundary D) (T.totalBoundaryExponents D a) * T.terminalIdeal := by |
| 81 | induction T generalizing β with |
| 82 | | terminal => exact Scheme.IdealSheafData.comap_id _ |
| 83 | | @blowup Y hY hN g J I hI hb hp hs hbl tail ih => |
| 84 | let : IsIntegral I.subscheme := hcenters.1 |
| 85 | obtain ⟨A⟩ := hB.1 |
| 86 | have hM : MixedBoundary.Construction.boundaryMonomialSheaf D a ≤ I ^ (0 - b) := by |
| 87 | rw [Nat.zero_sub, pow_zero, Scheme.IdealSheafData.one_eq_top] |
| 88 | exact le_top |
| 89 | have he := A.residual_product_integral_center J hI a b 0 hM hp |
| 90 | rw [GlobalControlled.Identities.Construction.globalBlowupControlledIdeal_zero] at he |
| 91 | change (MixedBoundary.Construction.boundaryMonomialSheaf D a * J).comap (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI) = _ |
| 92 | rw [Scheme.IdealSheafData.comap_comp, he] |
| 93 | exact ih (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) |
| 94 | (ResidualBoundaryMonomialUpdate.Construction.residualBoundaryMonomialExponents (AdmissibleMonomialTransform.Construction.integralCenterBoundaryLabels I D) a b 0) hcenters.2 hB.2 |
| 95 | |
| 96 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.totalTransform_eq_boundaryMonomial_control_one |
| 97 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 98 | (T : MonomialSequence.Construction.SmoothFixedControlSequence 1 X f J) {β : Type} [Fintype β] |
| 99 | (D : β → X.IdealSheafData) (hcenters : T.integralCenters) (hB : T.boundaryCompatible β D) : |
| 100 | J.comap T.toBase = MixedBoundary.Construction.boundaryMonomialSheaf (T.endpointBoundary D) (T.totalBoundaryExponents D (fun _ => 0)) := by |
| 101 | have h := T.totalTransform_eq_boundaryMonomial_mul_terminalIdeal D (fun _ => 0) hcenters hB |
| 102 | have hM : MixedBoundary.Construction.boundaryMonomialSheaf D (fun _ => 0) = 1 := by |
| 103 | simp only [MixedBoundary.Construction.boundaryMonomialSheaf, pow_zero, Finset.prod_const_one] |
| 104 | simpa only [hM, one_mul, T.terminalIdeal_eq_top_control_one, ← Scheme.IdealSheafData.one_eq_top, mul_one] using h |
| 105 | |
| 106 | end |
| 107 | |
| 108 | /-! Original boundary labels retain their exact control-one transforms at every sequence endpoint. -/ |
| 109 | |
| 110 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 111 | |
| 112 | def MonomialSequence.Construction.SmoothFixedControlSequence.initialLabelEmbedding {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 113 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) (β : Type) : β ↪ T.endpointLabels β := |
| 114 | match T with |
| 115 | | @MonomialSequence.Construction.SmoothFixedControlSequence.terminal _ _ _ _ _ _ => Function.Embedding.refl β |
| 116 | | @MonomialSequence.Construction.SmoothFixedControlSequence.blowup _ _ _ _ _ _ _ _ _ _ _ _ tail => |
| 117 | (⟨some, Option.some_injective β⟩ : β ↪ Option β).trans (tail.initialLabelEmbedding (Option β)) |
| 118 | |
| 119 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.endpointBoundary_initialLabel |
| 120 | {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 121 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) {β : Type} (D : β → X.IdealSheafData) (j : β) : |
| 122 | T.endpointBoundary D (T.initialLabelEmbedding β j) = T.transformIdeal (D j) 1 := by |
| 123 | induction T generalizing β with |
| 124 | | terminal => rfl |
| 125 | | @blowup Y hY hN g J I hI hb hp hs hbl tail ih => |
| 126 | exact ih (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) (some j) |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global |