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.AbelianVariety.HodgeBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianVariety.CharacterBasis |
| 3 | import OAI.AlgebraicGeometry.AbelianVariety.ExteriorCohomologyComplexCup |
| 4 | |
| 5 | /-! # Hodge Characters -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianVariety.HodgeCharacters.Constructions.ExteriorCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open scoped TensorProduct Classical |
| 12 | |
| 13 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 14 | local instance (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) : LinearOrder (HodgeBasis.Constructions.ExteriorCohomology.HodgeBasisIndex H) := |
| 15 | linearOrderOfSTO WellOrderingRel |
| 16 | |
| 17 | def hodgeExteriorSigns (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (n : ℕ) |
| 18 | (t : Set.powersetCard (HodgeBasis.Constructions.ExteriorCohomology.HodgeBasisIndex H) n) : Fin n → Bool := |
| 19 | fun i => HodgeBasis.Constructions.ExteriorCohomology.hodgeBasisSign H (Set.powersetCard.ofFinEmbEquiv.symm t i) |
| 20 | |
| 21 | def hodgeExteriorCharacter (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (n : ℕ) |
| 22 | (t : Set.powersetCard (HodgeBasis.Constructions.ExteriorCohomology.HodgeBasisIndex H) n) : ℂˣ → ℂ := |
| 23 | Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter |
| 24 | (Fintype.card {i // hodgeExteriorSigns H n t i = true}) |
| 25 | (Fintype.card {i // hodgeExteriorSigns H n t i = false}) |
| 26 | |
| 27 | theorem hodgeExteriorSigns_sum (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (n : ℕ) |
| 28 | (t : Set.powersetCard (HodgeBasis.Constructions.ExteriorCohomology.HodgeBasisIndex H) n) : |
| 29 | (∑ i, ComplexMultiplication.SignSwitch.CM.signValue (hodgeExteriorSigns H n t i)) = ComplexMultiplication.ExteriorTypedBasis.CM.exteriorBasisSignSum n (HodgeBasis.Constructions.ExteriorCohomology.hodgeBasisSign H) t := |
| 30 | ComplexMultiplication.ExteriorTypedBasis.CM.sum_orderedExteriorIndex n (fun i => ComplexMultiplication.SignSwitch.CM.signValue (HodgeBasis.Constructions.ExteriorCohomology.hodgeBasisSign H i)) t |
| 31 | |
| 32 | theorem hodgeExteriorCharacter_eq_iff (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (p q : ℕ) |
| 33 | (t : Set.powersetCard (HodgeBasis.Constructions.ExteriorCohomology.HodgeBasisIndex H) (p + q)) : |
| 34 | hodgeExteriorCharacter H (p + q) t = Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter p q ↔ |
| 35 | ComplexMultiplication.ExteriorTypedBasis.CM.exteriorBasisSignSum (p + q) (HodgeBasis.Constructions.ExteriorCohomology.hodgeBasisSign H) t = (p : ℤ) - q := by |
| 36 | constructor |
| 37 | · intro h |
| 38 | have he := CharacterBasis.Constructions.ExteriorCohomology.bidegreeCharacter_eq_imp_signed_eq |
| 39 | (Fintype.card {i // hodgeExteriorSigns H (p + q) t i = true}) |
| 40 | (Fintype.card {i // hodgeExteriorSigns H (p + q) t i = false}) p q |
| 41 | (congrFun h) |
| 42 | have hs := ComplexMultiplication.SignSwitch.CM.signSum_eq_counts |
| 43 | (fun i (_ : Unit) => hodgeExteriorSigns H (p + q) t i) () |
| 44 | rw [← hodgeExteriorSigns_sum] |
| 45 | exact hs.trans he |
| 46 | · intro h |
| 47 | have hc := (ComplexMultiplication.ExteriorTypedBasis.CM.signTotal_eq_sub_iff_counts p q (hodgeExteriorSigns H (p + q) t)).mp |
| 48 | ((hodgeExteriorSigns_sum H (p + q) t).trans h) |
| 49 | unfold hodgeExteriorCharacter |
| 50 | rw [hc.1, hc.2] |
| 51 | |
| 52 | /-- The covector scalar action transported through the actual Betti comparison. -/ |
| 53 | def bettiScalarAction (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) (z : ℂˣ) : |
| 54 | A.variety.complexCohomology n →ₗ[ℂ] A.variety.complexCohomology n := |
| 55 | (PureAverage.Constructions.ExteriorCohomology.abelianModelCovectorBettiEquiv A n).toLinearMap.comp |
| 56 | ((Analysis.DifferentialForms.Manifold.Bidegree.scalarCovectorPullback A.variety.analyticModel n z).comp |
| 57 | (PureAverage.Constructions.ExteriorCohomology.abelianModelCovectorBettiEquiv A n).symm.toLinearMap) |
| 58 | |
| 59 | theorem pureBetti_iff_scalarAction (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (p q : ℕ) |
| 60 | (a : A.variety.complexCohomology (p + q)) : |
| 61 | a ∈ A.variety.pureBettiSubspace p q ↔ |
| 62 | ∀ z, bettiScalarAction A (p + q) z a = Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter p q z • a := by |
| 63 | let e := PureAverage.Constructions.ExteriorCohomology.abelianModelCovectorBettiEquiv A (p + q) |
| 64 | have htype : a ∈ A.variety.pureBettiSubspace p q ↔ |
| 65 | Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree A.variety.analyticModel p q (e.symm a) := by |
| 66 | have h := PureAverage.Constructions.ExteriorCohomology.abelianModelCovectorBettiEquiv_pure A p q (e.symm a) |
| 67 | change e (e.symm a) ∈ A.variety.pureBettiSubspace p q ↔ |
| 68 | Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree A.variety.analyticModel p q (e.symm a) at h |
| 69 | simpa only [e.apply_symm_apply] using h |
| 70 | rw [htype] |
| 71 | constructor |
| 72 | · intro h z |
| 73 | have he : Analysis.DifferentialForms.Manifold.Bidegree.scalarCovectorPullback A.variety.analyticModel (p + q) z (e.symm a) = |
| 74 | Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter p q z • e.symm a := by |
| 75 | ext v |
| 76 | exact h z v |
| 77 | change e (Analysis.DifferentialForms.Manifold.Bidegree.scalarCovectorPullback A.variety.analyticModel (p + q) z (e.symm a)) = _ |
| 78 | rw [he, map_smul, e.apply_symm_apply] |
| 79 | · intro h z v |
| 80 | have he := congrArg e.symm (h z) |
| 81 | change e.symm (e (Analysis.DifferentialForms.Manifold.Bidegree.scalarCovectorPullback A.variety.analyticModel (p + q) z (e.symm a))) = |
| 82 | e.symm (Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter p q z • a) at he |
| 83 | rw [e.symm_apply_apply, map_smul] at he |
| 84 | exact congrArg (fun f : A.variety.analyticModel [⋀^Fin (p + q)]→L[ℝ] ℂ => f v) he |
| 85 | |
| 86 | /-- Once the actual cup monomials have their expected characters, the full type equivalence follows. -/ |
| 87 | theorem exteriorCup_pure_of_basis_character (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 88 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (A.variety.rationalCohomology 1)) (p q : ℕ) |
| 89 | (hb : ∀ (t : Set.powersetCard (HodgeBasis.Constructions.ExteriorCohomology.HodgeBasisIndex H) (p + q)) (z : ℂˣ), |
| 90 | bettiScalarAction A (p + q) z |
| 91 | (ExteriorCohomologyComplexCup.Constructions.complexExteriorCupEquiv A (p + q) (HodgeBasis.Constructions.ExteriorCohomology.hodgeExteriorBasis H (p + q) t)) = |
| 92 | hodgeExteriorCharacter H (p + q) t z • |
| 93 | ExteriorCohomologyComplexCup.Constructions.complexExteriorCupEquiv A (p + q) (HodgeBasis.Constructions.ExteriorCohomology.hodgeExteriorBasis H (p + q) t)) |
| 94 | (x : ComplexMultiplication.WeightOne.CM.Complexification (⋀[ℚ]^(p + q) (A.variety.rationalCohomology 1))) : |
| 95 | ExteriorCohomologyComplexCup.Constructions.complexExteriorCupEquiv A (p + q) x ∈ A.variety.pureBettiSubspace p q ↔ |
| 96 | x ∈ H.exteriorPureSubspace p q := by |
| 97 | let e := ExteriorCohomologyComplexCup.Constructions.complexExteriorCupEquiv A (p + q) |
| 98 | let b := HodgeBasis.Constructions.ExteriorCohomology.hodgeExteriorBasis H (p + q) |
| 99 | let B := b.map e |
| 100 | have hB : ∀ z t, bettiScalarAction A (p + q) z (B t) = |
| 101 | hodgeExteriorCharacter H (p + q) t z • B t := fun z t => hb t z |
| 102 | rw [pureBetti_iff_scalarAction, |
| 103 | CharacterBasis.Constructions.ExteriorCohomology.eigen_basis_span_iff B (bettiScalarAction A (p + q)) (hodgeExteriorCharacter H (p + q)) hB] |
| 104 | have hs : {t | hodgeExteriorCharacter H (p + q) t = Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter p q} = |
| 105 | {t | ComplexMultiplication.ExteriorTypedBasis.CM.exteriorBasisSignSum (p + q) (HodgeBasis.Constructions.ExteriorCohomology.hodgeBasisSign H) t = (p : ℤ) - q} := |
| 106 | Set.ext (fun t => hodgeExteriorCharacter_eq_iff H p q t) |
| 107 | rw [hs, ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure.exteriorPureSubspace, |
| 108 | HodgeBasis.Constructions.ExteriorCohomology.exteriorSignedSubspace_eq_hodgeBasisSpan] |
| 109 | change e x ∈ Submodule.span ℂ ((fun t => e (b t)) '' _) ↔ |
| 110 | x ∈ Submodule.span ℂ (b '' _) |
| 111 | rw [← Set.image_image] |
| 112 | let s := b '' {t | ComplexMultiplication.ExteriorTypedBasis.CM.exteriorBasisSignSum (p + q) (HodgeBasis.Constructions.ExteriorCohomology.hodgeBasisSign H) t = (p : ℤ) - q} |
| 113 | have hmap : Submodule.span ℂ (e '' s) = (Submodule.span ℂ s).map e.toLinearMap := |
| 114 | (Submodule.map_span e.toLinearMap s).symm |
| 115 | change e x ∈ Submodule.span ℂ (e '' s) ↔ x ∈ Submodule.span ℂ s |
| 116 | rw [hmap] |
| 117 | constructor |
| 118 | · rintro ⟨y, hy, he⟩ |
| 119 | exact e.injective he ▸ hy |
| 120 | · intro hx |
| 121 | exact ⟨x, hx, rfl⟩ |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.AbelianVariety.HodgeCharacters.Constructions.ExteriorCohomology |