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.SheafCohomology.Projective.TwistCechWeightAssembly |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechZeroCycles |
| 3 | |
| 4 | /-! # Laurent Zero Cycle Weights -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentZeroCycleWeights.MvPolynomial |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Weight components and inclusions on degree-zero Laurent cycles. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechZeroCycles |
| 13 | universe u |
| 14 | open _root_.MvPolynomial |
| 15 | variable {R : Type u} [CommRing R] {σ : Type} [LinearOrder σ] |
| 16 | local instance laurentZeroWeightDecidableEq : DecidableEq σ := Classical.decEq σ |
| 17 | |
| 18 | abbrev LaurentZeroCycles (d : ℤ) := |
| 19 | ((LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechDifferential (R := R) (σ := σ) d 0).hom).ker |
| 20 | |
| 21 | def laurentZeroCycleWeight (d : ℤ) (e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) : |
| 22 | LaurentZeroCycles (R := R) (σ := σ) d →ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 23 | (OrderedCechSupportContraction.orderedCechSupportDifferential Γ(Spec (CommRingCat.of R), ⊤) |
| 24 | e.liftedNegativeSupport 0).ker := |
| 25 | ((TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent (R := R) d e 0).comp |
| 26 | (LaurentZeroCycles (R := R) (σ := σ) d).subtype).codRestrict _ (fun z => by |
| 27 | change OrderedCechSupportContraction.orderedCechSupportDifferential Γ(Spec (CommRingCat.of R), ⊤) |
| 28 | e.liftedNegativeSupport 0 |
| 29 | (TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent (R := R) d e 0 z.val) = 0 |
| 30 | rw [← TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent_differential, z.property, map_zero]) |
| 31 | |
| 32 | def laurentZeroCycleWeightInclusion (d : ℤ) (e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) : |
| 33 | (OrderedCechSupportContraction.orderedCechSupportDifferential Γ(Spec (CommRingCat.of R), ⊤) |
| 34 | e.liftedNegativeSupport 0).ker →ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 35 | LaurentZeroCycles (R := R) (σ := σ) d := |
| 36 | ((TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion (R := R) d e 0).comp |
| 37 | (OrderedCechSupportContraction.orderedCechSupportDifferential Γ(Spec (CommRingCat.of R), ⊤) |
| 38 | e.liftedNegativeSupport 0).ker.subtype).codRestrict _ (fun z => by |
| 39 | change (LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechDifferential (R := R) (σ := σ) d 0).hom |
| 40 | (TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion (R := R) d e 0 z.val) = 0 |
| 41 | rw [TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion_differential, z.property, map_zero]) |
| 42 | |
| 43 | theorem laurentZeroCycleWeight_inclusion (d : ℤ) (e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) |
| 44 | (z : (OrderedCechSupportContraction.orderedCechSupportDifferential Γ(Spec (CommRingCat.of R), ⊤) |
| 45 | e.liftedNegativeSupport 0).ker) : |
| 46 | laurentZeroCycleWeight (R := R) d e |
| 47 | (laurentZeroCycleWeightInclusion (R := R) d e z) = z := by |
| 48 | apply Subtype.ext |
| 49 | exact TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent_inclusion d e 0 z.val |
| 50 | |
| 51 | theorem laurentZeroCycleWeight_inclusion_ne (d : ℤ) |
| 52 | (e f : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) (hef : f ≠ e) |
| 53 | (z : (OrderedCechSupportContraction.orderedCechSupportDifferential Γ(Spec (CommRingCat.of R), ⊤) |
| 54 | e.liftedNegativeSupport 0).ker) : |
| 55 | laurentZeroCycleWeight (R := R) d f |
| 56 | (laurentZeroCycleWeightInclusion (R := R) d e z) = 0 := by |
| 57 | apply Subtype.ext |
| 58 | exact TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent_inclusion_ne d e f hef 0 z.val |
| 59 | |
| 60 | theorem laurentZeroCycleWeight_eq_zero_of_nonempty (d : ℤ) (hd : 0 ≤ d) (j : σ) |
| 61 | (e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) |
| 62 | (he : (e.liftedNegativeSupport : Set (ULift.{u} σ)) ≠ ∅) |
| 63 | (z : LaurentZeroCycles (R := R) (σ := σ) d) : |
| 64 | laurentZeroCycleWeight (R := R) d e z = 0 := by |
| 65 | obtain ⟨i, hi⟩ : ∃ i : ULift.{u} σ, i ∉ e.liftedNegativeSupport := |
| 66 | e.exists_not_mem_liftedNegativeSupport_of_nonneg j hd |
| 67 | apply Subtype.ext |
| 68 | apply OrderedCechSupportContraction.orderedCechSupportDifferential_zero_injective Γ(Spec (CommRingCat.of R), ⊤) |
| 69 | e.liftedNegativeSupport (Set.nonempty_iff_ne_empty.mpr he) i hi |
| 70 | exact (laurentZeroCycleWeight (R := R) d e z).property.trans (map_zero _).symm |
| 71 | |
| 72 | theorem laurentZeroCycle_ext [Fintype σ] (d : ℤ) |
| 73 | {z w : LaurentZeroCycles (R := R) (σ := σ) d} |
| 74 | (h : ∀ e, laurentZeroCycleWeight (R := R) d e z = laurentZeroCycleWeight (R := R) d e w) : |
| 75 | z = w := by |
| 76 | apply Subtype.ext |
| 77 | have hc (e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) : |
| 78 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent (R := R) d e 0 (z.val - w.val) = 0 := by |
| 79 | rw [map_sub] |
| 80 | exact sub_eq_zero.mpr (congrArg Subtype.val (h e)) |
| 81 | apply sub_eq_zero.mp |
| 82 | rw [← TwistCechWeightAssembly.MvPolynomial.coordinateHomogeneousLaurentActiveWeights_reconstruct d 0 (z.val - w.val)] |
| 83 | simp only [hc, map_zero, Finset.sum_const_zero] |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentZeroCycleWeights.MvPolynomial |