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.AbelianModuli.ReferenceFamily.Family.BaseTangentObstruction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.Closed |
| 3 | |
| 4 | /-! # Primitives -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyTangent.Primitives |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Vanishing of a native tangent class supplies literal scalar |
| 13 | primitives in the fixed-fiber coefficient rings on the original affine |
| 14 | cover, with the exact transition sign. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 18 | |
| 19 | variable (R : Type) [CommRing R] [Algebra ℂ R] [Algebra R ℂ] [IsScalarTower ℂ R ℂ] |
| 20 | (X : Over (Spec (.of R))) [Smooth X.hom] [IsSeparated X.hom] |
| 21 | [IsIntegral (TangentBasePoint.fixedFamilyFiber ℂ R X).left] [Smooth (TangentBasePoint.fixedFamilyFiber ℂ R X).hom] |
| 22 | [GrpObj (TangentBasePoint.fixedFamilyFiber ℂ R X)] (U : X.left.AffineOpenCover) |
| 23 | |
| 24 | attribute [local implicit_reducible] Family.AffineCoverIntersections.familyCoverAffineOpen Family.AffineCoverIntersections.familyCoverPairAffineOpen |
| 25 | attribute [local implicit_reducible] Fixed.CechCover.fixedFamilyCechCover TangentBasePoint.fixedFamilyFiber FixedFiber.CoordinateProjection.fixedFiberAffineOpen |
| 26 | attribute [local irreducible] FixedFiber.RegularSections.fixedFiberRegularSectionEquiv |
| 27 | |
| 28 | abbrev fixedFamilyScalarGauges := ∀ i : U.I₀, ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i) |
| 29 | |
| 30 | def IsFamilyTangentScalarPrimitive (d : Derivation ℂ R ℂ) |
| 31 | (z : Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X)) (a : fixedFamilyScalarGauges R X U) : Prop := |
| 32 | ∀ i j : U.I₀, ConormalCocycle.familyTangentConormalPair R X U i j d z = |
| 33 | FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R ℂ X |
| 34 | (show (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i).1 from inf_le_left) (a i) - |
| 35 | FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R ℂ X |
| 36 | (show (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ (Family.AffineCoverIntersections.familyCoverAffineOpen R X U j).1 from inf_le_right) (a j) |
| 37 | |
| 38 | theorem familyTangentScalarPrimitive_of_class_zero (d : Derivation ℂ R ℂ) |
| 39 | (z : Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X)) (hz : Family.BaseTangentObstruction.familyTangentSheafClass R X U d z = 0) : |
| 40 | ∃ a : fixedFamilyScalarGauges R X U, IsFamilyTangentScalarPrimitive R X U d z a := by |
| 41 | obtain ⟨s, hs⟩ := RegularPair.Closed.regularPairPrimitive_of_sheafClass_zero (TangentBasePoint.fixedFamilyFiber ℂ R X).left |
| 42 | (Fixed.CechCover.fixedFamilyCechCover ℂ R X U) (RegularCocycle.familyTangentRegularPair R X U d z) |
| 43 | (Fixed.CechCover.fixedFamilyCechCover_covers ℂ R X U) (RegularCocycle.familyTangentRegularPair_cocycle R X U d z) hz |
| 44 | let a : fixedFamilyScalarGauges R X U := fun i => |
| 45 | (FixedFiber.RegularSections.fixedFiberRegularSectionEquiv R ℂ X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i)).symm (s i) |
| 46 | have he (i : U.I₀) : FixedFiber.RegularSections.fixedFiberRegularSectionEquiv R ℂ X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i) (a i) = s i := |
| 47 | (FixedFiber.RegularSections.fixedFiberRegularSectionEquiv R ℂ X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i)).apply_symm_apply (s i) |
| 48 | refine ⟨a, fun i j => ?_⟩ |
| 49 | apply (FixedFiber.RegularSections.fixedFiberRegularSectionEquiv R ℂ X (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j)).injective |
| 50 | rw [map_sub, FixedFiber.RegularSections.fixedFiberRegularSectionEquiv_restrict, FixedFiber.RegularSections.fixedFiberRegularSectionEquiv_restrict, he, he] |
| 51 | exact hs i j |
| 52 | |
| 53 | end |
| 54 | |
| 55 | section |
| 56 | |
| 57 | /-! Scalar primitives for the native tangent classes assemble on a |
| 58 | basis into actual conormal-valued correction terms on the original cover. -/ |
| 59 | |
| 60 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 61 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 62 | |
| 63 | variable (R : Type) [CommRing R] [Algebra ℂ R] [Algebra R ℂ] [IsScalarTower ℂ R ℂ] |
| 64 | (X : Over (Spec (.of R))) [Smooth X.hom] [IsSeparated X.hom] |
| 65 | [IsIntegral (TangentBasePoint.fixedFamilyFiber ℂ R X).left] [Smooth (TangentBasePoint.fixedFamilyFiber ℂ R X).hom] |
| 66 | [GrpObj (TangentBasePoint.fixedFamilyFiber ℂ R X)] (U : X.left.AffineOpenCover) |
| 67 | |
| 68 | attribute [local implicit_reducible] Family.AffineCoverIntersections.familyCoverAffineOpen Family.AffineCoverIntersections.familyCoverPairAffineOpen |
| 69 | |
| 70 | abbrev fixedFamilyConormalGauges := ∀ i : U.I₀, |
| 71 | Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X) →ₗ[ℂ] |
| 72 | ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i) |
| 73 | |
| 74 | def IsFamilyTangentConormalPrimitive (d : Derivation ℂ R ℂ) (v : fixedFamilyConormalGauges R X U) : Prop := |
| 75 | ∀ i j : U.I₀, ∀ z : Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X), |
| 76 | ConormalCocycle.familyTangentConormalPair R X U i j d z = |
| 77 | FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R ℂ X |
| 78 | (show (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i).1 from inf_le_left) (v i z) - |
| 79 | FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R ℂ X |
| 80 | (show (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ (Family.AffineCoverIntersections.familyCoverAffineOpen R X U j).1 from inf_le_right) (v j z) |
| 81 | |
| 82 | theorem familyTangentConormalPrimitive_of_classes_zero (d : Derivation ℂ R ℂ) |
| 83 | (hz : ∀ z : Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X), Family.BaseTangentObstruction.familyTangentSheafClass R X U d z = 0) : |
| 84 | ∃ v : fixedFamilyConormalGauges R X U, IsFamilyTangentConormalPrimitive R X U d v := by |
| 85 | let b := Module.Free.chooseBasis ℂ (Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X)) |
| 86 | have h : ∀ t, ∃ a : fixedFamilyScalarGauges R X U, IsFamilyTangentScalarPrimitive R X U d (b t) a := |
| 87 | fun t => familyTangentScalarPrimitive_of_class_zero R X U d (b t) (hz (b t)) |
| 88 | choose a ha using h |
| 89 | let v : fixedFamilyConormalGauges R X U := fun i => b.constr ℂ (fun t => a t i) |
| 90 | refine ⟨v, fun i j z => ?_⟩ |
| 91 | have hv : ConormalCocycle.familyTangentConormalPair R X U i j d = |
| 92 | (FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R ℂ X |
| 93 | (show (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i).1 from inf_le_left)).toLinearMap.comp (v i) - |
| 94 | (FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R ℂ X |
| 95 | (show (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ (Family.AffineCoverIntersections.familyCoverAffineOpen R X U j).1 from inf_le_right)).toLinearMap.comp (v j) := by |
| 96 | apply b.ext |
| 97 | intro t |
| 98 | simp only [LinearMap.sub_apply, LinearMap.comp_apply, AlgHom.toLinearMap_apply, |
| 99 | v, Module.Basis.constr_basis] |
| 100 | exact ha t i j |
| 101 | exact LinearMap.congr_fun hv z |
| 102 | |
| 103 | end |
| 104 | |
| 105 | /-! Vanishing of the native base-tangent obstruction constructs |
| 106 | actual derivation correction terms on the original affine cover. Their |
| 107 | restricted differences are the actual linear transition derivations. -/ |
| 108 | |
| 109 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 110 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 111 | |
| 112 | variable (R : Type) [CommRing R] [Algebra ℂ R] [Algebra R ℂ] [IsScalarTower ℂ R ℂ] |
| 113 | (X : Over (Spec (.of R))) [Smooth X.hom] [IsSeparated X.hom] |
| 114 | [IsIntegral (TangentBasePoint.fixedFamilyFiber ℂ R X).left] [Smooth (TangentBasePoint.fixedFamilyFiber ℂ R X).hom] |
| 115 | [GrpObj (TangentBasePoint.fixedFamilyFiber ℂ R X)] (U : X.left.AffineOpenCover) |
| 116 | |
| 117 | attribute [local implicit_reducible] Family.AffineCoverIntersections.familyCoverAffineOpen Family.AffineCoverIntersections.familyCoverPairAffineOpen |
| 118 | attribute [local irreducible] FixedFiber.AffineCoefficient.fixedFiberConormalLinearEquiv |
| 119 | |
| 120 | local instance familyPrimitiveH1_complexModule : |
| 121 | Module ℂ (SheafCohomology.AffineH.Projective.H (HilbertConstruction.Line.Bundles.structureModule (TangentBasePoint.fixedFamilyFiber ℂ R X).left) 1) := |
| 122 | StructureComplexScalars.structureH1ComplexModule (TangentBasePoint.fixedFamilyFiber ℂ R X) |
| 123 | |
| 124 | abbrev fixedFamilyDerivationGauges := ∀ i : U.I₀, |
| 125 | Derivation ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i)) |
| 126 | (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i)) |
| 127 | |
| 128 | def IsFamilyTangentDerivationPrimitive (d : Derivation ℂ R ℂ) (a : fixedFamilyDerivationGauges R X U) : Prop := |
| 129 | ∀ i j : U.I₀, CechCycle.familyTangentPair ℂ R X U i j d = |
| 130 | FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R ℂ X |
| 131 | (show (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i).1 from inf_le_left) (a i) - |
| 132 | FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R ℂ X |
| 133 | (show (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ (Family.AffineCoverIntersections.familyCoverAffineOpen R X U j).1 from inf_le_right) (a j) |
| 134 | |
| 135 | theorem familyTangentDerivationPrimitive_of_conormal (d : Derivation ℂ R ℂ) |
| 136 | (v : fixedFamilyConormalGauges R X U) (hv : IsFamilyTangentConormalPrimitive R X U d v) : |
| 137 | ∃ a : fixedFamilyDerivationGauges R X U, IsFamilyTangentDerivationPrimitive R X U d a := by |
| 138 | let a : fixedFamilyDerivationGauges R X U := fun i => |
| 139 | (FixedFiber.AffineCoefficient.fixedFiberConormalLinearEquiv R X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i)).symm (v i) |
| 140 | have he (i : U.I₀) : FixedFiber.AffineCoefficient.fixedFiberConormalLinearEquiv R X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i) (a i) = v i := |
| 141 | (FixedFiber.AffineCoefficient.fixedFiberConormalLinearEquiv R X (Family.AffineCoverIntersections.familyCoverAffineOpen R X U i)).apply_symm_apply (v i) |
| 142 | refine ⟨a, fun i j => ?_⟩ |
| 143 | apply (FixedFiber.AffineCoefficient.fixedFiberConormalLinearEquiv R X (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j)).injective |
| 144 | apply LinearMap.ext |
| 145 | intro z |
| 146 | rw [map_sub, LinearMap.sub_apply, FixedFiber.AffineCoefficient.fixedFiberConormalLinearEquiv_natural, |
| 147 | FixedFiber.AffineCoefficient.fixedFiberConormalLinearEquiv_natural, he, he] |
| 148 | exact hv i j z |
| 149 | |
| 150 | theorem familyTangentDerivationPrimitive_of_obstruction_zero (d : Derivation ℂ R ℂ) |
| 151 | (h : Family.BaseTangentObstruction.familyBaseTangentObstruction R X U d = 0) : |
| 152 | ∃ a : fixedFamilyDerivationGauges R X U, IsFamilyTangentDerivationPrimitive R X U d a := by |
| 153 | obtain ⟨v, hv⟩ := familyTangentConormalPrimitive_of_classes_zero R X U d |
| 154 | (fun z => LinearMap.congr_fun h z) |
| 155 | exact familyTangentDerivationPrimitive_of_conormal R X U d v hv |
| 156 | |
| 157 | end |
| 158 | |
| 159 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyTangent.Primitives |