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.Finite.OpenProgramGluing |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Open.CompatibilityTargetRestriction |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Open.FamilyUnion |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.IncidenceTraceOpenDescent |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhoodBoundary |
| 6 | |
| 7 | /-! # Order Cover Program Gluing -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Compatible programs on a finite order cover glue with their exact trace and every original comparison map. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_complete_of_finite_order_cover |
| 18 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] [CompactSpace X] |
| 19 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (hJ : J ≠ ⊥) (b : ℕ) |
| 20 | {ι : Type} [Finite ι] [Nonempty ι] (U : ι → Scheme) (j : ∀ i, U i ⟶ X) |
| 21 | [∀ i, IsIntegral (U i)] [∀ i, IsLocallyNoetherian (U i)] [∀ i, CompactSpace (U i)] |
| 22 | [∀ i, IsOpenImmersion (j i)] |
| 23 | (hcover : ∀ x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J (b - 1)).support, ∃ i y, j i y = x) |
| 24 | (g0 : ∀ i, U i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L0 : ∀ i, (U i).IdealSheafData) |
| 25 | (hg0 : ∀ i, j i ≫ f = g0 i) (hL0 : ∀ i, J.comap (j i) = L0 i) |
| 26 | (V : ι → Scheme) (g : ∀ i, V i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : ∀ i, (V i).IdealSheafData) |
| 27 | (P : ∀ i, Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (U i) (g0 i) (L0 i) (V i) (g i) (K i)) |
| 28 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) |
| 29 | (A : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D [Finset.univ]) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) |
| 30 | (htrace : ∀ i, (P i).HasIncidenceTrace β (fun l => (D l).comap (j i)) T) |
| 31 | (hcompat : ∀ i a, (P i).OpenCompatible (P a) (j i) (j a)) |
| 32 | (ht : ∀ i, letI : Smooth (g i) := (P i).endpoint_smooth |
| 33 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (K i) (b - 1) = ⊤) : |
| 34 | ∃ (Y : Scheme) (h : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : Y.IdealSheafData) |
| 35 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y h L) (r : ∀ i, V i ⟶ Y), |
| 36 | letI : Smooth h := Q.endpoint_smooth |
| 37 | Q.HasIncidenceTrace β D T ∧ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf h L (b - 1) = ⊤ ∧ |
| 38 | ∀ i, Q.EtaleComparison (P i) (j i) (r i) := by |
| 39 | classical |
| 40 | let O := Open.FamilyUnion.Construction.openFamilyUnion U j |
| 41 | let j0 (i : ι) := Open.FamilyUnion.Construction.openFamilyUnionMap U j i |
| 42 | let : Nonempty O.toScheme := by |
| 43 | let i : ι := Classical.arbitrary ι |
| 44 | let x : U i := Classical.arbitrary (U i) |
| 45 | exact ⟨j0 i x⟩ |
| 46 | let : IsIntegral O.toScheme := isIntegral_of_isOpenImmersion O.ι |
| 47 | let : IsLocallyNoetherian O.toScheme := LocallyOfFiniteType.isLocallyNoetherian O.ι |
| 48 | let : IsNoetherian X := ⟨⟩ |
| 49 | let : NoetherianSpace O.toScheme := O.ι.isOpenEmbedding.isInducing.noetherianSpace |
| 50 | let : ∀ i, QuasiCompact (j0 i) := fun _ => inferInstance |
| 51 | have hground (i : ι) : j0 i ≫ (O.ι ≫ f) = g0 i := by |
| 52 | rw [← Category.assoc, Open.FamilyUnion.Construction.openFamilyUnionMap_over] |
| 53 | exact hg0 i |
| 54 | have hlocal (i : ι) : (J.comap O.ι).comap (j0 i) = L0 i := by |
| 55 | rw [← Scheme.IdealSheafData.comap_comp, Open.FamilyUnion.Construction.openFamilyUnionMap_over] |
| 56 | exact hL0 i |
| 57 | have hD (i : ι) : (fun l => ((D l).comap O.ι).comap (j0 i)) = |
| 58 | (fun l => (D l).comap (j i)) := by |
| 59 | funext l |
| 60 | rw [← Scheme.IdealSheafData.comap_comp, Open.FamilyUnion.Construction.openFamilyUnionMap_over] |
| 61 | have htrace0 (i : ι) : (P i).HasIncidenceTrace β (fun l => ((D l).comap O.ι).comap (j0 i)) T := by |
| 62 | rw [hD] |
| 63 | exact htrace i |
| 64 | have hcompat0 (i a : ι) : (P i).OpenCompatible (P a) (j0 i) (j0 a) := by |
| 65 | apply Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.OpenCompatible.of_postcomp (j0 i) (j0 a) O.ι |
| 66 | simpa only [j0, O, Open.FamilyUnion.Construction.openFamilyUnionMap_over] using hcompat i a |
| 67 | obtain ⟨W, k, M, R, r, hR, hterminal, hr⟩ := |
| 68 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_complete_of_finite_open_compatible_named (O.ι ≫ f) (J.comap O.ι) b U j0 |
| 69 | (Open.FamilyUnion.Construction.openFamilyUnionMap_covers U j) g0 L0 hground hlocal V g K P |
| 70 | (fun l => (D l).comap O.ι) T htrace0 hcompat0 ht |
| 71 | have hOrder : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J (b - 1)).support : Set X) ⊆ Set.range O.ι := by |
| 72 | rw [Scheme.Opens.range_ι] |
| 73 | intro x hx |
| 74 | obtain ⟨i, y, hy⟩ := hcover x hx |
| 75 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨i, y, hy⟩ |
| 76 | obtain ⟨Y, h, L, Q, s, _, hc, _, hremaining⟩ := R.exists_uniform_extension_from_order_neighborhood |
| 77 | X f J hJ O.ι rfl rfl hOrder β D A (hR.uniformBoundaryCompatible R _ T) |
| 78 | let : Smooth h := Q.endpoint_smooth |
| 79 | refine ⟨Y, h, L, Q, fun i => r i ≫ s, ?_, ?_, ?_⟩ |
| 80 | · exact Q.hasIncidenceTrace_of_order_neighborhood R O.ι s hc hOrder β D A T hR |
| 81 | · exact hc.terminal_order_of_endpoint_cover Q R O.ι s (b - 1) hremaining hterminal |
| 82 | · intro i |
| 83 | have hcomp := hc.comp Q R O.ι s (P i) (j0 i) (r i) (hr i) |
| 84 | simpa only [j0, O, Open.FamilyUnion.Construction.openFamilyUnionMap_over] using hcomp |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.Resolution.Blowups |