def lt_zero_absurd
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat.bend as Natimport Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L
93def lt_zero_absurd(+n: Nat, e: {Nat.is_lt(n, 0n) == True{} : Bool}) -> Empty:
94 L.false_true(Equal.trans(Bool, False{}, Nat.is_lt(n, 0n), True{}, Equal.sym(Bool, Nat.is_lt(n, 0n), False{}, not_lt_zero(n)), e))
Uses (8)
Used by (84)
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat:lt_succ_le_succ
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat:lt_succ_le
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat:lt_add_r2
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat:lt_not_le
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32:lt_one_zero
- …