Model.same: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/storage/model.bend as Model Lines 36-43 of bendtorch-core@0.1.0.0/src/storage/model.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&start_line=36&end_line=43 import Base def same(d: Nat, a: Path(d), b: Path(d)) -> Bool: match d: case 0n: True{} case 1n+p: Step{ab, ar} = a Step{bb, br} = b Bool.and(Bool.not(Bool.xor(ab, bb)), same(p, ar, br)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.xor https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=Path https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=Step