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.MonomialTree |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.SubsetMonomialTransform |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SubsetCoordinateBlowup |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SubsetCenter |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialOrderLocus |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.ClosedOrder |
| 7 | |
| 8 | /-! # Monomial Verification -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Verifying finite monomial resolution trees against actual proper blowups and local order at their leaves. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {σ K : Type u} [Fintype σ] [Field K] [CharZero K] [IsAlgClosed K] |
| 21 | |
| 22 | omit [CharZero K] [IsAlgClosed K] in |
| 23 | theorem MonomialVerification.Construction.coordinateMonomial_ne_zero (a : σ → ℕ) : MonomialBlowupChart.Construction.coordinateMonomial (R := K) a ≠ 0 := by |
| 24 | apply Finset.prod_ne_zero_iff.mpr |
| 25 | intro j _ |
| 26 | exact pow_ne_zero _ (X_ne_zero j) |
| 27 | |
| 28 | omit [CharZero K] [IsAlgClosed K] in |
| 29 | theorem MonomialVerification.Construction.coordinateMonomial_totalDegree_le (a : σ → ℕ) : |
| 30 | (MonomialBlowupChart.Construction.coordinateMonomial (R := K) a).totalDegree ≤ ∑ j, a j := by |
| 31 | simpa only [MonomialBlowupChart.Construction.coordinateMonomial, totalDegree_X_pow] using |
| 32 | totalDegree_finsetProd Finset.univ (fun j => (X j : MvPolynomial σ K) ^ a j) |
| 33 | |
| 34 | variable [DecidableEq σ] |
| 35 | |
| 36 | /-- A leaf's exponent bound excludes the order locus at every closed point |
| 37 | of its actual affine space. -/ |
| 38 | theorem MonomialVerification.Construction.coordinateMonomial_leaf_order (a : σ → ℕ) (b : ℕ) (hb : (∑ j, a j) < b) |
| 39 | (q : Ideal (MvPolynomial σ K)) [q.IsMaximal] : |
| 40 | ¬ (Ideal.span {MonomialBlowupChart.Construction.coordinateMonomial (R := K) a}).map |
| 41 | (algebraMap (MvPolynomial σ K) (Localization.AtPrime q)) ≤ |
| 42 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b := by |
| 43 | intro h |
| 44 | let J : Ideal (MvPolynomial σ K) := Ideal.span {MonomialBlowupChart.Construction.coordinateMonomial a} |
| 45 | have hd : DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J (∑ j, a j) = ⊤ := |
| 46 | DifferentialOrderLocus.Construction.iteratedDifferentialIdeal_eq_top_of_degree_bound (∑ j, a j) J (MonomialBlowupChart.Construction.coordinateMonomial a) |
| 47 | (MonomialVerification.Construction.coordinateMonomial_totalDegree_le a) (Ideal.mem_span_singleton_self _) (MonomialVerification.Construction.coordinateMonomial_ne_zero a) |
| 48 | have hl := (Etale.ClosedOrder.Construction.etale_closedPoint_order_iff_differentialIdeal (σ := σ) (K := K) J q (∑ j, a j)).mp |
| 49 | (h.trans (Ideal.pow_le_pow_right (by omega))) |
| 50 | rw [hd] at hl |
| 51 | exact (show q.IsMaximal from inferInstance).ne_top (top_le_iff.mp hl) |
| 52 | |
| 53 | /-- A verification predicate for the local tree: its nodes are proper |
| 54 | smooth-ambient blowups with the stated actual controlled ideals, and every |
| 55 | leaf has empty closed-point order locus at the prescribed control. -/ |
| 56 | def MonomialTree.Construction.MonomialResolutionTree.VerifiedOver (K : Type u) [Field K] |
| 57 | {b : ℕ} {a : σ → ℕ} : MonomialTree.Construction.MonomialResolutionTree b a → Prop |
| 58 | | .done a _ => ∀ (q : Ideal (MvPolynomial σ K)) [q.IsMaximal], |
| 59 | ¬ (Ideal.span {MonomialBlowupChart.Construction.coordinateMonomial a}).map |
| 60 | (algebraMap (MvPolynomial σ K) (Localization.AtPrime q)) ≤ |
| 61 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b |
| 62 | | .blowup a C _ children => |
| 63 | Algebra.Smooth K (Blowups.Smooth.SubsetCenter.Construction.subsetCoordinateCenterRing (R := K) C) ∧ |
| 64 | IsProper (ReesGrading.Construction.affineBlowupToSpec (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := K) C)) ∧ |
| 65 | Smooth (ReesGrading.Construction.affineBlowupToSpec (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := K) C) ≫ |
| 66 | Spec.map (CommRingCat.ofHom (MvPolynomial.C : K →+* MvPolynomial σ K))) ∧ |
| 67 | (∀ i : C, |
| 68 | (ControlledTransform.Construction.blowupControlledTransform (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := K) C) |
| 69 | (Ideal.span {MonomialBlowupChart.Construction.coordinateMonomial a}) b (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)).map |
| 70 | (SubsetCoordinateBlowup.Construction.subsetCoordinateBlowupToPolynomial C i) = |
| 71 | Ideal.span {MonomialBlowupChart.Construction.coordinateMonomial (R := K) (MonomialTermination.Construction.monomialChartExponents a b C i.val)}) ∧ |
| 72 | ∀ i : C, (children i).VerifiedOver K |
| 73 | |
| 74 | /-- Every tree assembled from minimal coordinate centers satisfies its |
| 75 | geometric and ideal-theoretic verification conditions. -/ |
| 76 | theorem MonomialTree.Construction.MonomialResolutionTree.verifiedOver {b : ℕ} {a : σ → ℕ} (T : MonomialTree.Construction.MonomialResolutionTree b a) : |
| 77 | T.VerifiedOver K := by |
| 78 | induction T with |
| 79 | | done a ha => exact MonomialVerification.Construction.coordinateMonomial_leaf_order a b ha |
| 80 | | blowup a C hC children ih => |
| 81 | exact ⟨Blowups.Smooth.SubsetCenter.Construction.subsetCoordinateCenter_smooth C, inferInstance, Blowups.Smooth.SubsetCoordinateBlowup.Construction.subsetCoordinateBlowup_smooth C, |
| 82 | fun i => SubsetMonomialTransform.Construction.subsetCoordinateMonomial_controlledIdeal a b C hC.2.1 i, ih⟩ |
| 83 | |
| 84 | /-- A finite verified local monomial resolution exists for every positive |
| 85 | control. This is a tree of actual affine blowup charts; it does not assert |
| 86 | that independently chosen centers on overlapping charts glue globally. -/ |
| 87 | theorem MonomialVerification.Construction.exists_verified_local_monomial_resolution (b : ℕ) (hb : 0 < b) (a : σ → ℕ) : |
| 88 | ∃ T : MonomialTree.Construction.MonomialResolutionTree b a, T.height ≤ ∑ j, a j ∧ T.VerifiedOver K := |
| 89 | ⟨MonomialTree.Construction.monomialResolutionTree b hb a, MonomialTree.Construction.MonomialResolutionTree.height_le _, |
| 90 | MonomialTree.Construction.MonomialResolutionTree.verifiedOver _⟩ |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Resolution.Blowups |