A novel perspective on efficient integrated task and motion planning via differentiable distance-based predicate representations