val offeredPsks_parser: LP.parser offeredPsks_parser_kind offeredPsks
val offeredPsks_parser: LP.parser offeredPsks_parser_kind offeredPsks
let offeredPsks_parser =
  synth_offeredPsks_injective ();
  assert_norm (offeredPsks_parser_kind == offeredPsks'_parser_kind);
  offeredPsks'_parser `LP.parse_synth` synth_offeredPsks
module MiTLS.Parsers.OfferedPsks

(* 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 identities*)
open MiTLS.Parsers.OfferedPsks_identities

(* Type of field binders*)
open MiTLS.Parsers.OfferedPsks_binders

type offeredPsks' = (offeredPsks_identities & offeredPsks_binders)

inline_for_extraction let synth_offeredPsks (x: offeredPsks') : offeredPsks =
  match x with (identities,binders) -> {
    identities = identities;
    binders = binders;
  }

inline_for_extraction let synth_offeredPsks_recip (x: offeredPsks) : offeredPsks' = (x.identities,x.binders)

let synth_offeredPsks_recip_inverse () : Lemma (LP.synth_inverse synth_offeredPsks_recip synth_offeredPsks) = ()

let synth_offeredPsks_injective () : Lemma (LP.synth_injective synth_offeredPsks) =
  LP.synth_inverse_synth_injective synth_offeredPsks_recip synth_offeredPsks;
  synth_offeredPsks_recip_inverse ()

let synth_offeredPsks_inverse () : Lemma (LP.synth_inverse synth_offeredPsks synth_offeredPsks_recip) =
  assert_norm (LP.synth_inverse synth_offeredPsks synth_offeredPsks_recip)

let synth_offeredPsks_recip_injective () : Lemma (LP.synth_injective synth_offeredPsks_recip) =
  synth_offeredPsks_recip_inverse ();
  LP.synth_inverse_synth_injective synth_offeredPsks synth_offeredPsks_recip

noextract let offeredPsks'_parser : LP.parser _ offeredPsks' = (offeredPsks_identities_parser `LP.nondep_then` offeredPsks_binders_parser)

noextract let offeredPsks'_parser_kind = LP.get_parser_kind offeredPsks'_parser
/
prims.fst.checked MiTLS.Parsers.OfferedPsks_identities.fsti.checked MiTLS.Parsers.OfferedPsks_binders.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.OfferedPsks.fst
LowParse.Spec.Base.parser MiTLS.Parsers.OfferedPsks.offeredPsks_parser_kind
  MiTLS.Parsers.OfferedPsks.offeredPsks
LowParse.Spec.Combinators.parse_synth LowParse.Spec.Combinators.and_then_kind MiTLS.Parsers.OfferedPsks_identities.offeredPsks_identities_parser_kind MiTLS.Parsers.OfferedPsks_binders.offeredPsks_binders_parser_kind MiTLS.Parsers.OfferedPsks.offeredPsks' MiTLS.Parsers.OfferedPsks.offeredPsks MiTLS.Parsers.OfferedPsks.offeredPsks'_parser MiTLS.Parsers.OfferedPsks.synth_offeredPsks Prims.unit FStar.Pervasives.assert_norm Prims.eq2 LowParse.Spec.Base.parser_kind MiTLS.Parsers.OfferedPsks.offeredPsks_parser_kind MiTLS.Parsers.OfferedPsks.offeredPsks'_parser_kind MiTLS.Parsers.OfferedPsks.synth_offeredPsks_injective
let offeredPsks_parser =
  
synth_offeredPsks_injective ();
assert_norm (offeredPsks_parser_kind == offeredPsks'_parser_kind);
offeredPsks'_parser `LP.parse_synth` synth_offeredPsks