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.Affine.FramedControlTree |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Curve.CenterFiniteFrameCover |
| 3 | |
| 4 | /-! # Framed Open Control Tree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Affine.FramedOpenControlTree.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite coordinate-center blowup trees allowing finite affine open refinement. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra |
| 17 | |
| 18 | /-- Every branch uses the same control. Refinement nodes are finite actual |
| 19 | affine open covers; blowup nodes are actual charts of centers with dual |
| 20 | coordinate frames. No existence assertion is built into this type. -/ |
| 21 | inductive AffineFramedOpenControlTree (k : Type u) [CommRing k] (b : ℕ) : |
| 22 | (R : CommRingCat.{u}) → [Algebra k R] → Ideal R → Type (u + 1) |
| 23 | | terminal {R : CommRingCat.{u}} [Algebra k R] {J : Ideal R} |
| 24 | (hterminal : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J (b - 1) = ⊤) : |
| 25 | AffineFramedOpenControlTree k b R J |
| 26 | | refineOpen {R : CommRingCat.{u}} [Algebra k R] {J : Ideal R} |
| 27 | (ι : Type u) [Fintype ι] (S : ι → CommRingCat.{u}) [∀ i, Algebra k (S i)] |
| 28 | (f : ∀ i, R →ₐ[k] S i) |
| 29 | (hf : ∀ i, IsOpenImmersion (Spec.map (CommRingCat.ofHom (f i).toRingHom))) |
| 30 | (hcover : ∀ p : PrimeSpectrum R, ∃ i, ∃ q : PrimeSpectrum (S i), |
| 31 | PrimeSpectrum.comap (f i).toRingHom q = p) |
| 32 | (children : ∀ i, AffineFramedOpenControlTree k b (S i) (J.map (f i).toRingHom)) : |
| 33 | AffineFramedOpenControlTree k b R J |
| 34 | | blowup {R : CommRingCat.{u}} [Algebra k R] {J : Ideal R} |
| 35 | (ι : Type u) [Fintype ι] [DecidableEq ι] |
| 36 | (g : ι → R) (D : ι → Derivation k R R) |
| 37 | (hD : ∀ i j, D i (g j) = if i = j then 1 else 0) |
| 38 | (hb : 0 < b) (hperm : J ≤ (Ideal.span (Set.range g)) ^ b) |
| 39 | (children : ∀ i, AffineFramedOpenControlTree k b |
| 40 | (.of (Blowup.Charts.Construction.blowupChart (Ideal.span (Set.range g)) ⟨g i, Ideal.subset_span ⟨i, rfl⟩⟩)) |
| 41 | (ControlledTransform.Construction.blowupControlledTransform (Ideal.span (Set.range g)) J b |
| 42 | ⟨g i, Ideal.subset_span ⟨i, rfl⟩⟩)) : |
| 43 | AffineFramedOpenControlTree k b R J |
| 44 | |
| 45 | /-- Counts blowup depth; passing to an affine open cover does not increase it. -/ |
| 46 | def AffineFramedOpenControlTree.blowupDepth {k : Type u} [CommRing k] {b : ℕ} |
| 47 | {R : CommRingCat.{u}} [Algebra k R] {J : Ideal R} |
| 48 | (T : Construction.AffineFramedOpenControlTree k b R J) : ℕ := by |
| 49 | classical |
| 50 | induction T with |
| 51 | | terminal ht => exact 0 |
| 52 | | refineOpen ι S f hf hcover children ih => exact Finset.univ.sup ih |
| 53 | | blowup ι g D hD hb hperm children ih => exact (Finset.univ.sup ih) + 1 |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Resolution.Blowups.Affine.FramedOpenControlTree.Construction |