val synth_explicitPrimeECParams_injective: Prims.unit
  -> Lemma (LP.synth_injective synth_explicitPrimeECParams)
val synth_explicitPrimeECParams_injective: Prims.unit
  -> Lemma (LP.synth_injective synth_explicitPrimeECParams)
let synth_explicitPrimeECParams_injective () : Lemma (LP.synth_injective synth_explicitPrimeECParams) =
  LP.synth_inverse_synth_injective synth_explicitPrimeECParams_recip synth_explicitPrimeECParams;
  synth_explicitPrimeECParams_recip_inverse ()
module MiTLS.Parsers.ExplicitPrimeECParams

(* 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 prime_p*)
open MiTLS.Parsers.ExplicitPrimeECParams_prime_p

(* Type of field order*)
open MiTLS.Parsers.ExplicitPrimeECParams_order

(* Type of field cofactor*)
open MiTLS.Parsers.ExplicitPrimeECParams_cofactor

type explicitPrimeECParams' = (((explicitPrimeECParams_prime_p & eCCurve) & (eCPoint & explicitPrimeECParams_order)) & explicitPrimeECParams_cofactor)

inline_for_extraction let synth_explicitPrimeECParams (x: explicitPrimeECParams') : explicitPrimeECParams =
  match x with (((prime_p,curve),(base,order)),cofactor) -> {
    prime_p = prime_p;
    curve = curve;
    base = base;
    order = order;
    cofactor = cofactor;
  }

inline_for_extraction let synth_explicitPrimeECParams_recip (x: explicitPrimeECParams) : explicitPrimeECParams' = (((x.prime_p,x.curve),(x.base,x.order)),x.cofactor)

let synth_explicitPrimeECParams_recip_inverse () : Lemma (LP.synth_inverse synth_explicitPrimeECParams_recip synth_explicitPrimeECParams) = ()
/
prims.fst.checked MiTLS.Parsers.ExplicitPrimeECParams_prime_p.fsti.checked MiTLS.Parsers.ExplicitPrimeECParams_order.fsti.checked MiTLS.Parsers.ExplicitPrimeECParams_cofactor.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.ExplicitPrimeECParams.fst
_: Prims.unit
  -> FStar.Pervasives.Lemma
    (ensures
      LowParse.Spec.Combinators.synth_injective MiTLS.Parsers.ExplicitPrimeECParams.synth_explicitPrimeECParams
      )
Prims.unit MiTLS.Parsers.ExplicitPrimeECParams.synth_explicitPrimeECParams_recip_inverse LowParse.Spec.Combinators.synth_inverse_synth_injective MiTLS.Parsers.ExplicitPrimeECParams.explicitPrimeECParams MiTLS.Parsers.ExplicitPrimeECParams.explicitPrimeECParams' MiTLS.Parsers.ExplicitPrimeECParams.synth_explicitPrimeECParams_recip MiTLS.Parsers.ExplicitPrimeECParams.synth_explicitPrimeECParams Prims.l_True Prims.squash LowParse.Spec.Combinators.synth_injective Prims.Nil FStar.Pervasives.pattern
let synth_explicitPrimeECParams_injective ()
    : Lemma (LP.synth_injective synth_explicitPrimeECParams) =
  
LP.synth_inverse_synth_injective synth_explicitPrimeECParams_recip synth_explicitPrimeECParams;
synth_explicitPrimeECParams_recip_inverse ()