val clientHelloExtension_e_max_fragment_length_bytesize_eqn (x: clientHelloExtension_e_max_fragment_length) : Lemma (clientHelloExtension_e_max_fragment_length_bytesize x == 2 + (maxFragmentLength_bytesize (x))) [SMTPat (clientHelloExtension_e_max_fragment_length_bytesize x)]
val clientHelloExtension_e_max_fragment_length_bytesize_eqn (x: clientHelloExtension_e_max_fragment_length) : Lemma (clientHelloExtension_e_max_fragment_length_bytesize x == 2 + (maxFragmentLength_bytesize (x))) [SMTPat (clientHelloExtension_e_max_fragment_length_bytesize x)]
let clientHelloExtension_e_max_fragment_length_bytesize_eqn x =
  (maxFragmentLength_bytesize_eq (x))
module MiTLS.Parsers.ClientHelloExtension_e_max_fragment_length

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

let clientHelloExtension_e_max_fragment_length_parser =
  LP.parse_bounded_vldata 0 65535 maxFragmentLength_parser

let clientHelloExtension_e_max_fragment_length_serializer =
  LP.serialize_bounded_vldata 0 65535 maxFragmentLength_serializer

let clientHelloExtension_e_max_fragment_length_bytesize (x:clientHelloExtension_e_max_fragment_length) : GTot nat = Seq.length (clientHelloExtension_e_max_fragment_length_serializer x)

let clientHelloExtension_e_max_fragment_length_bytesize_eq x = ()

let clientHelloExtension_e_max_fragment_length_parser32 =
  LS.parse32_bounded_vldata 0 0ul 65535 65535ul maxFragmentLength_parser32

let clientHelloExtension_e_max_fragment_length_serializer32 =
  LS.serialize32_bounded_vldata 0 65535 maxFragmentLength_serializer32

let clientHelloExtension_e_max_fragment_length_size32 =
  LSZ.size32_bounded_vldata 0 65535 maxFragmentLength_size32 2ul

let clientHelloExtension_e_max_fragment_length_validator =
  LL.validate_bounded_vldata 0 65535 maxFragmentLength_validator ()

let clientHelloExtension_e_max_fragment_length_gaccessor = LL.gaccessor_bounded_vldata_payload 0 65535 maxFragmentLength_parser

let clientHelloExtension_e_max_fragment_length_accessor = LL.accessor_bounded_vldata_payload 0 65535 maxFragmentLength_parser

let clientHelloExtension_e_max_fragment_length_finalize #_ #_ input pos pos' =
  LL.finalize_bounded_vldata 0 65535 maxFragmentLength_parser input pos pos'
/
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.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.ClientHelloExtension_e_max_fragment_length.fst

    x:
      MiTLS.Parsers.ClientHelloExtension_e_max_fragment_length.clientHelloExtension_e_max_fragment_length
  -> FStar.Pervasives.Lemma
      (ensures
        MiTLS.Parsers.ClientHelloExtension_e_max_fragment_length.clientHelloExtension_e_max_fragment_length_bytesize
          x ==
        2 + MiTLS.Parsers.MaxFragmentLength.maxFragmentLength_bytesize x)
      [
        SMTPat (MiTLS.Parsers.ClientHelloExtension_e_max_fragment_length.clientHelloExtension_e_max_fragment_length_bytesize
              x)
      ]
MiTLS.Parsers.ClientHelloExtension_e_max_fragment_length.clientHelloExtension_e_max_fragment_length MiTLS.Parsers.MaxFragmentLength.maxFragmentLength_bytesize_eq Prims.unit
let clientHelloExtension_e_max_fragment_length_bytesize_eqn x =
  
(maxFragmentLength_bytesize_eq (x))