val evictb_payload'_reader:LL.leaf_reader evictb_payload'_parser
val evictb_payload'_reader:LL.leaf_reader evictb_payload'_parser
let evictb_payload'_reader : LL.leaf_reader evictb_payload'_parser = (LL.read_nondep_then slot_id_jumper slot_id_reader timestamp_reader)
module Zeta.Formats.Aux.Evictb_payload

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

type evictb_payload' = (slot_id & timestamp)

inline_for_extraction let synth_evictb_payload (x: evictb_payload') : evictb_payload =
  match x with (evictb_s,evictb_t) -> {
    evictb_s = evictb_s;
    evictb_t = evictb_t;
  }

inline_for_extraction let synth_evictb_payload_recip (x: evictb_payload) : evictb_payload' = (x.evictb_s,x.evictb_t)

let synth_evictb_payload_recip_inverse () : Lemma (LP.synth_inverse synth_evictb_payload_recip synth_evictb_payload) = ()

let synth_evictb_payload_injective () : Lemma (LP.synth_injective synth_evictb_payload) =
  LP.synth_inverse_synth_injective synth_evictb_payload_recip synth_evictb_payload;
  synth_evictb_payload_recip_inverse ()

let synth_evictb_payload_inverse () : Lemma (LP.synth_inverse synth_evictb_payload synth_evictb_payload_recip) =
  assert_norm (LP.synth_inverse synth_evictb_payload synth_evictb_payload_recip)

let synth_evictb_payload_recip_injective () : Lemma (LP.synth_injective synth_evictb_payload_recip) =
  synth_evictb_payload_recip_inverse ();
  LP.synth_inverse_synth_injective synth_evictb_payload synth_evictb_payload_recip

noextract let evictb_payload'_parser : LP.parser _ evictb_payload' = (slot_id_parser `LP.nondep_then` timestamp_parser)

noextract let evictb_payload'_parser_kind = LP.get_parser_kind evictb_payload'_parser

let evictb_payload_parser =
  synth_evictb_payload_injective ();
  assert_norm (evictb_payload_parser_kind == evictb_payload'_parser_kind);
  evictb_payload'_parser `LP.parse_synth` synth_evictb_payload

noextract let evictb_payload'_serializer : LP.serializer evictb_payload'_parser = (slot_id_serializer `LP.serialize_nondep_then` timestamp_serializer)

let evictb_payload_serializer =
  [@inline_let] let _ = synth_evictb_payload_injective () in
  [@inline_let] let _ = synth_evictb_payload_inverse () in
  [@inline_let] let _ = assert_norm (evictb_payload_parser_kind == evictb_payload'_parser_kind) in
  LP.serialize_synth _ synth_evictb_payload evictb_payload'_serializer synth_evictb_payload_recip ()

let evictb_payload_bytesize (x:evictb_payload) : GTot nat = Seq.length (evictb_payload_serializer x)

let evictb_payload_bytesize_eq x = ()

inline_for_extraction let evictb_payload'_size32 : LSZ.size32 evictb_payload'_serializer = (slot_id_size32 `LSZ.size32_nondep_then` timestamp_size32)

let evictb_payload_size32 =
  [@inline_let] let _ = synth_evictb_payload_injective () in
  [@inline_let] let _ = synth_evictb_payload_inverse () in
  [@inline_let] let _ = assert_norm (evictb_payload_parser_kind == evictb_payload'_parser_kind) in
  LSZ.size32_synth _ synth_evictb_payload _ evictb_payload'_size32 synth_evictb_payload_recip (fun x -> synth_evictb_payload_recip x) ()
/
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.Native.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.Evictb_payload.fst
LowParse.Low.Base.leaf_reader Zeta.Formats.Aux.Evictb_payload.evictb_payload'_parser
LowParse.Low.Combinators.read_nondep_then Zeta.Formats.Aux.Slot_id.slot_id_parser_kind Zeta.Formats.Aux.Slot_id.slot_id Zeta.Formats.Aux.Slot_id.slot_id_parser Zeta.Formats.Aux.Slot_id.slot_id_jumper Zeta.Formats.Aux.Slot_id.slot_id_reader Zeta.Formats.Aux.Timestamp.timestamp_parser_kind Zeta.Formats.Aux.Timestamp.timestamp Zeta.Formats.Aux.Timestamp.timestamp_parser Zeta.Formats.Aux.Timestamp.timestamp_reader
let evictb_payload'_reader:LL.leaf_reader evictb_payload'_parser =
  
(LL.read_nondep_then slot_id_jumper slot_id_reader timestamp_reader)