Kind/book/Nat/is_ltn.kind2

19 lines
226 B
Plaintext
Raw Permalink Normal View History

2024-03-20 18:47:25 +03:00
use Nat/{succ,zero}
use Bool/{true,false}
2024-07-09 00:13:17 +03:00
is_ltn
- a: Nat
- b: Nat
: Bool
match a with (b: Nat) {
zero: match b {
zero: false
succ: true
}
succ: match b {
zero: false
succ: (is_ltn a.pred b.pred)
2024-03-20 18:47:25 +03:00
}
2024-07-09 00:13:17 +03:00
}