Files
agdaproofs/Numbers/Modulo/Definition.agda
2020-01-05 15:06:35 +00:00

17 lines
483 B
Agda
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
module Numbers.Modulo.Definition where
record n (n : ) .(pr : 0 <N n) : Set where
field
x :
.xLess : x <N n
equalityZn : {n : } .{pr : 0 <N n} {a b : n n pr} (n.x a n.x b) a b
equalityZn {a = record { x = a ; xLess = aLess }} {record { x = .a ; xLess = bLess }} refl = refl