let hkdfLabel'_parser_kind = LP.get_parser_kind hkdfLabel'_parser
let hkdfLabel'_parser_kind =
LP.get_parser_kind hkdfLabel'_parser
Parsers.HKDF.HkdfLabel.fst.checked
prims.fst.checked Parsers.HKDF.HkdfLabel_label.fsti.checked Parsers.HKDF.HkdfLabel_context.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.HKDF.HkdfLabel.fst
LowParse.Spec.Base.get_parser_kind LowParse.Spec.Combinators.and_then_kind LowParse.Spec.Int.parse_u16_kind Parsers.HKDF.HkdfLabel_label.hkdfLabel_label_parser_kind Parsers.HKDF.HkdfLabel_context.hkdfLabel_context_parser_kind Parsers.HKDF.HkdfLabel.hkdfLabel' Parsers.HKDF.HkdfLabel.hkdfLabel'_parser
module Parsers.HKDF.HkdfLabel

(* 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 label*)
open Parsers.HKDF.HkdfLabel_label

(* Type of field context*)
open Parsers.HKDF.HkdfLabel_context

type hkdfLabel' = ((U16.t & hkdfLabel_label) & hkdfLabel_context)

inline_for_extraction let synth_hkdfLabel (x: hkdfLabel') : hkdfLabel =
  match x with ((length,label),context) -> {
    length = length;
    label = label;
    context = context;
  }

inline_for_extraction let synth_hkdfLabel_recip (x: hkdfLabel) : hkdfLabel' = ((x.length,x.label),x.context)

let synth_hkdfLabel_recip_inverse () : Lemma (LP.synth_inverse synth_hkdfLabel_recip synth_hkdfLabel) = ()

let synth_hkdfLabel_injective () : Lemma (LP.synth_injective synth_hkdfLabel) =
  LP.synth_inverse_synth_injective synth_hkdfLabel_recip synth_hkdfLabel;
  synth_hkdfLabel_recip_inverse ()

let synth_hkdfLabel_inverse () : Lemma (LP.synth_inverse synth_hkdfLabel synth_hkdfLabel_recip) =
  assert_norm (LP.synth_inverse synth_hkdfLabel synth_hkdfLabel_recip)

let synth_hkdfLabel_recip_injective () : Lemma (LP.synth_injective synth_hkdfLabel_recip) =
  synth_hkdfLabel_recip_inverse ();
  LP.synth_inverse_synth_injective synth_hkdfLabel synth_hkdfLabel_recip

noextract let hkdfLabel'_parser : LP.parser _ hkdfLabel' = ((LPI.parse_u16 `LP.nondep_then` hkdfLabel_label_parser) `LP.nondep_then` hkdfLabel_context_parser)
val hkdfLabel'_parser_kind : LowParse.Spec.Base.parser_kind
LowParse.Spec.Base.parser_kind