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.CycleClass.Thom.Integral.ProductSupport |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ProjectiveComponentDimension |
| 3 | |
| 4 | /-! # Codimension Zero Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.CodimensionZeroSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A support of codimension zero is its actual integral component. |
| 11 | The reduced support scheme is canonically isomorphic to that component. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | namespace Constructions |
| 19 | |
| 20 | theorem integralSupport_eq_univ_of_codimension_zero (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 21 | (W : IrreducibleCloseds V.carrier) (hW : Geometric.DimensionCycles.dimensionCodimension V W = 0) : |
| 22 | (W : Set V.carrier) = Set.univ := by |
| 23 | let T : IrreducibleCloseds V.carrier := |
| 24 | ⟨Set.univ, IrreducibleSpace.isIrreducible_univ V.carrier, isClosed_univ⟩ |
| 25 | have hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap ≤ Foundations.Scheme.SupportDimension.supportTranscendenceDimension W V.structureMap := |
| 26 | Nat.sub_eq_zero_iff_le.mp hW |
| 27 | by_contra hne |
| 28 | have hlt : W < T := lt_of_le_of_ne (Set.subset_univ _) (fun he => hne (congrArg SetLike.coe he)) |
| 29 | have h := (Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt W T V.structureMap hlt).trans_le |
| 30 | (Foundations.Scheme.SupportDimension.supportTranscendenceDimension_le T V.structureMap) |
| 31 | exact (not_lt_of_ge hd) h |
| 32 | |
| 33 | theorem support_eq_component_of_codimension_zero (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 34 | (W : IrreducibleCloseds X.carrier) (hW : X.supportCodimension W = 0) : |
| 35 | (W : Set X.carrier) = (X.supportComponent W).val := by |
| 36 | let C := X.supportComponent W |
| 37 | let B := X.componentSupportPreimage C W (X.support_subset_component W) |
| 38 | have hB : Geometric.DimensionCycles.dimensionCodimension (X.componentVariety C) B = 0 := by |
| 39 | rw [← X.supportCodimension_componentSupportImage C B, |
| 40 | X.componentSupportImage_preimage C W (X.support_subset_component W)] |
| 41 | exact hW |
| 42 | have hu := integralSupport_eq_univ_of_codimension_zero (X.componentVariety C) B hB |
| 43 | have he := congrArg (fun A : IrreducibleCloseds X.carrier => (A : Set X.carrier)) |
| 44 | (X.componentSupportImage_preimage C W (X.support_subset_component W)) |
| 45 | change X.componentInclusion C '' (B : Set (X.componentVariety C).carrier) = (W : Set X.carrier) at he |
| 46 | rw [hu, Set.image_univ, X.componentInclusion_range C] at he |
| 47 | exact he.symm |
| 48 | |
| 49 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (W : IrreducibleCloseds X.carrier) |
| 50 | (hW : X.supportCodimension W = 0) |
| 51 | |
| 52 | include hW in |
| 53 | theorem componentInclusion_imageClosure : |
| 54 | Geometric.StratumClosure.integralImageClosure (X.componentInclusion (X.supportComponent W)) = W := by |
| 55 | apply IrreducibleCloseds.ext |
| 56 | change closure (Set.range (X.componentInclusion (X.supportComponent W))) = (W : Set X.carrier) |
| 57 | rw [X.componentInclusion_range, ← support_eq_component_of_codimension_zero X W hW, W.isClosed.closure_eq] |
| 58 | |
| 59 | /-- The actual scheme isomorphism preserves the closed inclusion into the ambient scheme. -/ |
| 60 | def componentReducedSupportIso : (X.componentVariety (X.supportComponent W)).carrier ≅ Geometric.GenericPoint.reducedSupportScheme W := by |
| 61 | have hk : (Geometric.GenericPoint.reducedSupportι W).ker = (X.componentInclusion (X.supportComponent W)).ker := by |
| 62 | rw [Geometric.StratumClosure.kernel_eq_reducedImageClosureIdeal (X.componentInclusion (X.supportComponent W)), |
| 63 | componentInclusion_imageClosure X W hW] |
| 64 | exact Scheme.IdealSheafData.ker_subschemeι (Geometric.GenericPoint.reducedSupportIdeal W) |
| 65 | let f := IsClosedImmersion.lift (Geometric.GenericPoint.reducedSupportι W) (X.componentInclusion (X.supportComponent W)) hk.le |
| 66 | let : IsIso f := IsClosedImmersion.isIso_lift |
| 67 | (Geometric.GenericPoint.reducedSupportι W) (X.componentInclusion (X.supportComponent W)) hk |
| 68 | exact asIso f |
| 69 | |
| 70 | theorem componentReducedSupportIso_inclusion : |
| 71 | (componentReducedSupportIso X W hW).hom ≫ Geometric.GenericPoint.reducedSupportι W = |
| 72 | X.componentInclusion (X.supportComponent W) := by |
| 73 | change IsClosedImmersion.lift _ _ _ ≫ _ = _ |
| 74 | exact IsClosedImmersion.lift_fac _ _ _ |
| 75 | |
| 76 | end Constructions |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.CycleClass.Thom.CodimensionZeroSupport |