PROOF.bend checks
raw source on the hub · import bend-osdev-bytes@0.1.1.1/PROOF.bend as PROOF
10 imports
import Base import bend-osdev-word64@0.1.1.1/word64.bend as W 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 ./bytes.bend as B import ./LAWS.bend as Laws import bend-osdev-u32@0.1.0.0/LAWS.bend as UL import bend-osdev-u32@0.1.0.0/LAWS_order.bend as UO import bend-osdev-u32@0.1.0.0/PROOF.bend as UP import bend-osdev-u32@0.1.0.0/PROOF_order.bend as UOP
Definitions
def le32_head_app source · line 33 · raw
@x:U32 -> @r:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32.head(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(x), r)) == Some{x} : Maybe<&2, U32>}Reading a 32-bit field at the head of a longer string, and skipping it
def be32_head_app source · line 38 · raw
@x:U32 -> @r:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32.head(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(x), r)) == Some{x} : Maybe<&2, U32>}
def drop4_le32 source · line 43 · raw
@x:U32 -> @r:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.drop(4n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(x), r)) == r : List<&2, U32>}
def drop4_be32 source · line 48 · raw
@x:U32 -> @r:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.drop(4n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(x), r)) == r : List<&2, U32>}
def field64_le source · line 125 · raw
@x:U32 -> @y:U32 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list.fast(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take.fast(8n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list.fast(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(y))))) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(y)) : List<&2, U32>}the eight bytes of two le32 fields come back unchanged through Octets
def field64_be source · line 131 · raw
@x:U32 -> @y:U32 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list.fast(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take.fast(8n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list.fast(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(y))))) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(x), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(y)) : List<&2, U32>}the eight bytes of two be32 fields come back unchanged through Octets
def bits8_of_bits8 source · line 146 · raw
@w:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.oct.of(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.oct.to(w)) == w : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte}
def w8s_of_to source · line 151 · raw
@ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(ws)) == ws : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def oct_byte source · line 161 · raw
@h:U32 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.oct.to(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.oct.of(h)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(h) : U32}a word through one OctByte and back is its byte
def w8s_to_of source · line 166 · raw
@xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list(xs)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.mask(xs) : List<&2, U32>}
def w8s_to_app source · line 175 · raw
@xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(xs), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(ys)) : List<&2, U32>}
def w8s_len source · line 183 · raw
@ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ws) == List.length(&2, U32, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(ws)) : Nat}
def w8s_take_drop source · line 190 · raw
@n:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(n, ws), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(n, ws)) == ws : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def w8s_take_app source · line 200 · raw
@xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs), List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys)) == xs : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def w8s_drop_app source · line 208 · raw
@xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs), List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys)) == ys : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def w8s_len_app source · line 215 · raw
@xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys)) == Nat.add(List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs), List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ys)) : Nat}
def r8_rr source · line 227 · raw
@ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @acc:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @b:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(ws, acc), b) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(acc, List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ws, b)) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def ru_rr source · line 234 · raw
@xs:List<&2, U32> -> @acc:List<&2, U32> -> @b:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(xs, acc), b) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(acc, List.append(&2, U32, xs, b)) : List<&2, U32>}
def app_nil8 source · line 241 · raw
@+ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ws, []) == ws : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def app_nilu source · line 248 · raw
@+xs:List<&2, U32> -> {List.append(&2, U32, xs, []) == xs : List<&2, U32>}
def g_of source · line 255 · raw
@xs:List<&2, U32> -> @acc:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list.go(xs, acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list(xs), acc) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def F_of source · line 262 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list(xs) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list.fast(xs) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def g_to source · line 269 · raw
@ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @acc:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list.go(ws, acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(ws), acc) : List<&2, U32>}
def F_to source · line 276 · raw
@+ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(ws) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list.fast(ws) : List<&2, U32>}
def g_take source · line 283 · raw
@n:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @acc:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take.go(n, ws, acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(n, ws), acc) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def F_take source · line 292 · raw
@+n:Nat -> @+ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(n, ws) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take.fast(n, ws) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def F_app source · line 299 · raw
@+xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.append.fast(xs, ys) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def g_len source · line 302 · raw
@+ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+n:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.len.go(ws, n) == Nat.add(List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ws), n) : Nat}
def F_len source · line 310 · raw
@+ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ws) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.len.fast(ws) : Nat}
def zeros_cons source · line 315 · raw
@+p:Nat -> @+acc:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.zeros(p), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.oct.zero <> acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.oct.zero <> List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.zeros(p), acc) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def g_zeros source · line 322 · raw
@+n:Nat -> @+acc:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.zeros.go(n, acc) == List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.zeros(n), acc) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def F_zeros source · line 330 · raw
@+n:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.zeros(n) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.zeros.fast(n) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def w8s_zeros_list source · line 335 · raw
@+n:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.zeros(n)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.zeros(n) : List<&2, U32>}
def p_octets_take_drop source · line 345 · raw
@+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(n, o), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(n, o)) == o : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_octets_of_to source · line 355 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(o)) == o : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_octets_to_of source · line 365 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list(xs)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.mask(xs) : List<&2, U32>}
def u32_eq_self source · line 376 · raw
@a:U32 -> {U32.is_eq(a, a) == True{} : Bool}
def list_eq_self source · line 382 · raw
@xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.list_eq(xs, xs) == True{} : Bool}
def w8s_eq_self source · line 390 · raw
@ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.eq(ws, ws, True{}) == True{} : Bool}
def p_octets_append_list source · line 409 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(a), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(b)) : List<&2, U32>}
def p_octets_len_list source · line 421 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(o)) : Nat}
def p_octets_take_append source · line 431 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == a : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_octets_drop_append source · line 442 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == b : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_octets_split_at_append source · line 452 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.split_at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == Some{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctetsSplit{a, b}} : Maybe<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctetsSplit>}
def p_octets_zeros_list source · line 476 · raw
@+n:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(n)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.zeros(n) : List<&2, U32>}
def p_octets_cons_list source · line 484 · raw
@+b:U32 -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.cons(b, o)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(b) <> 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(o) : List<&2, U32>}
def ru_app_nil source · line 497 · raw
@+xs:List<&2, U32> -> {List.append(&2, U32, xs, []) == xs : List<&2, U32>}
def g_lenu source · line 500 · raw
@+xs:List<&2, U32> -> @+n:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len.go(xs, n) == Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(xs), n) : Nat}
def p_len_fast source · line 508 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(xs) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len.fast(xs) : Nat}
def rr_back source · line 516 · raw
@+zs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(zs, []), []) == zs : List<&2, U32>}a structural list, reversed onto Nil and back, is itself
def g_takeu source · line 519 · raw
@+n:Nat -> @+xs:List<&2, U32> -> @+acc:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.take.go(n, xs, acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.take(n, xs), acc) : List<&2, U32>}
def p_take_fast source · line 528 · raw
@+n:Nat -> @+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.take(n, xs) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.take.fast(n, xs) : List<&2, U32>}
def p_append_fast source · line 537 · raw
@+xs:List<&2, U32> -> @+ys:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(xs, ys) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append.fast(xs, ys) : List<&2, U32>}
def zeros_consu source · line 543 · raw
@+p:Nat -> @+acc:List<&2, U32> -> {List.append(&2, U32, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.zeros(p), 0 <> acc) == 0 <> List.append(&2, U32, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.zeros(p), acc) : List<&2, U32>}
def g_zerosu source · line 550 · raw
@+n:Nat -> @+acc:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.zeros.go(n, acc) == List.append(&2, U32, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.zeros(n), acc) : List<&2, U32>}
def p_zeros_fast source · line 558 · raw
@+n:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.zeros(n) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.zeros.fast(n) : List<&2, U32>}
def g_mask source · line 565 · raw
@+xs:List<&2, U32> -> @+acc:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.mask.go(xs, acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.mask(xs), acc) : List<&2, U32>}
def p_mask_fast source · line 572 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.mask(xs) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.mask.fast(xs) : List<&2, U32>}
def g_of_string source · line 581 · raw
@+s:String -> @+acc:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.of_string.go(s, acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.of_string(s), acc) : List<&2, U32>}
def p_of_string_fast source · line 588 · raw
@+s:String -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.of_string(s) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.of_string.fast(s) : List<&2, U32>}
def t_go source · line 598 · raw
@+xs:List<&2, U32> -> @+r:List<&2, U32> -> @+acc:String -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string.go(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(xs, r), acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string.go(r, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string.cat(xs, acc)) : String}text: building from the back onto acc is the structural cat
def t_cat source · line 605 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string.cat(xs, "") == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string(xs) : String}
def p_to_string_fast source · line 612 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string(xs) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string.fast(xs) : String}
def h_go source · line 619 · raw
@+xs:List<&2, U32> -> @+r:List<&2, U32> -> @+acc:String -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex.go(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.rev_onto(xs, r), acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex.go(r, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex.cat(xs, acc)) : String}
def h_cat source · line 626 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex.cat(xs, "") == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex(xs) : String}
def p_hex_fast source · line 633 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex(xs) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex.fast(xs) : String}
def eq_go source · line 640 · raw
@+xs:List<&2, U32> -> @+ys:List<&2, U32> -> @+ok:Bool -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.list_eq.go(xs, ys, ok) == Bool.and(ok, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.list_eq(xs, ys)) : Bool}
def p_list_eq_fast source · line 667 · raw
@+xs:List<&2, U32> -> @+ys:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.list_eq(xs, ys) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.list_eq.fast(xs, ys) : Bool}
def w_t_go source · line 677 · raw
@+ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+r:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+acc:String -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.text.go(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(ws, r), acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.text.go(r, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string.cat(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(ws), acc)) : String}Octets' text and hex: each word read through bits8/of_bits8 is its byte
def p_octets_to_string_list source · line 684 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_string(o) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.to_string(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(o)) : String}
def w_h_go source · line 693 · raw
@+ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+r:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+acc:String -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.hex.go(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(ws, r), acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.hex.go(r, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex.cat(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(ws), acc)) : String}
def p_octets_hex_list source · line 700 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.hex(o) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.hex(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(o)) : String}
def rev_app8 source · line 710 · raw
@+xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+acc:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys), acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(ys, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(xs, acc)) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}concat: pushing each piece's words is reversing the joined words
def concat_step source · line 717 · raw
@+ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+acc:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.words(c), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(ws, acc)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.words(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets{ws}, c)), acc) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def concat_go source · line 723 · raw
@+os:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets> -> @+acc:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.concat.go(os, acc) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.words(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat.ref(os)), acc) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def octets_eta source · line 731 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.words(o)} == o : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def rr8_back source · line 736 · raw
@+zs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.rev_onto(zs, []), []) == zs : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def concat_ref source · line 739 · raw
@+os:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(os) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat.ref(os) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_octets_concat_cons source · line 750 · raw
@+h:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+t:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(h <> t) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(h, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.concat(t)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def off.disc source · line 759 · raw
@b:Bool -> Type
def off.clash source · line 766 · raw
@h:{False{} == True{} : Bool} -> Empty
def off.absurd source · line 770 · raw
@-A:Type -> @e:Empty -> A
def off.no source · line 773 · raw
@-A:Type -> @h:{False{} == True{} : Bool} -> A
def off.le_zero source · line 778 · raw
@+m:Nat -> {Nat.is_le(0n, m) == True{} : Bool}
def off.le_add_l source · line 786 · raw
@+i:Nat -> @+n:Nat -> @+m:Nat -> @_:{Nat.is_le(Nat.add(i, n), m) == True{} : Bool} -> {Nat.is_le(i, m) == True{} : Bool}i + n <= m: i <= m
def off.le_sub source · line 796 · raw
@+i:Nat -> @+n:Nat -> @+m:Nat -> @_:{Nat.is_le(Nat.add(i, n), m) == True{} : Bool} -> {Nat.is_le(n, Nat.sub(m, i)) == True{} : Bool}i + n <= m: n <= m - i
def off.min_le source · line 808 · raw
@+n:Nat -> @+k:Nat -> @_:{Nat.is_le(n, k) == True{} : Bool} -> {Nat.min(n, k) == n : Nat}n <= k: min(n, k) == n
def off.drop_nil source · line 819 · raw
@+i:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, []) == [] : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.take_nil source · line 826 · raw
@+i:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(i, []) == [] : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.drop_app_add source · line 833 · raw
@xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+n:Nat -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(Nat.add(List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs), n), List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(n, ys) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.take_app_add source · line 840 · raw
@xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+n:Nat -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(Nat.add(List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs), n), List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys)) == List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(n, ys)) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.take_app_le source · line 847 · raw
@+n:Nat -> @xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @_:{Nat.is_le(n, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(n, List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(n, xs) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.drop_app_le source · line 856 · raw
@+n:Nat -> @xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @_:{Nat.is_le(n, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(n, List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys)) == List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(n, xs), ys) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.drop_drop source · line 865 · raw
@+j:Nat -> @+i:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(j, ws)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(Nat.add(j, i), ws) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.take_take source · line 874 · raw
@+i:Nat -> @+j:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(j, ws)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(Nat.min(i, j), ws) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.take_drop source · line 885 · raw
@+i:Nat -> @+j:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(j, ws)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(j, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(Nat.add(j, i), ws)) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.drop_take source · line 894 · raw
@+i:Nat -> @+j:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(j, ws)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(Nat.sub(j, i), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, ws)) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.len_take source · line 907 · raw
@+n:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(n, ws)) == Nat.min(n, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ws)) : Nat}
def off.len_drop source · line 916 · raw
@+n:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(n, ws)) == Nat.sub(List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ws), n) : Nat}
def off.len_zeros source · line 927 · raw
@+n:Nat -> {List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.zeros(n)) == n : Nat}
def off.len_of source · line 934 · raw
@xs:List<&2, U32> -> {List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.of_list(xs)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(xs) : Nat}
def off.app_assoc source · line 941 · raw
@xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+zs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys), zs) == List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ys, zs)) : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def off.at_app_lt source · line 950 · raw
@+i:Nat -> @xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @_:{Nat.is_lt(i, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, List.append(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs, ys))) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, xs)) : Maybe<&2, U32>}
def off.at_take source · line 961 · raw
@+i:Nat -> @+n:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @_:{Nat.is_lt(i, n) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(n, ws))) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, ws)) : Maybe<&2, U32>}
def off.at_to source · line 976 · raw
@+i:Nat -> @ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, ws)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.to_list(ws), i) : Maybe<&2, U32>}
def off.ldrop_app_add source · line 989 · raw
@a:List<&2, U32> -> @+n:Nat -> @+b:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.drop(Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(a), n), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(a, b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.drop(n, b) : List<&2, U32>}
def off.lat_app_lt source · line 996 · raw
@+i:Nat -> @a:List<&2, U32> -> @+b:List<&2, U32> -> @_:{Nat.is_lt(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(a)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(a, b), i) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.at(a, i) : Maybe<&2, U32>}
def off.ldrop_nil source · line 1007 · raw
@+i:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.drop(i, []) == [] : List<&2, U32>}
def off.ldrop_drop source · line 1014 · raw
@+j:Nat -> @+i:Nat -> @xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.drop(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.drop(j, xs)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.drop(Nat.add(j, i), xs) : List<&2, U32>}
def off.lat_take source · line 1023 · raw
@+i:Nat -> @+n:Nat -> @xs:List<&2, U32> -> @_:{Nat.is_lt(i, n) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.take(n, xs), i) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.at(xs, i) : Maybe<&2, U32>}
def off.llen_app source · line 1038 · raw
@a:List<&2, U32> -> @+b:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.append(a, b)) == Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(a), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(b)) : Nat}
def off.llen_le32 source · line 1045 · raw
@+v:U32 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(v)) == 4n : Nat}
def off.llen_be32 source · line 1050 · raw
@+v:U32 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(v)) == 4n : Nat}
def off.llen_le16 source · line 1055 · raw
@+v:U32 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le16(v)) == 2n : Nat}
def off.llen_be16 source · line 1060 · raw
@+v:U32 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be16(v)) == 2n : Nat}
def off.add_le32 source · line 1065 · raw
@+x:U32 -> @+y:U32 -> {Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(x)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le32(y))) == 8n : Nat}
def off.add_be32 source · line 1070 · raw
@+x:U32 -> @+y:U32 -> {Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(x)), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be32(y))) == 8n : Nat}
def off.llen_le64 source · line 1075 · raw
@+v:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.le64(v)) == 8n : Nat}
def off.llen_be64 source · line 1078 · raw
@+v:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.be64(v)) == 8n : Nat}
def p_len_append source · line 1083 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(b)) : Nat}
def p_len_take source · line 1092 · raw
@+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(n, o)) == Nat.min(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o)) : Nat}
def p_len_drop source · line 1100 · raw
@+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(n, o)) == Nat.sub(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o), n) : Nat}
def p_len_take_le source · line 1107 · raw
@+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @h:{Nat.is_le(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(n, o)) == n : Nat}
def p_len_slice source · line 1110 · raw
@+i:Nat -> @+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(i, n, o)) == Nat.min(n, Nat.sub(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o), i)) : Nat}
def p_len_slice_le source · line 1115 · raw
@+i:Nat -> @+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @h:{Nat.is_le(Nat.add(i, n), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(i, n, o)) == n : Nat}
def p_len_zeros source · line 1118 · raw
@+n:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.zeros(n)) == n : Nat}
def p_len_of_list source · line 1123 · raw
@+xs:List<&2, U32> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list(xs)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.len(xs) : Nat}
def p_append_assoc source · line 1128 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+c:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b), c) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(b, c)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_drop_drop source · line 1139 · raw
@+j:Nat -> @+i:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(j, o)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(Nat.add(j, i), o) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_take_take source · line 1144 · raw
@+i:Nat -> @+j:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(j, o)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(Nat.min(i, j), o) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_take_drop source · line 1152 · raw
@+i:Nat -> @+j:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(j, o)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(j, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(Nat.add(j, i), o)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_drop_take source · line 1159 · raw
@+i:Nat -> @+j:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(j, o)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(Nat.sub(j, i), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(i, o)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def off.len_fast_le source · line 1168 · raw
@+n:Nat -> @+xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @h:{Nat.is_le(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.len.fast(xs)) == True{} : Bool} -> {Nat.is_le(n, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs)) == True{} : Bool}
def off.len_fast_lt source · line 1171 · raw
@+n:Nat -> @+xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @h:{Nat.is_lt(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.len.fast(xs)) == True{} : Bool} -> {Nat.is_lt(n, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs)) == True{} : Bool}
def q_take_app_le source · line 1174 · raw
@+n:Nat -> @+xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @h:{Nat.is_le(n, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take.fast(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.append.fast(xs, ys))} == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take.fast(n, xs)} : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_take_append_le source · line 1180 · raw
@+n:Nat -> @+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @_:{Nat.is_le(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(n, a) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_take_append_add source · line 1185 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+n:Nat -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), n), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(n, b)) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def q_drop_app_le source · line 1195 · raw
@+n:Nat -> @+xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @h:{Nat.is_le(n, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.append.fast(xs, ys))} == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.append.fast(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(n, xs), ys)} : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_drop_append_le source · line 1200 · raw
@+n:Nat -> @+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @_:{Nat.is_le(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(n, a), b) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_drop_append_add source · line 1205 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+n:Nat -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), n), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(n, b) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_slice_append_add source · line 1214 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+i:Nat -> @+n:Nat -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), i), n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(i, n, b) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_slice_append_le source · line 1217 · raw
@+i:Nat -> @+n:Nat -> @+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+h:{Nat.is_le(Nat.add(i, n), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(i, n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(i, n, a) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_slice_drop source · line 1225 · raw
@+j:Nat -> @+i:Nat -> @+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(i, n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(j, o)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(Nat.add(j, i), n, o) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_slice_take source · line 1228 · raw
@+m:Nat -> @+i:Nat -> @+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+h:{Nat.is_le(Nat.add(i, n), m) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(i, n, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(m, o)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.slice(i, n, o) : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_at_list source · line 1237 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+i:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(o, i) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.to_list(o), i) : Maybe<&2, U32>}
def p_at_append_add source · line 1243 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+i:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b), Nat.add(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a), i)) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(b, i) : Maybe<&2, U32>}
def q_at_app_lt source · line 1250 · raw
@+i:Nat -> @+xs:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @+ys:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> @h:{Nat.is_lt(i, List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, xs)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.append.fast(xs, ys))) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.drop(i, xs)) : Maybe<&2, U32>}
def p_at_append_lt source · line 1254 · raw
@+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+b:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+i:Nat -> @_:{Nat.is_lt(i, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(a)) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(a, b), i) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(a, i) : Maybe<&2, U32>}
def p_at_drop source · line 1259 · raw
@+j:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+i:Nat -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.drop(j, o), i) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(o, Nat.add(j, i)) : Maybe<&2, U32>}
def p_at_take source · line 1264 · raw
@+n:Nat -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+i:Nat -> @h:{Nat.is_lt(i, n) == True{} : Bool} -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(n, o), i) == 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.at(o, i) : Maybe<&2, U32>}
def off.band_f source · line 1272 · raw
@+b:Bool -> {Bool.and(b, False{}) == False{} : Bool}
def off.wand_zero source · line 1279 · raw
@+n:Nat -> @w:Word(n) -> {Word.and(n, w, Word.zero(n)) == Word.zero(n) : Word(n)}
def p_append_empty_l source · line 1318 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.empty, o) == o : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def p_append_empty_r source · line 1324 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.append(o, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.empty) == o : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}
def off.take_len source · line 1330 · raw
@ws:List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte> -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.w8s.take(List.length(&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte, ws), ws) == ws : List<&2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.OctByte>}
def p_take_len source · line 1337 · raw
@+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> {0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.take(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(o), o) == o : 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets}