| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Automatic solvers for equations over rationals |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
module Data.Rational.Unnormalised.Solver where |
| 10 |
|
| 11 |
import Algebra.Solver.Ring.Simple as Solver |
| 12 |
import Algebra.Solver.Ring.AlmostCommutativeRing as ACR |
| 13 |
open import Data.Rational.Unnormalised.Properties using (_≃?_; +-*-commutativeRing) |
| 14 |
|
| 15 |
------------------------------------------------------------------------ |
| 16 |
-- A module for automatically solving propositional equivalences |
| 17 |
-- containing _+_ and _*_ |
| 18 |
|
| 19 |
module +-*-Solver = |
| 20 |
Solver (ACR.fromCommutativeRing +-*-commutativeRing) _≃?_ |