val descendent_hash_case_of_voption (x: voption) : Type0
val descendent_hash_case_of_voption (x: voption) : Type0
let descendent_hash_case_of_voption (x:voption) : Type0 =
  match x with
  | Vnone -> unit
  | Vsome -> descendent_hash_desc
module Zeta.Formats.Aux.Descendent_hash

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

friend Zeta.Formats.Aux.Voption

// Need high Z3 limits for large sum types
#set-options "--z3rlimit 120"

inline_for_extraction unfold let voption_as_enum_key (x:voption) : Pure (LP.enum_key voption_enum)
  (requires norm [delta; zeta; iota; primops] (LP.list_mem x (LP.list_map fst voption_enum)) == true) (ensures fun _ -> True) =
  [@inline_let] let _ = norm_spec [delta; zeta; iota; primops] (LP.list_mem x (LP.list_map fst voption_enum)) in x

inline_for_extraction let key_of_descendent_hash (x:descendent_hash) : LP.enum_key voption_enum =
  match x with
  | Dh_vnone _ -> voption_as_enum_key Vnone
  | Dh_vsome _ -> voption_as_enum_key Vsome
/
Zeta.Formats.Aux.Voption.fst.checked 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.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.fst
x: Zeta.Formats.Aux.Voption.voption -> Type0
Zeta.Formats.Aux.Voption.voption Prims.unit Zeta.Formats.Aux.Descendent_hash_desc.descendent_hash_desc
let descendent_hash_case_of_voption (x: voption) : Type0 =
  
match x with
| Vnone -> unit
| Vsome -> descendent_hash_desc