← Back

Modules

Midnight

  • Passport.Channels
  • Passport.Compiler
  • Passport.Core
  • Passport.FMTerm
  • Passport.Properties
  • Passport.Semantics

Passport

  • Passport
12345678910111213141516171819202122
------------------------------------------------------------------------
-- The Agda standard library
--
-- Automatic solvers for equations over integers
------------------------------------------------------------------------
 
-- See README.Data.Integer for examples of how to use this solver
 
{-# OPTIONS --cubical-compatible --safe #-}
 
module Data.Integer.Solver where
 
import Algebra.Solver.Ring.Simple as Solver
import Algebra.Solver.Ring.AlmostCommutativeRing as ACR
open import Data.Integer.Properties using (_≟_; +-*-commutativeRing)
 
------------------------------------------------------------------------
-- A module for automatically solving propositional equivalences
-- containing _+_ and _*_
 
module +-*-Solver =
Solver (ACR.fromCommutativeRing +-*-commutativeRing) _≟_