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.Isogenies.NeighborCounting.ComponentLifts |
| 2 | import Mathlib.RingTheory.Bialgebra.Hom |
| 3 | import Mathlib.RingTheory.HopfAlgebra.Convolution |
| 4 | import Mathlib.AlgebraicGeometry.Group.Affine |
| 5 | |
| 6 | /-! # Component Hopf Lift -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentHopfLift.Components |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Lift a residue homomorphism from a finite etale Hopf algebra to an arbitrary |
| 14 | finite Hopf algebra. HenselianLifting supplies the algebra map. Its uniqueness in finite |
| 15 | target algebras proves preservation of comultiplication, counit, and |
| 16 | antipode. Thus a component quotient lifts as a group morphism without |
| 17 | requiring the original finite flat group to be etale. |
| 18 | -/ |
| 19 | |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | section Residue |
| 25 | |
| 26 | variable (R : Type u) [CommRing R] [IsLocalRing R] |
| 27 | variable {A B : Type u} [CommRing A] [CommRing B] [Algebra R A] [Algebra R B] |
| 28 | |
| 29 | def residueProjection (A : Type u) [CommRing A] [Algebra R A] : A →ₐ[R] ComponentLifts.Components.ResidueAlgebra R A := |
| 30 | Ideal.Quotient.mkₐ R ((IsLocalRing.maximalIdeal R).map (algebraMap R A)) |
| 31 | |
| 32 | def residueAlgMap (f : A →ₐ[R] B) : ComponentLifts.Components.ResidueAlgebra R A →ₐ[R] ComponentLifts.Components.ResidueAlgebra R B := |
| 33 | Ideal.quotientMapₐ _ f (by |
| 34 | rw [← Ideal.map_le_iff_le_comap] |
| 35 | change ((IsLocalRing.maximalIdeal R).map (algebraMap R A)).map f.toRingHom ≤ _ |
| 36 | rw [Ideal.map_map] |
| 37 | have hf : f.toRingHom.comp (algebraMap R A) = algebraMap R B := |
| 38 | RingHom.ext f.commutes |
| 39 | rw [hf]) |
| 40 | |
| 41 | theorem residueAlgMap_projection (f : A →ₐ[R] B) : |
| 42 | (residueAlgMap R f).comp (residueProjection R A) = (residueProjection R B).comp f := |
| 43 | rfl |
| 44 | |
| 45 | def residueTensorSquare (f : A →ₐ[R] ComponentLifts.Components.ResidueAlgebra R B) : |
| 46 | A ⊗[R] A →ₐ[R] ComponentLifts.Components.ResidueAlgebra R (B ⊗[R] B) := |
| 47 | Algebra.TensorProduct.lift |
| 48 | ((residueAlgMap R (Algebra.TensorProduct.includeLeft : B →ₐ[R] B ⊗[R] B)).comp f) |
| 49 | ((residueAlgMap R (Algebra.TensorProduct.includeRight : B →ₐ[R] B ⊗[R] B)).comp f) |
| 50 | (fun _ _ => Commute.all _ _) |
| 51 | |
| 52 | theorem residueTensorSquare_projection (f : A →ₐ[R] B) : |
| 53 | residueTensorSquare R ((residueProjection R B).comp f) = |
| 54 | (residueProjection R (B ⊗[R] B)).comp (Algebra.TensorProduct.map f f) := by |
| 55 | apply AlgHom.toLinearMap_injective |
| 56 | apply TensorProduct.ext' |
| 57 | intro a b |
| 58 | change |
| 59 | (residueAlgMap R (Algebra.TensorProduct.includeLeft : B →ₐ[R] B ⊗[R] B)) |
| 60 | ((residueProjection R B) (f a)) * |
| 61 | (residueAlgMap R (Algebra.TensorProduct.includeRight : B →ₐ[R] B ⊗[R] B)) |
| 62 | ((residueProjection R B) (f b)) = _ |
| 63 | rw [show (residueAlgMap R (Algebra.TensorProduct.includeLeft : B →ₐ[R] B ⊗[R] B)) |
| 64 | ((residueProjection R B) (f a)) = |
| 65 | (residueProjection R (B ⊗[R] B)) (f a ⊗ₜ[R] 1) from rfl] |
| 66 | rw [show (residueAlgMap R (Algebra.TensorProduct.includeRight : B →ₐ[R] B ⊗[R] B)) |
| 67 | ((residueProjection R B) (f b)) = |
| 68 | (residueProjection R (B ⊗[R] B)) (1 ⊗ₜ[R] f b) from rfl] |
| 69 | rw [← map_mul] |
| 70 | simp only [Algebra.TensorProduct.tmul_mul_tmul, mul_one, one_mul] |
| 71 | rfl |
| 72 | |
| 73 | end Residue |
| 74 | |
| 75 | variable (R C A : Type u) [CommRing R] [HenselianLocalRing R] |
| 76 | [CommRing C] [HopfAlgebra R C] [CommRing A] [HopfAlgebra R A] |
| 77 | [Module.Finite R C] [Module.Finite R A] [Algebra.Etale R C] |
| 78 | |
| 79 | /-- The group-law equations for a residue component map, expressed in |
| 80 | residue coordinate algebras. These concern only the specified special map. -/ |
| 81 | structure ResidueHopfMap where |
| 82 | map : C →ₐ[R] ComponentLifts.Components.ResidueAlgebra R A |
| 83 | counit : (residueAlgMap R (Bialgebra.counitAlgHom R A)).comp map = |
| 84 | (residueProjection R R).comp (Bialgebra.counitAlgHom R C) |
| 85 | comul : (residueTensorSquare R map).comp (Bialgebra.comulAlgHom R C) = |
| 86 | (residueAlgMap R (Bialgebra.comulAlgHom R A)).comp map |
| 87 | antipode : (residueAlgMap R (HopfAlgebra.antipodeAlgHom R A)).comp map = |
| 88 | map.comp (HopfAlgebra.antipodeAlgHom R C) |
| 89 | |
| 90 | namespace ResidueHopfMap |
| 91 | |
| 92 | variable {R C A} (φ : ResidueHopfMap R C A) |
| 93 | |
| 94 | def algebraLift : C →ₐ[R] A := (OAI.Algebra.LocalRing.HenselianLifting.Construction.finiteEtale_hom_lift R C A φ.map).choose |
| 95 | |
| 96 | theorem algebraLift_reduction : (residueProjection R A).comp φ.algebraLift = φ.map := |
| 97 | (OAI.Algebra.LocalRing.HenselianLifting.Construction.finiteEtale_hom_lift R C A φ.map).choose_spec.1 |
| 98 | |
| 99 | theorem algebraLift_unique (f : C →ₐ[R] A) |
| 100 | (h : (residueProjection R A).comp f = φ.map) : f = φ.algebraLift := |
| 101 | (OAI.Algebra.LocalRing.HenselianLifting.Construction.finiteEtale_hom_lift R C A φ.map).choose_spec.2 f h |
| 102 | |
| 103 | theorem algebraLift_counit : |
| 104 | (Bialgebra.counitAlgHom R A).comp φ.algebraLift = Bialgebra.counitAlgHom R C := by |
| 105 | apply OAI.Algebra.LocalRing.HenselianLifting.Construction.unramified_hom_ext_of_quotient R C _ |
| 106 | (OAI.Algebra.LocalRing.HenselianLifting.Construction.maximalIdeal_map_le_jacobson R R) |
| 107 | change (residueProjection R R).comp ((Bialgebra.counitAlgHom R A).comp φ.algebraLift) = _ |
| 108 | rw [← AlgHom.comp_assoc, ← residueAlgMap_projection, AlgHom.comp_assoc, |
| 109 | φ.algebraLift_reduction] |
| 110 | exact φ.counit |
| 111 | |
| 112 | theorem algebraLift_comul : |
| 113 | (Algebra.TensorProduct.map φ.algebraLift φ.algebraLift).comp (Bialgebra.comulAlgHom R C) = |
| 114 | (Bialgebra.comulAlgHom R A).comp φ.algebraLift := by |
| 115 | apply OAI.Algebra.LocalRing.HenselianLifting.Construction.unramified_hom_ext_of_quotient R C _ |
| 116 | (OAI.Algebra.LocalRing.HenselianLifting.Construction.maximalIdeal_map_le_jacobson R (A ⊗[R] A)) |
| 117 | change (residueProjection R (A ⊗[R] A)).comp |
| 118 | ((Algebra.TensorProduct.map φ.algebraLift φ.algebraLift).comp (Bialgebra.comulAlgHom R C)) = |
| 119 | (residueProjection R (A ⊗[R] A)).comp ((Bialgebra.comulAlgHom R A).comp φ.algebraLift) |
| 120 | rw [← AlgHom.comp_assoc, ← residueTensorSquare_projection, φ.algebraLift_reduction, |
| 121 | ← AlgHom.comp_assoc, ← residueAlgMap_projection, AlgHom.comp_assoc, |
| 122 | φ.algebraLift_reduction] |
| 123 | exact φ.comul |
| 124 | |
| 125 | theorem algebraLift_antipode : |
| 126 | (HopfAlgebra.antipodeAlgHom R A).comp φ.algebraLift = |
| 127 | φ.algebraLift.comp (HopfAlgebra.antipodeAlgHom R C) := by |
| 128 | apply OAI.Algebra.LocalRing.HenselianLifting.Construction.unramified_hom_ext_of_quotient R C _ |
| 129 | (OAI.Algebra.LocalRing.HenselianLifting.Construction.maximalIdeal_map_le_jacobson R A) |
| 130 | change (residueProjection R A).comp ((HopfAlgebra.antipodeAlgHom R A).comp φ.algebraLift) = |
| 131 | (residueProjection R A).comp (φ.algebraLift.comp (HopfAlgebra.antipodeAlgHom R C)) |
| 132 | rw [← AlgHom.comp_assoc, ← residueAlgMap_projection, AlgHom.comp_assoc, |
| 133 | φ.algebraLift_reduction, ← AlgHom.comp_assoc, φ.algebraLift_reduction] |
| 134 | exact φ.antipode |
| 135 | |
| 136 | /-- The integral component map, including its group law, is constructed. -/ |
| 137 | def bialgebraLift : C →ₐc[R] A := |
| 138 | BialgHom.ofAlgHom φ.algebraLift φ.algebraLift_counit φ.algebraLift_comul |
| 139 | |
| 140 | open _root_.CategoryTheory _root_.AlgebraicGeometry in |
| 141 | /-- Spectrum turns the constructed Hopf map into the integral group map. -/ |
| 142 | def groupSchemeMap : |
| 143 | (hopfSpec (CommRingCat.of R)).obj (.op (CommHopfAlgCat.of R A)) ⟶ |
| 144 | (hopfSpec (CommRingCat.of R)).obj (.op (CommHopfAlgCat.of R C)) := |
| 145 | (hopfSpec (CommRingCat.of R)).map (CommHopfAlgCat.ofHom φ.bialgebraLift).op |
| 146 | |
| 147 | open _root_.CategoryTheory _root_.AlgebraicGeometry in |
| 148 | /-- Its restriction to the actual residue coordinate scheme is the |
| 149 | specified special group map, as an equality of scheme morphisms. -/ |
| 150 | theorem groupSchemeMap_reduction : |
| 151 | Spec.map (CommRingCat.ofHom (residueProjection R A).toRingHom) ≫ |
| 152 | φ.groupSchemeMap.hom.hom.left = Spec.map (CommRingCat.ofHom φ.map.toRingHom) := by |
| 153 | change Spec.map (CommRingCat.ofHom (residueProjection R A).toRingHom) ≫ |
| 154 | Spec.map (CommRingCat.ofHom φ.algebraLift.toRingHom) = _ |
| 155 | rw [← Spec.map_comp] |
| 156 | exact congrArg (fun f : C →ₐ[R] ComponentLifts.Components.ResidueAlgebra R A => Spec.map (CommRingCat.ofHom f.toRingHom)) |
| 157 | φ.algebraLift_reduction |
| 158 | |
| 159 | end ResidueHopfMap |
| 160 | |
| 161 | end |
| 162 | |
| 163 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentHopfLift.Components |