~/bend-docscommunity

PROOF_tables.bend checks

raw source on the hub · import bend-osdev-acpi@0.1.2.0/PROOF_tables.bend as PROOF_tables

21 imports
import Base
import bend-osdev-word64@0.1.1.1/word64.bend as W
import bend-osdev-bytes@0.1.1.1/bytes.bend as B
import bend-osdev-bytes@0.1.1.1/LAWS.bend as BL
import bend-osdev-bytes@0.1.1.1/PROOF.bend as BP
import bend-osdev-word64@0.1.1.1/LAWS.bend as WL
import bend-osdev-word64@0.1.1.1/PROOF.bend as WP
import ./error.bend as E
import ./header.bend as H
import ./checksum.bend as C
import ./fields.bend as F
import ./gas.bend as G
import ./hpet.bend as Hp
import ./bgrt.bend as Bg
import ./facs.bend as Fa
import ./rsdt.bend as R
import ./mcfg.bend as Mc
import ./dsdt.bend as Ds
import ./LAWS_tables.bend as Laws
import bend-osdev-u32@0.1.0.0/LAWS.bend as UL
import bend-osdev-u32@0.1.0.0/PROOF.bend as UP

Definitions

def tb.gas_b source · line 35 · raw

@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+q:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+r:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+k:Nat -> @+hk:{Nat.is_lt(k, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(q)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(q, k) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(q, r)), Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), k)) : Maybe<&2, U32>}

def tb.l64 source · line 38 · raw

@+v:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> {Nat.is_le(8n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(v))) == True{} : Bool}

def tb.gas_a source · line 42 · raw

@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+s:U32 -> @+w:U32 -> @+off:U32 -> @+acc:U32 -> @+addr:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {Some{addr} == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64_at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([s, w, off, acc]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(addr), b))), Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), 4n)) : Maybe<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64>}

def tb.facs_bits source · line 61 · raw

@+l:U32 -> @+hs:U32 -> @+wv:U32 -> @+gl:U32 -> @+fl:U32 -> @+ah:U32 -> @+al:U32 -> @+v:U32 -> @+of:U32 -> {0x437a65a35fd0c02411bea19819f9b33f/facs.AcpiFacs.parse(0x437a65a35fd0c02411bea19819f9b33f/facs.AcpiFacs.build(0x437a65a35fd0c02411bea19819f9b33f/facs.AcpiFacs{l, hs, wv, gl, fl, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al), v, of})) == Done{0x437a65a35fd0c02411bea19819f9b33f/facs.AcpiFacs{64, hs, wv, gl, fl, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(v), of}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/facs.AcpiFacs>}

def tb.la source · line 75 · raw

@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) : Nat}

def tb.elen source · line 78 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr})) == 36n : Nat}

def tb.lenchk source · line 96 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {Nat.add(36n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(body)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}), body)) : Nat}

def tb.r8 source · line 100 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+k:Nat -> {0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(body, k) == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}), body), Nat.add(36n, k)) : U32}

def tb.r16 source · line 105 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+k:Nat -> {0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(body, k) == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}), body), Nat.add(36n, k)) : U32}

def tb.r32 source · line 110 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+k:Nat -> {0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u32(body, k) == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u32(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}), body), Nat.add(36n, k)) : U32}

def tb.r64 source · line 115 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+k:Nat -> {0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(body, k) == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}), body), Nat.add(36n, k)) : 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64}

def tb.rgas source · line 120 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+k:Nat -> {0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.at(body, k) == 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}), body), Nat.add(36n, k)) : 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas}

def tb.h9 source · line 128 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {Nat.is_le(9n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, U32.from_nat(Nat.add(36n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(body))), r, 0, o, t, orv, ci, cr}), body))) == True{} : Bool}

def tb.e36 source · line 132 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(9n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, U32.from_nat(Nat.add(36n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(body))), r, 0, o, t, orv, ci, cr}), body))), 27n) == 36n : Nat}

def tb.e0 source · line 136 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.encode(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, U32.from_nat(Nat.add(36n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(body))), r, 0, o, t, orv, ci, cr})), 0n) == 36n : Nat}

def tb.sdt_body source · line 140 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {body == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(36n, 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt.build(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}, body)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}

def tb.hp_len source · line 160 · raw

@+id:U32 -> @+gs:U32 -> @+gw:U32 -> @+go:U32 -> @+ga:U32 -> @+ah:U32 -> @+al:U32 -> @+n:U32 -> @+m:U32 -> @+p:U32 -> {56n == Nat.add(36n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(id), 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.encode(0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([n]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([p])]))) : Nat}

def tb.hp_vals source · line 165 · raw

@+h:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+id:U32 -> @+gs:U32 -> @+gw:U32 -> @+go:U32 -> @+ga:U32 -> @+ah:U32 -> @+al:U32 -> @+n:U32 -> @+m:U32 -> @+p:U32 -> {Done{0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet{h, 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u32(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(id), 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.encode(0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([n]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([p])]), 0n), 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(id), 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.encode(0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([n]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([p])]), 4n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(id), 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.encode(0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([n]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([p])]), 16n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(id), 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.encode(0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([n]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([p])]), 17n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(id), 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.encode(0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([n]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([p])]), 19n)}} == Done{0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet{h, id, 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(gs), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(gw), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(go), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(ga), 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(n), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(p)}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet>}

