Class of grading-preserving functions and isomorphisms #
We define GradedFunLike F 𝒜 ℬ where 𝒜 and ℬ represent some sort of grading. This class
assumes FunLike A B where A and B are the underlying types.
We also define GradedEquivLike E 𝒜 ℬ, which is similar to EquivLike, where here e : E is
required to satisfy x ∈ 𝒜 i ↔ e x ∈ ℬ i.
The class GradedFunLike F 𝒜 ℬ expresses that terms of type F have an injective coercion to
grading-preserving functions from A to B, where 𝒜 is a grading on A and ℬ is a grading on
B. This typeclass has [FunLike F A B] as one of the assumptions. This typeclass is used in the
charactersation of certain types of graded homomorphisms, such as GradedRingHom and
GradedAlgHom. For example, what would be called "GradedRingHomClass F 𝒜 ℬ" would be expressed
as [FunLike F A B] [GradedFunLike F 𝒜 ℬ] [RingHomClass F A B].
Instances
A graded map descends to a map on each component.
Equations
- Graded.subtypeMap f i x = ⟨f ↑x, ⋯⟩
Instances For
The class GradedEquivLike E 𝒜 ℬ says that E is a type of grading-preserving isomorphisms
between 𝒜 and ℬ. It is the combination of GradedFunLike E 𝒜 ℬ and EquivLike E A B.
Instances
Alias of the forward direction of Graded.map_mem_iff.
Alias of the reverse direction of Graded.map_mem_iff.
A graded isomorphism descends to an isomorphism on each component.
Equations
- Graded.equiv e i = { toFun := Graded.subtypeMap e i, invFun := fun (y : ↥(ℬ i)) => ⟨EquivLike.inv e ↑y, ⋯⟩, left_inv := ⋯, right_inv := ⋯ }