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.Global.BoundaryCoefficientSequenceLift |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.ClosedCarrierAtlasLift |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.CanonicalBoundaryComparison |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.UniformIsoTransport |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.CarrierComparisonIsoComposition |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.IncidenceTraceCarrier |
| 7 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.ComparisonOpen |
| 8 | |
| 9 | /-! # Coefficient Prefix Lift -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.CoefficientPrefixLift.Construction |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Lift a complete recorded coefficient prefix, retaining every actual carrier embedding and both boundary traces. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | local instance uniformCoefficientLiftCarrierNoetherian {X : Scheme} [IsLocallyNoetherian X] |
| 20 | (H : X.IdealSheafData) : IsLocallyNoetherian H.subscheme := |
| 21 | LocallyOfFiniteType.isLocallyNoetherian H.subschemeι |
| 22 | |
| 23 | theorem exists_uniform_carrier_lift_of_bounded_coefficient_prefix (n : ℕ) : |
| 24 | ∀ m : ℕ, ∀ (X : Scheme) [IsIntegral X] [IsLocallyNoetherian X] |
| 25 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J H : X.IdealSheafData), |
| 26 | H ≠ ⊥ → Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf H → ∀ [IsIntegral H.subscheme] [Smooth (H.subschemeι ≫ f)], |
| 27 | H ≤ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n → ∀ C : H.subscheme.IdealSheafData, C ≠ ⊥ → |
| 28 | C ≤ GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι → |
| 29 | (∀ x : X, x ∈ H.support → |
| 30 | ∃ A : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C (n + 1), Nonempty (Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction A) ∧ |
| 31 | ∃ p : PrimeSpectrum A.ring, A.map p = x) → |
| 32 | ∀ {V : Scheme} {g : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {L : V.IdealSheafData} |
| 33 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1).factorial H.subscheme (H.subschemeι ≫ f) C V g L), |
| 34 | P.stepCount ≤ m → ∀ (β : Type) [Fintype β] (D : β → X.IdealSheafData), |
| 35 | Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f (fun j : Option β => match j with | none => H | some l => D l) [Finset.univ] → |
| 36 | ∀ T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β, P.HasIncidenceTrace β (fun l => (D l).comap H.subschemeι) T → |
| 37 | (letI : Smooth g := P.endpoint_smooth; Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g L ((n + 1).factorial - 1) = ⊤) → |
| 38 | ∃ (Y : Scheme) (h : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y h K) |
| 39 | (r : V ⟶ Y), Q.CarrierComparison P H.subschemeι r ∧ Q.HasIncidenceTrace β D T ∧ |
| 40 | Q.HasIncidenceTrace (Option β) (fun j : Option β => match j with | none => H | some l => D l) T.adjoinCarrier ∧ |
| 41 | (letI : Smooth h := Q.endpoint_smooth; Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf h K n = ⊤) := by |
| 42 | intro m |
| 43 | induction m using Nat.strong_induction_on with |
| 44 | | h m ih => |
| 45 | intro X _ _ f _ J H hH hlocal _ _ htangent C hC hupp hcharts V g L P hsize β _ D DA T htrace hterminal |
| 46 | classical |
| 47 | cases P with |
| 48 | | stop => |
| 49 | cases T with |
| 50 | | step => exact False.elim htrace |
| 51 | | stop => |
| 52 | exact ⟨X, f, J, .stop, H.subschemeι, ⟨inferInstance, rfl, rfl⟩, ⟨DA.dropFirst⟩, ⟨DA⟩, |
| 53 | GlobalCoefficient.Terminal.Construction.global_retained_coefficient_terminal_clears_order f J H C n htangent hupp hcharts hterminal⟩ |
| 54 | | blowup K hK hb hperm hs hbl tail => |
| 55 | cases T with |
| 56 | | stop => exact False.elim htrace |
| 57 | | step F trace => |
| 58 | obtain ⟨BA, hBA⟩ := htrace.1 |
| 59 | let I := K.map H.subschemeι |
| 60 | have hI : I ≠ ⊥ := ClosedCarrierCenters.Construction.closedCarrierCenter_ne_bot H.subschemeι K hK |
| 61 | have hHI : H ≤ I := by |
| 62 | rw [← Scheme.IdealSheafData.ker_subschemeι H] |
| 63 | exact ClosedCarrierCenters.Construction.closedCarrierCenter_contains_kernel H.subschemeι K |
| 64 | have hIK : I.comap H.subschemeι = K := ClosedCarrierCenters.Construction.idealSheaf_closed_comap_map H.subschemeι K |
| 65 | let : Smooth (K.subschemeι ≫ (H.subschemeι ≫ f)) := hs |
| 66 | let : Smooth (I.subschemeι ≫ f) := ClosedCarrierCenters.Construction.closedCarrierCenter_smooth f H.subschemeι K |
| 67 | have hCperm : C ≤ (I.comap H.subschemeι) ^ (n + 1).factorial := by rw [hIK]; exact hperm |
| 68 | have hp : J ≤ I ^ (n + 1) := GlobalCoefficient.FamilyCharts.Construction.global_center_permissible_of_coefficient_family_charts f I J H hHI C (n + 1) |
| 69 | (fun x hx => by obtain ⟨A, _, p, hp⟩ := hcharts x hx; exact ⟨A, p, hp⟩) hCperm |
| 70 | have hBA' : ∃ B : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas (H.subschemeι ≫ f) (I.comap H.subschemeι) |
| 71 | (fun l => (D l).comap H.subschemeι), ∀ i, B.divided i = F := by |
| 72 | rw [hIK] |
| 73 | exact ⟨BA, hBA⟩ |
| 74 | obtain ⟨BA', hBA'⟩ := hBA' |
| 75 | obtain ⟨AA, hAA⟩ := DA.dropFirst.exists_uniform_liftClosedCarrierCenter f I H hH hlocal hHI D BA' F hBA' |
| 76 | obtain ⟨AAfull, hAAfull⟩ := AA.exists_adjoin_uniform_boundary_component F hAA H hHI DA |
| 77 | let hblX := Global.SmoothCenterBlowup.Construction.globalBlowup_smooth_of_smooth_center f I hI |
| 78 | let : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) := hblX |
| 79 | have hIH : I.comap H.subschemeι ≠ ⊥ := by rw [hIK]; exact hK |
| 80 | let H' := GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 81 | let : IsIntegral H'.subscheme := |
| 82 | Global.SmoothHypersurfaceBlowupIso.Construction.globalBlowup_smooth_hypersurface_controlled_isIntegral f I H hI hH hlocal hHI hIH |
| 83 | have hH' : H' ≠ ⊥ := GlobalBlowup.Nonzero.Construction.globalBlowupControlledIdeal_ne_bot I H hI 1 hH |
| 84 | have hlocal' := GlobalControlled.Principality.Construction.globalBlowupControlledIdeal_locallyPrincipal I H hI 1 (by simpa only [pow_one] using hHI) hlocal |
| 85 | let : Smooth (H'.subschemeι ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f)) := |
| 86 | Global.SmoothHypersurfaceTransform.Construction.globalBlowup_smooth_controlled_hypersurface f I H hI hH hlocal hHI |
| 87 | have htangent' := Global.SequenceHypersurface.Construction.globalBlowup_hypersurface_tangent_le f I J H hI n hp htangent |
| 88 | let C' := GlobalCoefficient.Transform.Construction.globalRetainedCoefficientTransform I H C hI (n + 1) |
| 89 | have hC' : C' ≠ ⊥ := GlobalCoefficient.Upper.Construction.globalRetainedCoefficientTransform_ne_bot f I H hI hH hlocal hHI C (n + 1) hC hCperm |
| 90 | have hupp' := GlobalCoefficient.Upper.Construction.globalRetainedCoefficientTransform_le_intrinsic f I J H hI hH hlocal hHI hIH (n + 1) hp C hupp |
| 91 | have hcharts' := Global.RetractedCoefficientCoverTransform.Construction.global_retracted_coefficient_charts_after_blowup f I J H hI hHI C (n + 1) hcharts hCperm |
| 92 | obtain ⟨e, hemb, he, hcoeff⟩ := GlobalCoefficient.EmbeddingIso.Construction.exists_globalRetainedCoefficientTransform_embedding_iso |
| 93 | f I H hI hH hlocal hHI K hK hIK C (n + 1) |
| 94 | let D' := CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D |
| 95 | have hDe (l : Option β) : ((D' l).comap H'.subschemeι).comap e.hom = |
| 96 | CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary K hK (fun j => (D j).comap H.subschemeι) l := |
| 97 | CanonicalBoundaryComparison.Construction.carrier_blowup_embedding_iso_uniform_canonicalBoundary f I H hI K hK hIK e hemb D F AA hAA BA hBA l |
| 98 | let AH := (BA.blowupBoundary hK).transportIso |
| 99 | (H'.subschemeι ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f)) (fun l => (D' l).comap H'.subschemeι) e he hDe |
| 100 | have htail : tail.HasIncidenceTrace (Option β) |
| 101 | (fun l => ((D' l).comap H'.subschemeι).comap e.hom) trace := by |
| 102 | rw [funext hDe] |
| 103 | exact htrace.2 |
| 104 | obtain ⟨W, k, M, U, r, hU, comparison, hr⟩ := tail.exists_uniform_iso_transport |
| 105 | (H'.subschemeι ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f)) C' hC' e he hcoeff |
| 106 | (fun l => (D' l).comap H'.subschemeι) AH trace htail |
| 107 | let : IsIso r := hr |
| 108 | have hcount := comparison.stepCount_eq U tail e.hom r |
| 109 | have hlt : U.stepCount < m := by |
| 110 | change tail.stepCount + 1 ≤ m at hsize |
| 111 | rw [hcount] |
| 112 | omega |
| 113 | have htU : letI : Smooth k := U.endpoint_smooth |
| 114 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf k M ((n + 1).factorial - 1) = ⊤ := by |
| 115 | apply comparison.terminal_order_of_endpoint_cover U tail e.hom r _ _ hterminal |
| 116 | intro x _ |
| 117 | refine ⟨inv r x, ?_⟩ |
| 118 | change (inv r ≫ r) x = x |
| 119 | rw [IsIso.inv_hom_id] |
| 120 | rfl |
| 121 | have Afull' : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 122 | (fun j : Option (Option β) => match j with | none => H' | some l => D' l) [Finset.univ] := by |
| 123 | convert AAfull.blowupBoundaryWithCarrier hI using 1 |
| 124 | obtain ⟨Y, h, L', R, s, hcomp, hR, hRfull, htR⟩ := ih U.stepCount hlt (GlobalBlowup.Data.Construction.globalBlowup I hI) |
| 125 | (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI (n + 1)) H' hH' hlocal' |
| 126 | htangent' C' hC' hupp' hcharts' U le_rfl (Option β) D' |
| 127 | (by convert Afull' using 1; funext j; cases j <;> rfl) trace hU htU |
| 128 | have hcomp' := hcomp.comp_iso R U H'.subschemeι s tail e.hom r comparison |
| 129 | rw [hemb] at hcomp' |
| 130 | refine ⟨Y, h, L', .blowup I hI (Nat.succ_pos n) hp inferInstance hblX R, r ≫ s, |
| 131 | ⟨inferInstance, rfl, hIK, rfl, hcomp'⟩, ⟨⟨AA, hAA⟩, hR⟩, ?_, htR⟩ |
| 132 | refine ⟨⟨AAfull, hAAfull⟩, ?_⟩ |
| 133 | apply Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.carrier_to_canonical (H := H) hI D R trace.adjoinCarrier |
| 134 | convert hRfull using 1 |
| 135 | funext j |
| 136 | cases j <;> rfl |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.CoefficientPrefixLift.Construction |