Commit 2026-03-22 21:51 87f8e604

View on Github →

feat: compatible (pairs of) derivations form a Lie algebra (#36651) Given a map of $R$-algebras $\sigma: A\to A'$, a derivation $X$ of $A$ is called compatible with a Derivation $X'$ of $A'$, if $\sigma\circ X =X'\circ \sigma$. Given two such pairs $(X,X')$ and $(Y,Y')$, their Lie brackets $([X,Y], [X',Y'])$ again form such a pair. This concept is relevant in differential geometry, where $A$, $A'$ are the algebras of smooth functions on manifolds and $\sigma$ comes from a smooth map between manifolds. (In this case one calls the vector fields (= Derivations) 'related'). This concept can be encoded by the fact that the compatible Derivations form a Lie subalgebra of the direct sum of the derivations of $A$ with the derivations of $A'$. In this PR we add this fact, along with a convenient way to express the direct sum of two Lie algebras, as a special case of their semidirect sum. (There already is a direct sum construction for aribtrary families of Lie algebras in Mathlib.Algebra.Lie.DirectSum), but I don't know if there is a very convenient way to use it in the binary case.

Estimated changes

added theorem LieHom.coe_fst
added theorem LieHom.coe_inl
added theorem LieHom.coe_inr
added theorem LieHom.coe_prod
added theorem LieHom.coe_prodMap
added theorem LieHom.coe_snd
added def LieHom.fst
added theorem LieHom.fst_apply
added theorem LieHom.fst_comp_inl
added theorem LieHom.fst_comp_inr
added theorem LieHom.fst_prod
added theorem LieHom.fst_surjective
added def LieHom.inl
added theorem LieHom.inl_apply
added theorem LieHom.inl_eq_prod
added theorem LieHom.inl_injective
added def LieHom.inr
added theorem LieHom.inr_apply
added theorem LieHom.inr_eq_prod
added theorem LieHom.inr_injective
added theorem LieHom.ker_fst
added theorem LieHom.ker_snd
added theorem LieHom.pair_fst_snd
added def LieHom.prod
added def LieHom.prodMap
added theorem LieHom.prodMap_apply
added theorem LieHom.prodMap_comp
added theorem LieHom.prodMap_id
added theorem LieHom.prodMap_one
added theorem LieHom.prodMap_zero
added theorem LieHom.prod_comp
added theorem LieHom.prod_ext
added theorem LieHom.prod_ext_iff
added theorem LieHom.range_inl
added theorem LieHom.range_inr
added def LieHom.snd
added theorem LieHom.snd_apply
added theorem LieHom.snd_comp_inl
added theorem LieHom.snd_comp_inr
added theorem LieHom.snd_prod
added theorem LieHom.snd_surjective