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.OpenControlPrefixGluing |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.EndpointOpenCover |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.TraceOpenCoverDescent |
| 4 | |
| 5 | /-! # Open Program Gluing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Complete compatible local programs construct one complete global program with the same exact trace. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_complete_of_finite_open_compatible |
| 18 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 19 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (b : ℕ) |
| 20 | {ι : Type} [Finite ι] (U : ι → Scheme) (j : ∀ i, U i ⟶ X) |
| 21 | [∀ i, IsIntegral (U i)] [∀ i, IsLocallyNoetherian (U i)] |
| 22 | [∀ i, IsOpenImmersion (j i)] [∀ i, QuasiCompact (j i)] |
| 23 | (hcover : ∀ x : X, ∃ i y, j i y = x) |
| 24 | (V : ι → Scheme) (g : ∀ i, V i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : ∀ i, (V i).IdealSheafData) |
| 25 | (P : ∀ i, Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (U i) (j i ≫ f) (J.comap (j i)) (V i) (g i) (K i)) |
| 26 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) |
| 27 | (htrace : ∀ i, (P i).HasIncidenceTrace β (fun l => (D l).comap (j i)) T) |
| 28 | (hcompat : ∀ i a, (P i).OpenCompatible (P a) (j i) (j a)) |
| 29 | (ht : ∀ i, letI : Smooth (g i) := (P i).endpoint_smooth |
| 30 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (K i) (b - 1) = ⊤) : |
| 31 | ∃ (Y : Scheme) (h : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : Y.IdealSheafData) |
| 32 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y h L) (r : ∀ i, V i ⟶ Y), |
| 33 | letI : Smooth h := Q.endpoint_smooth |
| 34 | Q.HasIncidenceTrace β D T ∧ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf h L (b - 1) = ⊤ ∧ |
| 35 | ∀ i, Q.EtaleComparison (P i) (j i) (r i) := by |
| 36 | have hN := fun i => (htrace i).stepCount (P i) (fun l => (D l).comap (j i)) T |
| 37 | obtain ⟨Y, h, L, Q, r, hr⟩ := Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_of_finite_open_compatible b T.length X f J ι U j hcover |
| 38 | (fun i => j i ≫ f) (fun i => J.comap (j i)) (fun _ => rfl) (fun _ => rfl) |
| 39 | V g K P hN hcompat |
| 40 | let : Smooth h := Q.endpoint_smooth |
| 41 | refine ⟨Y, h, L, Q, r, ?_, ?_, hr⟩ |
| 42 | · exact Q.hasIncidenceTrace_of_open_comparisons ι U j hcover |
| 43 | (fun i => j i ≫ f) (fun i => J.comap (j i)) V g K P r hr β D T htrace |
| 44 | · exact Q.terminal_order_of_open_comparisons U j hcover |
| 45 | (fun i => j i ≫ f) (fun i => J.comap (j i)) V g K P r hr (b - 1) ht |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! Complete finite open gluing retains independently named local structures and ideals. -/ |
| 50 | |
| 51 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 52 | |
| 53 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_complete_of_finite_open_compatible_named |
| 54 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 55 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (b : ℕ) |
| 56 | {ι : Type} [Finite ι] (U : ι → Scheme) (j : ∀ i, U i ⟶ X) |
| 57 | [∀ i, IsIntegral (U i)] [∀ i, IsLocallyNoetherian (U i)] |
| 58 | [∀ i, IsOpenImmersion (j i)] [∀ i, QuasiCompact (j i)] |
| 59 | (hcover : ∀ x : X, ∃ i y, j i y = x) |
| 60 | (g0 : ∀ i, U i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L0 : ∀ i, (U i).IdealSheafData) |
| 61 | (hg0 : ∀ i, j i ≫ f = g0 i) (hL0 : ∀ i, J.comap (j i) = L0 i) |
| 62 | (V : ι → Scheme) (g : ∀ i, V i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : ∀ i, (V i).IdealSheafData) |
| 63 | (P : ∀ i, Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (U i) (g0 i) (L0 i) (V i) (g i) (K i)) |
| 64 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) |
| 65 | (htrace : ∀ i, (P i).HasIncidenceTrace β (fun l => (D l).comap (j i)) T) |
| 66 | (hcompat : ∀ i a, (P i).OpenCompatible (P a) (j i) (j a)) |
| 67 | (ht : ∀ i, letI : Smooth (g i) := (P i).endpoint_smooth |
| 68 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (K i) (b - 1) = ⊤) : |
| 69 | ∃ (Y : Scheme) (h : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : Y.IdealSheafData) |
| 70 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y h L) (r : ∀ i, V i ⟶ Y), |
| 71 | letI : Smooth h := Q.endpoint_smooth |
| 72 | Q.HasIncidenceTrace β D T ∧ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf h L (b - 1) = ⊤ ∧ |
| 73 | ∀ i, Q.EtaleComparison (P i) (j i) (r i) := by |
| 74 | have hN := fun i => (htrace i).stepCount (P i) (fun l => (D l).comap (j i)) T |
| 75 | obtain ⟨Y, h, L, Q, r, hr⟩ := Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_of_finite_open_compatible b T.length X f J ι U j hcover |
| 76 | g0 L0 hg0 hL0 V g K P hN hcompat |
| 77 | let : Smooth h := Q.endpoint_smooth |
| 78 | exact ⟨Y, h, L, Q, r, |
| 79 | Q.hasIncidenceTrace_of_open_comparisons ι U j hcover g0 L0 V g K P r hr β D T htrace, |
| 80 | Q.terminal_order_of_open_comparisons U j hcover g0 L0 V g K P r hr (b - 1) ht, hr⟩ |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Resolution.Blowups |