IdrisDoc: Decidable.Equality

Decidable.Equality

trueNotFalse : (True = False) -> Void
nothingNotJust : (Nothing = Just x) -> Void
negEqSym : ((a = b) -> Void) -> (b = a) -> Void

The negation of equality is symmetric (follows from symmetry of equality)

lemma_x_neq_xs_neq : ((x = y) -> Void) -> ((xs = ys) -> Void) -> (x :: xs = y :: ys) -> Void
lemma_x_neq_xs_eq : ((x = y) -> Void) -> (xs = ys) -> (x :: xs = y :: ys) -> Void
lemma_x_eq_xs_neq : (x = y) -> ((xs = ys) -> Void) -> (x :: xs = y :: ys) -> Void
lemma_val_not_nil : (x :: xs = []) -> Void
lemma_snd_neq : (x = x) -> ((y = y') -> Void) -> ((x, y) = (x, y')) -> Void
lemma_fst_neq_snd_eq : ((x = x') -> Void) -> (y = y') -> ((x, y) = (x', y)) -> Void
lemma_both_neq : ((x = x') -> Void) -> ((y = y') -> Void) -> ((x, y) = (x', y')) -> Void
leftNotRight : (Left x = Right y) -> Void
ZnotS : (0 = S n) -> Void
interface DecEq 

Decision procedures for propositional equality

decEq : DecEq t => (x1 : t) -> (x2 : t) -> Dec (x1 = x2)

Decide whether two elements of t are propositionally equal