PROOFTables.tb.d8: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/PROOF_tables.bend as PROOFTables Lines 331-335 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=331&end_line=335 import Base import bend-osdev-word64@0.1.1.0/word64.bend as W 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.d8(+v: W.W64, +rest: B.Octets) -> {rest == B.Octets.drop(8n, B.Octets.append(B.Octets.le64(v), rest)) : B.Octets}: %tb.e8(v) : {rest == B.Octets.drop(_, B.Octets.append(B.Octets.le64(v), rest)) : B.Octets} %Equal.sym(B.Octets, B.Octets.drop(Nat.add(B.Octets.len(B.Octets.le64(v)), 0n), B.Octets.append(B.Octets.le64(v), rest)), B.Octets.drop(0n, rest), BL.octets_drop_append_add(B.Octets.le64(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=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&name=tb.e8 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.le64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.len https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64