PROOF.un.odd_even: def of bend-osdev-u32@0.1.0.0 Import: import bend-osdev-u32@0.1.0.0/PROOF.bend as PROOF Lines 2081-2090 of bend-osdev-u32@0.1.0.0/PROOF.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-u32@0.1.0.0/PROOF.bend&start_line=2081&end_line=2090 import Base def un.odd_even(a: Nat, b: Nat, e: {1n+Nat.double(a) == Nat.double(b) : Nat}) -> Empty: match a b: case 0n 0n: un.sz(0n, e) case 0n 1n+ +q: un.sz(Nat.double(q), Equal.sym(Nat, 0n, 1n+Nat.double(q), un.succ_inj(0n, 1n+Nat.double(q), e))) case 1n+ +p 0n: un.sz(2n+Nat.double(p), e) case 1n+ +p 1n+ +q: un.odd_even(p, q, un.succ_inj(1n+Nat.double(p), Nat.double(q), un.succ_inj(2n+Nat.double(p), 1n+Nat.double(q), e))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Empty https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym 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=bend-osdev-u32@0.1.0.0/PROOF.bend&name=un.succ_inj https://jend.leeeet.dev/definition.txt?path=bend-osdev-u32@0.1.0.0/PROOF.bend&name=un.sz