val ticketContents13'_size32:LSZ.size32 ticketContents13'_serializer
let ticketContents13'_size32 : LSZ.size32 ticketContents13'_serializer = (((cipherSuite_size32 `LSZ.size32_nondep_then` ticketContents13_rms_size32) `LSZ.size32_nondep_then` (ticketContents13_nonce_size32 `LSZ.size32_nondep_then` LSZ.size32_u32)) `LSZ.size32_nondep_then` (LSZ.size32_u32 `LSZ.size32_nondep_then` ticketContents13_custom_data_size32))
val ticketContents13'_size32:LSZ.size32 ticketContents13'_serializer
let ticketContents13'_size32:LSZ.size32 ticketContents13'_serializer =
(((cipherSuite_size32 `LSZ.size32_nondep_then` ticketContents13_rms_size32)
    `LSZ.size32_nondep_then`
    (ticketContents13_nonce_size32 `LSZ.size32_nondep_then` LSZ.size32_u32))
  `LSZ.size32_nondep_then`
  (LSZ.size32_u32 `LSZ.size32_nondep_then` ticketContents13_custom_data_size32))
Parsers.TicketContents13.fst.checked
prims.fst.checked Parsers.TicketContents13_rms.fsti.checked Parsers.TicketContents13_nonce.fsti.checked 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
Parsers.TicketContents13.fst
LowParse.SLow.Combinators.size32_nondep_then LowParse.Spec.Combinators.and_then_kind Parsers.CipherSuite.cipherSuite_parser_kind Parsers.TicketContents13_rms.ticketContents13_rms_parser_kind Parsers.TicketContents13_nonce.ticketContents13_nonce_parser_kind LowParse.Spec.Int.parse_u32_kind FStar.Pervasives.Native.tuple2 Parsers.CipherSuite.cipherSuite Parsers.TicketContents13_rms.ticketContents13_rms Parsers.TicketContents13_nonce.ticketContents13_nonce FStar.UInt32.t LowParse.Spec.Combinators.nondep_then Parsers.CipherSuite.cipherSuite_parser Parsers.TicketContents13_rms.ticketContents13_rms_parser Parsers.TicketContents13_nonce.ticketContents13_nonce_parser LowParse.Spec.Int.parse_u32 LowParse.Spec.Combinators.serialize_nondep_then Parsers.CipherSuite.cipherSuite_serializer Parsers.TicketContents13_rms.ticketContents13_rms_serializer Parsers.TicketContents13_nonce.ticketContents13_nonce_serializer LowParse.Spec.Int.serialize_u32 Parsers.CipherSuite.cipherSuite_size32 Parsers.TicketContents13_rms.ticketContents13_rms_size32 Parsers.TicketContents13_nonce.ticketContents13_nonce_size32 LowParse.SLow.Int.size32_u32 Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser_kind Parsers.TicketContents13_custom_data.ticketContents13_custom_data Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser Parsers.TicketContents13_custom_data.ticketContents13_custom_data_serializer Parsers.TicketContents13_custom_data.ticketContents13_custom_data_size32
module 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 Parsers.TicketContents13_rms

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

(* Type of field custom_data*)
open 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 = ()

inline_for_extraction 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))

let ticketContents13_parser32 =
  [@inline_let] let _ = synth_ticketContents13_injective () in
  [@inline_let] let _ = assert_norm (ticketContents13_parser_kind == ticketContents13'_parser_kind) in
  LS.parse32_synth _ synth_ticketContents13 (fun x -> synth_ticketContents13 x) ticketContents13'_parser32 ()

inline_for_extraction let ticketContents13'_serializer32 : LS.serializer32 ticketContents13'_serializer = (((cipherSuite_serializer32 `LS.serialize32_nondep_then` ticketContents13_rms_serializer32) `LS.serialize32_nondep_then` (ticketContents13_nonce_serializer32 `LS.serialize32_nondep_then` LS.serialize32_u32)) `LS.serialize32_nondep_then` (LS.serialize32_u32 `LS.serialize32_nondep_then` ticketContents13_custom_data_serializer32))

let ticketContents13_serializer32 =
  [@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
  LS.serialize32_synth _ synth_ticketContents13 _ ticketContents13'_serializer32 synth_ticketContents13_recip (fun x -> synth_ticketContents13_recip x) ()
val ticketContents13'_size32:LSZ.size32 ticketContents13'_serializer
LowParse.SLow.Base.size32 Parsers.TicketContents13.ticketContents13'_serializer