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.GlobalCoefficient.SequenceLift |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ContainedBoundaryComponent |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.Labels |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.IntegralStepCountTransport |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.EmbeddingIso |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.AtlasIsoTransport |
| 7 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.CarrierCenterAtlasLift |
| 8 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.Upper |
| 9 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.RetractedCoefficientCoverTransform |
| 10 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.Terminal |
| 11 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.SequenceHypersurface |
| 12 | |
| 13 | /-! # Boundary Coefficient Sequence Lift -/ |
| 14 | |
| 15 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.BoundaryCoefficientSequenceLift.Construction |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | /-! Lift a given coefficient sequence while retaining its Cartier carrier as an additional ambient boundary component. -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | local instance carrierBoundaryCoefficientLiftCarrierNoetherian {X : Scheme} [IsLocallyNoetherian X] |
| 24 | (H : X.IdealSheafData) : IsLocallyNoetherian H.subscheme := |
| 25 | LocallyOfFiniteType.isLocallyNoetherian H.subschemeι |
| 26 | |
| 27 | theorem exists_global_carrier_boundary_integral_sequence_of_bounded_coefficient_sequence (n : ℕ) : |
| 28 | ∀ m : ℕ, ∀ (X : Scheme) [IsIntegral X] [IsLocallyNoetherian X] |
| 29 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J H : X.IdealSheafData), |
| 30 | H ≠ ⊥ → Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf H → ∀ [IsIntegral H.subscheme] [Smooth (H.subschemeι ≫ f)], |
| 31 | H ≤ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n → ∀ C : H.subscheme.IdealSheafData, C ≠ ⊥ → |
| 32 | C ≤ GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι → |
| 33 | (∀ x : X, x ∈ H.support → |
| 34 | ∃ A : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C (n + 1), Nonempty (Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction A) ∧ |
| 35 | ∃ p : PrimeSpectrum A.ring, A.map p = x) → |
| 36 | ∀ T : MonomialSequence.Construction.SmoothFixedControlSequence (n + 1).factorial H.subscheme (H.subschemeι ≫ f) C, |
| 37 | T.stepCount ≤ m → ∀ (β : Type) [Fintype β] (D : β → X.IdealSheafData), |
| 38 | MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f (fun j : Option β => match j with | none => H | some l => D l) [Finset.univ] → T.integralCenters → |
| 39 | T.boundaryCompatible β (fun l => (D l).comap H.subschemeι) → |
| 40 | ∃ U : MonomialSequence.Construction.SmoothFixedControlSequence (n + 1) X f J, U.integralCenters ∧ U.boundaryCompatible (Option β) (fun j : Option β => match j with | none => H | some l => D l) := by |
| 41 | intro m |
| 42 | induction m using Nat.strong_induction_on with |
| 43 | | h m ih => |
| 44 | intro X _ _ f _ J H hH hlocal _ _ htangent C hC hupp hcharts T hsize β _ D DA hint hbound |
| 45 | cases T with |
| 46 | | terminal hterminal => |
| 47 | have hclear := GlobalCoefficient.Terminal.Construction.global_retained_coefficient_terminal_clears_order f J H C n htangent hupp hcharts hterminal |
| 48 | refine ⟨.terminal (by simpa only [Nat.add_sub_cancel] using hclear), ?_, ?_⟩ |
| 49 | · change True |
| 50 | trivial |
| 51 | · change Nonempty (MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f (fun j : Option β => match j with | none => H | some l => D l) [Finset.univ]) |
| 52 | exact ⟨DA⟩ |
| 53 | | blowup K hK hb hperm hs hbl tail => |
| 54 | change IsIntegral K.subscheme ∧ tail.integralCenters at hint |
| 55 | change Nonempty (CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas (H.subschemeι ≫ f) K |
| 56 | (fun l => (D l).comap H.subschemeι)) ∧ |
| 57 | tail.boundaryCompatible (Option β) |
| 58 | (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary K hK (fun l => (D l).comap H.subschemeι)) at hbound |
| 59 | let : IsIntegral K.subscheme := hint.1 |
| 60 | obtain ⟨BA⟩ := hbound.1 |
| 61 | let I := K.map H.subschemeι |
| 62 | have hI : I ≠ ⊥ := ClosedCarrierCenters.Construction.closedCarrierCenter_ne_bot H.subschemeι K hK |
| 63 | have hHI : H ≤ I := by |
| 64 | rw [← Scheme.IdealSheafData.ker_subschemeι H] |
| 65 | exact ClosedCarrierCenters.Construction.closedCarrierCenter_contains_kernel H.subschemeι K |
| 66 | have hIK : I.comap H.subschemeι = K := ClosedCarrierCenters.Construction.idealSheaf_closed_comap_map H.subschemeι K |
| 67 | let : Smooth (K.subschemeι ≫ (H.subschemeι ≫ f)) := hs |
| 68 | let : Smooth (I.subschemeι ≫ f) := ClosedCarrierCenters.Construction.closedCarrierCenter_smooth f H.subschemeι K |
| 69 | have hCperm : C ≤ (I.comap H.subschemeι) ^ (n + 1).factorial := by rw [hIK]; exact hperm |
| 70 | have hp : J ≤ I ^ (n + 1) := GlobalCoefficient.FamilyCharts.Construction.global_center_permissible_of_coefficient_family_charts f I J H hHI C (n + 1) |
| 71 | (fun x hx => by obtain ⟨A, _, p, hp⟩ := hcharts x hx; exact ⟨A, p, hp⟩) hCperm |
| 72 | let : IsIntegral I.subscheme := CanonicalBoundaryComparison.Construction.closedCarrierCenter_isIntegral H.subschemeι K |
| 73 | have BA' : CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas (H.subschemeι ≫ f) (I.comap H.subschemeι) |
| 74 | (fun l => (D l).comap H.subschemeι) := by rw [hIK]; exact BA |
| 75 | let AA := MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas.liftClosedCarrierCenter f I H hH hlocal hHI D DA.dropFirst BA' |
| 76 | let AAfull := AA.adjoin_boundary_component H hHI DA |
| 77 | let hblX := 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 | 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 | SmoothHypersurfaceTransform.Construction.globalBlowup_smooth_controlled_hypersurface f I H hI hH hlocal hHI |
| 87 | have htangent' := 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' := 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 | GlobalCoefficient.EmbeddingIso.Construction.carrier_blowup_embedding_iso_canonicalBoundary f I H hI K hK hIK rfl e hemb D AA BA 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 htailB : tail.boundaryCompatible (Option β) |
| 101 | (fun l => ((D' l).comap H'.subschemeι).comap e.hom) := by |
| 102 | rw [funext hDe] |
| 103 | exact hbound.2 |
| 104 | obtain ⟨U, hUint, hUB, hU⟩ := tail.transport_boundary_integral_iso_with_stepCount hint.2 |
| 105 | (H'.subschemeι ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f)) C' hC' e he hcoeff |
| 106 | (fun l => (D' l).comap H'.subschemeι) AH htailB |
| 107 | have hlt : U.stepCount < m := by |
| 108 | change tail.stepCount + 1 ≤ m at hsize |
| 109 | rw [hU] |
| 110 | omega |
| 111 | have Afull' : MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 112 | (fun j : Option (Option β) => match j with | none => H' | some l => D' l) [Finset.univ] := by |
| 113 | convert AAfull.blowupBoundaryWithCarrier hI using 1 |
| 114 | obtain ⟨rest, hrestInt, hrestB⟩ := ih U.stepCount hlt (GlobalBlowup.Data.Construction.globalBlowup I hI) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 115 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI (n + 1)) H' hH' hlocal' htangent' C' hC' hupp' hcharts' U le_rfl |
| 116 | (Option β) D' (by convert Afull' using 1; funext j; cases j <;> rfl) hUint hUB |
| 117 | have hrestB' : rest.boundaryCompatible (Option (Option β)) |
| 118 | (fun j => match j with |
| 119 | | none => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 120 | | some l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l) := by |
| 121 | convert hrestB using 1 |
| 122 | funext j |
| 123 | cases j <;> rfl |
| 124 | exact ⟨.blowup I hI (Nat.succ_pos n) hp inferInstance hblX rest, |
| 125 | ⟨inferInstance, hrestInt⟩, |
| 126 | ⟨⟨AAfull⟩, rest.boundaryCompatible_carrier_to_canonical (H := H) hI D hrestB'⟩⟩ |
| 127 | |
| 128 | theorem exists_global_carrier_boundary_integral_sequence_of_retained_coefficient_sequence |
| 129 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 130 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J H : X.IdealSheafData) (hH : H ≠ ⊥) |
| 131 | (hlocal : Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf H) [IsIntegral H.subscheme] [Smooth (H.subschemeι ≫ f)] |
| 132 | (n : ℕ) (htangent : H ≤ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n) |
| 133 | (C : H.subscheme.IdealSheafData) (hC : C ≠ ⊥) |
| 134 | (hupp : C ≤ GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι) |
| 135 | (hcharts : ∀ x : X, x ∈ H.support → |
| 136 | ∃ A : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C (n + 1), Nonempty (Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction A) ∧ |
| 137 | ∃ p : PrimeSpectrum A.ring, A.map p = x) |
| 138 | (T : MonomialSequence.Construction.SmoothFixedControlSequence (n + 1).factorial H.subscheme (H.subschemeι ≫ f) C) |
| 139 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) |
| 140 | (A : MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f (fun j : Option β => match j with | none => H | some l => D l) [Finset.univ]) (hT : T.integralCenters) |
| 141 | (hB : T.boundaryCompatible β (fun l => (D l).comap H.subschemeι)) : |
| 142 | ∃ U : MonomialSequence.Construction.SmoothFixedControlSequence (n + 1) X f J, U.integralCenters ∧ U.boundaryCompatible (Option β) (fun j : Option β => match j with | none => H | some l => D l) := |
| 143 | exists_global_carrier_boundary_integral_sequence_of_bounded_coefficient_sequence n T.stepCount X f J H hH |
| 144 | hlocal htangent C hC hupp hcharts T le_rfl β D A hT hB |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.BoundaryCoefficientSequenceLift.Construction |