val clens_descendent_hash_desc_dhd_h:LL.clens descendent_hash_desc hash_value
val clens_descendent_hash_desc_dhd_h:LL.clens descendent_hash_desc hash_value
let clens_descendent_hash_desc_dhd_h : LL.clens descendent_hash_desc hash_value = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.dhd_h);
}
module Zeta.Formats.Aux.Descendent_hash_desc

(* 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 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 Zeta.Formats.Aux.Base_key
open Zeta.Formats.Aux.Hash_value
open Zeta.Formats.Aux.Vbool

type descendent_hash_desc = {
  dhd_key : base_key;
  dhd_h : hash_value;
  evicted_to_blum : vbool;
}

inline_for_extraction noextract let descendent_hash_desc_parser_kind = LP.strong_parser_kind 67 67 None

noextract val descendent_hash_desc_parser: LP.parser descendent_hash_desc_parser_kind descendent_hash_desc

noextract val descendent_hash_desc_serializer: LP.serializer descendent_hash_desc_parser

noextract val descendent_hash_desc_bytesize (x:descendent_hash_desc) : GTot nat

noextract val descendent_hash_desc_bytesize_eq (x:descendent_hash_desc) : Lemma (descendent_hash_desc_bytesize x == Seq.length (LP.serialize descendent_hash_desc_serializer x))

val descendent_hash_desc_size32: LSZ.size32 descendent_hash_desc_serializer

val descendent_hash_desc_validator: LL.validator descendent_hash_desc_parser

let descendent_hash_desc_jumper: LL.jumper descendent_hash_desc_parser = LL.jump_constant_size descendent_hash_desc_parser 67ul ()

val descendent_hash_desc_reader : LL.leaf_reader descendent_hash_desc_parser

val descendent_hash_desc_lserializer : LL.serializer32 descendent_hash_desc_serializer

val descendent_hash_desc_bytesize_eqn (x: descendent_hash_desc) : Lemma (descendent_hash_desc_bytesize x == (base_key_bytesize (x.dhd_key)) + (hash_value_bytesize (x.dhd_h)) + (vbool_bytesize (x.evicted_to_blum))) [SMTPat (descendent_hash_desc_bytesize x)]

noextract let clens_descendent_hash_desc_dhd_key : LL.clens descendent_hash_desc base_key = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.dhd_key);
}
/
Zeta.Formats.Aux.Vbool.fsti.checked Zeta.Formats.Aux.Hash_value.fsti.checked Zeta.Formats.Aux.Base_key.fsti.checked prims.fst.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
Zeta.Formats.Aux.Descendent_hash_desc.fsti
LowParse.Low.Base.Spec.clens Zeta.Formats.Aux.Descendent_hash_desc.descendent_hash_desc
  Zeta.Formats.Aux.Hash_value.hash_value
LowParse.Low.Base.Spec.Mkclens Zeta.Formats.Aux.Descendent_hash_desc.descendent_hash_desc Zeta.Formats.Aux.Hash_value.hash_value Prims.l_True Zeta.Formats.Aux.Descendent_hash_desc.__proj__Mkdescendent_hash_desc__item__dhd_h
let clens_descendent_hash_desc_dhd_h:LL.clens descendent_hash_desc hash_value =
  
{ LL.clens_cond = (fun _ -> True); LL.clens_get = (fun x -> x.dhd_h) }