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.ResidualNeighborhoodEtalePullback |
| 3 | |
| 4 | /-! # Residual Program Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Surface |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Complete residual programs with one schedule compare at every blowup, including ambient extensions from residual neighborhoods. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem ResidualProgram.Construction.SurfaceResidualProgram.exists_etaleComparison {b m : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 15 | {a : β → ℕ} {schedule : ResidualSchedule.Construction.SurfaceResidualSchedule b m β a} |
| 16 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 17 | {J I : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 18 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f I Y g K} |
| 19 | (H : ResidualProgram.Construction.SurfaceResidualProgram b schedule X f J I D Y g K P) : |
| 20 | ∀ [Smooth f] {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth h] {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 21 | {J₁ I₁ : V.IdealSheafData} {M : W.IdealSheafData} {E : β → V.IdealSheafData} |
| 22 | {Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h I₁ W k M}, |
| 23 | ResidualProgram.Construction.SurfaceResidualProgram b schedule V h J₁ I₁ E W k M Q → |
| 24 | ∀ (q : V ⟶ X) [Etale q], q ≫ f = h → J.comap q = J₁ → I.comap q = I₁ → |
| 25 | (∀ l, (D l).comap q = E l) → ∃ r : W ⟶ Y, P.EtaleComparison Q q r := by |
| 26 | induction H with |
| 27 | | monomial a S H => |
| 28 | intro _ V W h _ k J₁ I₁ M E Q H' q _ hover hJ hI hD |
| 29 | cases H' with |
| 30 | | monomial a S H' => exact H.exists_etaleComparison H' q hover hI hD |
| 31 | | higher a hle S schedule A order P same R tail ih => |
| 32 | intro _ V W h _ k J₁ I₁ M E Q H' q _ hover hJ hI hD |
| 33 | cases H' with |
| 34 | | higher a hle S schedule A' order' P' same' R' tail' => |
| 35 | let _ := A.endpoint_smooth |
| 36 | let _ := A'.endpoint_smooth |
| 37 | obtain ⟨u, hu⟩ := order.exists_etaleComparison order' q hover hJ hD |
| 38 | let : Etale u := (hu.endpoint_pullback A A' q u).1 |
| 39 | have hp := same.etaleComparison same' q u hu hI |
| 40 | have hg := hu.endpoint_structure A A' q u |
| 41 | have hJ' := (hu.endpoint_pullback A A' q u).2.2 |
| 42 | have hI' := (hp.endpoint_pullback P P' q u).2.2 |
| 43 | have hboundary := hu.boundaryAtLength A A' q u _ _ _ hD S.incidenceTrace.length |
| 44 | (order.hasIncidenceTrace.stepCount A _ _) (order'.hasIncidenceTrace.stepCount A' _ _) |
| 45 | obtain ⟨r, hr⟩ := ih tail' u hg hJ' hI' (fun l => congrFun hboundary l) |
| 46 | exact ⟨r, hp.append P P' q u R R' r hr⟩ |
| 47 | | @companion m β _ _ a hlt S schedule X Y f hf g hg J I C J' I' D A order B sameB P same V₀ Z h₀ k₀ L₀ M₀ T tail R r comparison hstart hcover ih => |
| 48 | intro _ V W h _ k J₁ I₁ M E Q H' q _ hover hJ hI hD |
| 49 | cases H' with |
| 50 | | companion a hlt S schedule A' order' B' sameB' P' same' T' tail' R' r' comparison' hstart' hcover' => |
| 51 | have hC : (Global.CompanionIdeal.Construction.globalCompanionIdeal J (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) (m + 1) b).comap q = |
| 52 | Global.CompanionIdeal.Construction.globalCompanionIdeal J₁ (Global.MixedBoundary.Construction.boundaryMonomialSheaf E a) (m + 1) b := by |
| 53 | rw [Global.CompanionIdeal.Construction.globalCompanionIdeal_comap, ResidualNeighborhoodEtalePullback.Construction.boundaryMonomialSheaf_comap, hJ] |
| 54 | exact congrArg (fun D => Global.CompanionIdeal.Construction.globalCompanionIdeal J₁ (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) (m + 1) b) (funext hD) |
| 55 | obtain ⟨u, hu⟩ := order.exists_etaleComparison order' q hover hC hD |
| 56 | let : Etale u := (hu.endpoint_pullback A A' q u).1 |
| 57 | have hp := same.etaleComparison same' q u hu hI |
| 58 | have hb := sameB.etaleComparison sameB' q u hu hJ |
| 59 | have hg := hu.endpoint_structure A A' q u |
| 60 | have hJ' := (hb.endpoint_pullback B B' q u).2.2 |
| 61 | have hI' := (hp.endpoint_pullback P P' q u).2.2 |
| 62 | have hboundary := hu.boundaryAtLength A A' q u _ _ _ hD S.incidenceTrace.length |
| 63 | (order.hasIncidenceTrace.stepCount A _ _) (order'.hasIncidenceTrace.stepCount A' _ _) |
| 64 | obtain ⟨v, hv, hpb⟩ := ResidualNeighborhoodEtalePullback.Construction.exists_residual_order_neighborhood_etale_pullback _ _ _ _ (m + 1) u hg hJ' |
| 65 | let : Etale v := hv |
| 66 | obtain ⟨w, hw⟩ := ih tail' v |
| 67 | (by rw [← Category.assoc, hpb.w, Category.assoc, hg]) |
| 68 | (by rw [← Scheme.IdealSheafData.comap_comp, hpb.w, Scheme.IdealSheafData.comap_comp, hJ']) |
| 69 | (by rw [← Scheme.IdealSheafData.comap_comp, hpb.w, Scheme.IdealSheafData.comap_comp, hI']) |
| 70 | (by |
| 71 | intro l |
| 72 | rw [← Scheme.IdealSheafData.comap_comp, hpb.w, Scheme.IdealSheafData.comap_comp, congrFun hboundary l]) |
| 73 | have hcombined := comparison.comp R T _ r T' v w hw |
| 74 | rw [hpb.w] at hcombined |
| 75 | obtain ⟨s, hs⟩ := R.exists_etaleComparison_of_order_neighborhood R' u hg hI' T' |
| 76 | _ (w ≫ r) r' hcombined comparison' hstart' |
| 77 | exact ⟨s, hp.append P P' q u R R' s hs⟩ |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Resolution.Blowups.Surface |