def ckw.fitq
bend-osdev-acpi@0.1.2.0 · PROOF_whole.bend:208
import bend-osdev-acpi@0.1.2.0/PROOF_whole.bend as PROOFWhole
import Base
import bend-osdev-bytes@0.1.1.1/bytes.bend as B
import bend-osdev-acpi@0.1.2.0/header.bend as H
208def ckw.fitq(+s: B.Octets, +l: U32, +r: U32, +c: U32, +o: B.Octets, +t: B.Octets, +orv: U32, +ci: B.Octets, +cr: U32, +sig4: {B.Octets.len(s) == 4n : Nat}, +oem6: {B.Octets.len(o) == 6n : Nat}, +tid8: {B.Octets.len(t) == 8n : Nat}, +cid4: {B.Octets.len(ci) == 4n : Nat}, +body: B.Octets, +z: U32, +fit: {Nat.is_le(B.Octets.len(H.AcpiSdt.build(H.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}, body)), U32.to_nat(z)) == True{} : Bool}) -> {Nat.is_le(Nat.add(36n, B.Octets.len(body)), U32.to_nat(z)) == True{} : Bool}:
209 %Equal.sym(Nat, Nat.add(36n, B.Octets.len(body)), B.Octets.len(H.AcpiSdt.build(H.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}, body)), ckw.blen(s, l, r, c, o, t, orv, ci, cr, sig4, oem6, tid8, cid4, body)) : {Nat.is_le(_, U32.to_nat(z)) == True{} : Bool}
210 fit