def add_succ
import bendtorch-core@0.1.0.0/src/storage/arith.bend as Arithimport Base
29def add_succ(a: Nat, -b: Nat) -> {Nat.add(a, 1n+b) == 1n+Nat.add(a, b) : Nat}:
30 match a:
31 case 0n:
32 {==}
33 case 1n+p:
34 %add_succ(p, b) : {1n+Nat.add(p, 1n+b) == 1n+_ : Nat}
35 {==}
Uses (2)
Used by (32)
- bendtorch-core@0.1.0.0/src/tensor/matrix_index_proof:steps_next
- bendtorch-core@0.1.0.0/src/autograd/reduce_fiber_proof:masked_split
- bendtorch-core@0.1.0.0/src/tensor/from_values_contract:room_next
- bendtorch-core@0.1.0.0/src/autograd/reduce_fiber_proof:le_step
- bendtorch-core@0.1.0.0/src/autograd/reduce_fiber_proof:lt_of_room
- …