val eCPointFormatList_bytesize_eqn (x: eCPointFormatList) : Lemma (eCPointFormatList_bytesize x == 1 + (L.length x `FStar.Mul.op_Star` 1)) [SMTPat (eCPointFormatList_bytesize x)]
val eCPointFormatList_bytesize_eqn (x: eCPointFormatList) : Lemma (eCPointFormatList_bytesize x == 1 + (L.length x `FStar.Mul.op_Star` 1)) [SMTPat (eCPointFormatList_bytesize x)]
let eCPointFormatList_bytesize_eqn x = LP.length_serialize_vlarray 1 255 eCPointFormat_serializer 1 255 () x
module MiTLS.Parsers.ECPointFormatList

(* 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"

private let pre : squash (LP.vldata_vlarray_precond 1 255 eCPointFormat_parser 1 255 == true) = _ by (FStar.Tactics.trefl ())

let eCPointFormatList_parser =
  LP.parse_vlarray 1 255 eCPointFormat_serializer 1 255 ()

let eCPointFormatList_serializer =
  LP.serialize_vlarray 1 255 eCPointFormat_serializer 1 255 ()

let eCPointFormatList_bytesize (x:eCPointFormatList) : GTot nat = Seq.length (eCPointFormatList_serializer x)

let eCPointFormatList_bytesize_eq x = ()

let eCPointFormatList_parser32 =
  LS.parse32_vlarray 1 1ul 255 255ul eCPointFormat_serializer eCPointFormat_parser32 1 255 ()

let eCPointFormatList_serializer32 =
  LS.serialize32_vlarray 1 255 #_ #_ #_ #eCPointFormat_serializer eCPointFormat_serializer32 1 255 ()

let eCPointFormatList_size32 =
  [@inline_let] let _ = assert_norm (LP.vldata_vlarray_precond 1 255 eCPointFormat_parser 1 255 == true) in
  LSZ.size32_vlarray 1 255 eCPointFormat_serializer 1 255 () 1ul 1ul

let eCPointFormatList_validator =
 LL.validate_vlarray 1 255 eCPointFormat_serializer eCPointFormat_validator 1 255 () 1ul

let eCPointFormatList_jumper =
 LL.jump_vlarray 1 255 eCPointFormat_serializer 1 255 () 1ul

let _ : squash (eCPointFormatList == LL.vlarray eCPointFormat 1 255) = _ by (FStar.Tactics.trefl ())

let finalize_eCPointFormatList #_ #_ sl pos pos' =
  LL.finalize_vlarray 1 255 eCPointFormat_serializer 1 255 sl pos pos'

let eCPointFormatList_count #_ #_ input pos = LL.vlarray_list_length 1 255 eCPointFormat_serializer 1 255 input pos

let eCPointFormatList_nth_ghost i = LL.vlarray_nth_ghost 1 255 eCPointFormat_serializer 1 255 i

let eCPointFormatList_nth i = LL.vlarray_nth 1 255 eCPointFormat_serializer 1 255 i
/
prims.fst.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.Tactics.Effect.fsti.checked FStar.Tactics.fst.checked FStar.Seq.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.ECPointFormatList.fst
x: MiTLS.Parsers.ECPointFormatList.eCPointFormatList
  -> FStar.Pervasives.Lemma
      (ensures
        MiTLS.Parsers.ECPointFormatList.eCPointFormatList_bytesize x ==
        1 + FStar.List.Tot.Base.length x * 1)
      [SMTPat (MiTLS.Parsers.ECPointFormatList.eCPointFormatList_bytesize x)]
MiTLS.Parsers.ECPointFormatList.eCPointFormatList LowParse.Spec.Array.length_serialize_vlarray MiTLS.Parsers.ECPointFormat.eCPointFormat_parser_kind MiTLS.Parsers.ECPointFormat.eCPointFormat MiTLS.Parsers.ECPointFormat.eCPointFormat_parser MiTLS.Parsers.ECPointFormat.eCPointFormat_serializer Prims.unit
let eCPointFormatList_bytesize_eqn x =
  
LP.length_serialize_vlarray 1 255 eCPointFormat_serializer 1 255 () x