forked from agda/agda-stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommutativeMonoid.agda
43 lines (30 loc) · 1.29 KB
/
CommutativeMonoid.agda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
------------------------------------------------------------------------
-- The Agda standard library
--
-- Solver for equations in commutative monoids
--
-- Adapted from Algebra.Solver.Monoid
------------------------------------------------------------------------
{-# OPTIONS --cubical-compatible --safe #-}
open import Algebra.Bundles using (CommutativeMonoid)
module Algebra.Solver.CommutativeMonoid {c ℓ} (M : CommutativeMonoid c ℓ) where
import Algebra.Solver.CommutativeMonoid.Normal as Normal
import Algebra.Solver.Monoid.Tactic as Tactic
open CommutativeMonoid M using (monoid)
------------------------------------------------------------------------
-- Normal forms
open module N = Normal M public
renaming (correct to normalise-correct)
------------------------------------------------------------------------
-- Tactic
open Tactic monoid (record { N }) public
------------------------------------------------------------------------
-- DEPRECATED NAMES
------------------------------------------------------------------------
-- Please use the new names as continuing support for the old names is
-- not guaranteed.
-- Version 2.1
{-# WARNING_ON_USAGE normalise-correct
"Warning: normalise-correct was deprecated in v2.1.
Please use Algebra.Solver.CommutativeMonoid.Normal.correct instead."
#-}