val char2Pentanomial_k3_finalize (#rrel: _) (#rel: _) (input: LL.slice rrel rel) (pos: U32.t) (len: U32.t) : HST.Stack U32.t

  (requires (fun h ->
    LL.live_slice h input /\
    1 <= U32.v len /\ U32.v len <= 255 /\
    U32.v pos + 1 + U32.v len <= U32.v input.LL.len /\
    LL.writable input.LL.base (U32.v pos) (U32.v pos + 1) h
  ))
  (ensures (fun h pos' h' ->
    let pos_payload = pos `U32.add` 1ul in
    B.modifies (LL.loc_slice_from_to input pos pos_payload) h h' /\
    LL.valid_content_pos char2Pentanomial_k3_parser h' input pos (BY.hide (LL.bytes_of_slice_from_to h input pos_payload (pos_payload `U32.add` len))) pos' /\
    U32.v pos' == U32.v pos_payload + U32.v len
  ))
val char2Pentanomial_k3_finalize (#rrel: _) (#rel: _) (input: LL.slice rrel rel) (pos: U32.t) (len: U32.t) : HST.Stack U32.t

  (requires (fun h ->
    LL.live_slice h input /\
    1 <= U32.v len /\ U32.v len <= 255 /\
    U32.v pos + 1 + U32.v len <= U32.v input.LL.len /\
    LL.writable input.LL.base (U32.v pos) (U32.v pos + 1) h
  ))
  (ensures (fun h pos' h' ->
    let pos_payload = pos `U32.add` 1ul in
    B.modifies (LL.loc_slice_from_to input pos pos_payload) h h' /\
    LL.valid_content_pos char2Pentanomial_k3_parser h' input pos (BY.hide (LL.bytes_of_slice_from_to h input pos_payload (pos_payload `U32.add` len))) pos' /\
    U32.v pos' == U32.v pos_payload + U32.v len
  ))
let char2Pentanomial_k3_finalize #_ #_ input pos len =
  [@inline_let] let _ = assert_norm (char2Pentanomial_k3 == LP.parse_bounded_vlbytes_t 1 255) in
  LL.finalize_bounded_vlbytes 1 255 input pos len
module MiTLS.Parsers.Char2Pentanomial_k3

(* This file has been automatically generated by EverParse. *)
open FStar.Bytes
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module LP = LowParse.Spec
module LT = LowParse.TacLib
module LS = LowParse.SLow
module LSZ = LowParse.SLow
module LPI = LowParse.Spec.AllIntegers
module LL = LowParse.Low
module L = FStar.List.Tot
module B = LowStar.Buffer
module BY = FStar.Bytes
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST

#reset-options "--using_facts_from '* -FStar.Tactics -FStar.Reflection' --z3rlimit 16 --z3cliopt smt.arith.nl=false --max_fuel 2 --max_ifuel 2"

noextract let char2Pentanomial_k3_parser = LP.parse_bounded_vlbytes 1 255

noextract let char2Pentanomial_k3_serializer = LP.serialize_bounded_vlbytes 1 255

let char2Pentanomial_k3_bytesize (x:char2Pentanomial_k3) : GTot nat = Seq.length (char2Pentanomial_k3_serializer x)

let char2Pentanomial_k3_bytesize_eq x = ()

let char2Pentanomial_k3_parser32 = LS.parse32_bounded_vlbytes 1 1ul 255 255ul

let char2Pentanomial_k3_serializer32 = LS.serialize32_bounded_vlbytes 1 255

let char2Pentanomial_k3_size32 = LSZ.size32_bounded_vlbytes 1 255

let char2Pentanomial_k3_validator = LL.validate_bounded_vlbytes 1 255

let char2Pentanomial_k3_jumper = LL.jump_bounded_vlbytes 1 255

let char2Pentanomial_k3_bytesize_eqn x = LP.length_serialize_bounded_vlbytes 1 255 x

let char2Pentanomial_k3_length #_ #_ input pos =
  [@inline_let] let _ = assert_norm (char2Pentanomial_k3 == LP.parse_bounded_vlbytes_t 1 255) in
  LL.bounded_vlbytes_payload_length 1 255 input pos
/
prims.fst.checked LowStar.Buffer.fst.checked LowParse.TacLib.fst.checked LowParse.Spec.AllIntegers.fst.checked LowParse.Spec.fst.checked LowParse.SLow.fst.checked LowParse.Low.fst.checked FStar.UInt8.fsti.checked FStar.UInt64.fsti.checked FStar.UInt32.fsti.checked FStar.UInt16.fsti.checked FStar.Seq.fst.checked FStar.Pervasives.fsti.checked FStar.List.Tot.fst.checked FStar.HyperStack.ST.fsti.checked FStar.HyperStack.fst.checked FStar.Bytes.fsti.checked
MiTLS.Parsers.Char2Pentanomial_k3.fst
input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> len: FStar.UInt32.t
  -> FStar.HyperStack.ST.Stack FStar.UInt32.t
LowParse.Slice.srel LowParse.Bytes.byte LowParse.Slice.slice FStar.UInt32.t LowParse.Low.Bytes.finalize_bounded_vlbytes Prims.unit FStar.Pervasives.assert_norm Prims.eq2 MiTLS.Parsers.Char2Pentanomial_k3.char2Pentanomial_k3 LowParse.Spec.Bytes.parse_bounded_vlbytes_t
let char2Pentanomial_k3_finalize #_ #_ input pos len =
  
[@@ inline_let ]let _ = assert_norm (char2Pentanomial_k3 == LP.parse_bounded_vlbytes_t 1 255) in
LL.finalize_bounded_vlbytes 1 255 input pos len