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.ChartFlatBaseChange |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.BaseOpen |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Cover |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 5 | |
| 6 | /-! # Flat Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.FlatBaseChange.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Flat base change of the actual affine Rees blowup. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 19 | |
| 20 | theorem reesGradedMap_generator (I : Ideal R) (φ : R →+* S) (a : I) : |
| 21 | ReesMap.Construction.reesGradedMap I φ (Charts.Construction.reesGenerator I a) = |
| 22 | Charts.Construction.reesGenerator (I.map φ) ⟨φ a.val, Ideal.mem_map_of_mem φ a.property⟩ := |
| 23 | ReesMap.Construction.reesRingMap_generator I φ a |
| 24 | |
| 25 | /-- The explicit coefficient chart map is the restriction of the Proj map. -/ |
| 26 | theorem affineBlowupMap_chart (I : Ideal R) (φ : R →+* S) (a : I) : |
| 27 | Spec.map (CommRingCat.ofHom (ChartLift.Construction.blowupChartMap I φ a)) ≫ |
| 28 | Proj.awayι (ReesGrading.Construction.reesGrade I) (Charts.Construction.reesGenerator I a) (Charts.Construction.reesGenerator_mem I a) (by decide) = |
| 29 | Proj.awayι (ReesGrading.Construction.reesGrade (I.map φ)) |
| 30 | (Charts.Construction.reesGenerator (I.map φ) ⟨φ a.val, Ideal.mem_map_of_mem φ a.property⟩) |
| 31 | (Charts.Construction.reesGenerator_mem (I.map φ) _) (by decide) ≫ ReesMap.Construction.affineBlowupMap I φ := by |
| 32 | have h := Proj.awayι_comp_map (ReesMap.Construction.reesGradedMap I φ) (ReesMap.Construction.reesGradedMap_irrelevant_le I φ) |
| 33 | (show 0 < (1 : ℕ) by decide) (Charts.Construction.reesGenerator I a) (Charts.Construction.reesGenerator_mem I a) |
| 34 | have haux (s : reesAlgebra (I.map φ)) (hs : s ∈ ReesGrading.Construction.reesGrade (I.map φ) 1) |
| 35 | (he : ReesMap.Construction.reesGradedMap I φ (Charts.Construction.reesGenerator I a) = s) |
| 36 | (hle : Submonoid.powers (Charts.Construction.reesGenerator I a) ≤ (Submonoid.powers s).comap (ReesMap.Construction.reesGradedMap I φ)) : |
| 37 | Spec.map (CommRingCat.ofHom (HomogeneousLocalization.map (ReesMap.Construction.reesGradedMap I φ) hle)) ≫ |
| 38 | Proj.awayι (ReesGrading.Construction.reesGrade I) (Charts.Construction.reesGenerator I a) (Charts.Construction.reesGenerator_mem I a) (by decide) = |
| 39 | Proj.awayι (ReesGrading.Construction.reesGrade (I.map φ)) s hs (by decide) ≫ ReesMap.Construction.affineBlowupMap I φ := by |
| 40 | subst s |
| 41 | exact h.symm |
| 42 | apply haux _ _ (reesGradedMap_generator I φ a) |
| 43 | |
| 44 | /-- The mapped chart is exactly the inverse image of its target chart. -/ |
| 45 | theorem affineBlowupMap_chart_isPullback (I : Ideal R) (φ : R →+* S) (a : I) : |
| 46 | IsPullback (Spec.map (CommRingCat.ofHom (ChartLift.Construction.blowupChartMap I φ a))) |
| 47 | (Proj.awayι (ReesGrading.Construction.reesGrade (I.map φ)) |
| 48 | (Charts.Construction.reesGenerator (I.map φ) ⟨φ a.val, Ideal.mem_map_of_mem φ a.property⟩) |
| 49 | (Charts.Construction.reesGenerator_mem (I.map φ) _) (by decide)) |
| 50 | (Proj.awayι (ReesGrading.Construction.reesGrade I) (Charts.Construction.reesGenerator I a) (Charts.Construction.reesGenerator_mem I a) (by decide)) |
| 51 | (ReesMap.Construction.affineBlowupMap I φ) := by |
| 52 | apply IsOpenImmersion.isPullback |
| 53 | · exact (affineBlowupMap_chart I φ a).symm |
| 54 | · rw [Proj.opensRange_awayι, Proj.opensRange_awayι] |
| 55 | exact (Proj.map_preimage_basicOpen (ReesMap.Construction.reesGradedMap I φ) (ReesMap.Construction.reesGradedMap_irrelevant_le I φ) |
| 56 | (Charts.Construction.reesGenerator I a)).trans (congrArg _ (reesGradedMap_generator I φ a)) |
| 57 | |
| 58 | /-- Flat scalar extension commutes with the actual affine blowup scheme. -/ |
| 59 | theorem affineBlowup_flat_isPullback [Algebra R S] [Module.Flat R S] (I : Ideal R) : |
| 60 | IsPullback (ReesMap.Construction.affineBlowupMap I (algebraMap R S)) |
| 61 | (ReesGrading.Construction.affineBlowupToSpec (I.map (algebraMap R S))) (ReesGrading.Construction.affineBlowupToSpec I) |
| 62 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 63 | let 𝒰 := (Cover.Construction.affineBlowupAffineCover I).openCover |
| 64 | apply Scheme.isPullback_of_openCover _ _ _ _ 𝒰 |
| 65 | intro a |
| 66 | change I at a |
| 67 | let b : I.map (algebraMap R S) := ⟨algebraMap R S a.val, Ideal.mem_map_of_mem _ a.property⟩ |
| 68 | let jR := Proj.awayι (ReesGrading.Construction.reesGrade I) (Charts.Construction.reesGenerator I a) (Charts.Construction.reesGenerator_mem I a) (by decide) |
| 69 | let jS := Proj.awayι (ReesGrading.Construction.reesGrade (I.map (algebraMap R S))) |
| 70 | (Charts.Construction.reesGenerator (I.map (algebraMap R S)) b) (Charts.Construction.reesGenerator_mem (I.map (algebraMap R S)) b) |
| 71 | (by decide) |
| 72 | let c := Spec.map (CommRingCat.ofHom (ChartLift.Construction.blowupChartMap I (algebraMap R S) a)) |
| 73 | have hchart : IsPullback c jS jR (ReesMap.Construction.affineBlowupMap I (algebraMap R S)) := |
| 74 | affineBlowupMap_chart_isPullback I (algebraMap R S) a |
| 75 | have houter : IsPullback c (jS ≫ ReesGrading.Construction.affineBlowupToSpec (I.map (algebraMap R S))) |
| 76 | (jR ≫ ReesGrading.Construction.affineBlowupToSpec I) (Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 77 | dsimp only [jR, jS, c] |
| 78 | rw [Charts.Construction.affineBlowup_chart_structureMap, Charts.Construction.affineBlowup_chart_structureMap] |
| 79 | exact ChartFlatBaseChange.Construction.blowupChart_flat_isPullback I a |
| 80 | change IsPullback |
| 81 | (Limits.pullback.snd (ReesMap.Construction.affineBlowupMap I (algebraMap R S)) jR) |
| 82 | (Limits.pullback.fst (ReesMap.Construction.affineBlowupMap I (algebraMap R S)) jR ≫ |
| 83 | ReesGrading.Construction.affineBlowupToSpec (I.map (algebraMap R S))) |
| 84 | (jR ≫ ReesGrading.Construction.affineBlowupToSpec I) (Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 85 | apply houter.of_iso hchart.flip.isoPullback (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 86 | · simp only [Iso.refl_hom, Category.comp_id] |
| 87 | exact hchart.flip.isoPullback_hom_snd.symm |
| 88 | · simp only [Iso.refl_hom, Category.comp_id] |
| 89 | exact (hchart.flip.isoPullback_hom_fst_assoc _).symm |
| 90 | · simp |
| 91 | · simp |
| 92 | |
| 93 | /-- An étale change of base induces an étale map between the actual blowups. -/ |
| 94 | theorem affineBlowupMap_etale [Algebra R S] [Algebra.Etale R S] (I : Ideal R) : |
| 95 | Etale (ReesMap.Construction.affineBlowupMap I (algebraMap R S)) := by |
| 96 | have hbase : Etale (Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 97 | rw [HasRingHomProperty.Spec_iff (P := @Etale)] |
| 98 | exact (RingHom.etale_algebraMap (R := R) (S := S)).mpr inferInstance |
| 99 | exact MorphismProperty.of_isPullback (P := @Etale) (affineBlowup_flat_isPullback I).flip hbase |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.FlatBaseChange.Construction |