PROOFTables.tb.d4: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/PROOF_tables.bend as PROOFTables Lines 337-341 of bend-osdev-acpi@0.1.1.0/PROOF_tables.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&start_line=337&end_line=341 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B import bend-osdev-bytes@0.1.1.0/LAWS.bend as BL def tb.d4(+v: U32, +rest: B.Octets) -> {rest == B.Octets.drop(4n, B.Octets.append(B.Octets.le32(v), rest)) : B.Octets}: %tb.e4(v) : {rest == B.Octets.drop(_, B.Octets.append(B.Octets.le32(v), rest)) : B.Octets} %Equal.sym(B.Octets, B.Octets.drop(Nat.add(B.Octets.len(B.Octets.le32(v)), 0n), B.Octets.append(B.Octets.le32(v), rest)), B.Octets.drop(0n, rest), BL.octets_drop_append_add(B.Octets.le32(v), 0n, rest)) : {rest == _ : B.Octets} %Equal.sym(B.Octets, B.Octets.drop(0n, rest), rest, BL.octets_drop_zero(rest)) : {rest == _ : B.Octets} {==} Uses (11): 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.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&name=tb.e4 https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/LAWS.bend&name=octets_drop_append_add https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/LAWS.bend&name=octets_drop_zero https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.append https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.drop https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.le32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.len