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.Divisors.LineBundles.Deformation.ClosedSupport |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RegularDivisor |
| 3 | |
| 4 | /-! # Specialization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.Specialization.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: the finite specialization cycle of an integral affine support |
| 12 | |
| 13 | The regular parameter t has a finite effective divisor on the integral |
| 14 | deformation. Its support lies on t = 0. The proved special-fiber isomorphism |
| 15 | therefore transports this actual divisor, without discarding coefficients, |
| 16 | to a finite cycle on the normal cone. Descent modulo rational equivalence |
| 17 | and refined Gysin are further steps. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 21 | |
| 22 | universe u |
| 23 | variable {R : Type u} [CommRing R] |
| 24 | |
| 25 | /-- The regular section on Spec R[t,I/t] represented by the parameter t. -/ |
| 26 | def affineDeformationParameterSection (I : Ideal R) : Γ(Deformation.ClosedSupport.BundleCycles.affineDeformation I, ⊤) := |
| 27 | (Scheme.ΓSpecIso (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra I))).inv (Deformation.Iff.BundleCycles.deformationParameter I) |
| 28 | |
| 29 | /-- The actual quotient map onto the normal cone, via the special-fiber comparison. -/ |
| 30 | def normalConeFiberRingMap (I : Ideal R) : Deformation.Iff.BundleCycles.deformationAlgebra I →+* Normal.Cone.BundleCycles.NormalConeRing I := |
| 31 | (SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv I).symm.toRingHom.comp (Ideal.Quotient.mk (Deformation.Iff.BundleCycles.deformationSpecialIdeal I)) |
| 32 | |
| 33 | theorem normalConeFiberRingMap_surjective (I : Ideal R) : |
| 34 | Function.Surjective (normalConeFiberRingMap I) := |
| 35 | (SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv I).symm.surjective.comp Ideal.Quotient.mk_surjective |
| 36 | |
| 37 | theorem normalConeFiberRingMap_ker (I : Ideal R) : |
| 38 | RingHom.ker (normalConeFiberRingMap I) = Deformation.Iff.BundleCycles.deformationSpecialIdeal I := by |
| 39 | ext p |
| 40 | change (SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv I).symm (Ideal.Quotient.mk (Deformation.Iff.BundleCycles.deformationSpecialIdeal I) p) = 0 ↔ _ |
| 41 | rw [map_eq_zero_iff _ (SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv I).symm.injective, |
| 42 | Ideal.Quotient.eq_zero_iff_mem] |
| 43 | |
| 44 | /-- Closed inclusion of the actual affine normal cone into the deformation. -/ |
| 45 | def normalConeFiberInclusion (I : Ideal R) : Normal.Cone.BundleCycles.affineNormalCone I ⟶ Deformation.ClosedSupport.BundleCycles.affineDeformation I := |
| 46 | Spec.map (CommRingCat.ofHom (normalConeFiberRingMap I)) |
| 47 | |
| 48 | instance normalConeFiberInclusion_isClosedImmersion (I : Ideal R) : |
| 49 | IsClosedImmersion (normalConeFiberInclusion I) := |
| 50 | IsClosedImmersion.spec_of_surjective _ (normalConeFiberRingMap_surjective I) |
| 51 | |
| 52 | /-- The cone is exactly the vanishing locus of t in the deformation. -/ |
| 53 | theorem normalConeFiberInclusion_range (I : Ideal R) : |
| 54 | Set.range (normalConeFiberInclusion I) = |
| 55 | (Deformation.ClosedSupport.BundleCycles.affineDeformation I |>.basicOpen (affineDeformationParameterSection I) : Set (Deformation.ClosedSupport.BundleCycles.affineDeformation I))ᶜ := by |
| 56 | let A : CommRingCat := .of (Deformation.Iff.BundleCycles.deformationAlgebra I) |
| 57 | let B : CommRingCat := .of (Normal.Cone.BundleCycles.NormalConeRing I) |
| 58 | let g : A ⟶ B := CommRingCat.ofHom (normalConeFiberRingMap I) |
| 59 | have hk : RingHom.ker g.hom = Deformation.Iff.BundleCycles.deformationSpecialIdeal I := normalConeFiberRingMap_ker I |
| 60 | change Set.range (PrimeSpectrum.comap g.hom) = _ |
| 61 | rw [range_comap_of_surjective _ _ (normalConeFiberRingMap_surjective I), hk] |
| 62 | change PrimeSpectrum.zeroLocus (Deformation.Iff.BundleCycles.deformationSpecialIdeal I) = |
| 63 | ((Spec A).basicOpen ((Scheme.ΓSpecIso A).inv (Deformation.Iff.BundleCycles.deformationParameter I)) : Set (Spec A))ᶜ |
| 64 | rw [basicOpen_eq_of_affine] |
| 65 | ext x |
| 66 | simp only [PrimeSpectrum.mem_zeroLocus, SetLike.coe_subset_coe] |
| 67 | change Ideal.span {Deformation.Iff.BundleCycles.deformationParameter I} ≤ x.asIdeal ↔ ¬Deformation.Iff.BundleCycles.deformationParameter I ∉ x.asIdeal |
| 68 | exact (Ideal.span_singleton_le_iff_mem (I := x.asIdeal)).trans not_not.symm |
| 69 | |
| 70 | variable [IsDomain R] [IsNoetherianRing R] |
| 71 | |
| 72 | omit [IsNoetherianRing R] in |
| 73 | theorem affineDeformationParameterSection_ne_zero (I : Ideal R) : |
| 74 | affineDeformationParameterSection I ≠ 0 := by |
| 75 | intro h |
| 76 | have ht : Deformation.Iff.BundleCycles.deformationParameter I ≠ 0 := |
| 77 | mem_nonZeroDivisors_iff_ne_zero.mp (Deformation.Iff.BundleCycles.deformationParameter_regular I) |
| 78 | apply ht |
| 79 | have he := congrArg (Scheme.ΓSpecIso (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra I))).hom h |
| 80 | have hzero : (Scheme.ΓSpecIso (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra I))).hom 0 = 0 := |
| 81 | map_zero (Scheme.ΓSpecIso (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra I))).hom.hom |
| 82 | simp only [affineDeformationParameterSection, Iso.inv_hom_id_apply] at he |
| 83 | exact he.trans hzero |
| 84 | |
| 85 | /-- The finite effective divisor of the actual parameter on the integral deformation. -/ |
| 86 | def affineDeformationParameterDivisor (I : Ideal R) : Deformation.ClosedSupport.BundleCycles.affineDeformation I →₀ ℤ := |
| 87 | RegularDivisor.BundleCycles.regularFunctionDivisor (Deformation.ClosedSupport.BundleCycles.affineDeformation I) (affineDeformationParameterSection I) |
| 88 | |
| 89 | theorem affineDeformationParameterDivisor_nonnegative (I : Ideal R) (x : Deformation.ClosedSupport.BundleCycles.affineDeformation I) : |
| 90 | 0 ≤ affineDeformationParameterDivisor I x := |
| 91 | RegularDivisor.BundleCycles.regularFunctionDivisor_nonnegative _ _ (affineDeformationParameterSection_ne_zero I) x |
| 92 | |
| 93 | /-- All divisor coefficients occur on the actual closed normal-cone fiber. -/ |
| 94 | theorem affineDeformationParameterDivisor_support (I : Ideal R) : |
| 95 | ((affineDeformationParameterDivisor I).support : Set (Deformation.ClosedSupport.BundleCycles.affineDeformation I)) ⊆ |
| 96 | Set.range (normalConeFiberInclusion I) := by |
| 97 | rw [normalConeFiberInclusion_range] |
| 98 | exact RegularDivisor.BundleCycles.regularFunctionDivisor_support_subset _ _ |
| 99 | |
| 100 | /-- The point embedding induced by the normal-cone closed immersion. -/ |
| 101 | def normalConeFiberPointEmbedding (I : Ideal R) : Normal.Cone.BundleCycles.affineNormalCone I ↪ Deformation.ClosedSupport.BundleCycles.affineDeformation I := |
| 102 | ⟨normalConeFiberInclusion I, (normalConeFiberInclusion I).isClosedEmbedding.injective⟩ |
| 103 | |
| 104 | /-- The finite specialization cycle on the normal cone of an integral affine scheme. -/ |
| 105 | def affineSpecializationCycle (I : Ideal R) : Normal.Cone.BundleCycles.affineNormalCone I →₀ ℤ := |
| 106 | Finsupp.comapDomain (normalConeFiberPointEmbedding I) (affineDeformationParameterDivisor I) |
| 107 | (normalConeFiberPointEmbedding I).injective.injOn |
| 108 | |
| 109 | @[simp] |
| 110 | theorem affineSpecializationCycle_apply (I : Ideal R) (x : Normal.Cone.BundleCycles.affineNormalCone I) : |
| 111 | affineSpecializationCycle I x = affineDeformationParameterDivisor I (normalConeFiberInclusion I x) := rfl |
| 112 | |
| 113 | /-- Re-embedding the cone cycle recovers the whole parameter divisor, coefficient by coefficient. -/ |
| 114 | theorem affineSpecializationCycle_push (I : Ideal R) : |
| 115 | Finsupp.embDomain (normalConeFiberPointEmbedding I) (affineSpecializationCycle I) = |
| 116 | affineDeformationParameterDivisor I := |
| 117 | Finsupp.embDomain_comapDomain (affineDeformationParameterDivisor_support I) |
| 118 | |
| 119 | theorem affineSpecializationCycle_nonnegative (I : Ideal R) (x : Normal.Cone.BundleCycles.affineNormalCone I) : |
| 120 | 0 ≤ affineSpecializationCycle I x := affineDeformationParameterDivisor_nonnegative I _ |
| 121 | |
| 122 | /-- Every codimension-one specialization coefficient is the actual finite |
| 123 | local length of the quotient by t on the deformation. -/ |
| 124 | theorem affineSpecializationCycle_coeff_length (I : Ideal R) (x : Normal.Cone.BundleCycles.affineNormalCone I) |
| 125 | (hx : coheight (normalConeFiberInclusion I x) = 1) : |
| 126 | affineSpecializationCycle I x = |
| 127 | ((Module.length ((Deformation.ClosedSupport.BundleCycles.affineDeformation I).presheaf.stalk (normalConeFiberInclusion I x)) |
| 128 | (((Deformation.ClosedSupport.BundleCycles.affineDeformation I).presheaf.stalk (normalConeFiberInclusion I x)) ⧸ |
| 129 | Ideal.span {(Deformation.ClosedSupport.BundleCycles.affineDeformation I).presheaf.germ ⊤ (normalConeFiberInclusion I x) |
| 130 | (by trivial) (affineDeformationParameterSection I)})).toNat : ℤ) := |
| 131 | RegularDivisor.BundleCycles.regularFunctionDivisor_coeff_length _ _ (affineDeformationParameterSection_ne_zero I) _ hx |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.Specialization.BundleCycles |