val ticketContents13_valid (h:HS.mem) (#rrel: _) (#rel: _) (input:LL.slice rrel rel) (pos0:U32.t) : Lemma
  (requires (
  LL.valid cipherSuite_parser h input pos0 /\ (
  let pos1 = LL.get_valid_pos cipherSuite_parser h input pos0 in
  LL.valid ticketContents13_rms_parser h input pos1 /\ (
  let pos2 = LL.get_valid_pos ticketContents13_rms_parser h input pos1 in
  LL.valid ticketContents13_nonce_parser h input pos2 /\ (
  let pos3 = LL.get_valid_pos ticketContents13_nonce_parser h input pos2 in
  LL.valid LPI.parse_u32 h input pos3 /\ (
  let pos4 = LL.get_valid_pos LPI.parse_u32 h input pos3 in
  LL.valid LPI.parse_u32 h input pos4 /\ (
  let pos5 = LL.get_valid_pos LPI.parse_u32 h input pos4 in
  LL.valid ticketContents13_custom_data_parser h input pos5 /\ (
  let pos6 = LL.get_valid_pos ticketContents13_custom_data_parser h input pos5 in
  True
  ))))))))
  (ensures (
  let cs = LL.contents cipherSuite_parser h input pos0 in
  let pos1 = LL.get_valid_pos cipherSuite_parser h input pos0 in
  let rms = LL.contents ticketContents13_rms_parser h input pos1 in
  let pos2 = LL.get_valid_pos ticketContents13_rms_parser h input pos1 in
  let nonce = LL.contents ticketContents13_nonce_parser h input pos2 in
  let pos3 = LL.get_valid_pos ticketContents13_nonce_parser h input pos2 in
  let creation_time = LL.contents LPI.parse_u32 h input pos3 in
  let pos4 = LL.get_valid_pos LPI.parse_u32 h input pos3 in
  let age_add = LL.contents LPI.parse_u32 h input pos4 in
  let pos5 = LL.get_valid_pos LPI.parse_u32 h input pos4 in
  let custom_data = LL.contents ticketContents13_custom_data_parser h input pos5 in
  let pos6 = LL.get_valid_pos ticketContents13_custom_data_parser h input pos5 in
  LL.valid_content_pos ticketContents13_parser h input pos0 ({
      cs = cs;
      rms = rms;
      nonce = nonce;
      creation_time = creation_time;
      age_add = age_add;
      custom_data = custom_data;
    }) pos6))
val ticketContents13_valid (h:HS.mem) (#rrel: _) (#rel: _) (input:LL.slice rrel rel) (pos0:U32.t) : Lemma
  (requires (
  LL.valid cipherSuite_parser h input pos0 /\ (
  let pos1 = LL.get_valid_pos cipherSuite_parser h input pos0 in
  LL.valid ticketContents13_rms_parser h input pos1 /\ (
  let pos2 = LL.get_valid_pos ticketContents13_rms_parser h input pos1 in
  LL.valid ticketContents13_nonce_parser h input pos2 /\ (
  let pos3 = LL.get_valid_pos ticketContents13_nonce_parser h input pos2 in
  LL.valid LPI.parse_u32 h input pos3 /\ (
  let pos4 = LL.get_valid_pos LPI.parse_u32 h input pos3 in
  LL.valid LPI.parse_u32 h input pos4 /\ (
  let pos5 = LL.get_valid_pos LPI.parse_u32 h input pos4 in
  LL.valid ticketContents13_custom_data_parser h input pos5 /\ (
  let pos6 = LL.get_valid_pos ticketContents13_custom_data_parser h input pos5 in
  True
  ))))))))
  (ensures (
  let cs = LL.contents cipherSuite_parser h input pos0 in
  let pos1 = LL.get_valid_pos cipherSuite_parser h input pos0 in
  let rms = LL.contents ticketContents13_rms_parser h input pos1 in
  let pos2 = LL.get_valid_pos ticketContents13_rms_parser h input pos1 in
  let nonce = LL.contents ticketContents13_nonce_parser h input pos2 in
  let pos3 = LL.get_valid_pos ticketContents13_nonce_parser h input pos2 in
  let creation_time = LL.contents LPI.parse_u32 h input pos3 in
  let pos4 = LL.get_valid_pos LPI.parse_u32 h input pos3 in
  let age_add = LL.contents LPI.parse_u32 h input pos4 in
  let pos5 = LL.get_valid_pos LPI.parse_u32 h input pos4 in
  let custom_data = LL.contents ticketContents13_custom_data_parser h input pos5 in
  let pos6 = LL.get_valid_pos ticketContents13_custom_data_parser h input pos5 in
  LL.valid_content_pos ticketContents13_parser h input pos0 ({
      cs = cs;
      rms = rms;
      nonce = nonce;
      creation_time = creation_time;
      age_add = age_add;
      custom_data = custom_data;
    }) pos6))
let ticketContents13_valid h #_ #_ input pos0 =
  let cs = LL.contents cipherSuite_parser h input pos0 in
  let pos1 = LL.get_valid_pos cipherSuite_parser h input pos0 in
  let rms = LL.contents ticketContents13_rms_parser h input pos1 in
  let pos2 = LL.get_valid_pos ticketContents13_rms_parser h input pos1 in
  let nonce = LL.contents ticketContents13_nonce_parser h input pos2 in
  let pos3 = LL.get_valid_pos ticketContents13_nonce_parser h input pos2 in
  let creation_time = LL.contents LPI.parse_u32 h input pos3 in
  let pos4 = LL.get_valid_pos LPI.parse_u32 h input pos3 in
  let age_add = LL.contents LPI.parse_u32 h input pos4 in
  let pos5 = LL.get_valid_pos LPI.parse_u32 h input pos4 in
  let custom_data = LL.contents ticketContents13_custom_data_parser h input pos5 in
  let pos6 = LL.get_valid_pos ticketContents13_custom_data_parser h input pos5 in
  LL.valid_nondep_then_intro h cipherSuite_parser ticketContents13_rms_parser input pos0;
  LL.valid_nondep_then_intro h ticketContents13_nonce_parser LPI.parse_u32 input pos2;
  LL.valid_nondep_then_intro h (cipherSuite_parser `LP.nondep_then` ticketContents13_rms_parser) (ticketContents13_nonce_parser `LP.nondep_then` LPI.parse_u32) input pos0;
  LL.valid_nondep_then_intro h LPI.parse_u32 ticketContents13_custom_data_parser input pos4;
  LL.valid_nondep_then_intro h ((cipherSuite_parser `LP.nondep_then` ticketContents13_rms_parser) `LP.nondep_then` (ticketContents13_nonce_parser `LP.nondep_then` LPI.parse_u32)) (LPI.parse_u32 `LP.nondep_then` ticketContents13_custom_data_parser) input pos0;
  assert_norm (ticketContents13' == LP.get_parser_type ticketContents13'_parser);
  assert_norm (ticketContents13_parser_kind == ticketContents13'_parser_kind);
  synth_ticketContents13_injective ();
  LL.valid_synth_intro h ticketContents13'_parser synth_ticketContents13 input pos0
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 = ()

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

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

let ticketContents13_size32 =
  [@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
  LSZ.size32_synth _ synth_ticketContents13 _ ticketContents13'_size32 synth_ticketContents13_recip (fun x -> synth_ticketContents13_recip x) ()

inline_for_extraction let ticketContents13'_validator : LL.validator ticketContents13'_parser = (((cipherSuite_validator `LL.validate_nondep_then` ticketContents13_rms_validator) `LL.validate_nondep_then` (ticketContents13_nonce_validator `LL.validate_nondep_then` (LL.validate_u32 ()))) `LL.validate_nondep_then` ((LL.validate_u32 ()) `LL.validate_nondep_then` ticketContents13_custom_data_validator))

let ticketContents13_validator =
  [@inline_let] let _ = synth_ticketContents13_injective () in
  [@inline_let] let _ = assert_norm (ticketContents13_parser_kind == ticketContents13'_parser_kind) in
  LL.validate_synth ticketContents13'_validator synth_ticketContents13 ()

inline_for_extraction let ticketContents13'_jumper : LL.jumper ticketContents13'_parser = (((cipherSuite_jumper `LL.jump_nondep_then` ticketContents13_rms_jumper) `LL.jump_nondep_then` (ticketContents13_nonce_jumper `LL.jump_nondep_then` LL.jump_u32)) `LL.jump_nondep_then` (LL.jump_u32 `LL.jump_nondep_then` ticketContents13_custom_data_jumper))

let ticketContents13_jumper =
  [@inline_let] let _ = synth_ticketContents13_injective () in
  [@inline_let] let _ = assert_norm (ticketContents13_parser_kind == ticketContents13'_parser_kind) in
  LL.jump_synth ticketContents13'_jumper synth_ticketContents13 ()

let ticketContents13_bytesize_eqn x =
  [@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_eq _ synth_ticketContents13 ticketContents13'_serializer synth_ticketContents13_recip () x;
LP.length_serialize_nondep_then cipherSuite_serializer ticketContents13_rms_serializer x.cs x.rms;
LP.length_serialize_nondep_then ticketContents13_nonce_serializer LPI.serialize_u32 x.nonce x.creation_time;
LP.length_serialize_nondep_then (cipherSuite_serializer `LP.serialize_nondep_then` ticketContents13_rms_serializer) (ticketContents13_nonce_serializer `LP.serialize_nondep_then` LPI.serialize_u32) (x.cs, x.rms) (x.nonce, x.creation_time);
LP.length_serialize_nondep_then LPI.serialize_u32 ticketContents13_custom_data_serializer x.age_add x.custom_data;
LP.length_serialize_nondep_then ((cipherSuite_serializer `LP.serialize_nondep_then` ticketContents13_rms_serializer) `LP.serialize_nondep_then` (ticketContents13_nonce_serializer `LP.serialize_nondep_then` LPI.serialize_u32)) (LPI.serialize_u32 `LP.serialize_nondep_then` ticketContents13_custom_data_serializer) ((x.cs, x.rms), (x.nonce, x.creation_time)) (x.age_add, x.custom_data);
  (cipherSuite_bytesize_eq (x.cs));
  (ticketContents13_rms_bytesize_eq (x.rms));
  (ticketContents13_nonce_bytesize_eq (x.nonce));
  (assert (FStar.Seq.length (LP.serialize LP.serialize_u32 (x.creation_time)) == 4));
  (assert (FStar.Seq.length (LP.serialize LP.serialize_u32 (x.age_add)) == 4));
  (ticketContents13_custom_data_bytesize_eq (x.custom_data));
  assert(ticketContents13_bytesize x == Seq.length (LP.serialize cipherSuite_serializer x.cs) + Seq.length (LP.serialize ticketContents13_rms_serializer x.rms) + Seq.length (LP.serialize ticketContents13_nonce_serializer x.nonce) + Seq.length (LP.serialize LPI.serialize_u32 x.creation_time) + Seq.length (LP.serialize LPI.serialize_u32 x.age_add) + Seq.length (LP.serialize ticketContents13_custom_data_serializer x.custom_data))

let gaccessor'_ticketContents13_cs : LL.gaccessor ticketContents13'_parser cipherSuite_parser _ = (LL.gaccessor_then_fst (LL.gaccessor_then_fst (LL.gaccessor_then_fst (LL.gaccessor_id ticketContents13'_parser))))

let gaccessor'_ticketContents13_rms : LL.gaccessor ticketContents13'_parser ticketContents13_rms_parser _ = (LL.gaccessor_then_snd (LL.gaccessor_then_fst (LL.gaccessor_then_fst (LL.gaccessor_id ticketContents13'_parser))))

let gaccessor'_ticketContents13_nonce : LL.gaccessor ticketContents13'_parser ticketContents13_nonce_parser _ = (LL.gaccessor_then_fst (LL.gaccessor_then_snd (LL.gaccessor_then_fst (LL.gaccessor_id ticketContents13'_parser))))

let gaccessor'_ticketContents13_creation_time : LL.gaccessor ticketContents13'_parser LPI.parse_u32 _ = (LL.gaccessor_then_snd (LL.gaccessor_then_snd (LL.gaccessor_then_fst (LL.gaccessor_id ticketContents13'_parser))))

let gaccessor'_ticketContents13_age_add : LL.gaccessor ticketContents13'_parser LPI.parse_u32 _ = (LL.gaccessor_then_fst (LL.gaccessor_then_snd (LL.gaccessor_id ticketContents13'_parser)))

let gaccessor'_ticketContents13_custom_data : LL.gaccessor ticketContents13'_parser ticketContents13_custom_data_parser _ = (LL.gaccessor_then_snd (LL.gaccessor_then_snd (LL.gaccessor_id ticketContents13'_parser)))

inline_for_extraction noextract let accessor'_ticketContents13_cs : LL.accessor gaccessor'_ticketContents13_cs = (LL.accessor_then_fst (LL.accessor_then_fst (LL.accessor_then_fst (LL.accessor_id ticketContents13'_parser))))

inline_for_extraction noextract let accessor'_ticketContents13_rms : LL.accessor gaccessor'_ticketContents13_rms = (LL.accessor_then_snd (LL.accessor_then_fst (LL.accessor_then_fst (LL.accessor_id ticketContents13'_parser))) cipherSuite_jumper)

inline_for_extraction noextract let accessor'_ticketContents13_nonce : LL.accessor gaccessor'_ticketContents13_nonce = (LL.accessor_then_fst (LL.accessor_then_snd (LL.accessor_then_fst (LL.accessor_id ticketContents13'_parser)) (cipherSuite_jumper `LL.jump_nondep_then` ticketContents13_rms_jumper)))

inline_for_extraction noextract let accessor'_ticketContents13_creation_time : LL.accessor gaccessor'_ticketContents13_creation_time = (LL.accessor_then_snd (LL.accessor_then_snd (LL.accessor_then_fst (LL.accessor_id ticketContents13'_parser)) (cipherSuite_jumper `LL.jump_nondep_then` ticketContents13_rms_jumper)) ticketContents13_nonce_jumper)

inline_for_extraction noextract let accessor'_ticketContents13_age_add : LL.accessor gaccessor'_ticketContents13_age_add = (LL.accessor_then_fst (LL.accessor_then_snd (LL.accessor_id ticketContents13'_parser) ((cipherSuite_jumper `LL.jump_nondep_then` ticketContents13_rms_jumper) `LL.jump_nondep_then` (ticketContents13_nonce_jumper `LL.jump_nondep_then` LL.jump_u32))))

inline_for_extraction noextract let accessor'_ticketContents13_custom_data : LL.accessor gaccessor'_ticketContents13_custom_data = (LL.accessor_then_snd (LL.accessor_then_snd (LL.accessor_id ticketContents13'_parser) ((cipherSuite_jumper `LL.jump_nondep_then` ticketContents13_rms_jumper) `LL.jump_nondep_then` (ticketContents13_nonce_jumper `LL.jump_nondep_then` LL.jump_u32))) LL.jump_u32)

noextract let clens_ticketContents13_ticketContents13' : LL.clens ticketContents13 ticketContents13' = synth_ticketContents13_recip_inverse (); synth_ticketContents13_recip_injective (); LL.clens_synth synth_ticketContents13_recip synth_ticketContents13

let gaccessor_ticketContents13_ticketContents13' : LL.gaccessor ticketContents13_parser ticketContents13'_parser clens_ticketContents13_ticketContents13' = synth_ticketContents13_inverse (); synth_ticketContents13_injective (); synth_ticketContents13_recip_inverse (); LL.gaccessor_synth ticketContents13'_parser synth_ticketContents13 synth_ticketContents13_recip ()

inline_for_extraction noextract let accessor_ticketContents13_ticketContents13' : LL.accessor gaccessor_ticketContents13_ticketContents13' = synth_ticketContents13_inverse (); synth_ticketContents13_injective (); synth_ticketContents13_recip_inverse (); LL.accessor_synth ticketContents13'_parser synth_ticketContents13 synth_ticketContents13_recip ()

let gaccessor_ticketContents13_cs = LL.gaccessor_ext (gaccessor_ticketContents13_ticketContents13' `LL.gaccessor_compose` gaccessor'_ticketContents13_cs) clens_ticketContents13_cs ()

let accessor_ticketContents13_cs = LL.accessor_ext (LL.accessor_compose accessor_ticketContents13_ticketContents13' accessor'_ticketContents13_cs ()) clens_ticketContents13_cs ()

let gaccessor_ticketContents13_rms = LL.gaccessor_ext (gaccessor_ticketContents13_ticketContents13' `LL.gaccessor_compose` gaccessor'_ticketContents13_rms) clens_ticketContents13_rms ()

let accessor_ticketContents13_rms = LL.accessor_ext (LL.accessor_compose accessor_ticketContents13_ticketContents13' accessor'_ticketContents13_rms ()) clens_ticketContents13_rms ()

let gaccessor_ticketContents13_nonce = LL.gaccessor_ext (gaccessor_ticketContents13_ticketContents13' `LL.gaccessor_compose` gaccessor'_ticketContents13_nonce) clens_ticketContents13_nonce ()

let accessor_ticketContents13_nonce = LL.accessor_ext (LL.accessor_compose accessor_ticketContents13_ticketContents13' accessor'_ticketContents13_nonce ()) clens_ticketContents13_nonce ()

let gaccessor_ticketContents13_creation_time = LL.gaccessor_ext (gaccessor_ticketContents13_ticketContents13' `LL.gaccessor_compose` gaccessor'_ticketContents13_creation_time) clens_ticketContents13_creation_time ()

let accessor_ticketContents13_creation_time = LL.accessor_ext (LL.accessor_compose accessor_ticketContents13_ticketContents13' accessor'_ticketContents13_creation_time ()) clens_ticketContents13_creation_time ()

let gaccessor_ticketContents13_age_add = LL.gaccessor_ext (gaccessor_ticketContents13_ticketContents13' `LL.gaccessor_compose` gaccessor'_ticketContents13_age_add) clens_ticketContents13_age_add ()

let accessor_ticketContents13_age_add = LL.accessor_ext (LL.accessor_compose accessor_ticketContents13_ticketContents13' accessor'_ticketContents13_age_add ()) clens_ticketContents13_age_add ()

let gaccessor_ticketContents13_custom_data = LL.gaccessor_ext (gaccessor_ticketContents13_ticketContents13' `LL.gaccessor_compose` gaccessor'_ticketContents13_custom_data) clens_ticketContents13_custom_data ()

let accessor_ticketContents13_custom_data = LL.accessor_ext (LL.accessor_compose accessor_ticketContents13_ticketContents13' accessor'_ticketContents13_custom_data ()) clens_ticketContents13_custom_data ()
/
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
h: FStar.Monotonic.HyperStack.mem -> input: LowParse.Slice.slice rrel rel -> pos0: FStar.UInt32.t
  -> FStar.Pervasives.Lemma
      (requires
        LowParse.Low.Base.Spec.valid MiTLS.Parsers.CipherSuite.cipherSuite_parser h input pos0 /\
        (let pos1 =
            LowParse.Low.Base.Spec.get_valid_pos MiTLS.Parsers.CipherSuite.cipherSuite_parser
              h
              input
              pos0
          in
          LowParse.Low.Base.Spec.valid MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms_parser
            h
            input
            pos1 /\
          (let pos2 =
              LowParse.Low.Base.Spec.get_valid_pos MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms_parser
                h
                input
                pos1
            in
            LowParse.Low.Base.Spec.valid MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce_parser
              h
              input
              pos2 /\
            (let pos3 =
                LowParse.Low.Base.Spec.get_valid_pos MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce_parser
                  h
                  input
                  pos2
              in
              LowParse.Low.Base.Spec.valid LowParse.Spec.Int.parse_u32 h input pos3 /\
              (let pos4 =
                  LowParse.Low.Base.Spec.get_valid_pos LowParse.Spec.Int.parse_u32 h input pos3
                in
                LowParse.Low.Base.Spec.valid LowParse.Spec.Int.parse_u32 h input pos4 /\
                (let pos5 =
                    LowParse.Low.Base.Spec.get_valid_pos LowParse.Spec.Int.parse_u32 h input pos4
                  in
                  LowParse.Low.Base.Spec.valid MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser
                    h
                    input
                    pos5 /\
                  (let pos6 =
                      LowParse.Low.Base.Spec.get_valid_pos MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser
                        h
                        input
                        pos5
                    in
                    Prims.l_True)))))))
      (ensures
        (let cs =
            LowParse.Low.Base.Spec.contents MiTLS.Parsers.CipherSuite.cipherSuite_parser
              h
              input
              pos0
          in
          let pos1 =
            LowParse.Low.Base.Spec.get_valid_pos MiTLS.Parsers.CipherSuite.cipherSuite_parser
              h
              input
              pos0
          in
          let rms =
            LowParse.Low.Base.Spec.contents MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms_parser
              h
              input
              pos1
          in
          let pos2 =
            LowParse.Low.Base.Spec.get_valid_pos MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms_parser
              h
              input
              pos1
          in
          let nonce =
            LowParse.Low.Base.Spec.contents MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce_parser
              h
              input
              pos2
          in
          let pos3 =
            LowParse.Low.Base.Spec.get_valid_pos MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce_parser
              h
              input
              pos2
          in
          let creation_time =
            LowParse.Low.Base.Spec.contents LowParse.Spec.Int.parse_u32 h input pos3
          in
          let pos4 =
            LowParse.Low.Base.Spec.get_valid_pos LowParse.Spec.Int.parse_u32 h input pos3
          in
          let age_add = LowParse.Low.Base.Spec.contents LowParse.Spec.Int.parse_u32 h input pos4 in
          let pos5 =
            LowParse.Low.Base.Spec.get_valid_pos LowParse.Spec.Int.parse_u32 h input pos4
          in
          let custom_data =
            LowParse.Low.Base.Spec.contents MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser
              h
              input
              pos5
          in
          let pos6 =
            LowParse.Low.Base.Spec.get_valid_pos MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser
              h
              input
              pos5
          in
          LowParse.Low.Base.Spec.valid_content_pos MiTLS.Parsers.TicketContents13.ticketContents13_parser
            h
            input
            pos0
            (MiTLS.Parsers.TicketContents13.MkticketContents13 cs
                rms
                nonce
                creation_time
                age_add
                custom_data)
            pos6))
FStar.Monotonic.HyperStack.mem LowParse.Slice.srel LowParse.Bytes.byte LowParse.Slice.slice FStar.UInt32.t LowParse.Low.Combinators.valid_synth_intro 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 MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser_kind MiTLS.Parsers.TicketContents13.ticketContents13' MiTLS.Parsers.TicketContents13.ticketContents13 MiTLS.Parsers.TicketContents13.ticketContents13'_parser MiTLS.Parsers.TicketContents13.synth_ticketContents13 Prims.unit MiTLS.Parsers.TicketContents13.synth_ticketContents13_injective FStar.Pervasives.assert_norm Prims.eq2 LowParse.Spec.Base.parser_kind MiTLS.Parsers.TicketContents13.ticketContents13_parser_kind MiTLS.Parsers.TicketContents13.ticketContents13'_parser_kind LowParse.Spec.Base.get_parser_type LowParse.Low.Combinators.valid_nondep_then_intro FStar.Pervasives.Native.tuple2 MiTLS.Parsers.CipherSuite.cipherSuite MiTLS.Parsers.TicketContents13_rms.ticketContents13_rms MiTLS.Parsers.TicketContents13_nonce.ticketContents13_nonce 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.TicketContents13_custom_data.ticketContents13_custom_data MiTLS.Parsers.TicketContents13_custom_data.ticketContents13_custom_data_parser LowParse.Low.Base.Spec.get_valid_pos LowParse.Low.Base.Spec.contents
let ticketContents13_valid h #_ #_ input pos0 =
  
let cs = LL.contents cipherSuite_parser h input pos0 in
let pos1 = LL.get_valid_pos cipherSuite_parser h input pos0 in
let rms = LL.contents ticketContents13_rms_parser h input pos1 in
let pos2 = LL.get_valid_pos ticketContents13_rms_parser h input pos1 in
let nonce = LL.contents ticketContents13_nonce_parser h input pos2 in
let pos3 = LL.get_valid_pos ticketContents13_nonce_parser h input pos2 in
let creation_time = LL.contents LPI.parse_u32 h input pos3 in
let pos4 = LL.get_valid_pos LPI.parse_u32 h input pos3 in
let age_add = LL.contents LPI.parse_u32 h input pos4 in
let pos5 = LL.get_valid_pos LPI.parse_u32 h input pos4 in
let custom_data = LL.contents ticketContents13_custom_data_parser h input pos5 in
let pos6 = LL.get_valid_pos ticketContents13_custom_data_parser h input pos5 in
LL.valid_nondep_then_intro h cipherSuite_parser ticketContents13_rms_parser input pos0;
LL.valid_nondep_then_intro h ticketContents13_nonce_parser LPI.parse_u32 input pos2;
LL.valid_nondep_then_intro h
  (cipherSuite_parser `LP.nondep_then` ticketContents13_rms_parser)
  (ticketContents13_nonce_parser `LP.nondep_then` LPI.parse_u32)
  input
  pos0;
LL.valid_nondep_then_intro h LPI.parse_u32 ticketContents13_custom_data_parser input pos4;
LL.valid_nondep_then_intro h
  ((cipherSuite_parser `LP.nondep_then` ticketContents13_rms_parser)
    `LP.nondep_then`
    (ticketContents13_nonce_parser `LP.nondep_then` LPI.parse_u32))
  (LPI.parse_u32 `LP.nondep_then` ticketContents13_custom_data_parser)
  input
  pos0;
assert_norm (ticketContents13' == LP.get_parser_type ticketContents13'_parser);
assert_norm (ticketContents13_parser_kind == ticketContents13'_parser_kind);
synth_ticketContents13_injective ();
LL.valid_synth_intro h ticketContents13'_parser synth_ticketContents13 input pos0