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.CompanionControl |
| 2 | |
| 3 | /-! # Residual Control -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ResidualControl.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual residual-order phases with exact product control and explicitly tracked remaining factors. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra |
| 16 | |
| 17 | /-- The tracked factor is updated by an explicit ideal on each actual |
| 18 | chart. Its product with the residual transform is exactly the original |
| 19 | product's fixed-control transform. Terminal leaves have smaller residual |
| 20 | order everywhere that the product is still unresolved. -/ |
| 21 | inductive ResidualControlPhaseTree (k : Type u) [CommRing k] (m b : ℕ) : |
| 22 | (R : CommRingCat.{u}) → [Algebra k R] → Ideal R → Ideal R → Type (u + 1) |
| 23 | | terminal {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 24 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J m = ⊤) |
| 25 | (hdrop : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (M * J) (b - 1) ⊔ |
| 26 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J (m - 1) = ⊤) : |
| 27 | ResidualControlPhaseTree k m b R M J |
| 28 | | refineEtale {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 29 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J m = ⊤) |
| 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, ResidualControlPhaseTree k m b (S i) |
| 35 | (M.map (f i).toRingHom) (J.map (f i).toRingHom)) : |
| 36 | ResidualControlPhaseTree k m b R M J |
| 37 | | blowup {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 38 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J m = ⊤) |
| 39 | (I : Ideal R) (hJ : J ≤ I ^ m) (hprod : M * J ≤ I ^ b) |
| 40 | (M' : ∀ a : I, Ideal (Blowup.Charts.Construction.blowupChart I a)) |
| 41 | (hfactor : ∀ a : I, ControlledTransform.Construction.blowupControlledTransform I (M * J) b a = |
| 42 | M' a * ControlledTransform.Construction.blowupControlledTransform I J m a) |
| 43 | (hsmooth : Algebra.Smooth k (R ⧸ I)) |
| 44 | (hblowup : Smooth (ReesGrading.Construction.affineBlowupToSpec I ≫ Spec.map (CommRingCat.ofHom (algebraMap k R)))) |
| 45 | (ι : Type u) [Fintype ι] [DecidableEq ι] (g : ι → I) (D : ι → Derivation k R R) |
| 46 | (hD : ∀ i j, D i (g j).val = if i = j then 1 else 0) |
| 47 | (hgen : Ideal.span (Set.range (fun i => (g i).val)) = I) |
| 48 | (children : ∀ i, ResidualControlPhaseTree k m b (.of (Blowup.Charts.Construction.blowupChart I (g i))) |
| 49 | (M' (g i)) (ControlledTransform.Construction.blowupControlledTransform I J m (g i))) : |
| 50 | ResidualControlPhaseTree k m b R M J |
| 51 | |
| 52 | def ResidualControlPhaseTree.blowupDepth {k : Type u} [CommRing k] {m b : ℕ} |
| 53 | {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 54 | (T : Construction.ResidualControlPhaseTree k m b R M J) : ℕ := by |
| 55 | classical |
| 56 | induction T with |
| 57 | | terminal hbound hdrop => exact 0 |
| 58 | | refineEtale hbound ι S f hf hcover children ih => exact Finset.univ.sup ih |
| 59 | | blowup hbound I hJ hprod M' hfactor hsmooth hblowup ι g D hD hgen children ih => |
| 60 | exact (Finset.univ.sup ih) + 1 |
| 61 | |
| 62 | /-- Companion phases are residual phases with their separately controlled |
| 63 | factor as the explicit next factor; all actual centers and depths are retained. -/ |
| 64 | theorem exists_residual_phase_of_companion_phase (k : Type u) [CommRing k] |
| 65 | {m b : ℕ} {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 66 | (T : CompanionControl.Construction.CompanionControlPhaseTree k m b R M J) : |
| 67 | ∃ S : Construction.ResidualControlPhaseTree k m b R M J, S.blowupDepth = T.blowupDepth := by |
| 68 | classical |
| 69 | induction T with |
| 70 | | terminal hbound hdrop => exact ⟨.terminal hbound hdrop, rfl⟩ |
| 71 | | refineEtale hbound ι A f hf hcover children ih => |
| 72 | refine ⟨.refineEtale hbound ι A f hf hcover (fun i => (ih i).choose), ?_⟩ |
| 73 | change (Finset.univ.sup fun i => (ih i).choose.blowupDepth) = |
| 74 | (Finset.univ.sup fun i => (children i).blowupDepth) |
| 75 | exact Finset.sup_congr rfl (fun i _ => (ih i).choose_spec) |
| 76 | | @blowup R _ M J hbound I hM hJ hprod hfactor hsmooth hblowup ι _ _ g D hD hgen children ih => |
| 77 | refine ⟨.blowup hbound I hJ hprod (fun a => ControlledTransform.Construction.blowupControlledTransform I M (b - m) a) |
| 78 | hfactor hsmooth hblowup ι g D hD hgen (fun i => (ih i).choose), ?_⟩ |
| 79 | change (Finset.univ.sup fun i => (ih i).choose.blowupDepth) + 1 = |
| 80 | (Finset.univ.sup fun i => (children i).blowupDepth) + 1 |
| 81 | congr 1 |
| 82 | exact Finset.sup_congr rfl (fun i _ => (ih i).choose_spec) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Resolution.Blowups.ResidualControl.Construction |