val synth_explicitChar2ECParams_recip_injective: Prims.unit
  -> Lemma (LP.synth_injective synth_explicitChar2ECParams_recip)
val synth_explicitChar2ECParams_recip_injective: Prims.unit
  -> Lemma (LP.synth_injective synth_explicitChar2ECParams_recip)
let synth_explicitChar2ECParams_recip_injective () : Lemma (LP.synth_injective synth_explicitChar2ECParams_recip) =
  synth_explicitChar2ECParams_recip_inverse ();
  LP.synth_inverse_synth_injective synth_explicitChar2ECParams synth_explicitChar2ECParams_recip
module MiTLS.Parsers.ExplicitChar2ECParams

(* 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 order*)
open MiTLS.Parsers.ExplicitChar2ECParams_order

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

type explicitChar2ECParams' = (((U16.t & char2Representation) & (eCCurve & eCPoint)) & (explicitChar2ECParams_order & explicitChar2ECParams_cofactor))

inline_for_extraction let synth_explicitChar2ECParams (x: explicitChar2ECParams') : explicitChar2ECParams =
  match x with (((m,repr),(curve,base)),(order,cofactor)) -> {
    m = m;
    repr = repr;
    curve = curve;
    base = base;
    order = order;
    cofactor = cofactor;
  }

inline_for_extraction let synth_explicitChar2ECParams_recip (x: explicitChar2ECParams) : explicitChar2ECParams' = (((x.m,x.repr),(x.curve,x.base)),(x.order,x.cofactor))

let synth_explicitChar2ECParams_recip_inverse () : Lemma (LP.synth_inverse synth_explicitChar2ECParams_recip synth_explicitChar2ECParams) = ()

let synth_explicitChar2ECParams_injective () : Lemma (LP.synth_injective synth_explicitChar2ECParams) =
  LP.synth_inverse_synth_injective synth_explicitChar2ECParams_recip synth_explicitChar2ECParams;
  synth_explicitChar2ECParams_recip_inverse ()

let synth_explicitChar2ECParams_inverse () : Lemma (LP.synth_inverse synth_explicitChar2ECParams synth_explicitChar2ECParams_recip) =
  assert_norm (LP.synth_inverse synth_explicitChar2ECParams synth_explicitChar2ECParams_recip)
/
prims.fst.checked MiTLS.Parsers.ExplicitChar2ECParams_order.fsti.checked MiTLS.Parsers.ExplicitChar2ECParams_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.ExplicitChar2ECParams.fst
_: Prims.unit
  -> FStar.Pervasives.Lemma
    (ensures
      LowParse.Spec.Combinators.synth_injective MiTLS.Parsers.ExplicitChar2ECParams.synth_explicitChar2ECParams_recip
      )
Prims.unit LowParse.Spec.Combinators.synth_inverse_synth_injective MiTLS.Parsers.ExplicitChar2ECParams.explicitChar2ECParams' MiTLS.Parsers.ExplicitChar2ECParams.explicitChar2ECParams MiTLS.Parsers.ExplicitChar2ECParams.synth_explicitChar2ECParams MiTLS.Parsers.ExplicitChar2ECParams.synth_explicitChar2ECParams_recip MiTLS.Parsers.ExplicitChar2ECParams.synth_explicitChar2ECParams_recip_inverse Prims.l_True Prims.squash LowParse.Spec.Combinators.synth_injective Prims.Nil FStar.Pervasives.pattern
let synth_explicitChar2ECParams_recip_injective ()
    : Lemma (LP.synth_injective synth_explicitChar2ECParams_recip) =
  
synth_explicitChar2ECParams_recip_inverse ();
LP.synth_inverse_synth_injective synth_explicitChar2ECParams synth_explicitChar2ECParams_recip