def tb.hp source · line 170 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+id:U32 -> @+gs:U32 -> @+gw:U32 -> @+go:U32 -> @+ga:U32 -> @+ah:U32 -> @+al:U32 -> @+n:U32 -> @+m:U32 -> @+p:U32 -> {0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet.of_sdt(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt{0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(id), 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas.encode(0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([n]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([p])])}) == Done{0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet{0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}, id, 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(gs), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(gw), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(go), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(ga), 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)}, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(n), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(m), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(p)}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet>}

def tb.bg_len source · line 180 · raw

@+v:U32 -> @+st:U32 -> @+it:U32 -> @+ah:U32 -> @+al:U32 -> @+x:U32 -> @+y:U32 -> {56n == Nat.add(36n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([st, it]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(y)]))) : Nat}

def tb.bg_vals source · line 185 · raw

@+h:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+v:U32 -> @+st:U32 -> @+it:U32 -> @+ah:U32 -> @+al:U32 -> @+x:U32 -> @+y:U32 -> {Done{0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt{h, 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([st, it]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(y)]), 0n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([st, it]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(y)]), 2n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([st, it]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(y)]), 3n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([st, it]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(y)]), 4n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u32(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([st, it]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(y)]), 12n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u32(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([st, it]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(y)]), 16n)}} == Done{0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt{h, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(st), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(it), 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al), x, y}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt>}

def tb.bg source · line 190 · raw

@+s:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+l:U32 -> @+r:U32 -> @+c:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+orv:U32 -> @+ci:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+cr:U32 -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(s) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(t) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(ci) == 4n : Nat} -> @+v:U32 -> @+st:U32 -> @+it:U32 -> @+ah:U32 -> @+al:U32 -> @+x:U32 -> @+y:U32 -> {0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt.of_sdt(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt{0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([st, it]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(y)])}) == Done{0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt{0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader{s, l, r, c, o, t, orv, ci, cr}, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(v), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(st), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(it), 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al), x, y}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt>}

def gapp_nil source · line 232 · raw

@-A:Data -> @+xs:List<&2, A> -> {xs == List.append(&2, A, xs, []) : List<&2, A>}

def rev_app source · line 240 · raw

@-A:Data -> @+xs:List<&2, A> -> @+a:List<&2, A> -> @+b:List<&2, A> -> {List.reverse.go(&2, A, a, List.append(&2, A, xs, b)) == List.reverse.go(&2, A, List.reverse.go(&2, A, xs, a), b) : List<&2, A>}

def revrev source · line 247 · raw

@-A:Data -> @+xs:List<&2, A> -> {xs == List.reverse(&2, A, List.reverse.go(&2, A, xs, [])) : List<&2, A>}

def tb.asr source · line 250 · raw

@+x:Nat -> @+a:Nat -> {1n+Nat.add(x, a) == Nat.add(x, 1n+a) : Nat}

def tb.srv source · line 258 · raw

@+xs:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> @+acc:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> {List.reverse.go(&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64, xs, acc) == 0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.rev(xs, acc) : List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64>}

def tb.srev source · line 265 · raw

@+xs:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> {xs == 0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.rev(0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.rev(xs, []), []) : List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64>}

def tb.dm4 source · line 270 · raw

@+n:Nat -> @+d:Nat -> {Nat.divmod.go(Nat.mul(n, 4n), 3n, d, 0n) == (Nat.add(n, d), 0n) : Pair(Nat, Nat)}

def tb.dm8 source · line 279 · raw

@+n:Nat -> @+d:Nat -> {Nat.divmod.go(Nat.mul(n, 8n), 7n, d, 0n) == (Nat.add(n, d), 0n) : Pair(Nat, Nat)}

def tb.dm16 source · line 288 · raw

@+n:Nat -> @+d:Nat -> {Nat.divmod.go(Nat.mul(n, 16n), 15n, d, 0n) == (Nat.add(n, d), 0n) : Pair(Nat, Nat)}

def tb.xlen source · line 297 · raw

@+xs:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> {Nat.mul(List.length(&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64, xs), 8n) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.enc(xs, True{}))) : Nat}

def tb.rlen source · line 308 · raw

@+xs:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> {Nat.mul(List.length(&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64, xs), 4n) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.enc(xs, False{}))) : Nat}

def tb.l32 source · line 319 · raw

@+v:U32 -> {Nat.is_le(4n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(v))) == True{} : Bool}

def tb.e8 source · line 323 · raw

@+v:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> {Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(v)), 0n) == 8n : Nat}

def tb.e4 source · line 327 · raw

@+v:U32 -> {Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(v)), 0n) == 4n : Nat}

def tb.d8 source · line 331 · raw

@+v:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {rest == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(8n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(v), rest)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}

