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.ControlPrefix.ComparisonOpen |
| 2 | |
| 3 | /-! # Endpoint Open Cover -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual endpoints of open restrictions cover a program endpoint and detect its terminal order. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.endpoint_isOpenImmersion |
| 14 | {b : ℕ} {X Y V W : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 15 | {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 16 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 17 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) |
| 18 | (q : V ⟶ X) [IsOpenImmersion q] (r : W ⟶ Y) (hc : P.EtaleComparison Q q r) : |
| 19 | IsOpenImmersion r := |
| 20 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) (hc.endpoint_pullback P Q q r).2.1.flip inferInstance |
| 21 | |
| 22 | def Smooth.ControlPrefix.Construction.SmoothControlPrefix.endpointOpenCover |
| 23 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 24 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) |
| 25 | {ι : Type} (U : ι → Scheme) (j : ∀ i, U i ⟶ X) [∀ i, IsOpenImmersion (j i)] |
| 26 | (hcover : ∀ x : X, ∃ i y, j i y = x) |
| 27 | (h : ∀ i, U i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : ∀ i, (U i).IdealSheafData) |
| 28 | (V : ι → Scheme) (k : ∀ i, V i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : ∀ i, (V i).IdealSheafData) |
| 29 | (Q : ∀ i, Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (U i) (h i) (L i) (V i) (k i) (M i)) |
| 30 | (r : ∀ i, V i ⟶ Y) (hc : ∀ i, P.EtaleComparison (Q i) (j i) (r i)) : Y.OpenCover := by |
| 31 | let : ∀ i, IsOpenImmersion (r i) := fun i => (hc i).endpoint_isOpenImmersion P (Q i) (j i) (r i) |
| 32 | apply Scheme.Cover.mkOfCovers ι V r |
| 33 | intro x |
| 34 | obtain ⟨i, y, hy⟩ := hcover (P.toBase x) |
| 35 | obtain ⟨z, hz, _⟩ := Scheme.exists_preimage_of_isPullback |
| 36 | ((hc i).endpoint_pullback P (Q i) (j i) (r i)).2.1 x y hy.symm |
| 37 | exact ⟨i, z, hz⟩ |
| 38 | |
| 39 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.terminal_order_of_open_comparisons |
| 40 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 41 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) |
| 42 | {ι : Type} (U : ι → Scheme) (j : ∀ i, U i ⟶ X) [∀ i, IsOpenImmersion (j i)] |
| 43 | (hcover : ∀ x : X, ∃ i y, j i y = x) |
| 44 | (h : ∀ i, U i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : ∀ i, (U i).IdealSheafData) |
| 45 | (V : ι → Scheme) (k : ∀ i, V i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : ∀ i, (V i).IdealSheafData) |
| 46 | (Q : ∀ i, Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (U i) (h i) (L i) (V i) (k i) (M i)) |
| 47 | (r : ∀ i, V i ⟶ Y) (hc : ∀ i, P.EtaleComparison (Q i) (j i) (r i)) (n : ℕ) : |
| 48 | letI : Smooth g := P.endpoint_smooth |
| 49 | letI : ∀ i, Smooth (k i) := fun i => (Q i).endpoint_smooth |
| 50 | (∀ i, Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (k i) (M i) n = ⊤) → |
| 51 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n = ⊤ := by |
| 52 | let : Smooth g := P.endpoint_smooth |
| 53 | let : ∀ i, Smooth (k i) := fun i => (Q i).endpoint_smooth |
| 54 | intro ht |
| 55 | apply DifferentialUnitGluing.Construction.idealSheaf_eq_top_of_openCover _ (P.endpointOpenCover U j hcover h L V k M Q r hc) |
| 56 | intro i |
| 57 | change ι at i |
| 58 | change (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n).comap (r i) = ⊤ |
| 59 | obtain ⟨hr, _, hK⟩ := (hc i).endpoint_pullback P (Q i) (j i) (r i) |
| 60 | let : Etale (r i) := hr |
| 61 | have he := Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothDifferentialIdealSheaf_comap_etale g K n (r i) |
| 62 | rw [hK] at he |
| 63 | exact he.trans ((DifferentialUnitGluing.Construction.smoothDifferentialIdealSheaf_structure_congr (r i ≫ g) (k i) |
| 64 | ((hc i).endpoint_structure P (Q i) (j i) (r i)) (M i) n).trans (ht i)) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Resolution.Blowups |