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.Dimension.AuxiliaryProgramPullback |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Dimension.HistoryProgramNaturality |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.SameEtalePullbackExistence |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.ControlPrefixOpenExtension |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhoodBoundary |
| 6 | |
| 7 | /-! # History Program Pullback -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Dimension |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Reconstruct the complete history schedule on an étale pullback, including its actual open continuations. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | theorem HistoryProgramAuxiliary.Construction.DimensionHistoryProgram.exists_etale_pullback |
| 18 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] {e : γ ↪ β} |
| 19 | {schedule : HistoryProgramAuxiliary.Construction.DimensionHistorySchedule 𝒮 n e} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 20 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 21 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 22 | (H : HistoryProgramAuxiliary.Construction.DimensionHistoryProgram 𝒮 n schedule X f J D Y g K P) : |
| 23 | ∀ [Smooth f] (V : Scheme) [IsIntegral V] [IsLocallyNoetherian V] [CompactSpace V], |
| 24 | ∀ (h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : V.IdealSheafData), L ≠ ⊥ → |
| 25 | ∀ (E : β → V.IdealSheafData) (q : V ⟶ X) [Etale q], |
| 26 | q ≫ f = h → J.comap q = L → (∀ l, (D l).comap q = E l) → |
| 27 | ∃ (W : Scheme) (k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : W.IdealSheafData) |
| 28 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V h L W k M) (r : W ⟶ Y), |
| 29 | HistoryProgramAuxiliary.Construction.DimensionHistoryProgram 𝒮 n schedule V h L E W k M Q ∧ P.EtaleComparison Q q r := by |
| 30 | induction H with |
| 31 | | full e he ℓ H => |
| 32 | intro _ V _ _ _ h L _ E q _ hstructure hL hD |
| 33 | obtain ⟨W, k, M, Q, r, hQ, hc⟩ := H.exists_etale_pullback V h L E q hstructure hL hD |
| 34 | exact ⟨W, k, M, Q, r, .full e he ℓ hQ, hc⟩ |
| 35 | | @clear β γ hβ hγ dec e j hj ℓ schedule X Y f hf g J C J' D A aux hA P same V Z h k L M T tail R r comparison hR hcover ih => |
| 36 | intro _ V0 _ _ _ h0 L0 hL0 E0 q _ hstructure hL hD |
| 37 | let : Smooth h0 := hstructure ▸ inferInstanceAs (Smooth (q ≫ f)) |
| 38 | obtain ⟨Y0, g0, C0, A0, a, aux0, ha⟩ := aux.exists_etale_pullback V0 h0 L0 E0 q hstructure hL hD |
| 39 | obtain ⟨J0, P0, same0, hp⟩ := same.exists_etale_pullback_transport A0 q a ha L0 hL |
| 40 | let : Smooth g := A.endpoint_smooth |
| 41 | let : Smooth g0 := A0.endpoint_smooth |
| 42 | let : IsIntegral Y0 := A0.endpoint_integral |
| 43 | let : IsLocallyNoetherian Y0 := LocallyOfFiniteType.isLocallyNoetherian g0 |
| 44 | let : CompactSpace Y0 := QuasiCompact.compactSpace_of_compactSpace A0.toBase |
| 45 | let : IsNoetherian Y0 := ⟨⟩ |
| 46 | let : Etale a := (ha.endpoint_pullback A A0 q a).1 |
| 47 | have hg := ha.endpoint_structure A A0 q a |
| 48 | have hJ0 := (hp.endpoint_pullback P P0 q a).2.2 |
| 49 | have hA0 := ha.uniformBoundaryCompatible A A0 q a β D hA |
| 50 | rw [funext hD] at hA0 |
| 51 | have hAB0 := Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible.boundaryCompatible A0 E0 hA0 |
| 52 | let N := ℓ.stepCount |
| 53 | let EA0 := Classical.choice (A0.boundaryAtLength_atlas E0 hAB0 N aux0.stepCount) |
| 54 | let U0 := A0.transformedBoundaryComplement E0 j |
| 55 | have hboundaryNonzero : A0.transformIdeal (E0 j) 1 ≠ ⊥ := by |
| 56 | rw [← A0.boundaryAtLength_initialLabel E0 j N aux0.stepCount] |
| 57 | exact EA0.component_ne_bot _ |
| 58 | let : Nonempty U0 := by |
| 59 | obtain ⟨x, hx⟩ := GlobalBlowup.Local.Construction.idealSheaf_supportComplement_nonempty _ hboundaryNonzero |
| 60 | exact ⟨⟨x, hx⟩⟩ |
| 61 | let : IsIntegral U0 := isIntegral_of_isOpenImmersion U0.ι |
| 62 | let : IsLocallyNoetherian U0 := LocallyOfFiniteType.isLocallyNoetherian U0.ι |
| 63 | let : NoetherianSpace U0 := U0.ι.isOpenEmbedding.isInducing.noetherianSpace |
| 64 | have hJ0ne : J0 ≠ ⊥ := P0.endpoint_ideal_ne_bot hL0 |
| 65 | have hJU0 : J0.comap U0.ι ≠ ⊥ := Global.ResidualNeighborhoodBoundary.Construction.idealSheaf_comap_nonempty_open_ne_bot U0.ι J0 hJ0ne |
| 66 | have hboundary := ha.boundaryAtLength A A0 q a β D E0 hD N aux.stepCount aux0.stepCount |
| 67 | obtain ⟨u, hu, hpb⟩ := ha.exists_transformed_boundary_complement_pullback A A0 q a D E0 hD j |
| 68 | let : Etale u := hu |
| 69 | obtain ⟨V1, h1, L1, T0, v, tail0, hv⟩ := ih U0 (U0.ι ≫ g0) (J0.comap U0.ι) hJU0 |
| 70 | (fun l => (A0.boundaryAtLength E0 N aux0.stepCount l).comap U0.ι) u |
| 71 | (by rw [← Category.assoc, hpb.w, Category.assoc, hg]) |
| 72 | (by rw [← Scheme.IdealSheafData.comap_comp, hpb.w, Scheme.IdealSheafData.comap_comp, hJ0]) |
| 73 | (by |
| 74 | intro l |
| 75 | rw [← Scheme.IdealSheafData.comap_comp, hpb.w, Scheme.IdealSheafData.comap_comp, congrFun hboundary l]) |
| 76 | have hclear := A0.auxiliary_clearance (Nat.succ_pos n) L0 (E0 j) rfl |
| 77 | (by simpa only [Nat.add_sub_cancel, Nat.succ_sub_one] using aux0.terminal_order) |
| 78 | rw [same0.transformIdeal] at hclear |
| 79 | have hstart : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g0 J0 n).support : Set Y0) ⊆ Set.range U0.ι := |
| 80 | Global.ClearedHistoryNeighborhood.Construction.cleared_boundary_complement_contains_order_locus g0 J0 (A0.transformIdeal (E0 j) 1) (n + 1) hclear |
| 81 | obtain ⟨Z0, k0, M0, R0, r0, hR0, comparison0, _, hremaining⟩ := |
| 82 | T0.exists_uniform_extension_from_order_neighborhood Y0 g0 J0 hJ0ne U0.ι rfl rfl |
| 83 | (by simpa only [Nat.add_sub_cancel] using hstart) (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) |
| 84 | (A0.boundaryAtLength E0 N aux0.stepCount) EA0 tail0.uniformBoundaryCompatible |
| 85 | have hcombined := comparison.comp R T _ r T0 u v hv |
| 86 | have hcombined' : R.EtaleComparison T0 (U0.ι ≫ a) (v ≫ r) := by |
| 87 | rw [← hpb.w] |
| 88 | exact hcombined |
| 89 | obtain ⟨s, hs⟩ := R.exists_etaleComparison_of_order_neighborhood R0 a hg hJ0 T0 |
| 90 | U0.ι (v ≫ r) r0 hcombined' comparison0 (by simpa only [Nat.add_sub_cancel] using hstart) |
| 91 | exact ⟨Z0, k0, M0, P0.append R0, s, |
| 92 | .clear e j hj ℓ schedule A0 aux0 hA0 P0 same0 T0 tail0 R0 r0 comparison0 hR0 |
| 93 | (by simpa only [Nat.add_sub_cancel] using hremaining), |
| 94 | hp.append P P0 q a R R0 s hs⟩ |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Resolution.Blowups.Dimension |