Natfuel.bends: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/proofs/math/typed/natfuel.bend as Natfuel Lines 129-138 of bend-collections-laws-math@1.0.0.0/proofs/math/typed/natfuel.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/proofs/math/typed/natfuel.bend&start_line=129&end_line=138 import Base def bends(f: Nat, +n: Nat) -> Bool: match f n: case 0n 0n: True{} case 0n 1n+np: False{} case 1n+g 0n: True{} case 1n+g 1n+ +np: bends(g, Nat.div(1n+np, 2n)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.div