def tb.d4 source · line 337 · raw

@+v:U32 -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {rest == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(4n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(v), rest)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}

def tb.g8 source · line 343 · raw

@+v:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {v == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(v), rest), 0n) : 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64}

def tb.g4 source · line 348 · raw

@+v:U32 -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {v == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u32(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le32(v), rest), 0n) : U32}

def tb.xread source · line 353 · raw

@+xs:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> @+acc:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> {0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.read(List.length(&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64, xs), True{}, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.enc(xs, True{})), acc) == 0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.rev(0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.rev(xs, acc), []) : List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64>}

def tb.rread source · line 363 · raw

@+xs:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> @+acc:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> {0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.read(List.length(&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64, xs), False{}, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.enc(xs, False{})), acc) == 0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.rev(0x437a65a35fd0c02411bea19819f9b33f/rsdt.sl.rev(0x437a65a35fd0c02411bea19819f9b33f/LAWS_tables.acpilaw.low32(xs), acc), []) : List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64>}

def tb.clen source · line 402 · raw

@+ah:U32 -> @+al:U32 -> @+s:U32 -> @+lo:U32 -> @+hi:U32 -> {16n == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)])) : Nat}

def tb.cvals source · line 407 · raw

@+ah:U32 -> @+al:U32 -> @+s:U32 -> @+lo:U32 -> @+hi:U32 -> {0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry{0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(lo), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(hi)} == 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry{0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), 0n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), 8n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), 10n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), 11n)} : 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry}

def tb.ile source · line 412 · raw

@+k:Nat -> @+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+h16:{16n == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(c) : Nat} -> @+ok:{Nat.is_le(k, 16n) == True{} : Bool} -> {Nat.is_le(k, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(c)) == True{} : Bool}

def tb.ilt source · line 416 · raw

@+k:Nat -> @+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+h16:{16n == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(c) : Nat} -> @+ok:{Nat.is_lt(k, 16n) == True{} : Bool} -> {Nat.is_lt(k, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(c)) == True{} : Bool}

def tb.c64 source · line 420 · raw

@+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+h16:{16n == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(c) : Nat} -> {0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(c, 0n) == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(c, rest), 0n) : 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64}

def tb.c16 source · line 424 · raw

@+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+h16:{16n == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(c) : Nat} -> {0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(c, 8n) == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(c, rest), 8n) : U32}

def tb.c8 source · line 428 · raw

@+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+k:Nat -> @+hk:{Nat.is_lt(k, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(c)) == True{} : Bool} -> {0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(c, k) == 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(c, rest), k) : U32}

def tb.cdrop source · line 432 · raw

@+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+h16:{16n == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(c) : Nat} -> {rest == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(16n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(c, rest)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}

def tb.ment_b source · line 438 · raw

@+ah:U32 -> @+al:U32 -> @+s:U32 -> @+lo:U32 -> @+hi:U32 -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry{0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(lo), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(hi)} == 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry{0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest), 0n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest), 8n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest), 10n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64.from_parts(ah, al)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest), 11n)} : 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry}

def tb.clen_g source · line 445 · raw

@+b:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> @+s:U32 -> @+lo:U32 -> @+hi:U32 -> {16n == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(b), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)])) : Nat}

def tb.ment source · line 449 · raw

@+b:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> @+s:U32 -> @+lo:U32 -> @+hi:U32 -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry{b, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(lo), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(hi)} == 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry{0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u64(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(b), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest), 0n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u16(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(b), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest), 8n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(b), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest), 10n), 0x437a65a35fd0c02411bea19819f9b33f/fields.AcpiF.u8(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(b), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest), 11n)} : 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry}

def tb.mdrop source · line 453 · raw

@+b:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> @+s:U32 -> @+lo:U32 -> @+hi:U32 -> @+rest:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {rest == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(16n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat([0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le64(b), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.le16(s), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([lo, hi]), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(4n)]), rest)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}

def tb.mlen source · line 456 · raw

@+es:List<&2, 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry> -> {Nat.mul(List.length(&2, 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry, es), 16n) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(0x437a65a35fd0c02411bea19819f9b33f/mcfg.mcfg.enc(es))) : Nat}

def tb.mread source · line 469 · raw

@+es:List<&2, 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry> -> {0x437a65a35fd0c02411bea19819f9b33f/LAWS_tables.acpilaw.mcfg_fit(es) == 0x437a65a35fd0c02411bea19819f9b33f/mcfg.mcfg.read(List.length(&2, 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry, es), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(0x437a65a35fd0c02411bea19819f9b33f/mcfg.mcfg.enc(es))) : List<&2, 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry>}

def tb.le8 source · line 482 · raw

@+x:Nat -> {True{} == Nat.is_le(8n, Nat.add(8n, x)) : Bool}

def tb.sb8 source · line 489 · raw

@+x:Nat -> {x == Nat.sub(Nat.add(8n, x), 8n) : Nat}

def tb.z8 source · line 496 · raw

@+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {c == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(8n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(8n), c)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}