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 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoordinateBlowup |
| 3 | |
| 4 | /-! # Subset Coordinate Blowup -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SubsetCoordinateBlowup.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smoothness of actual blowups along selected coordinate subsets, including étale base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R σ : Type u} [CommRing R] [DecidableEq σ] |
| 17 | |
| 18 | abbrev subsetCoordinateBlowupAlgebra (C : Finset σ) (i : C) : |
| 19 | Algebra R (SubsetCoordinateBlowup.Construction.subsetCoordinateBlowupChart (R := R) C i) := |
| 20 | ((Blowup.Charts.Construction.blowupChartConstants (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)).comp MvPolynomial.C).toAlgebra |
| 21 | |
| 22 | attribute [local instance] subsetCoordinateBlowupAlgebra |
| 23 | |
| 24 | def subsetCoordinateBlowupChartAlgEquiv (C : Finset σ) (i : C) : |
| 25 | SubsetCoordinateBlowup.Construction.subsetCoordinateBlowupChart (R := R) C i ≃ₐ[R] MvPolynomial σ R where |
| 26 | __ := SubsetCoordinateBlowup.Construction.subsetCoordinateBlowupChartEquiv C i |
| 27 | commutes' r := (SubsetCoordinateBlowup.Construction.subsetCoordinateBlowupToPolynomial_constants C i (MvPolynomial.C r)).trans |
| 28 | (SubsetCoordinateBlowup.Construction.subsetCoordinateSubstitution_C C i r) |
| 29 | |
| 30 | theorem subsetCoordinateBlowupChart_smooth [Finite σ] (C : Finset σ) (i : C) : |
| 31 | Algebra.Smooth R (SubsetCoordinateBlowup.Construction.subsetCoordinateBlowupChart (R := R) C i) := by |
| 32 | let : Algebra.Smooth R (MvPolynomial σ R) := ⟨inferInstance, inferInstance⟩ |
| 33 | exact Algebra.Smooth.of_equiv (subsetCoordinateBlowupChartAlgEquiv C i).symm |
| 34 | |
| 35 | theorem subsetCoordinateBlowupChart_scheme_smooth [Finite σ] (C : Finset σ) (i : C) : |
| 36 | AlgebraicGeometry.Smooth (Spec.map (CommRingCat.ofHom |
| 37 | ((Blowup.Charts.Construction.blowupChartConstants (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)).comp |
| 38 | (MvPolynomial.C : R →+* MvPolynomial σ R)))) := by |
| 39 | rw [HasRingHomProperty.Spec_iff (P := @AlgebraicGeometry.Smooth)] |
| 40 | exact (RingHom.smooth_algebraMap (R := R) (S := SubsetCoordinateBlowup.Construction.subsetCoordinateBlowupChart (R := R) C i)).mpr |
| 41 | (subsetCoordinateBlowupChart_smooth C i) |
| 42 | |
| 43 | omit [DecidableEq σ] in |
| 44 | theorem subsetCoordinate_generators_span (C : Finset σ) : |
| 45 | Submodule.span (MvPolynomial σ R) (Set.range (SubsetCoordinateBlowup.Construction.subsetCoordinateElement (R := R) C)) = ⊤ := by |
| 46 | apply (Submodule.span_range_subtype_eq_top_iff (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C) |
| 47 | (fun i : C => (SubsetCoordinateBlowup.Construction.subsetCoordinateElement (R := R) C i).property)).mpr |
| 48 | change Ideal.span (Set.range (fun i : C => (X i.val : MvPolynomial σ R))) = |
| 49 | Ideal.span (X '' (C : Set σ)) |
| 50 | apply congrArg Ideal.span |
| 51 | ext p |
| 52 | constructor |
| 53 | · rintro ⟨i, hi⟩ |
| 54 | exact ⟨i.val, i.property, hi⟩ |
| 55 | · rintro ⟨i, hi, h⟩ |
| 56 | exact ⟨⟨i, hi⟩, h⟩ |
| 57 | |
| 58 | omit [DecidableEq σ] in |
| 59 | theorem subsetCoordinateBlowup_basicOpen_cover (C : Finset σ) : |
| 60 | (⨆ i : C, Proj.basicOpen (ReesGrading.Construction.reesGrade (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C)) |
| 61 | (Blowup.Charts.Construction.reesGenerator (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i))) = ⊤ := |
| 62 | Proj.iSup_basicOpen_eq_top' (ReesGrading.Construction.reesGrade (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C)) |
| 63 | (fun i => Blowup.Charts.Construction.reesGenerator (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)) |
| 64 | (fun i => ⟨1, Blowup.Charts.Construction.reesGenerator_mem (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)⟩) |
| 65 | (CoordinateBlowup.Construction.reesFamily_adjoin_zero (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) _ (subsetCoordinate_generators_span C)) |
| 66 | |
| 67 | def subsetCoordinateBlowupAffineCover (C : Finset σ) : |
| 68 | (ReesGrading.Construction.affineBlowup (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C)).AffineOpenCover where |
| 69 | I₀ := C |
| 70 | X i := .of (SubsetCoordinateBlowup.Construction.subsetCoordinateBlowupChart (R := R) C i) |
| 71 | f i := Proj.awayι (ReesGrading.Construction.reesGrade (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C)) |
| 72 | (Blowup.Charts.Construction.reesGenerator (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)) |
| 73 | (Blowup.Charts.Construction.reesGenerator_mem (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)) (by decide) |
| 74 | idx x := (TopologicalSpace.Opens.mem_iSup.mp |
| 75 | ((subsetCoordinateBlowup_basicOpen_cover C).ge (Set.mem_univ x))).choose |
| 76 | covers x := by |
| 77 | change x ∈ (Proj.awayι (ReesGrading.Construction.reesGrade (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C)) _ _ _).opensRange |
| 78 | rw [Proj.opensRange_awayι] |
| 79 | exact (TopologicalSpace.Opens.mem_iSup.mp |
| 80 | ((subsetCoordinateBlowup_basicOpen_cover C).ge (Set.mem_univ x))).choose_spec |
| 81 | |
| 82 | /-- The entire blowup along a selected coordinate subset remains smooth. -/ |
| 83 | theorem subsetCoordinateBlowup_smooth [Finite σ] (C : Finset σ) : |
| 84 | Smooth (ReesGrading.Construction.affineBlowupToSpec (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C) ≫ |
| 85 | Spec.map (CommRingCat.ofHom (MvPolynomial.C : R →+* MvPolynomial σ R))) := by |
| 86 | let : IsZariskiLocalAtSource @AlgebraicGeometry.Smooth.{u} := |
| 87 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 88 | apply IsZariskiLocalAtSource.of_openCover (P := @AlgebraicGeometry.Smooth.{u}) |
| 89 | (subsetCoordinateBlowupAffineCover (R := R) C).openCover |
| 90 | intro i |
| 91 | change C at i |
| 92 | change Smooth (Proj.awayι (ReesGrading.Construction.reesGrade (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C)) |
| 93 | (Blowup.Charts.Construction.reesGenerator (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)) |
| 94 | (Blowup.Charts.Construction.reesGenerator_mem (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (SubsetCoordinateBlowup.Construction.subsetCoordinateElement C i)) (by decide) ≫ |
| 95 | (ReesGrading.Construction.affineBlowupToSpec (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) ≫ Spec.map (CommRingCat.ofHom MvPolynomial.C))) |
| 96 | rw [← Category.assoc, Blowup.Charts.Construction.affineBlowup_chart_structureMap, ← Spec.map_comp] |
| 97 | exact subsetCoordinateBlowupChart_scheme_smooth C i |
| 98 | |
| 99 | variable {S : Type u} [CommRing S] [Algebra (MvPolynomial σ R) S] |
| 100 | [Algebra.Etale (MvPolynomial σ R) S] |
| 101 | |
| 102 | /-- Smoothness of the selected coordinate blowup persists under an étale ambient map. -/ |
| 103 | theorem subsetCoordinateBlowup_smooth_of_etale [Finite σ] (C : Finset σ) : |
| 104 | Smooth (ReesGrading.Construction.affineBlowupToSpec ((SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C).map (algebraMap (MvPolynomial σ R) S)) ≫ |
| 105 | Spec.map (CommRingCat.ofHom (algebraMap (MvPolynomial σ R) S)) ≫ |
| 106 | Spec.map (CommRingCat.ofHom (MvPolynomial.C : R →+* MvPolynomial σ R))) := by |
| 107 | let : Etale (ReesMap.Construction.affineBlowupMap (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) (algebraMap (MvPolynomial σ R) S)) := |
| 108 | Blowup.FlatBaseChange.Construction.affineBlowupMap_etale (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C) |
| 109 | let : Smooth (ReesGrading.Construction.affineBlowupToSpec (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (R := R) C) ≫ |
| 110 | Spec.map (CommRingCat.ofHom (MvPolynomial.C : R →+* MvPolynomial σ R))) := subsetCoordinateBlowup_smooth C |
| 111 | rw [← Category.assoc, ← Blowup.BaseOpen.Construction.affineBlowupMap_over, Category.assoc] |
| 112 | infer_instance |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SubsetCoordinateBlowup.Construction |