Debian Codegraph @

src/Algebra/Module/Definitions/Bi.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Properties connecting left-scaling and right-scaling
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 open import Relation.Binary.Core using (Rel)
10
11 -- The properties are parameterised by the three carriers and
12 -- the result equality.
13
14 module Algebra.Module.Definitions.Bi
15 {a a′ b ℓb} (A : Set a) (A′ : Set a′) {B : Set b} (_≈_ : Rel B ℓb)
16 where
17
18 open import Algebra.Module.Core using (Opₗ; Opᵣ)
19
20 Associative : Opₗ A B → Opᵣ A′ B → Set _
21 Associative _∙ₗ_ _∙ᵣ_ = ∀ x m y → ((x ∙ₗ m) ∙ᵣ y) ≈ (x ∙ₗ (m ∙ᵣ y))