Debian Codegraph @

src/Algebra/Solver/CommutativeMonoid.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Solver for equations in commutative monoids
5 --
6 -- Adapted from Algebra.Solver.Monoid
7 ------------------------------------------------------------------------
8
9 {-# OPTIONS --cubical-compatible --safe #-}
10
11 open import Algebra.Bundles using (CommutativeMonoid)
12
13 module Algebra.Solver.CommutativeMonoid {c ℓ} (M : CommutativeMonoid c ℓ) where
14
15 import Algebra.Solver.CommutativeMonoid.Normal as Normal
16 import Algebra.Solver.Monoid.Solver as Solver
17
18 open CommutativeMonoid M using (monoid)
19
20 private
21 module N = Normal M
22
23
24 ------------------------------------------------------------------------
25 -- Normal forms
26
27 open N public
28 renaming (correct to normalise-correct)
29
30 ------------------------------------------------------------------------
31 -- Proof procedures
32
33 open Solver monoid (record { N }) public
34
35
36 ------------------------------------------------------------------------
37 -- DEPRECATED NAMES
38 ------------------------------------------------------------------------
39 -- Please use the new names as continuing support for the old names is
40 -- not guaranteed.
41
42 -- Version 2.2
43
44 {-# WARNING_ON_USAGE normalise-correct
45 "Warning: normalise-correct was deprecated in v2.2.
46 Please use Algebra.Solver.CommutativeMonoid.Normal.correct instead."
47 #-}