Arith.double_self: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/storage/arith.bend as Arith Lines 45-52 of bendtorch-core@0.1.0.0/src/storage/arith.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/storage/arith.bend&start_line=45&end_line=52 import Base def double_self(+a: Nat) -> {Nat.add(a, a) == Nat.double(a) : Nat}: match a: case 0n: {==} case 1n+p: %double_self(p) : {1n+Nat.add(p, 1n+p) == 2n+_ : Nat} %add_succ(p, p) : {1n+Nat.add(p, 1n+p) == 1n+_ : Nat} {==} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.double https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/arith.bend&name=add_succ