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.HistoryProgramAuxiliary |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.ComplementEtalePullback |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.SameEtalePullbackExistence |
| 4 | |
| 5 | /-! # History Program Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Dimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Programs following one common dimension-indexed history schedule compare at every actual blowup step. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem HistoryProgramAuxiliary.Construction.DimensionHistoryProgram.exists_etaleComparison |
| 16 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β γ : Type} [Fintype β] [Fintype γ] [DecidableEq β] {e : γ ↪ β} |
| 17 | {schedule : HistoryProgramAuxiliary.Construction.DimensionHistorySchedule 𝒮 n e} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 18 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 19 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 20 | (T : HistoryProgramAuxiliary.Construction.DimensionHistoryProgram 𝒮 n schedule X f J D Y g K P) : |
| 21 | ∀ [Smooth f] {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth h] {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 22 | {L : V.IdealSheafData} {M : W.IdealSheafData} {E : β → V.IdealSheafData} |
| 23 | {Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V h L W k M}, |
| 24 | HistoryProgramAuxiliary.Construction.DimensionHistoryProgram 𝒮 n schedule V h L E W k M Q → |
| 25 | ∀ (q : V ⟶ X) [Etale q], q ≫ f = h → J.comap q = L → (∀ l, (D l).comap q = E l) → |
| 26 | ∃ r : W ⟶ Y, P.EtaleComparison Q q r := by |
| 27 | induction T with |
| 28 | | full e he ℓ T => |
| 29 | intro _ V W h _ k L M E Q S q _ hstructure hJ hD |
| 30 | cases S with |
| 31 | | full e he ℓ S => exact T.exists_etaleComparison S q hstructure hJ hD |
| 32 | | clear e j hj ℓ schedule A aux hA P same T tail R r comparison hR hcover ih => |
| 33 | intro _ V W h _ k L M E Q S q _ hstructure hJ hD |
| 34 | cases S with |
| 35 | | clear e j hj ℓ schedule A' aux' hA' P' same' T' tail' R' r' comparison' hR' hcover' => |
| 36 | let _ := A.endpoint_smooth |
| 37 | let _ := A'.endpoint_smooth |
| 38 | obtain ⟨a, ha⟩ := aux.exists_etaleComparison aux' q hstructure hJ hD |
| 39 | have hp := same.etaleComparison same' q a ha hJ |
| 40 | let : Etale a := (ha.endpoint_pullback A A' q a).1 |
| 41 | have hg := ha.endpoint_structure A A' q a |
| 42 | have hK := (hp.endpoint_pullback P P' q a).2.2 |
| 43 | have hboundary := ha.boundaryAtLength A A' q a _ _ _ hD _ aux.stepCount aux'.stepCount |
| 44 | obtain ⟨u, hu, hpb⟩ := ha.exists_transformed_boundary_complement_pullback A A' q a _ _ hD j |
| 45 | let : Etale u := hu |
| 46 | obtain ⟨v, hv⟩ := ih tail' u |
| 47 | (by rw [← Category.assoc, hpb.w, Category.assoc, hg]) |
| 48 | (by rw [← Scheme.IdealSheafData.comap_comp, hpb.w, Scheme.IdealSheafData.comap_comp, hK]) |
| 49 | (by |
| 50 | intro l |
| 51 | rw [← Scheme.IdealSheafData.comap_comp, hpb.w, Scheme.IdealSheafData.comap_comp, congrFun hboundary l]) |
| 52 | have hcombined := comparison.comp R T _ r T' u v hv |
| 53 | have hcombined' : R.EtaleComparison T' ((A'.transformedBoundaryComplement E j).ι ≫ a) (v ≫ r) := by |
| 54 | rw [← hpb.w] |
| 55 | exact hcombined |
| 56 | have hclear := A'.auxiliary_clearance (Nat.succ_pos n) L (E j) rfl |
| 57 | (by simpa only [Nat.add_sub_cancel, Nat.succ_sub_one] using aux'.terminal_order) |
| 58 | rw [same'.transformIdeal] at hclear |
| 59 | obtain ⟨s, hs⟩ := R.exists_etaleComparison_of_order_neighborhood R' a hg hK T' |
| 60 | (A'.transformedBoundaryComplement E j).ι (v ≫ r) r' hcombined' comparison' |
| 61 | (by |
| 62 | exact Global.ClearedHistoryNeighborhood.Construction.cleared_boundary_complement_contains_order_locus |
| 63 | _ _ (A'.transformIdeal (E j) 1) (n + 1) hclear) |
| 64 | exact ⟨s, hp.append P P' q a R R' s hs⟩ |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Resolution.Blowups.Dimension |