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.Blowup.Charts |
| 2 | import Mathlib.AlgebraicGeometry.Properties |
| 3 | |
| 4 | /-! # Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Cover.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reducedness and integrality of the actual affine blowup for Blowups. -/ |
| 11 | |
| 12 | open _root_.Polynomial _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 17 | |
| 18 | /-- Blowup charts over a reduced ring are reduced, by their proved embedding |
| 19 | into a localization of that ring. -/ |
| 20 | instance blowupChart_isReduced [_root_.IsReduced R] (a : I) : |
| 21 | _root_.IsReduced (Charts.Construction.blowupChart I a) := |
| 22 | isReduced_of_injective (Charts.Construction.blowupChartToLocalization I a) |
| 23 | (Charts.Construction.blowupChartToLocalization_injective I a) |
| 24 | |
| 25 | /-- The affine open cover given by the degree-one Rees generators. -/ |
| 26 | def affineBlowupAffineCover : (ReesGrading.Construction.affineBlowup I).AffineOpenCover where |
| 27 | I₀ := I |
| 28 | X a := .of (Charts.Construction.blowupChart I a) |
| 29 | f a := Proj.awayι (ReesGrading.Construction.reesGrade I) (Charts.Construction.reesGenerator I a) (Charts.Construction.reesGenerator_mem I a) (by decide) |
| 30 | idx x := (TopologicalSpace.Opens.mem_iSup.mp |
| 31 | ((Charts.Construction.affineBlowup_chart_cover I).ge (Set.mem_univ x))).choose |
| 32 | covers x := by |
| 33 | change x ∈ (Proj.awayι (ReesGrading.Construction.reesGrade I) _ _ _).opensRange |
| 34 | rw [Proj.opensRange_awayι] |
| 35 | exact (TopologicalSpace.Opens.mem_iSup.mp |
| 36 | ((Charts.Construction.affineBlowup_chart_cover I).ge (Set.mem_univ x))).choose_spec |
| 37 | |
| 38 | /-- Blowup preserves reducedness on affine schemes. -/ |
| 39 | instance affineBlowup_isReduced [_root_.IsReduced R] : |
| 40 | AlgebraicGeometry.IsReduced (ReesGrading.Construction.affineBlowup I) := by |
| 41 | let 𝒰 := (affineBlowupAffineCover I).openCover |
| 42 | let : ∀ i : 𝒰.I₀, AlgebraicGeometry.IsReduced (𝒰.X i) := by |
| 43 | intro i |
| 44 | change AlgebraicGeometry.IsReduced (Spec (.of (Charts.Construction.blowupChart I i))) |
| 45 | apply (AlgebraicGeometry.affine_isReduced_iff (.of (Charts.Construction.blowupChart I i))).mpr |
| 46 | exact blowupChart_isReduced I i |
| 47 | exact AlgebraicGeometry.IsReduced.of_openCover (ReesGrading.Construction.affineBlowup I) 𝒰 |
| 48 | |
| 49 | /-- The zero homogeneous prime of the Rees algebra is a point of its Proj |
| 50 | when the base is a domain and the center ideal is nonzero. -/ |
| 51 | def affineBlowupGenericPoint [IsDomain R] (hI : I ≠ ⊥) : |
| 52 | ProjectiveSpectrum (ReesGrading.Construction.reesGrade I) where |
| 53 | asHomogeneousIdeal := ⊥ |
| 54 | isPrime := by |
| 55 | rw [HomogeneousIdeal.toIdeal_bot] |
| 56 | infer_instance |
| 57 | not_irrelevant_le := by |
| 58 | intro h |
| 59 | obtain ⟨a, ha, ha0⟩ := (Submodule.ne_bot_iff I).mp hI |
| 60 | have hz : Charts.Construction.reesGenerator I ⟨a, ha⟩ ∈ (⊥ : HomogeneousIdeal (ReesGrading.Construction.reesGrade I)) := |
| 61 | h (HomogeneousIdeal.mem_irrelevant_of_mem (ReesGrading.Construction.reesGrade I) (by decide) |
| 62 | (Charts.Construction.reesGenerator_mem I ⟨a, ha⟩)) |
| 63 | have hzero : Charts.Construction.reesGenerator I ⟨a, ha⟩ = 0 := by |
| 64 | change Charts.Construction.reesGenerator I ⟨a, ha⟩ ∈ (⊥ : HomogeneousIdeal (ReesGrading.Construction.reesGrade I)).toIdeal at hz |
| 65 | rw [HomogeneousIdeal.toIdeal_bot] at hz |
| 66 | exact Ideal.mem_bot.mp hz |
| 67 | apply ha0 |
| 68 | have hc := congrArg (fun p : reesAlgebra I => p.val.coeff 1) hzero |
| 69 | simpa [Charts.Construction.reesGenerator] using hc |
| 70 | |
| 71 | /-- The constructed zero prime is dense in the affine blowup. -/ |
| 72 | theorem affineBlowupGenericPoint_closure [IsDomain R] (hI : I ≠ ⊥) : |
| 73 | closure ({affineBlowupGenericPoint I hI} : Set (ProjectiveSpectrum (ReesGrading.Construction.reesGrade I))) = |
| 74 | Set.univ := by |
| 75 | apply Set.eq_univ_of_forall |
| 76 | intro x |
| 77 | apply (ProjectiveSpectrum.le_iff_mem_closure (ReesGrading.Construction.reesGrade I) |
| 78 | (affineBlowupGenericPoint I hI) x).mp |
| 79 | change (⊥ : HomogeneousIdeal (ReesGrading.Construction.reesGrade I)) ≤ x.asHomogeneousIdeal |
| 80 | exact bot_le |
| 81 | |
| 82 | /-- The blowup of a nonzero ideal in a domain is irreducible. -/ |
| 83 | theorem affineBlowup_irreducible [IsDomain R] (hI : I ≠ ⊥) : |
| 84 | IrreducibleSpace (ReesGrading.Construction.affineBlowup I) := by |
| 85 | apply (irreducibleSpace_def (ReesGrading.Construction.affineBlowup I)).mpr |
| 86 | change IsIrreducible (Set.univ : Set (ProjectiveSpectrum (ReesGrading.Construction.reesGrade I))) |
| 87 | rw [← affineBlowupGenericPoint_closure I hI] |
| 88 | exact (isIrreducible_singleton : IsIrreducible {affineBlowupGenericPoint I hI}).closure |
| 89 | |
| 90 | /-- The blowup of a nonzero ideal in an affine integral scheme is integral. -/ |
| 91 | theorem affineBlowup_integral [IsDomain R] (hI : I ≠ ⊥) : |
| 92 | AlgebraicGeometry.IsIntegral (ReesGrading.Construction.affineBlowup I) := by |
| 93 | let : IrreducibleSpace (ReesGrading.Construction.affineBlowup I) := affineBlowup_irreducible I hI |
| 94 | exact isIntegral_of_irreducibleSpace_of_isReduced (ReesGrading.Construction.affineBlowup I) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Cover.Construction |