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.Locally.PrincipalIdealSheaf |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalControlled.Factorization |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.OpenBoundaryTransport |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.GlobalUnitSequenceGeometry |
| 5 | |
| 6 | /-! # Exceptional Principality -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every exceptional center pullback is locally principal, giving actual global principalization at unit endpoints. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem ExceptionalPrincipality.Construction.globalBlowup_center_locallyPrincipal |
| 17 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] (I : X.IdealSheafData) (hI : I ≠ ⊥) : |
| 18 | Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf (I.comap (GlobalBlowup.Data.Construction.globalBlowupToBase I hI)) := by |
| 19 | intro x |
| 20 | obtain ⟨p, q, hq⟩ := GlobalControlled.Chart.Construction.exists_globalBlowupReesChart I hI x |
| 21 | let R := Blowup.Charts.Construction.blowupChart (I.ideal p.1) p.2 |
| 22 | let j := GlobalControlled.Chart.Construction.globalBlowupReesChart I hI p.1 p.2 |
| 23 | let K := I.comap (GlobalBlowup.Data.Construction.globalBlowupToBase I hI) |
| 24 | let a : R := Blowup.Charts.Construction.blowupChartConstants (I.ideal p.1) p.2 p.2.val |
| 25 | have hK : K.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {a}) := |
| 26 | (GlobalControlled.Factorization.Construction.totalIdeal_comap_globalBlowupReesChart I I hI p.1 p.2).trans |
| 27 | (congrArg Affine.QuotientKernel.Construction.affineQuotientKernel (ExceptionalIdeal.Construction.blowupChart_extendedIdeal (I := I.ideal p.1) p.2)) |
| 28 | refine ⟨Affine.OpenBoundaryTransport.Construction.specOpenImage (.of R) j, ?_, (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (.of R) j).symm a, ?_⟩ |
| 29 | · rw [Affine.OpenBoundaryTransport.Construction.specOpenImage_eq_opensRange] |
| 30 | exact ⟨q, hq⟩ |
| 31 | · exact Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv_equation (.of R) j K a hK |
| 32 | |
| 33 | theorem UnitSequence.Construction.SmoothGlobalUnitSequence.exceptionalProduct_locallyPrincipal |
| 34 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 35 | (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf T.exceptionalProduct := by |
| 36 | induction T with |
| 37 | | @terminal Y g hs => exact Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf.top Y |
| 38 | | blowup I hI b hb hp hs hbl tail ih => |
| 39 | change Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf |
| 40 | ((I.comap (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI)) ^ b * tail.exceptionalProduct) |
| 41 | rw [Scheme.IdealSheafData.comap_comp] |
| 42 | exact (((ExceptionalPrincipality.Construction.globalBlowup_center_locallyPrincipal I hI).comap tail.toBase).pow b).mul ih |
| 43 | |
| 44 | theorem UnitSequence.Construction.SmoothGlobalUnitSequence.totalTransform_locallyPrincipal |
| 45 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 46 | (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf (J.comap T.toBase) := by |
| 47 | rw [← T.exceptionalProduct_eq_totalTransform] |
| 48 | exact T.exceptionalProduct_locallyPrincipal |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global |