val certificate13_parser: LP.parser certificate13_parser_kind certificate13
val certificate13_parser: LP.parser certificate13_parser_kind certificate13
let certificate13_parser =
  synth_certificate13_injective ();
  assert_norm (certificate13_parser_kind == certificate13'_parser_kind);
  certificate13'_parser `LP.parse_synth` synth_certificate13
module MiTLS.Parsers.Certificate13

(* 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 certificate_request_context*)
open MiTLS.Parsers.Certificate13_certificate_request_context

(* Type of field certificate_list*)
open MiTLS.Parsers.Certificate13_certificate_list

type certificate13' = (certificate13_certificate_request_context & certificate13_certificate_list)

inline_for_extraction let synth_certificate13 (x: certificate13') : certificate13 =
  match x with (certificate_request_context,certificate_list) -> {
    certificate_request_context = certificate_request_context;
    certificate_list = certificate_list;
  }

inline_for_extraction let synth_certificate13_recip (x: certificate13) : certificate13' = (x.certificate_request_context,x.certificate_list)

let synth_certificate13_recip_inverse () : Lemma (LP.synth_inverse synth_certificate13_recip synth_certificate13) = ()

let synth_certificate13_injective () : Lemma (LP.synth_injective synth_certificate13) =
  LP.synth_inverse_synth_injective synth_certificate13_recip synth_certificate13;
  synth_certificate13_recip_inverse ()

let synth_certificate13_inverse () : Lemma (LP.synth_inverse synth_certificate13 synth_certificate13_recip) =
  assert_norm (LP.synth_inverse synth_certificate13 synth_certificate13_recip)

let synth_certificate13_recip_injective () : Lemma (LP.synth_injective synth_certificate13_recip) =
  synth_certificate13_recip_inverse ();
  LP.synth_inverse_synth_injective synth_certificate13 synth_certificate13_recip

noextract let certificate13'_parser : LP.parser _ certificate13' = (certificate13_certificate_request_context_parser `LP.nondep_then` certificate13_certificate_list_parser)

noextract let certificate13'_parser_kind = LP.get_parser_kind certificate13'_parser
/
prims.fst.checked MiTLS.Parsers.Certificate13_certificate_request_context.fsti.checked MiTLS.Parsers.Certificate13_certificate_list.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.Certificate13.fst
LowParse.Spec.Base.parser MiTLS.Parsers.Certificate13.certificate13_parser_kind
  MiTLS.Parsers.Certificate13.certificate13
LowParse.Spec.Combinators.parse_synth LowParse.Spec.Combinators.and_then_kind MiTLS.Parsers.Certificate13_certificate_request_context.certificate13_certificate_request_context_parser_kind MiTLS.Parsers.Certificate13_certificate_list.certificate13_certificate_list_parser_kind MiTLS.Parsers.Certificate13.certificate13' MiTLS.Parsers.Certificate13.certificate13 MiTLS.Parsers.Certificate13.certificate13'_parser MiTLS.Parsers.Certificate13.synth_certificate13 Prims.unit FStar.Pervasives.assert_norm Prims.eq2 LowParse.Spec.Base.parser_kind MiTLS.Parsers.Certificate13.certificate13_parser_kind MiTLS.Parsers.Certificate13.certificate13'_parser_kind MiTLS.Parsers.Certificate13.synth_certificate13_injective
let certificate13_parser =
  
synth_certificate13_injective ();
assert_norm (certificate13_parser_kind == certificate13'_parser_kind);
certificate13'_parser `LP.parse_synth` synth_certificate13