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.IncidenceTraceExponents |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IncidenceTraceComposition |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.IdealTransforms |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.WholePrefixCompanionTransport |
| 5 | |
| 6 | /-! # Trace Companion Transport -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Companion programs with a common trace produce one exact endpoint monomial exponent vector. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.companion_transforms |
| 17 | {m b : ℕ} (hm : 0 < m) (hmb : m < b) |
| 18 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 19 | {C : X.IdealSheafData} {K : Y.IdealSheafData} |
| 20 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (m * (b - m)) X f C Y g K) : |
| 21 | ∀ [Smooth f] {β : Type} [Fintype β] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) |
| 22 | (hP : P.HasIncidenceTrace β D T) (J : X.IdealSheafData) (a : β → ℕ), |
| 23 | C = Global.CompanionIdeal.Construction.globalCompanionIdeal J (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) m b → |
| 24 | K = Global.CompanionIdeal.Construction.globalCompanionIdeal (P.transformIdeal J m) |
| 25 | (Global.MixedBoundary.Construction.boundaryMonomialSheaf (P.boundaryAtLength D T.length (hP.stepCount P D T)) (T.companionExponents a m b)) m b ∧ |
| 26 | P.transformIdeal (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a * J) b = |
| 27 | Global.MixedBoundary.Construction.boundaryMonomialSheaf (P.boundaryAtLength D T.length (hP.stepCount P D T)) (T.companionExponents a m b) * |
| 28 | P.transformIdeal J m := by |
| 29 | induction P with |
| 30 | | stop => |
| 31 | intro _ β _ D T hP J a hC |
| 32 | cases T with |
| 33 | | stop => exact ⟨hC, rfl⟩ |
| 34 | | step => exact False.elim hP |
| 35 | | @blowup X hX hNX f C I hI hc hp hs hbl Y g K tail ih => |
| 36 | intro hf β _ D T hP J a hC |
| 37 | let : Smooth f := hf |
| 38 | let : Smooth (I.subschemeι ≫ f) := hs |
| 39 | let : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) := hbl |
| 40 | cases T with |
| 41 | | stop => exact False.elim hP |
| 42 | | step F rest => |
| 43 | obtain ⟨A, hF⟩ := hP.1 |
| 44 | let D' := CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D |
| 45 | let a₁ := Boundary.MonomialSchedule.Construction.boundaryScheduleExponents a (b - m) F |
| 46 | let J₁ := GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI m |
| 47 | obtain ⟨hJ, hM, _⟩ := Global.CompanionIdeal.Construction.globalCompanionIdeal_smooth_center_permissible |
| 48 | f I J (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) m b hm hmb (hC ▸ hp) |
| 49 | have hmon : GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) hI (b - m) = |
| 50 | Global.MixedBoundary.Construction.boundaryMonomialSheaf D' a₁ := |
| 51 | A.monomial_transform_uniform_incidence F (fun i _ => hF i) hI a (b - m) hM |
| 52 | have hcomp : GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I C hI (m * (b - m)) = |
| 53 | Global.CompanionIdeal.Construction.globalCompanionIdeal J₁ (Global.MixedBoundary.Construction.boundaryMonomialSheaf D' a₁) m b := by |
| 54 | rw [hC, Global.CompanionTransform.Construction.globalBlowup_companion_transform I J (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) hI m b hJ hM, hmon] |
| 55 | have hproduct : GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a * J) hI b = |
| 56 | Global.MixedBoundary.Construction.boundaryMonomialSheaf D' a₁ * J₁ := by |
| 57 | rw [Global.CompanionTransform.Construction.globalBlowup_companion_product_transform I (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) J hI m b (Nat.le_of_lt hmb) hM hJ, hmon] |
| 58 | have htail : tail.HasIncidenceTrace (Option β) D' rest := hP.2 |
| 59 | have he : (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.blowup I hI hc hp hs hbl tail).boundaryAtLength D (rest.length + 1) |
| 60 | (hP.stepCount _ D (.step F rest)) = tail.boundaryAtLength D' rest.length (htail.stepCount tail D' rest) := |
| 61 | IncidenceTraceComposition.Construction.relabelBoundaryByLength_succ (hP.stepCount _ D (.step F rest)) (tail.canonicalBoundary D') |
| 62 | change K = Global.CompanionIdeal.Construction.globalCompanionIdeal (tail.transformIdeal J₁ m) |
| 63 | (Global.MixedBoundary.Construction.boundaryMonomialSheaf ((Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.blowup I hI hc hp hs hbl tail).boundaryAtLength D (rest.length + 1) |
| 64 | (hP.stepCount _ D (.step F rest))) (rest.companionExponents a₁ m b)) m b ∧ |
| 65 | tail.transformIdeal (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a * J) hI b) b = |
| 66 | Global.MixedBoundary.Construction.boundaryMonomialSheaf ((Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.blowup I hI hc hp hs hbl tail).boundaryAtLength D (rest.length + 1) |
| 67 | (hP.stepCount _ D (.step F rest))) (rest.companionExponents a₁ m b) * tail.transformIdeal J₁ m |
| 68 | rw [he, hproduct] |
| 69 | exact ih D' rest htail J₁ a₁ hcomp |
| 70 | |
| 71 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.exists_companion_prefix |
| 72 | {m b : ℕ} (hm : 0 < m) (hmb : m < b) |
| 73 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 74 | {C : X.IdealSheafData} {K : Y.IdealSheafData} |
| 75 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (m * (b - m)) X f C Y g K) |
| 76 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) |
| 77 | (hP : P.HasIncidenceTrace β D T) (J : X.IdealSheafData) (a : β → ℕ) |
| 78 | (hC : C = Global.CompanionIdeal.Construction.globalCompanionIdeal J (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) m b) : |
| 79 | ∃ (R : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix m X f J Y g (P.transformIdeal J m)) |
| 80 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a * J) Y g |
| 81 | (Global.MixedBoundary.Construction.boundaryMonomialSheaf (P.boundaryAtLength D T.length (hP.stepCount P D T)) (T.companionExponents a m b) * |
| 82 | P.transformIdeal J m)), |
| 83 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups (m * (b - m)) m P R ∧ Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups (m * (b - m)) b P Q := by |
| 84 | obtain ⟨J', a', R, Q, hR, hQ, hK⟩ := P.exists_companion_same_blowups hm hmb β D |
| 85 | (hP.uniformBoundaryCompatible P D T) J a hC |
| 86 | have hres := hR.transformIdeal |
| 87 | subst J' |
| 88 | have htransforms := hP.companion_transforms hm hmb P D T J a hC |
| 89 | have hnext : ∃ S : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a * J) Y g |
| 90 | (Global.MixedBoundary.Construction.boundaryMonomialSheaf (P.boundaryAtLength D T.length (hP.stepCount P D T)) (T.companionExponents a m b) * |
| 91 | P.transformIdeal J m), Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups (m * (b - m)) b P S := by |
| 92 | rw [← htransforms.2, hQ.transformIdeal] |
| 93 | exact ⟨Q, hQ⟩ |
| 94 | obtain ⟨S, hS⟩ := hnext |
| 95 | exact ⟨R, S, hR, hS⟩ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Resolution.Blowups |