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.CompanionOrder |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.AffineEtaleControlTree |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.MaximumOrderTransform |
| 4 | |
| 5 | /-! # Companion Control -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.CompanionControl.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite actual companion phases with separate residual and exceptional controls. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem blowup_companion_product_factorization {R : Type u} [CommRing R] |
| 18 | (I J M : Ideal R) (a : I) (m b : ℕ) (hmb : m ≤ b) |
| 19 | (hJ : J ≤ I ^ m) (hM : M ≤ I ^ (b - m)) : |
| 20 | ControlledTransform.Construction.blowupControlledTransform I (M * J) b a = |
| 21 | ControlledTransform.Construction.blowupControlledTransform I M (b - m) a * ControlledTransform.Construction.blowupControlledTransform I J m a := by |
| 22 | have h := ResidualCoefficientTransform.Construction.blowup_product_controlledTransform I M J a (b - m) m b (by omega) hM hJ |
| 23 | rw [Nat.sub_add_cancel hmb, Nat.sub_self, pow_zero (Blowup.Charts.Construction.blowupChartConstants I a a.val), |
| 24 | Ideal.span_singleton_one, Ideal.top_mul] at h |
| 25 | exact h |
| 26 | |
| 27 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra |
| 28 | |
| 29 | /-- Each node records the unchanged total control, both actual factor |
| 30 | controls, smooth framed centers, and exact product transformation. At leaves |
| 31 | the residual maximum-order stratum misses the unresolved product locus. -/ |
| 32 | inductive CompanionControlPhaseTree (k : Type u) [CommRing k] (m b : ℕ) : |
| 33 | (R : CommRingCat.{u}) → [Algebra k R] → Ideal R → Ideal R → Type (u + 1) |
| 34 | | terminal {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 35 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J m = ⊤) |
| 36 | (hdrop : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (M * J) (b - 1) ⊔ |
| 37 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J (m - 1) = ⊤) : |
| 38 | CompanionControlPhaseTree k m b R M J |
| 39 | | refineEtale {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 40 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J m = ⊤) |
| 41 | (ι : Type u) [Fintype ι] (S : ι → CommRingCat.{u}) [∀ i, Algebra k (S i)] |
| 42 | (f : ∀ i, R →ₐ[k] S i) (hf : ∀ i, (f i).toRingHom.Etale) |
| 43 | (hcover : ∀ p : PrimeSpectrum R, ∃ i, ∃ q : PrimeSpectrum (S i), |
| 44 | PrimeSpectrum.comap (f i).toRingHom q = p) |
| 45 | (children : ∀ i, CompanionControlPhaseTree k m b (S i) |
| 46 | (M.map (f i).toRingHom) (J.map (f i).toRingHom)) : |
| 47 | CompanionControlPhaseTree k m b R M J |
| 48 | | blowup {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 49 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J m = ⊤) |
| 50 | (I : Ideal R) (hM : M ≤ I ^ (b - m)) (hJ : J ≤ I ^ m) (hprod : M * J ≤ I ^ b) |
| 51 | (hfactor : ∀ a : I, ControlledTransform.Construction.blowupControlledTransform I (M * J) b a = |
| 52 | ControlledTransform.Construction.blowupControlledTransform I M (b - m) a * ControlledTransform.Construction.blowupControlledTransform I J m a) |
| 53 | (hsmooth : Algebra.Smooth k (R ⧸ I)) |
| 54 | (hblowup : Smooth (ReesGrading.Construction.affineBlowupToSpec I ≫ Spec.map (CommRingCat.ofHom (algebraMap k R)))) |
| 55 | (ι : Type u) [Fintype ι] [DecidableEq ι] (g : ι → I) (D : ι → Derivation k R R) |
| 56 | (hD : ∀ i j, D i (g j).val = if i = j then 1 else 0) |
| 57 | (hgen : Ideal.span (Set.range (fun i => (g i).val)) = I) |
| 58 | (children : ∀ i, CompanionControlPhaseTree k m b (.of (Blowup.Charts.Construction.blowupChart I (g i))) |
| 59 | (ControlledTransform.Construction.blowupControlledTransform I M (b - m) (g i)) (ControlledTransform.Construction.blowupControlledTransform I J m (g i))) : |
| 60 | CompanionControlPhaseTree k m b R M J |
| 61 | |
| 62 | def CompanionControlPhaseTree.blowupDepth {k : Type u} [CommRing k] {m b : ℕ} |
| 63 | {R : CommRingCat.{u}} [Algebra k R] {M J : Ideal R} |
| 64 | (T : Construction.CompanionControlPhaseTree k m b R M J) : ℕ := by |
| 65 | classical |
| 66 | induction T with |
| 67 | | terminal hbound hdrop => exact 0 |
| 68 | | refineEtale hbound ι S f hf hcover children ih => exact Finset.univ.sup ih |
| 69 | | blowup hbound I hM hJ hprod hfactor hsmooth hblowup ι g D hD hgen children ih => |
| 70 | exact (Finset.univ.sup ih) + 1 |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Resolution.Blowups.CompanionControl.Construction |