Debian Codegraph @

src/Data/Integer/Solver.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Automatic solvers for equations over integers
5 ------------------------------------------------------------------------
6
7 -- See README.Data.Integer for examples of how to use this solver
8
9 {-# OPTIONS --cubical-compatible --safe #-}
10
11 module Data.Integer.Solver where
12
13 import Algebra.Solver.Ring.Simple as Solver
14 import Algebra.Solver.Ring.AlmostCommutativeRing as ACR
15 open import Data.Integer.Properties using (_≟_; +-*-commutativeRing)
16
17 ------------------------------------------------------------------------
18 -- A module for automatically solving propositional equivalences
19 -- containing _+_ and _*_
20
21 module +-*-Solver =
22 Solver (ACR.fromCommutativeRing +-*-commutativeRing) _≟_