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.PELModuli.IntegralModel.ConormalEigenquotient |
| 2 | import Mathlib.RingTheory.Unramified.Finite |
| 3 | |
| 4 | /-! # Unramified Character Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.UnramifiedCharacterQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Character quotients of finite projective modules over a finite-type |
| 11 | unramified algebra are direct summands over the base. The splitting is |
| 12 | constructed from the algebra's proved separability element. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.ConormalEigenquotient |
| 17 | |
| 18 | variable {R B V : Type} [CommRing R] [CommRing B] [Algebra R B] |
| 19 | [AddCommGroup V] [Module R V] |
| 20 | |
| 21 | def characterTensorEvaluation (χ : B →ₐ[R] R) : B ⊗[R] V →ₗ[R] V := |
| 22 | (TensorProduct.lid R V).toLinearMap.comp (χ.toLinearMap.rTensor V) |
| 23 | |
| 24 | @[simp] theorem characterTensorEvaluation_tmul (χ : B →ₐ[R] R) (b : B) (v : V) : |
| 25 | characterTensorEvaluation χ (b ⊗ₜ[R] v) = χ b • v := rfl |
| 26 | |
| 27 | theorem characterTensorEvaluation_smul (χ : B →ₐ[R] R) (b : B) (t : B ⊗[R] V) : |
| 28 | characterTensorEvaluation χ (b • t) = χ b • characterTensorEvaluation χ t := by |
| 29 | induction t using TensorProduct.inductionOn with |
| 30 | | tmul a v => simp [TensorProduct.smul_tmul', map_mul, mul_smul] |
| 31 | | add t u ht hu => simp only [smul_add, map_add, ht, hu] |
| 32 | |
| 33 | variable [Module B V] [IsScalarTower R B V] |
| 34 | |
| 35 | def characterActionRelations (χ : B →ₐ[R] R) : Submodule R V := |
| 36 | PELModuli.IntegralModel.ConormalEigenquotient.conormalEigenRelations (Algebra.lsmul R R V : B →ₐ[R] Module.End R V) χ |
| 37 | |
| 38 | theorem characterActionRelations_mkQ_smul (χ : B →ₐ[R] R) (b : B) (v : V) : |
| 39 | (characterActionRelations χ).mkQ (b • v) = |
| 40 | (characterActionRelations χ).mkQ (χ b • v) := by |
| 41 | apply (Submodule.Quotient.eq _).mpr |
| 42 | have hb : ((Algebra.lsmul R R V) b - χ b • (LinearMap.id : Module.End R V)).range ≤ |
| 43 | characterActionRelations (V := V) χ := |
| 44 | le_iSup (fun a : B => |
| 45 | ((Algebra.lsmul R R V) a - χ a • (LinearMap.id : Module.End R V)).range) b |
| 46 | exact hb ⟨v, rfl⟩ |
| 47 | |
| 48 | def characterTensorMultiplication : B ⊗[R] V →ₗ[R] V := |
| 49 | TensorProduct.lift (Algebra.lsmul R R V : B →ₐ[R] Module.End R V).toLinearMap |
| 50 | |
| 51 | @[simp] theorem characterTensorMultiplication_tmul (b : B) (v : V) : |
| 52 | characterTensorMultiplication (b ⊗ₜ[R] v) = b • v := rfl |
| 53 | |
| 54 | theorem characterTensorEvaluation_class (χ : B →ₐ[R] R) (t : B ⊗[R] V) : |
| 55 | (characterActionRelations χ).mkQ (characterTensorEvaluation χ t) = |
| 56 | (characterActionRelations χ).mkQ (characterTensorMultiplication t) := by |
| 57 | induction t using TensorProduct.inductionOn with |
| 58 | | tmul b v => exact (characterActionRelations_mkQ_smul χ b v).symm |
| 59 | | add t u ht hu => simp only [map_add, ht, hu] |
| 60 | |
| 61 | variable [Algebra.FormallyUnramified R B] [Algebra.EssFiniteType R B] |
| 62 | |
| 63 | def characterProjector (χ : B →ₐ[R] R) : Module.End R V := |
| 64 | (characterTensorEvaluation χ).comp ((Algebra.FormallyUnramified.sec R B V).restrictScalars R) |
| 65 | |
| 66 | theorem characterProjector_smul (χ : B →ₐ[R] R) (b : B) (v : V) : |
| 67 | characterProjector χ (b • v) = χ b • characterProjector χ v := by |
| 68 | change characterTensorEvaluation χ (Algebra.FormallyUnramified.sec R B V (b • v)) = _ |
| 69 | rw [map_smul, characterTensorEvaluation_smul] |
| 70 | rfl |
| 71 | |
| 72 | theorem characterProjector_class (χ : B →ₐ[R] R) (v : V) : |
| 73 | (characterActionRelations χ).mkQ (characterProjector χ v) = |
| 74 | (characterActionRelations χ).mkQ v := by |
| 75 | apply (characterTensorEvaluation_class χ (Algebra.FormallyUnramified.sec R B V v)).trans |
| 76 | apply congrArg (characterActionRelations χ).mkQ |
| 77 | exact LinearMap.congr_fun (Algebra.FormallyUnramified.comp_sec R B V) v |
| 78 | |
| 79 | theorem characterActionRelations_le_projector_ker (χ : B →ₐ[R] R) : |
| 80 | characterActionRelations (V := V) χ ≤ (characterProjector χ).ker := by |
| 81 | change (⨆ b : B, ((Algebra.lsmul R R V) b - χ b • LinearMap.id).range) ≤ _ |
| 82 | apply iSup_le |
| 83 | intro b v hv |
| 84 | obtain ⟨w, rfl⟩ := hv |
| 85 | change characterProjector χ (b • w - χ b • w) = 0 |
| 86 | rw [map_sub, characterProjector_smul, map_smul, sub_self] |
| 87 | |
| 88 | def characterQuotientSection (χ : B →ₐ[R] R) : |
| 89 | V ⧸ characterActionRelations (V := V) χ →ₗ[R] V := |
| 90 | (characterActionRelations χ).liftQ (characterProjector χ) |
| 91 | (characterActionRelations_le_projector_ker χ) |
| 92 | |
| 93 | theorem characterQuotientSection_splits (χ : B →ₐ[R] R) : |
| 94 | (characterActionRelations (V := V) χ).mkQ.comp (characterQuotientSection χ) = LinearMap.id := by |
| 95 | apply LinearMap.ext |
| 96 | intro q |
| 97 | obtain ⟨v, rfl⟩ := (characterActionRelations χ).mkQ_surjective q |
| 98 | exact characterProjector_class χ v |
| 99 | |
| 100 | theorem characterQuotient_projective [Module.Projective R V] (χ : B →ₐ[R] R) : |
| 101 | Module.Projective R (V ⧸ characterActionRelations (V := V) χ) := |
| 102 | Module.Projective.of_split (characterQuotientSection χ) (characterActionRelations χ).mkQ |
| 103 | (characterQuotientSection_splits χ) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.UnramifiedCharacterQuotient |