WordInjective.half_double: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/word_injective.bend as WordInjective Lines 22-27 of bendtorch-core@0.1.0.0/src/tensor/word_injective.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/word_injective.bend&start_line=22&end_line=27 import Base def half_double(+number: Nat) -> {half(Nat.double(number)) == number : Nat}: match number: case 0n: {==} case 1n+p: Equal.cong(Nat, Nat, n => 1n+n, half(Nat.double(p)), p, half_double(p)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.cong https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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/tensor/word_injective.bend&name=half