def un.lt_dbl1

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

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

149def un.lt_dbl1(x: Nat, y: Nat) -> {Nat.is_lt(1n+Nat.double(x), Nat.double(y)) == Nat.is_lt(x, y) : Bool}:
150  match x y:
151    case 0n 0n:
152      {==}
153    case 0n 1n+q:
154      {==}
155    case 1n+p 0n:
156      {==}
157    case 1n+p 1n+q:
158      un.lt_dbl1(p, q)

Uses (4)

Used by (3)