def un.lt_dbl

bend-osdev-u32@0.1.0.0 · PROOF.bend:138

import bend-osdev-u32@0.1.0.0/PROOF.bend as PROOF
import Base

138def un.lt_dbl(x: Nat, y: Nat) -> {Nat.is_lt(Nat.double(x), Nat.double(y)) == Nat.is_lt(x, y) : Bool}:
139  match x y:
140    case 0n 0n:
141      {==}
142    case 0n 1n+q:
143      {==}
144    case 1n+p 0n:
145      {==}
146    case 1n+p 1n+q:
147      un.lt_dbl(p, q)

Uses (4)

Used by (6)