val ticketContents13'_parser32:LS.parser32 ticketContents13'_parser
val ticketContents13'_parser32:LS.parser32 ticketContents13'_parser
let ticketContents13'_parser32 : LS.parser32 ticketContents13'_parser = (((cipherSuite_parser32 `LS.parse32_nondep_then` ticketContents13_rms_parser32) `LS.parse32_nondep_then` (ticketContents13_nonce_parser32 `LS.parse32_nondep_then` LS.parse32_u32)) `LS.parse32_nondep_then` (LS.parse32_u32 `LS.parse32_nondep_then` ticketContents13_custom_data_parser32))
module MiTLS.Parsers.TicketContents13

(* 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"

(* Type of field rms*)
open MiTLS.Parsers.TicketContents13_rms

(* Type of field nonce*)
open MiTLS.Parsers.TicketContents13_nonce

(* Type of field custom_data*)
open MiTLS.Parsers.TicketContents13_custom_data

type ticketContents13' = (((cipherSuite & ticketContents13_rms) & (ticketContents13_nonce & U32.t)) & (U32.t & ticketContents13_custom_data))

inline_for_extraction let synth_ticketContents13 (x: ticketContents13') : ticketContents13 =
  match x with (((cs,rms),(nonce,creation_time)),(age_add,custom_data)) -> {
    cs = cs;
    rms = rms;
    nonce = nonce;
    creation_time = creation_time;
    age_add = age_add;
    custom_data = custom_data;
  }

inline_for_extraction let synth_ticketContents13_recip (x: ticketContents13) : ticketContents13' = (((x.cs,x.rms),(x.nonce,x.creation_time)),(x.age_add,x.custom_data))

let synth_ticketContents13_recip_inverse () : Lemma (LP.synth_inverse synth_ticketContents13_recip synth_ticketContents13) = ()

let synth_ticketContents13_injective () : Lemma (LP.synth_injective synth_ticketContents13) =
  LP.synth_inverse_synth_injective synth_ticketContents13_recip synth_ticketContents13;
  synth_ticketContents13_recip_inverse ()

let synth_ticketContents13_inverse () : Lemma (LP.synth_inverse synth_ticketContents13 synth_ticketContents13_recip) =
  assert_norm (LP.synth_inverse synth_ticketContents13 synth_ticketContents13_recip)

let synth_ticketContents13_recip_injective () : Lemma (LP.synth_injective synth_ticketContents13_recip) =
  synth_ticketContents13_recip_inverse ();
  LP.synth_inverse_synth_injective synth_ticketContents13 synth_ticketContents13_recip

noextract let ticketContents13'_parser : LP.parser _ ticketContents13' = (((cipherSuite_parser `LP.nondep_then` ticketContents13_rms_parser) `LP.nondep_then` (ticketContents13_nonce_parser `LP.nondep_then` LPI.parse_u32)) `LP.nondep_then` (LPI.parse_u32 `LP.nondep_then` ticketContents13_custom_data_parser))

noextract let ticketContents13'_parser_kind = LP.get_parser_kind ticketContents13'_parser

let ticketContents13_parser =
  synth_ticketContents13_injective ();
  assert_norm (ticketContents13_parser_kind == ticketContents13'_parser_kind);
  ticketContents13'_parser `LP.parse_synth` synth_ticketContents13

noextract let ticketContents13'_serializer : LP.serializer ticketContents13'_parser = (((cipherSuite_serializer `LP.serialize_nondep_then` ticketContents13_rms_serializer) `LP.serialize_nondep_then` (ticketContents13_nonce_serializer `LP.serialize_nondep_then` LPI.serialize_u32)) `LP.serialize_nondep_then` (LPI.serialize_u32 `LP.serialize_nondep_then` ticketContents13_custom_data_serializer))

let ticketContents13_serializer =
  [@inline_let] let _ = synth_ticketContents13_injective () in
  [@inline_let] let _ = synth_ticketContents13_inverse () in
  [@inline_let] let _ = assert_norm (ticketContents13_parser_kind == ticketContents13'_parser_kind) in
  LP.serialize_synth _ synth_ticketContents13 ticketContents13'_serializer synth_ticketContents13_recip ()

let ticketContents13_bytesize (x:ticketContents13) : GTot nat = Seq.length (ticketContents13_serializer x)

let ticketContents13_bytesize_eq x = ()
/
prims.fst.checked MiTLS.Parsers.TicketContents13_rms.fsti.checked MiTLS.Parsers.TicketContents13_nonce.fsti.checked MiTLS.Parsers.TicketContents13_custom_data.fsti.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.Native.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.TicketContents13.fst
LowParse.SLow.Base.parser32 MiTLS.Parsers.TicketContents13.ticketContents13'_parser
LowParse.SLow.Combinators.parse32_nondep_then LowParse.Spec.Combinators.and_then_kind MiTLS.Parsers.CipherSuite.cipherSuite_parser_kind MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms_parser_kind MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce_parser_kind LowParse.Spec.Int.parse_u32_kind FStar.Pervasives.Native.tuple2 MiTLS.Parsers.CipherSuite.cipherSuite MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce FStar.UInt32.t LowParse.Spec.Combinators.nondep_then MiTLS.Parsers.CipherSuite.cipherSuite_parser MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms_parser MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce_parser LowParse.Spec.Int.parse_u32 MiTLS.Parsers.CipherSuite.cipherSuite_parser32 MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms_parser32 MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce_parser32 LowParse.SLow.Int.parse32_u32 MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser_kind MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser32
let ticketContents13'_parser32:LS.parser32 ticketContents13'_parser =
  
(((cipherSuite_parser32 `LS.parse32_nondep_then` ticketContents13_rms_parser32)
    `LS.parse32_nondep_then`
    (ticketContents13_nonce_parser32 `LS.parse32_nondep_then` LS.parse32_u32))
  `LS.parse32_nondep_then`
  (LS.parse32_u32 `LS.parse32_nondep_then` ticketContents13_custom_data_parser32))