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.CurveFixedControlStep |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.CurveChart |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.NoetherianCoordinateTransform |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.UnitCriterion |
| 5 | |
| 6 | /-! # Curve Fixed Control Tree -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Affine.CurveFixedControlTree.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite trees of actual affine curve blowup charts at a fixed positive control. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra |
| 19 | |
| 20 | /-- Every node records an actual smooth permissible center and a finite |
| 21 | generating family covering its actual blowup. Children use the original |
| 22 | coefficient algebra and the same control. Terminal ideals have empty order locus. -/ |
| 23 | inductive AffineCurveFixedControlTree (k : Type u) [CommRing k] (b : ℕ) : |
| 24 | (R : CommRingCat.{u}) → [Algebra k R] → Ideal R → Type (u + 1) |
| 25 | | terminal {R : CommRingCat.{u}} [Algebra k R] {J : Ideal R} |
| 26 | (hterminal : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J (b - 1) = ⊤) : |
| 27 | AffineCurveFixedControlTree k b R J |
| 28 | | blowup {R : CommRingCat.{u}} [Algebra k R] {J : Ideal R} |
| 29 | (I : Ideal R) (hb : 0 < b) (hperm : J ≤ I ^ b) |
| 30 | (hsmooth : Algebra.Smooth k (R ⧸ I)) (hπ : IsIso (ReesGrading.Construction.affineBlowupToSpec I)) |
| 31 | (s : Finset I) (hgen : Ideal.span (Set.range (fun x : s => (x.val : I).val)) = I) |
| 32 | (children : ∀ a : s, AffineCurveFixedControlTree k b (.of (Blowup.Charts.Construction.blowupChart I a.val)) |
| 33 | (ControlledTransform.Construction.blowupControlledTransform I J b a.val)) : |
| 34 | AffineCurveFixedControlTree k b R J |
| 35 | |
| 36 | def AffineCurveFixedControlTree.height {k : Type u} [CommRing k] {b : ℕ} |
| 37 | {R : CommRingCat.{u}} [Algebra k R] {J : Ideal R} |
| 38 | (T : Construction.AffineCurveFixedControlTree k b R J) : ℕ := by |
| 39 | classical |
| 40 | induction T with |
| 41 | | terminal ht => exact 0 |
| 42 | | blowup I hb hperm hsmooth hπ s hgen children ih => exact (Finset.univ.sup ih) + 1 |
| 43 | |
| 44 | variable (k : Type u) [Field k] [IsAlgClosed k] |
| 45 | |
| 46 | /-- A finite differential bound constructs a finitely branching tree of |
| 47 | actual curve blowups. The bound strictly decreases on every nonterminal branch, |
| 48 | and the prescribed positive control remains unchanged. -/ |
| 49 | theorem exists_bounded_affine_curve_fixed_control_tree (b : ℕ) (hb : 0 < b) (n : ℕ) : |
| 50 | ∀ (R : CommRingCat.{u}) [Algebra k R] [Algebra ℚ R] [IsNoetherianRing R] |
| 51 | [Algebra.Smooth k R] (J : Ideal R), ringKrullDim R ≤ 1 → |
| 52 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n = ⊤ → |
| 53 | ∃ T : Construction.AffineCurveFixedControlTree k b R J, T.height ≤ n := by |
| 54 | classical |
| 55 | induction n with |
| 56 | | zero => |
| 57 | intro R _ _ _ _ J _ hbound |
| 58 | have h := Coefficient.UnitCriterion.Construction.iteratedRelativeDifferentialIdeal_monotone_order k J (Nat.zero_le (b - 1)) |
| 59 | rw [hbound] at h |
| 60 | exact ⟨.terminal (top_le_iff.mp h), Nat.zero_le _⟩ |
| 61 | | succ n ih => |
| 62 | intro R _ _ _ _ J hd hbound |
| 63 | by_cases hbn : b ≤ n + 1 |
| 64 | · let I := Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n |
| 65 | obtain ⟨hperm, hsmooth, hπ, hnext⟩ := CurveFixedControlStep.Construction.affine_curve_fixed_control_step k hd J n b hb hbn hbound |
| 66 | let : IsIso (ReesGrading.Construction.affineBlowupToSpec I) := hπ |
| 67 | obtain ⟨s, hgen⟩ := CurveChart.Construction.exists_finite_blowup_generators I |
| 68 | have hchildren (a : s) : ∃ T : Construction.AffineCurveFixedControlTree k b |
| 69 | (.of (Blowup.Charts.Construction.blowupChart I a.val)) (ControlledTransform.Construction.blowupControlledTransform I J b a.val), T.height ≤ n := by |
| 70 | let : IsNoetherianRing (Blowup.Charts.Construction.blowupChart I a.val) := NoetherianCoordinateTransform.Construction.blowupChart_isNoetherian I a.val |
| 71 | let : Algebra.Smooth k (Blowup.Charts.Construction.blowupChart I a.val) := CurveChart.Construction.blowupChart_smooth_of_isIso k I a.val |
| 72 | exact ih (.of (Blowup.Charts.Construction.blowupChart I a.val)) (ControlledTransform.Construction.blowupControlledTransform I J b a.val) |
| 73 | ((OpenDimension.Construction.blowupChart_ringKrullDim_le_of_isIso I a.val).trans hd) (hnext a.val) |
| 74 | refine ⟨.blowup I hb hperm hsmooth hπ s hgen (fun a => (hchildren a).choose), ?_⟩ |
| 75 | change (Finset.univ.sup fun a => (hchildren a).choose.height) + 1 ≤ n + 1 |
| 76 | exact Nat.add_le_add_right (Finset.sup_le (fun a _ => (hchildren a).choose_spec)) 1 |
| 77 | · have h := Coefficient.UnitCriterion.Construction.iteratedRelativeDifferentialIdeal_monotone_order k J |
| 78 | (show n + 1 ≤ b - 1 by omega) |
| 79 | rw [hbound] at h |
| 80 | exact ⟨.terminal (top_le_iff.mp h), Nat.zero_le _⟩ |
| 81 | |
| 82 | /-- A finite tree exists at each positive control for every smooth affine |
| 83 | curve ideal with a finite differential bound. -/ |
| 84 | theorem exists_affine_curve_fixed_control_tree (b : ℕ) (hb : 0 < b) (n : ℕ) |
| 85 | (R : CommRingCat.{u}) [Algebra k R] [Algebra ℚ R] [IsNoetherianRing R] |
| 86 | [Algebra.Smooth k R] (J : Ideal R) (hd : ringKrullDim R ≤ 1) |
| 87 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n = ⊤) : |
| 88 | Nonempty (Construction.AffineCurveFixedControlTree k b R J) := by |
| 89 | obtain ⟨T, _⟩ := exists_bounded_affine_curve_fixed_control_tree k b hb n R J hd hbound |
| 90 | exact ⟨T⟩ |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Resolution.Blowups.Affine.CurveFixedControlTree.Construction |