val ticketContents13_rms_length (#rrel: _) (#rel: _) (input: LL.slice rrel rel) (pos: U32.t) : HST.Stack U32.t
  (requires (fun h -> LL.valid ticketContents13_rms_parser h input pos))
  (ensures (fun h res h' ->
    let x = LL.contents ticketContents13_rms_parser h input pos in
    B.modifies B.loc_none h h' /\
    U32.v pos + 1 + U32.v res == U32.v (LL.get_valid_pos ticketContents13_rms_parser h input pos) /\
    res == BY.len x /\
    LL.bytes_of_slice_from_to h input (pos `U32.add` 1ul) ((pos `U32.add` 1ul) `U32.add` res) == BY.reveal x
  ))
let ticketContents13_rms_length #_ #_ input pos =
  [@inline_let] let _ = assert_norm (ticketContents13_rms == LP.parse_bounded_vlbytes_t 32 255) in
  LL.bounded_vlbytes_payload_length 32 255 input pos
val ticketContents13_rms_length (#rrel: _) (#rel: _) (input: LL.slice rrel rel) (pos: U32.t) : HST.Stack U32.t
  (requires (fun h -> LL.valid ticketContents13_rms_parser h input pos))
  (ensures (fun h res h' ->
    let x = LL.contents ticketContents13_rms_parser h input pos in
    B.modifies B.loc_none h h' /\
    U32.v pos + 1 + U32.v res == U32.v (LL.get_valid_pos ticketContents13_rms_parser h input pos) /\
    res == BY.len x /\
    LL.bytes_of_slice_from_to h input (pos `U32.add` 1ul) ((pos `U32.add` 1ul) `U32.add` res) == BY.reveal x
  ))
let ticketContents13_rms_length #_ #_ input pos =
[@@ inline_let ]let _ = assert_norm (ticketContents13_rms == LP.parse_bounded_vlbytes_t 32 255) in
LL.bounded_vlbytes_payload_length 32 255 input pos
Parsers.TicketContents13_rms.fst.checked
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
Parsers.TicketContents13_rms.fst
LowParse.Slice.srel LowParse.Bytes.byte LowParse.Slice.slice FStar.UInt32.t LowParse.Low.Bytes.bounded_vlbytes_payload_length Prims.unit FStar.Pervasives.assert_norm Prims.eq2 Parsers.TicketContents13_rms.ticketContents13_rms LowParse.Spec.Bytes.parse_bounded_vlbytes_t
module Parsers.TicketContents13_rms

(* 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 ticketContents13_rms_parser = LP.parse_bounded_vlbytes 32 255

noextract let ticketContents13_rms_serializer = LP.serialize_bounded_vlbytes 32 255

let ticketContents13_rms_bytesize (x:ticketContents13_rms) : GTot nat = Seq.length (ticketContents13_rms_serializer x)

let ticketContents13_rms_bytesize_eq x = ()

let ticketContents13_rms_parser32 = LS.parse32_bounded_vlbytes 32 32ul 255 255ul

let ticketContents13_rms_serializer32 = LS.serialize32_bounded_vlbytes 32 255

let ticketContents13_rms_size32 = LSZ.size32_bounded_vlbytes 32 255

let ticketContents13_rms_validator = LL.validate_bounded_vlbytes 32 255

let ticketContents13_rms_jumper = LL.jump_bounded_vlbytes 32 255

let ticketContents13_rms_bytesize_eqn x = LP.length_serialize_bounded_vlbytes 32 255 x
val ticketContents13_rms_length (#rrel: _) (#rel: _) (input: LL.slice rrel rel) (pos: U32.t) : HST.Stack U32.t
  (requires (fun h -> LL.valid ticketContents13_rms_parser h input pos))
  (ensures (fun h res h' ->
    let x = LL.contents ticketContents13_rms_parser h input pos in
    B.modifies B.loc_none h h' /\
    U32.v pos + 1 + U32.v res == U32.v (LL.get_valid_pos ticketContents13_rms_parser h input pos) /\
    res == BY.len x /\
    LL.bytes_of_slice_from_to h input (pos `U32.add` 1ul) ((pos `U32.add` 1ul) `U32.add` res) == BY.reveal x
  ))
input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t
  -> FStar.HyperStack.ST.Stack FStar.UInt32.t