def no_earlier_zero

bendtorch-core@0.1.0.0 · src/tensor/matmul_PROOF.bend:266

import bendtorch-core@0.1.0.0/src/tensor/matmul_PROOF.bend as MatmulPROOF
import Base
import bendtorch-core@0.1.0.0/src/tensor/lifecycle.bend as Lifecycle

266def no_earlier_zero(+value: Nat, earlier: {Nat.is_lt(value, 0n) == True{} : Bool}) -> Empty:
267  Lifecycle.false_true(Equal.trans(Bool, True{}, Nat.is_lt(value, 0n), False{},
268    Equal.sym(Bool, Nat.is_lt(value, 0n), True{}, earlier), lt_zero_false(value)))

Uses (8)

Used by (3)