| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Instantiates the ring solver with two copies of the same ring with |
| 5 |
-- decidable equality |
| 6 |
------------------------------------------------------------------------ |
| 7 |
|
| 8 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 9 |
|
| 10 |
open import Algebra.Solver.Ring.AlmostCommutativeRing using |
| 11 |
(AlmostCommutativeRing; -raw-almostCommutative⟶) |
| 12 |
open import Relation.Binary.Definitions using (Decidable) |
| 13 |
|
| 14 |
module Algebra.Solver.Ring.Simple |
| 15 |
{r₁ r₂} (R : AlmostCommutativeRing r₁ r₂) |
| 16 |
(_≟_ : Decidable (AlmostCommutativeRing._≈_ R)) |
| 17 |
where |
| 18 |
|
| 19 |
open import Relation.Binary.Consequences using (dec⇒weaklyDec) |
| 20 |
|
| 21 |
open AlmostCommutativeRing R |
| 22 |
import Algebra.Solver.Ring as RS |
| 23 |
open RS rawRing R (-raw-almostCommutative⟶ R) (dec⇒weaklyDec _≟_) public |