def gt_not_eq
bendtorch-core@0.1.0.0 · src/autograd/reduce_fiber_proof.bend:322
import bendtorch-core@0.1.0.0/src/autograd/reduce_fiber_proof.bend as ReduceFiberProof
import Base
import bendtorch-core@0.1.0.0/src/storage/arith.bend as Arith
322def gt_not_eq(+a: Nat, +b: Nat, h: {Nat.is_lt(b, a) == True{} : Bool}) -> {Nat.is_eq(a, b) == False{} : Bool}:
323 match a b:
324 case 0n b:
325 Empty.absurd({Nat.is_eq(0n, b) == False{} : Bool}, Arith.lt_zero(b, h))
326 case 1n+p 0n:
327 {==}
328 case 1n+p 1n+q:
329 gt_not_eq(p, q, h)