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.CommonCarrierCoefficientEquality |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.SchemeDimension |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.PullbackCenter |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Dimension.CommonClosedCarrierData |
| 5 | |
| 6 | /-! # Common Carrier Pullback Data -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Dimension.CommonCarrierPullbackData.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Geometric data for the common carrier, independent of recursive program certificates. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | structure DimensionCommonCarrierPullbackData (dim : ℕ) |
| 17 | {X S : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (H H' : X.IdealSheafData) |
| 18 | (C : H.subscheme.IdealSheafData) (C' : H'.subscheme.IdealSheafData) |
| 19 | {β : Type} (D : β → X.IdealSheafData) (a b : S ⟶ X) where |
| 20 | carrier : Scheme |
| 21 | integral : IsIntegral carrier |
| 22 | noetherian : IsLocallyNoetherian carrier |
| 23 | compact : CompactSpace carrier |
| 24 | dimension : topologicalKrullDim carrier ≤ dim |
| 25 | structureMap : carrier ⟶ Foundations.Scheme.ProjectiveSpace.complexBase |
| 26 | carrierMap : carrier ⟶ S |
| 27 | left : carrier ⟶ H.subscheme |
| 28 | right : carrier ⟶ H'.subscheme |
| 29 | left_etale : Etale left |
| 30 | right_etale : Etale right |
| 31 | left_structure : left ≫ (H.subschemeι ≫ f) = structureMap |
| 32 | right_structure : right ≫ (H'.subschemeι ≫ f) = structureMap |
| 33 | ideal : carrier.IdealSheafData |
| 34 | ideal_ne_bot : ideal ≠ ⊥ |
| 35 | left_ideal : C.comap left = ideal |
| 36 | right_ideal : C'.comap right = ideal |
| 37 | boundary : β → carrier.IdealSheafData |
| 38 | left_boundary : ∀ l, ((D l).comap H.subschemeι).comap left = boundary l |
| 39 | right_boundary : ∀ l, ((D l).comap H'.subschemeι).comap right = boundary l |
| 40 | left_pullback : IsPullback left carrierMap H.subschemeι a |
| 41 | right_pullback : IsPullback right carrierMap H'.subschemeι b |
| 42 | |
| 43 | attribute [instance] DimensionCommonCarrierPullbackData.integral DimensionCommonCarrierPullbackData.noetherian |
| 44 | DimensionCommonCarrierPullbackData.compact DimensionCommonCarrierPullbackData.left_etale DimensionCommonCarrierPullbackData.right_etale |
| 45 | |
| 46 | theorem exists_dimension_common_carrier_pullback_data (dim : ℕ) |
| 47 | {X S : Scheme} [IsLocallyNoetherian S] (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 48 | (J H H' : X.IdealSheafData) [IsIntegral H.subscheme] |
| 49 | (C : H.subscheme.IdealSheafData) (C' : H'.subscheme.IdealSheafData) |
| 50 | (d : ℕ) (hC : C ≠ ⊥) (hCdef : C = GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J d H.subschemeι) |
| 51 | (hC'def : C' = GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J d H'.subschemeι) |
| 52 | {β : Type} (D : β → X.IdealSheafData) (a b : S ⟶ X) [Etale a] [Etale b] |
| 53 | (hf : a ≫ f = b ≫ f) (hJ : J.comap a = J.comap b) (hH : H.comap a = H'.comap b) |
| 54 | (hD : ∀ l, (D l).comap a = (D l).comap b) |
| 55 | [IsIntegral (H.comap a).subscheme] [CompactSpace (H.comap a).subscheme] |
| 56 | (hdH : topologicalKrullDim H.subscheme ≤ dim) : |
| 57 | Nonempty (DimensionCommonCarrierPullbackData dim f H H' C C' D a b) := by |
| 58 | obtain ⟨A⟩ := CommonClosedCarrierData.Construction.exists_dimension_common_closed_carrier_data dim H H' a b hH hdH |
| 59 | have heC : C.comap A.left = C'.comap A.right := by |
| 60 | rw [hCdef, hC'def] |
| 61 | exact CommonCarrierCoefficientEquality.Construction.smoothCoefficientIdealSheaf_common_carrier f J d H.subschemeι H'.subschemeι A.carrierMap |
| 62 | a b A.left A.right A.left_pullback.w A.right_pullback.w hf hJ |
| 63 | have heD (l : β) : ((D l).comap H.subschemeι).comap A.left = ((D l).comap H'.subschemeι).comap A.right := |
| 64 | CommonCarrierCoefficientEquality.Construction.idealSheaf_common_carrier_pullback (D l) H.subschemeι H'.subschemeι A.carrierMap a b A.left A.right |
| 65 | A.left_pullback.w A.right_pullback.w (hD l) |
| 66 | refine ⟨{ carrier := A.carrier |
| 67 | integral := inferInstance |
| 68 | noetherian := inferInstance |
| 69 | compact := inferInstance |
| 70 | dimension := A.dimension |
| 71 | structureMap := A.carrierMap ≫ (a ≫ f) |
| 72 | carrierMap := A.carrierMap |
| 73 | left := A.left |
| 74 | right := A.right |
| 75 | left_etale := inferInstance |
| 76 | right_etale := inferInstance |
| 77 | left_structure := ?_ |
| 78 | right_structure := ?_ |
| 79 | ideal := C.comap A.left |
| 80 | ideal_ne_bot := Blowups.Etale.PullbackCenter.Construction.idealSheaf_comap_nonempty_etale_ne_bot A.left C hC |
| 81 | left_ideal := rfl |
| 82 | right_ideal := heC.symm |
| 83 | boundary := fun l => ((D l).comap H.subschemeι).comap A.left |
| 84 | left_boundary := fun _ => rfl |
| 85 | right_boundary := fun l => (heD l).symm |
| 86 | left_pullback := A.left_pullback |
| 87 | right_pullback := A.right_pullback }⟩ |
| 88 | · rw [← Category.assoc, A.left_pullback.w, Category.assoc] |
| 89 | · rw [← Category.assoc, A.right_pullback.w, Category.assoc, hf] |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.Resolution.Blowups.Dimension.CommonCarrierPullbackData.Construction |