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.Boundary.IntersectionCenters |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.Smooth |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.SupportedBlowupSmoothGluing |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.GeneratedBlowupCover |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.QuotientBaseChange |
| 6 | |
| 7 | /-! # Local Smoothness -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Smoothness of an ambient ring and its actual boundary-intersection blowups from local models. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra |
| 20 | |
| 21 | theorem LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts.smooth |
| 22 | {k : Type u} [CommRing k] {R : CommRingCat.{u}} [Algebra k R] |
| 23 | {ι : Type v} {w : ι → R} (h : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R w) : Algebra.Smooth k R := by |
| 24 | let B (p : PrimeSpectrum R) := (h p).some |
| 25 | let f := Spec.map (CommRingCat.ofHom (algebraMap k R)) |
| 26 | let j (p : PrimeSpectrum R) := Spec.map (CommRingCat.ofHom (B p).map.toRingHom) |
| 27 | let : ∀ p, IsOpenImmersion (j p) := fun p => (B p).isOpenImmersion |
| 28 | have hcover : ⨆ p, (j p).opensRange = ⊤ := by |
| 29 | apply top_le_iff.mp |
| 30 | intro p _ |
| 31 | apply TopologicalSpace.Opens.mem_iSup.mpr |
| 32 | exact ⟨p, (B p).point, (B p).point_over⟩ |
| 33 | have hlocal (p : PrimeSpectrum R) : Smooth (j p ≫ f) := by |
| 34 | have hs : Smooth (Spec.map (CommRingCat.ofHom (algebraMap k (B p).carrier))) := |
| 35 | (HasRingHomProperty.Spec_iff (P := @Smooth)).mpr |
| 36 | (RingHom.smooth_algebraMap.mpr (B p).model.smooth) |
| 37 | have he : j p ≫ f = Spec.map (CommRingCat.ofHom (algebraMap k (B p).carrier)) := by |
| 38 | rw [← Spec.map_comp] |
| 39 | congr 1 |
| 40 | ext x |
| 41 | exact (B p).map.commutes x |
| 42 | rwa [he] |
| 43 | have hs : Smooth f := by |
| 44 | let : IsZariskiLocalAtSource @AlgebraicGeometry.Smooth.{u} := |
| 45 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 46 | apply IsZariskiLocalAtSource.of_iSup_eq_top (P := @Smooth) (fun p => (j p).opensRange) hcover |
| 47 | intro p |
| 48 | let : Smooth (j p ≫ f) := hlocal p |
| 49 | exact SupportedBlowupSmoothGluing.Construction.smooth_on_opensRange_of_open_immersion f (j p) |
| 50 | exact RingHom.smooth_algebraMap.mp ((HasRingHomProperty.Spec_iff (P := @Smooth)).mp hs) |
| 51 | |
| 52 | theorem LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts.intersection_blowup_smooth |
| 53 | {k : Type u} [Field k] {R : CommRingCat.{u}} [Algebra k R] |
| 54 | {ι : Type u} {w : ι → R} (h : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R w) (C : Finset ι) : |
| 55 | Smooth (ReesGrading.Construction.affineBlowupToSpec (Boundary.CountReduction.Construction.boundaryIntersectionIdeal w C) ≫ |
| 56 | Spec.map (CommRingCat.ofHom (algebraMap k R))) := by |
| 57 | let I := Boundary.CountReduction.Construction.boundaryIntersectionIdeal w C |
| 58 | let g : C → I := Boundary.Schedule.Construction.boundaryIntersectionGenerator w C |
| 59 | have hgen : Ideal.span (Set.range (fun i => (g i).val)) = I := rfl |
| 60 | let : IsZariskiLocalAtSource @AlgebraicGeometry.Smooth.{u} := |
| 61 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 62 | apply IsZariskiLocalAtSource.of_openCover (P := @Smooth) |
| 63 | (GeneratedBlowupCover.Construction.affineBlowupGeneratorAffineCover I g hgen).openCover |
| 64 | intro i |
| 65 | change C at i |
| 66 | have hs : Algebra.Smooth k (Blowup.Charts.Construction.blowupChart I (g i)) := (h.blowup_intersection C i).smooth |
| 67 | change Smooth (Proj.awayι (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I (g i)) |
| 68 | (Blowup.Charts.Construction.reesGenerator_mem I (g i)) (by decide) ≫ |
| 69 | (ReesGrading.Construction.affineBlowupToSpec I ≫ Spec.map (CommRingCat.ofHom (algebraMap k R)))) |
| 70 | rw [← Category.assoc, Blowup.Charts.Construction.affineBlowup_chart_structureMap, ← Spec.map_comp] |
| 71 | exact (HasRingHomProperty.Spec_iff (P := @Smooth)).mpr (RingHom.smooth_algebraMap.mpr hs) |
| 72 | |
| 73 | theorem LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts.intersection_smooth |
| 74 | {k : Type u} [CommRing k] {R : CommRingCat.{u}} [Algebra k R] |
| 75 | {ι : Type v} {w : ι → R} (h : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R w) (C : Finset ι) : |
| 76 | Algebra.Smooth k (R ⧸ Boundary.CountReduction.Construction.boundaryIntersectionIdeal w C) := by |
| 77 | let I := Boundary.CountReduction.Construction.boundaryIntersectionIdeal w C |
| 78 | let B (p : PrimeSpectrum R) := (h p).some |
| 79 | let A (p : PrimeSpectrum R) : Type u := (B p).carrier |
| 80 | let : ∀ p, Algebra R (A p) := fun p => (B p).map.toRingHom.toAlgebra |
| 81 | let : ∀ p, IsScalarTower k R (A p) := fun p => |
| 82 | IsScalarTower.of_algebraMap_eq (fun x => ((B p).map.commutes x).symm) |
| 83 | let Q := R ⧸ I |
| 84 | let T (p : PrimeSpectrum R) := A p ⧸ I.map (algebraMap R (A p)) |
| 85 | let : ∀ p, IsScalarTower k Q (T p) := fun _ => Blowups.Smooth.TransformedCoordinateHypersurface.Construction.extendedQuotient_scalarTower I |
| 86 | let q := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)) |
| 87 | let f := Spec.map (CommRingCat.ofHom (algebraMap k Q)) |
| 88 | let r (p : PrimeSpectrum R) := Spec.map (CommRingCat.ofHom (algebraMap R (A p))) |
| 89 | let j (p : PrimeSpectrum R) := Spec.map (CommRingCat.ofHom (algebraMap Q (T p))) |
| 90 | let g (p : PrimeSpectrum R) := |
| 91 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I.map (algebraMap R (A p))))) |
| 92 | let : ∀ p, IsOpenImmersion (r p) := fun p => (B p).isOpenImmersion |
| 93 | have hpb (p : PrimeSpectrum R) : IsPullback (j p) (g p) q (r p) := |
| 94 | Affine.QuotientBaseChange.Construction.affineQuotient_baseChange_isPullback (S := A p) I |
| 95 | let : ∀ p, IsOpenImmersion (j p) := fun p => |
| 96 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) (hpb p).flip inferInstance |
| 97 | have hrange (p : PrimeSpectrum R) : (j p).opensRange = q ⁻¹ᵁ (r p).opensRange := |
| 98 | SupportedBlowupSmoothGluing.Construction.opensRange_of_open_pullback (j p) (g p) q (r p) (hpb p) |
| 99 | have hambient : ⨆ p, (r p).opensRange = ⊤ := by |
| 100 | apply top_le_iff.mp |
| 101 | intro p _ |
| 102 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨p, (B p).point, (B p).point_over⟩ |
| 103 | have hcover : ⨆ p, (j p).opensRange = ⊤ := by |
| 104 | simp_rw [hrange] |
| 105 | rw [← Scheme.Hom.preimage_iSup, hambient, Scheme.Hom.preimage_top] |
| 106 | have hlocal (p : PrimeSpectrum R) : Smooth (j p ≫ f) := by |
| 107 | have hs : Algebra.Smooth k (T p) := by |
| 108 | change Algebra.Smooth k (A p ⧸ I.map (B p).map.toRingHom) |
| 109 | rw [Boundary.IntersectionCenters.Construction.boundaryIntersectionIdeal_map] |
| 110 | exact (B p).model.intersection_smooth C |
| 111 | rw [← Spec.map_comp] |
| 112 | have he : CommRingCat.ofHom (algebraMap k Q) ≫ CommRingCat.ofHom (algebraMap Q (T p)) = |
| 113 | CommRingCat.ofHom (algebraMap k (T p)) := by |
| 114 | ext x |
| 115 | exact (IsScalarTower.algebraMap_apply k Q (T p) x).symm |
| 116 | rw [he] |
| 117 | exact (HasRingHomProperty.Spec_iff (P := @Smooth)).mpr (RingHom.smooth_algebraMap.mpr hs) |
| 118 | have hs : Smooth f := by |
| 119 | let : IsZariskiLocalAtSource @AlgebraicGeometry.Smooth.{u} := |
| 120 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 121 | apply IsZariskiLocalAtSource.of_iSup_eq_top (P := @Smooth) (fun p => (j p).opensRange) hcover |
| 122 | intro p |
| 123 | let : Smooth (j p ≫ f) := hlocal p |
| 124 | exact SupportedBlowupSmoothGluing.Construction.smooth_on_opensRange_of_open_immersion f (j p) |
| 125 | exact RingHom.smooth_algebraMap.mp ((HasRingHomProperty.Spec_iff (P := @Smooth)).mp hs) |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.Resolution.Blowups |