def le_add_left

bendtorch-core@0.1.0.0 · src/shape/nat_proofs.bend:31

import bendtorch-core@0.1.0.0/src/shape/nat_proofs.bend as NatProofs
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

31def le_add_left(+a: Nat, -x: Nat, +c: Nat, bound: Shape.LE(Nat.add(a, x), c)) -> Shape.LE(a, c):
32  match a c:
33    case 0n c:
34      Unit{}
35    case 1n+p 0n:
36      match bound:
37    case 1n+p 1n+q:
38      le_add_left(p, x, q, bound)

Uses (4)

Used by (7)