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.SupportedCenterBlowup |
| 2 | |
| 3 | /-! # Supported Blowup Smooth Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.SupportedBlowupSmoothGluing.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smoothness gluing for a supported blowup step: the local blowup |
| 10 | and the unchanged complement form an actual open cover. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem opensRange_of_open_pullback |
| 17 | {X' X Y' Y : Scheme.{u}} (i : X' ⟶ X) (f' : X' ⟶ Y') (f : X ⟶ Y) (j : Y' ⟶ Y) |
| 18 | [IsOpenImmersion i] [IsOpenImmersion j] (hpb : IsPullback i f' f j) : |
| 19 | i.opensRange = f ⁻¹ᵁ j.opensRange := by |
| 20 | have he : (hpb.isoPullback.hom ≫ pullback.fst f j).opensRange = i.opensRange := by |
| 21 | congr 1 |
| 22 | exact hpb.isoPullback_hom_fst |
| 23 | rw [Scheme.Hom.opensRange_comp_of_isIso, Scheme.Hom.opensRange_pullbackFst] at he |
| 24 | exact he.symm |
| 25 | |
| 26 | theorem smooth_on_opensRange_of_open_immersion |
| 27 | {X U Z : Scheme.{u}} (f : X ⟶ Z) (j : U ⟶ X) [IsOpenImmersion j] |
| 28 | [Smooth (j ≫ f)] : Smooth (j.opensRange.ι ≫ f) := by |
| 29 | have he : Set.range j = Set.range j.opensRange.ι := by |
| 30 | rw [Scheme.Opens.range_ι] |
| 31 | rfl |
| 32 | let e := IsOpenImmersion.isoOfRangeEq j j.opensRange.ι he |
| 33 | have heq : e.inv ≫ j = j.opensRange.ι := IsOpenImmersion.isoOfRangeEq_inv_fac j _ he |
| 34 | let : Smooth (e.inv ≫ (j ≫ f)) := inferInstance |
| 35 | have h : Smooth ((e.inv ≫ j) ≫ f) := by simpa only [Category.assoc] using |
| 36 | (inferInstance : Smooth (e.inv ≫ (j ≫ f))) |
| 37 | rw [heq] at h |
| 38 | exact h |
| 39 | |
| 40 | theorem smooth_of_two_source_opens |
| 41 | {X Z : Scheme.{u}} (f : X ⟶ Z) (U V : X.Opens) (hcover : U ⊔ V = ⊤) |
| 42 | [Smooth (U.ι ≫ f)] [Smooth (V.ι ≫ f)] : Smooth f := by |
| 43 | let : IsZariskiLocalAtSource @AlgebraicGeometry.Smooth.{u} := |
| 44 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 45 | let W : Bool → X.Opens := fun b => if b then U else V |
| 46 | have hW : iSup W = ⊤ := by |
| 47 | simpa only [W, iSup_bool_eq, Bool.false_eq_true, ite_false, ite_true, sup_comm V U] using hcover |
| 48 | apply IsZariskiLocalAtSource.of_iSup_eq_top (P := @Smooth) W hW |
| 49 | intro b |
| 50 | cases b |
| 51 | · exact (inferInstance : Smooth (V.ι ≫ f)) |
| 52 | · exact (inferInstance : Smooth (U.ι ≫ f)) |
| 53 | |
| 54 | /-- A modification is smooth over the original base if its local |
| 55 | description is smooth and the complementary region is unchanged. |
| 56 | The two regions cover the whole source by the actual pullback square. -/ |
| 57 | theorem smooth_of_local_pullback_and_iso_complement |
| 58 | {X' X Y' Y Z : Scheme.{u}} (i : X' ⟶ X) (f' : X' ⟶ Y') (π : X ⟶ Y) |
| 59 | (j : Y' ⟶ Y) (f : Y ⟶ Z) [IsOpenImmersion j] (hpb : IsPullback i f' π j) |
| 60 | (V : Y.Opens) (hcover : j.opensRange ⊔ V = ⊤) |
| 61 | [Smooth f] [Smooth (f' ≫ j ≫ f)] [IsIso (π ∣_ V)] : Smooth (π ≫ f) := by |
| 62 | let : IsOpenImmersion i := |
| 63 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) hpb.flip inferInstance |
| 64 | have hirange := opensRange_of_open_pullback i f' π j hpb |
| 65 | have hsourcecover : i.opensRange ⊔ π ⁻¹ᵁ V = ⊤ := by |
| 66 | rw [hirange, ← Scheme.Hom.preimage_sup, hcover, Scheme.Hom.preimage_top] |
| 67 | let : Smooth (i ≫ (π ≫ f)) := by |
| 68 | rw [← Category.assoc, hpb.w, Category.assoc] |
| 69 | infer_instance |
| 70 | let : Smooth (i.opensRange.ι ≫ (π ≫ f)) := |
| 71 | smooth_on_opensRange_of_open_immersion (π ≫ f) i |
| 72 | let : Smooth ((π ⁻¹ᵁ V).ι ≫ (π ≫ f)) := by |
| 73 | rw [← Category.assoc, ← morphismRestrict_ι π V, Category.assoc] |
| 74 | infer_instance |
| 75 | exact smooth_of_two_source_opens (π ≫ f) i.opensRange (π ⁻¹ᵁ V) hsourcecover |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Resolution.Blowups.SupportedBlowupSmoothGluing.Construction |