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.Surface.ResidualProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.TraceResidualTransport |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhoodBoundary |
| 4 | |
| 5 | /-! # Residual Finite Existence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Surface.ResidualFiniteExistence.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Residual-order induction constructs one schedule for a finite family of surface problems at any positive control. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | theorem exists_finite_surface_residual_programs (b : ℕ) (hb : 0 < b) (m : ℕ) : |
| 16 | ∀ {β ι : Type} [Fintype β] [DecidableEq β] [Fintype ι] (a : β → ℕ) |
| 17 | (X : ι → Scheme) [∀ i, IsIntegral (X i)] [∀ i, IsLocallyNoetherian (X i)] [∀ i, CompactSpace (X i)] |
| 18 | (f : ∀ i, X i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [∀ i, Smooth (f i)] (J I : ∀ i, (X i).IdealSheafData), |
| 19 | (∀ i, J i ≠ ⊥) → (∀ i, topologicalKrullDim (X i) ≤ 2) → |
| 20 | ∀ (D : ∀ i, β → (X i).IdealSheafData) (_E : ∀ i, Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (f i) (D i) [Finset.univ]), |
| 21 | (∀ i, I i = Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a * J i) → |
| 22 | (∀ i, Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i) (J i) m = ⊤) → |
| 23 | ∃ schedule : ResidualSchedule.Construction.SurfaceResidualSchedule b m β a, ∀ i, |
| 24 | ∃ (Y : Scheme) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) |
| 25 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (X i) (f i) (I i) Y g K), |
| 26 | ResidualProgram.Construction.SurfaceResidualProgram b schedule (X i) (f i) (J i) (I i) (D i) Y g K P := by |
| 27 | classical |
| 28 | induction m with |
| 29 | | zero => |
| 30 | intro β ι _ _ _ a X _ _ _ f _ J I hJ hd D E hI hbound |
| 31 | obtain ⟨S⟩ := Boundary.MonomialSchedule.Construction.exists_boundary_monomial_schedule b hb (Fintype.card β) β a [Finset.univ] |
| 32 | (by intro S hS; exact List.mem_singleton.mp hS ▸ le_rfl) |
| 33 | refine ⟨.monomial a S, ?_⟩ |
| 34 | intro i |
| 35 | have hmono : I i = Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a := by |
| 36 | have ht : J i = ⊤ := by simpa only [Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf_zero] using hbound i |
| 37 | rw [hI i, ht, ← Scheme.IdealSheafData.one_eq_top, mul_one] |
| 38 | obtain ⟨Y, g, K, P, hP⟩ := S.exists_program hb (X i) (f i) (D i) (I i) hmono (E i).component_ne_bot (E i) |
| 39 | exact ⟨Y, g, K, P, .monomial a S hP⟩ |
| 40 | | succ m ih => |
| 41 | intro β ι _ _ _ a X _ _ _ f _ J I hJ hd D E hI hbound |
| 42 | have hIfun : I = fun i => Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a * J i := funext hI |
| 43 | subst I |
| 44 | by_cases hlt : m + 1 < b |
| 45 | · let c := (m + 1) * (b - (m + 1)) |
| 46 | have hc : 0 < c := Nat.mul_pos (Nat.succ_pos m) (by omega) |
| 47 | let C (i : ι) := Global.CompanionIdeal.Construction.globalCompanionIdeal (J i) (Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a) (m + 1) b |
| 48 | have hC (i : ι) : C i ≠ ⊥ := by |
| 49 | intro hz |
| 50 | have hle : J i ^ (b - (m + 1)) ≤ C i := le_sup_left |
| 51 | rw [hz] at hle |
| 52 | exact Integral.IdealSheafProducts.Construction.idealSheaf_pow_ne_bot (J i) (hJ i) _ (le_bot_iff.mp hle) |
| 53 | have hCb (i : ι) : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i) (C i) c = ⊤ := |
| 54 | Global.CompanionIdeal.Construction.globalCompanionIdeal_differential_bound (f i) (J i) (Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a) (m + 1) b hlt (hbound i) |
| 55 | obtain ⟨S, hex⟩ := PositiveSurface.Construction.exists_finite_positive_surface_order_programs c hc X f C hC hd D E hCb |
| 56 | choose Y g K A order using hex |
| 57 | have hA (i : ι) := (order i).hasIncidenceTrace |
| 58 | let N := S.incidenceTrace.length |
| 59 | let D' (i : ι) := (A i).boundaryAtLength (D i) N ((hA i).stepCount (A i) (D i) S.incidenceTrace) |
| 60 | let a' := S.incidenceTrace.companionExponents a (m + 1) b |
| 61 | let J' (i : ι) := (A i).transformIdeal (J i) (m + 1) |
| 62 | let I' (i : ι) := Global.MixedBoundary.Construction.boundaryMonomialSheaf (D' i) a' * J' i |
| 63 | choose B P sameB same using fun i => |
| 64 | (hA i).exists_companion_prefix (Nat.succ_pos m) hlt (A i) (D i) S.incidenceTrace (J i) a rfl |
| 65 | let : ∀ i, Smooth (g i) := fun i => (A i).endpoint_smooth |
| 66 | let : ∀ i, IsIntegral (Y i) := fun i => (A i).endpoint_integral |
| 67 | let : ∀ i, IsLocallyNoetherian (Y i) := fun i => LocallyOfFiniteType.isLocallyNoetherian (g i) |
| 68 | let : ∀ i, CompactSpace (Y i) := fun i => QuasiCompact.compactSpace_of_compactSpace (A i).toBase |
| 69 | let : ∀ i, IsNoetherian (Y i) := fun _ => ⟨⟩ |
| 70 | have hJ' (i : ι) : J' i ≠ ⊥ := (B i).endpoint_ideal_ne_bot (hJ i) |
| 71 | have hI' (i : ι) : I' i ≠ ⊥ := (P i).endpoint_ideal_ne_bot |
| 72 | (Integral.IdealSheafProducts.Construction.idealSheaf_mul_ne_bot _ _ (Integral.CenterSequenceReplacement.Construction.boundaryMonomialSheaf_ne_bot (D i) a (E i).component_ne_bot) (hJ i)) |
| 73 | let U (i : ι) := Global.ResidualNeighborhood.Construction.residualOrderDropOpen (g i) (J' i) (m + 1) |
| 74 | let : ∀ i, IsIntegral (U i) := fun i => Global.ResidualNeighborhood.Construction.residualOrderDropOpen_integral (g i) (J' i) (hJ' i) (m + 1) |
| 75 | let : ∀ i, IsLocallyNoetherian (U i) := fun i => LocallyOfFiniteType.isLocallyNoetherian (U i).ι |
| 76 | let : ∀ i, NoetherianSpace (U i) := fun i => (U i).ι.isOpenEmbedding.isInducing.noetherianSpace |
| 77 | let DU (i : ι) (l : ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) := (D' i l).comap (U i).ι |
| 78 | let EA (i : ι) := Classical.choice ((A i).boundaryAtLength_atlas (D i) |
| 79 | (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible.boundaryCompatible (A i) (D i) |
| 80 | ((hA i).uniformBoundaryCompatible (A i) (D i) S.incidenceTrace)) N |
| 81 | ((hA i).stepCount (A i) (D i) S.incidenceTrace)) |
| 82 | let EU (i : ι) := (EA i).comapOpen (g i) (U i).ι |
| 83 | have hJU (i : ι) : (J' i).comap (U i).ι ≠ ⊥ := Global.ResidualNeighborhoodBoundary.Construction.idealSheaf_comap_nonempty_open_ne_bot (U i).ι _ (hJ' i) |
| 84 | have hdU (i : ι) : topologicalKrullDim (U i) ≤ 2 := |
| 85 | (U i).ι.isOpenEmbedding.isInducing.topologicalKrullDim_le.trans ((A i).endpoint_dimension_le 2 (hd i)) |
| 86 | have hIU (i : ι) : (I' i).comap (U i).ι = Global.MixedBoundary.Construction.boundaryMonomialSheaf (DU i) a' * (J' i).comap (U i).ι := by |
| 87 | rw [IdealSheaf.ProductPullback.Construction.idealSheaf_comap_mul, Global.MixedBoundary.Construction.boundaryMonomialSheaf_comap_open] |
| 88 | have hboundU (i : ι) : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf ((U i).ι ≫ g i) ((J' i).comap (U i).ι) m = ⊤ := by |
| 89 | simpa only [Nat.add_sub_cancel] using Global.ResidualNeighborhood.Construction.residualOrderDropOpen_residual_bound (g i) (J' i) (m + 1) |
| 90 | obtain ⟨schedule, htail⟩ := ih a' (fun i => (U i).toScheme) (fun i => (U i).ι ≫ g i) |
| 91 | (fun i => (J' i).comap (U i).ι) (fun i => (I' i).comap (U i).ι) hJU hdU DU EU hIU hboundU |
| 92 | choose V h L T tail using htail |
| 93 | have hstart (i : ι) : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (I' i) (b - 1)).support : Set (Y i)) ⊆ Set.range (U i).ι := by |
| 94 | have hdrop := ((hA i).companion_residual_drop (Nat.succ_pos m) hlt (A i) (D i) S.incidenceTrace |
| 95 | (J i) a rfl (hbound i) (order i).terminal_order).2 |
| 96 | exact Global.ResidualNeighborhood.Construction.residualOrderDropOpen_contains_order_support (g i) (Global.MixedBoundary.Construction.boundaryMonomialSheaf (D' i) a') (J' i) (m + 1) b hdrop |
| 97 | choose Z k M R r hR comparison hopen hremaining using fun i => |
| 98 | (T i).exists_uniform_extension_from_order_neighborhood (Y i) (g i) (I' i) (hI' i) (U i).ι rfl rfl |
| 99 | (hstart i) (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) (D' i) (EA i) (tail i).uniformBoundaryCompatible |
| 100 | exact ⟨.companion a hlt S schedule, fun i => ⟨Z i, k i, M i, (P i).append (R i), |
| 101 | .companion a hlt S schedule (A i) (order i) (B i) (sameB i) (P i) (same i) |
| 102 | (T i) (tail i) (R i) (r i) (comparison i) (hstart i) (hremaining i)⟩⟩ |
| 103 | · have hle : b ≤ m + 1 := Nat.le_of_not_gt hlt |
| 104 | obtain ⟨S, hex⟩ := PositiveSurface.Construction.exists_finite_positive_surface_order_programs (m + 1) (Nat.succ_pos m) X f J hJ hd D E hbound |
| 105 | choose Y g J' A order using hex |
| 106 | have hA (i : ι) := (order i).hasIncidenceTrace |
| 107 | let N := S.incidenceTrace.length |
| 108 | let D' (i : ι) := (A i).boundaryAtLength (D i) N ((hA i).stepCount (A i) (D i) S.incidenceTrace) |
| 109 | let a' := S.incidenceTrace.residualExponents a (m + 1) b |
| 110 | let I' (i : ι) := Global.MixedBoundary.Construction.boundaryMonomialSheaf (D' i) a' * J' i |
| 111 | choose P same using fun i => (hA i).exists_lower_control_prefix (A i) b hb hle (D i) S.incidenceTrace a |
| 112 | let : ∀ i, Smooth (g i) := fun i => (A i).endpoint_smooth |
| 113 | let : ∀ i, IsIntegral (Y i) := fun i => (A i).endpoint_integral |
| 114 | let : ∀ i, IsLocallyNoetherian (Y i) := fun i => LocallyOfFiniteType.isLocallyNoetherian (g i) |
| 115 | let : ∀ i, CompactSpace (Y i) := fun i => QuasiCompact.compactSpace_of_compactSpace (A i).toBase |
| 116 | let EA (i : ι) := Classical.choice ((A i).boundaryAtLength_atlas (D i) |
| 117 | (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible.boundaryCompatible (A i) (D i) |
| 118 | ((hA i).uniformBoundaryCompatible (A i) (D i) S.incidenceTrace)) N |
| 119 | ((hA i).stepCount (A i) (D i) S.incidenceTrace)) |
| 120 | have hJ' (i : ι) : J' i ≠ ⊥ := (A i).endpoint_ideal_ne_bot (hJ i) |
| 121 | have hdY (i : ι) : topologicalKrullDim (Y i) ≤ 2 := (A i).endpoint_dimension_le 2 (hd i) |
| 122 | have hbound' (i : ι) : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (J' i) m = ⊤ := by |
| 123 | simpa only [Nat.add_sub_cancel] using (order i).terminal_order |
| 124 | obtain ⟨schedule, htail⟩ := ih a' Y g J' I' hJ' hdY D' EA (fun _ => rfl) hbound' |
| 125 | choose Z h K R tail using htail |
| 126 | exact ⟨.higher a hle S schedule, fun i => ⟨Z i, h i, K i, (P i).append (R i), |
| 127 | .higher a hle S schedule (A i) (order i) (P i) (same i) (R i) (tail i)⟩⟩ |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.Resolution.Blowups.Surface.ResidualFiniteExistence.Construction |