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.SubsetCoordinateBlowup |
| 2 | |
| 3 | /-! # Subset Center -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SubsetCenter.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The selected coordinate centers themselves are smooth affine spaces. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {σ R : Type u} [CommRing R] [DecidableEq σ] |
| 16 | |
| 17 | abbrev subsetCoordinateCenterRing (C : Finset σ) := MvPolynomial σ R ⧸ SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C |
| 18 | |
| 19 | def deleteCenterCoordinates (C : Finset σ) : MvPolynomial σ R →+* MvPolynomial {j : σ // j ∉ C} R := |
| 20 | eval₂Hom MvPolynomial.C (fun j => if hj : j ∈ C then 0 else X ⟨j, hj⟩) |
| 21 | |
| 22 | theorem deleteCenterCoordinates_C (C : Finset σ) (r : R) : |
| 23 | deleteCenterCoordinates C (MvPolynomial.C r) = MvPolynomial.C r := by |
| 24 | simp [deleteCenterCoordinates] |
| 25 | |
| 26 | theorem deleteCenterCoordinates_X_in (C : Finset σ) (j : σ) (hj : j ∈ C) : |
| 27 | deleteCenterCoordinates (R := R) C (X j) = 0 := by |
| 28 | simp [deleteCenterCoordinates, hj] |
| 29 | |
| 30 | theorem deleteCenterCoordinates_X_out (C : Finset σ) (j : σ) (hj : j ∉ C) : |
| 31 | deleteCenterCoordinates (R := R) C (X j) = X ⟨j, hj⟩ := by |
| 32 | simp [deleteCenterCoordinates, hj] |
| 33 | |
| 34 | def subsetCenterToPolynomial (C : Finset σ) : |
| 35 | subsetCoordinateCenterRing (R := R) C →+* MvPolynomial {j : σ // j ∉ C} R := |
| 36 | Ideal.Quotient.lift _ (deleteCenterCoordinates C) (by |
| 37 | change SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C ≤ RingHom.ker (deleteCenterCoordinates (R := R) C) |
| 38 | apply Ideal.span_le.mpr |
| 39 | rintro p ⟨j, hj, rfl⟩ |
| 40 | exact deleteCenterCoordinates_X_in C j hj) |
| 41 | |
| 42 | theorem subsetCenterToPolynomial_mk (C : Finset σ) (p : MvPolynomial σ R) : |
| 43 | subsetCenterToPolynomial C (Ideal.Quotient.mk (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) p) = |
| 44 | deleteCenterCoordinates C p := rfl |
| 45 | |
| 46 | def polynomialToSubsetCenter (C : Finset σ) : |
| 47 | MvPolynomial {j : σ // j ∉ C} R →+* subsetCoordinateCenterRing (R := R) C := |
| 48 | eval₂Hom ((Ideal.Quotient.mk (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C)).comp MvPolynomial.C) |
| 49 | (fun j => Ideal.Quotient.mk (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (X j.val)) |
| 50 | |
| 51 | omit [DecidableEq σ] in |
| 52 | theorem polynomialToSubsetCenter_C (C : Finset σ) (r : R) : |
| 53 | polynomialToSubsetCenter C (MvPolynomial.C r) = |
| 54 | Ideal.Quotient.mk (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (MvPolynomial.C r) := by |
| 55 | simp [polynomialToSubsetCenter] |
| 56 | |
| 57 | omit [DecidableEq σ] in |
| 58 | theorem polynomialToSubsetCenter_X (C : Finset σ) (j : {j : σ // j ∉ C}) : |
| 59 | polynomialToSubsetCenter (R := R) C (X j) = Ideal.Quotient.mk (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (X j.val) := by |
| 60 | simp [polynomialToSubsetCenter] |
| 61 | |
| 62 | theorem subsetCenterToPolynomial_fromPolynomial (C : Finset σ) : |
| 63 | (subsetCenterToPolynomial (R := R) C).comp (polynomialToSubsetCenter C) = |
| 64 | RingHom.id (MvPolynomial {j : σ // j ∉ C} R) := by |
| 65 | apply MvPolynomial.ringHom_ext |
| 66 | · intro r |
| 67 | rw [RingHom.comp_apply, polynomialToSubsetCenter_C, subsetCenterToPolynomial_mk, |
| 68 | deleteCenterCoordinates_C] |
| 69 | rfl |
| 70 | · intro j |
| 71 | rw [RingHom.comp_apply, polynomialToSubsetCenter_X, subsetCenterToPolynomial_mk, |
| 72 | deleteCenterCoordinates_X_out C j.val j.property] |
| 73 | rfl |
| 74 | |
| 75 | theorem polynomialToSubsetCenter_toPolynomial (C : Finset σ) : |
| 76 | (polynomialToSubsetCenter (R := R) C).comp (subsetCenterToPolynomial C) = |
| 77 | RingHom.id (subsetCoordinateCenterRing (R := R) C) := by |
| 78 | apply Ideal.Quotient.ringHom_ext |
| 79 | apply MvPolynomial.ringHom_ext |
| 80 | · intro r |
| 81 | change polynomialToSubsetCenter C |
| 82 | (subsetCenterToPolynomial C (Ideal.Quotient.mk (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (MvPolynomial.C r))) = _ |
| 83 | rw [subsetCenterToPolynomial_mk, deleteCenterCoordinates_C, polynomialToSubsetCenter_C] |
| 84 | rfl |
| 85 | · intro j |
| 86 | change polynomialToSubsetCenter C |
| 87 | (subsetCenterToPolynomial C (Ideal.Quotient.mk (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (X j))) = _ |
| 88 | rw [subsetCenterToPolynomial_mk] |
| 89 | by_cases hj : j ∈ C |
| 90 | · rw [deleteCenterCoordinates_X_in C j hj, map_zero] |
| 91 | have hz : Ideal.Quotient.mk (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C) (X j) = 0 := |
| 92 | Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.subset_span ⟨j, hj, rfl⟩) |
| 93 | exact hz.symm |
| 94 | · rw [deleteCenterCoordinates_X_out C j hj, polynomialToSubsetCenter_X] |
| 95 | rfl |
| 96 | |
| 97 | /-- The actual center quotient is polynomial in precisely the unselected coordinates. -/ |
| 98 | def subsetCoordinateCenterAlgEquiv (C : Finset σ) : |
| 99 | subsetCoordinateCenterRing (R := R) C ≃ₐ[R] MvPolynomial {j : σ // j ∉ C} R where |
| 100 | __ := RingEquiv.ofRingHom (subsetCenterToPolynomial C) (polynomialToSubsetCenter C) |
| 101 | (subsetCenterToPolynomial_fromPolynomial C) (polynomialToSubsetCenter_toPolynomial C) |
| 102 | commutes' r := deleteCenterCoordinates_C C r |
| 103 | |
| 104 | /-- The center chosen by the monomial rule is smooth over the coefficient base. -/ |
| 105 | theorem subsetCoordinateCenter_smooth [Finite σ] (C : Finset σ) : |
| 106 | Algebra.Smooth R (subsetCoordinateCenterRing (R := R) C) := by |
| 107 | let : Algebra.Smooth R (MvPolynomial {j : σ // j ∉ C} R) := ⟨inferInstance, inferInstance⟩ |
| 108 | exact Algebra.Smooth.of_equiv (subsetCoordinateCenterAlgEquiv C).symm |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SubsetCenter.Construction |