val clens_alert_level:LL.clens alert alertLevel
let clens_alert_level : LL.clens alert alertLevel = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.level);
}
val clens_alert_level:LL.clens alert alertLevel
let clens_alert_level:LL.clens alert alertLevel =
{ LL.clens_cond = (fun _ -> True); LL.clens_get = (fun x -> x.level) }
Parsers.Alert.fsti.checked
prims.fst.checked Parsers.AlertLevel.fsti.checked Parsers.AlertDescription.fsti.checked LowStar.Buffer.fst.checked LowParse.Spec.Base.fsti.checked LowParse.Spec.AllIntegers.fst.checked LowParse.SLow.Base.fst.checked LowParse.Low.Base.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
Parsers.Alert.fsti
LowParse.Low.Base.Spec.Mkclens Parsers.Alert.alert Parsers.AlertLevel.alertLevel Prims.l_True Parsers.Alert.__proj__Mkalert__item__level
module Parsers.Alert

(* 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.Base
module LS = LowParse.SLow.Base
module LSZ = LowParse.SLow.Base
module LPI = LowParse.Spec.AllIntegers
module LL = LowParse.Low.Base
module L = FStar.List.Tot
module B = LowStar.Buffer
module BY = FStar.Bytes
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST

open Parsers.AlertLevel
open Parsers.AlertDescription

type alert = {
  level : alertLevel;
  description : alertDescription;
}

inline_for_extraction noextract let alert_parser_kind = LP.strong_parser_kind 2 2 None

noextract val alert_parser: LP.parser alert_parser_kind alert

noextract val alert_serializer: LP.serializer alert_parser

noextract val alert_bytesize (x:alert) : GTot nat

noextract val alert_bytesize_eq (x:alert) : Lemma (alert_bytesize x == Seq.length (LP.serialize alert_serializer x))

val alert_parser32: LS.parser32 alert_parser

val alert_serializer32: LS.serializer32 alert_serializer

val alert_size32: LSZ.size32 alert_serializer

val alert_validator: LL.validator alert_parser

let alert_jumper: LL.jumper alert_parser = LL.jump_constant_size alert_parser 2ul ()

val alert_reader : LL.leaf_reader alert_parser

val alert_lserializer : LL.serializer32 alert_serializer

val alert_bytesize_eqn (x: alert) : Lemma (alert_bytesize x == (alertLevel_bytesize (x.level)) + (alertDescription_bytesize (x.description))) [SMTPat (alert_bytesize x)]
val clens_alert_level:LL.clens alert alertLevel
LowParse.Low.Base.Spec.clens Parsers.Alert.alert Parsers.AlertLevel.alertLevel