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.Smooth.BoundaryAuxiliaryOrder |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.AffineEtaleControlTree |
| 3 | |
| 4 | /-! # Control Phase Tree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.ControlPhaseTree.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual finite boundary-intersection phases with separate marked and boundary transforms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra |
| 17 | |
| 18 | /-- A boundary phase retains the selected intersection at control one, |
| 19 | the original ideal at its prescribed control, and their exact auxiliary |
| 20 | identity. At terminal leaves the selected intersection misses the entire |
| 21 | remaining marked order locus. -/ |
| 22 | inductive BoundaryControlPhaseTree (k : Type u) [CommRing k] (m : ℕ) : |
| 23 | (R : CommRingCat.{u}) → [Algebra k R] → Ideal R → Ideal R → Type (u + 1) |
| 24 | | terminal {R : CommRingCat.{u}} [Algebra k R] {J L : Ideal R} |
| 25 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k L 1 = ⊤) |
| 26 | (hclear : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J (m - 1) ⊔ L = ⊤) : |
| 27 | BoundaryControlPhaseTree k m R J L |
| 28 | | refineEtale {R : CommRingCat.{u}} [Algebra k R] {J L : Ideal R} |
| 29 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k L 1 = ⊤) |
| 30 | (ι : Type u) [Fintype ι] (S : ι → CommRingCat.{u}) [∀ i, Algebra k (S i)] |
| 31 | (f : ∀ i, R →ₐ[k] S i) (hf : ∀ i, (f i).toRingHom.Etale) |
| 32 | (hcover : ∀ p : PrimeSpectrum R, ∃ i, ∃ q : PrimeSpectrum (S i), |
| 33 | PrimeSpectrum.comap (f i).toRingHom q = p) |
| 34 | (children : ∀ i, BoundaryControlPhaseTree k m (S i) |
| 35 | (J.map (f i).toRingHom) (L.map (f i).toRingHom)) : BoundaryControlPhaseTree k m R J L |
| 36 | | blowup {R : CommRingCat.{u}} [Algebra k R] {J L : Ideal R} |
| 37 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k L 1 = ⊤) |
| 38 | (I : Ideal R) (hJ : J ≤ I ^ m) (hL : L ≤ I) |
| 39 | (hfactor : ∀ a : I, ControlledTransform.Construction.blowupControlledTransform I (AuxiliaryIdeal.Construction.boundaryAuxiliaryIdeal J L m) m a = |
| 40 | AuxiliaryIdeal.Construction.boundaryAuxiliaryIdeal (ControlledTransform.Construction.blowupControlledTransform I J m a) (ControlledTransform.Construction.blowupControlledTransform I L 1 a) m) |
| 41 | (hsmooth : Algebra.Smooth k (R ⧸ I)) |
| 42 | (hblowup : Smooth (ReesGrading.Construction.affineBlowupToSpec I ≫ Spec.map (CommRingCat.ofHom (algebraMap k R)))) |
| 43 | (ι : Type u) [Fintype ι] [DecidableEq ι] (g : ι → I) (D : ι → Derivation k R R) |
| 44 | (hD : ∀ i j, D i (g j).val = if i = j then 1 else 0) |
| 45 | (hgen : Ideal.span (Set.range (fun i => (g i).val)) = I) |
| 46 | (children : ∀ i, BoundaryControlPhaseTree k m (.of (Blowup.Charts.Construction.blowupChart I (g i))) |
| 47 | (ControlledTransform.Construction.blowupControlledTransform I J m (g i)) (ControlledTransform.Construction.blowupControlledTransform I L 1 (g i))) : |
| 48 | BoundaryControlPhaseTree k m R J L |
| 49 | |
| 50 | def BoundaryControlPhaseTree.blowupDepth {k : Type u} [CommRing k] {m : ℕ} |
| 51 | {R : CommRingCat.{u}} [Algebra k R] {J L : Ideal R} |
| 52 | (T : Construction.BoundaryControlPhaseTree k m R J L) : ℕ := by |
| 53 | classical |
| 54 | induction T with |
| 55 | | terminal hbound hclear => exact 0 |
| 56 | | refineEtale hbound ι S f hf hcover children ih => exact Finset.univ.sup ih |
| 57 | | blowup hbound I hJ hL hfactor hsmooth hblowup ι g D hD hgen children ih => |
| 58 | exact (Finset.univ.sup ih) + 1 |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.ControlPhaseTree.Construction |