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.FamilyTangent.DifferenceNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Family.AffineCoverIntersections |
| 3 | |
| 4 | /-! # Cech Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyTangent.CechCycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constructed base-tangent lifts give a linear Cech cocycle |
| 11 | on the actual affine cover of the fixed fiber. The triple-intersection |
| 12 | equation uses the original fixed-fiber restriction maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] [Algebra R k] |
| 18 | [IsScalarTower k R k] (X : Over (Spec (.of R))) [IsSeparated X.hom] |
| 19 | (U : X.left.AffineOpenCover) |
| 20 | |
| 21 | attribute [local implicit_reducible] Family.AffineCoverIntersections.familyCoverAffineOpen Family.AffineCoverIntersections.familyCoverPairAffineOpen Family.AffineCoverIntersections.familyCoverTripleAffineOpen |
| 22 | |
| 23 | abbrev fixedFamilyCechOneCochains := ∀ i j : U.I₀, |
| 24 | Derivation k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j)) |
| 25 | (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j)) |
| 26 | |
| 27 | abbrev fixedFamilyCechTwoCochains := ∀ i j l : U.I₀, |
| 28 | Derivation k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverTripleAffineOpen R X U i j l)) |
| 29 | (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverTripleAffineOpen R X U i j l)) |
| 30 | |
| 31 | def fixedFamilyCechDifferentialOne : |
| 32 | fixedFamilyCechOneCochains k R X U →ₗ[k] fixedFamilyCechTwoCochains k R X U where |
| 33 | toFun a i j l := |
| 34 | FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R k X |
| 35 | (show (Family.AffineCoverIntersections.familyCoverTripleAffineOpen R X U i j l).1 ≤ (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 from |
| 36 | inf_le_left) (a i j) + |
| 37 | FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R k X |
| 38 | (show (Family.AffineCoverIntersections.familyCoverTripleAffineOpen R X U i j l).1 ≤ (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U j l).1 from |
| 39 | le_inf (inf_le_left.trans inf_le_right) inf_le_right) (a j l) - |
| 40 | FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R k X |
| 41 | (show (Family.AffineCoverIntersections.familyCoverTripleAffineOpen R X U i j l).1 ≤ (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i l).1 from |
| 42 | le_inf (inf_le_left.trans inf_le_left) inf_le_right) (a i l) |
| 43 | map_add' a b := by |
| 44 | funext i j l |
| 45 | simp only [Pi.add_apply, map_add] |
| 46 | abel |
| 47 | map_smul' c a := by |
| 48 | funext i j l |
| 49 | simp only [Pi.smul_apply, map_smul, RingHom.id_apply, smul_add, smul_sub] |
| 50 | |
| 51 | variable [Smooth X.hom] |
| 52 | |
| 53 | def familyTangentPair (i j : U.I₀) : Derivation k R k →ₗ[k] |
| 54 | Derivation k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j)) |
| 55 | (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j)) := |
| 56 | Family.CommonOpenTangentDifferences.familyCommonOpenTangentDifference k R X (V := Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j) |
| 57 | (W := Family.AffineCoverIntersections.familyCoverAffineOpen R X U i) (Z := Family.AffineCoverIntersections.familyCoverAffineOpen R X U j) inf_le_left inf_le_right |
| 58 | |
| 59 | theorem familyTangentPair_restricted_cocycle (i j l : U.I₀) : |
| 60 | (FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R k X |
| 61 | (show (Family.AffineCoverIntersections.familyCoverTripleAffineOpen R X U i j l).1 ≤ (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 from |
| 62 | inf_le_left)).comp (familyTangentPair k R X U i j) + |
| 63 | (FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R k X |
| 64 | (show (Family.AffineCoverIntersections.familyCoverTripleAffineOpen R X U i j l).1 ≤ (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U j l).1 from |
| 65 | le_inf (inf_le_left.trans inf_le_right) inf_le_right)).comp (familyTangentPair k R X U j l) = |
| 66 | (FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R k X |
| 67 | (show (Family.AffineCoverIntersections.familyCoverTripleAffineOpen R X U i j l).1 ≤ (Family.AffineCoverIntersections.familyCoverPairAffineOpen R X U i l).1 from |
| 68 | le_inf (inf_le_left.trans inf_le_left) inf_le_right)).comp (familyTangentPair k R X U i l) := by |
| 69 | unfold familyTangentPair |
| 70 | rw [DifferenceNaturality.familyCommonOpenTangentDifference_restrict, DifferenceNaturality.familyCommonOpenTangentDifference_restrict, |
| 71 | DifferenceNaturality.familyCommonOpenTangentDifference_restrict] |
| 72 | exact Family.CommonOpenTangentDifferences.familyCommonOpenTangentDifference_cocycle k R X _ _ _ |
| 73 | |
| 74 | def familyTangentCechCochain : Derivation k R k →ₗ[k] fixedFamilyCechOneCochains k R X U := |
| 75 | LinearMap.pi (fun i => LinearMap.pi (fun j => familyTangentPair k R X U i j)) |
| 76 | |
| 77 | theorem familyTangentCechCochain_isCycle (d : Derivation k R k) : |
| 78 | fixedFamilyCechDifferentialOne k R X U (familyTangentCechCochain k R X U d) = 0 := by |
| 79 | funext i j l |
| 80 | exact sub_eq_zero.mpr (LinearMap.congr_fun (familyTangentPair_restricted_cocycle k R X U i j l) d) |
| 81 | |
| 82 | def familyTangentCechCycle : Derivation k R k →ₗ[k] (fixedFamilyCechDifferentialOne k R X U).ker := |
| 83 | (familyTangentCechCochain k R X U).codRestrict (fixedFamilyCechDifferentialOne k R X U).ker |
| 84 | (familyTangentCechCochain_isCycle k R X U) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyTangent.CechCycle |