val va_wpProof_Mem64_lemma : h:heaplet_id -> base:operand64 -> offset:int -> b:buffer64 ->
  index:int -> t:taint -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
  -> Ghost (va_state & va_fuel & unit)
  (requires (va_t_require va_s0 /\ va_wp_Mem64_lemma h base offset b index t va_s0 va_k))
  (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Mem64_lemma ()) ([]) va_s0 va_k
    ((va_sM, va_f0, va_g))))
let va_wpProof_Mem64_lemma h base offset b index t va_s0 va_k =
  let (va_sM, va_f0) = va_lemma_Mem64_lemma (va_code_Mem64_lemma ()) va_s0 h base offset b index t
    in
  va_lemma_upd_update va_sM;
  assert (va_state_eq va_sM (va_update_ok va_sM va_s0));
  va_lemma_norm_mods ([]) va_sM va_s0;
  let va_g = () in
  (va_sM, va_f0, va_g)
val va_wpProof_Mem64_lemma : h:heaplet_id -> base:operand64 -> offset:int -> b:buffer64 ->
  index:int -> t:taint -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
  -> Ghost (va_state & va_fuel & unit)
  (requires (va_t_require va_s0 /\ va_wp_Mem64_lemma h base offset b index t va_s0 va_k))
  (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Mem64_lemma ()) ([]) va_s0 va_k
    ((va_sM, va_f0, va_g))))
let va_wpProof_Mem64_lemma h base offset b index t va_s0 va_k =
let va_sM, va_f0 = va_lemma_Mem64_lemma (va_code_Mem64_lemma ()) va_s0 h base offset b index t in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_ok va_sM va_s0));
va_lemma_norm_mods ([]) va_sM va_s0;
let va_g = () in
(va_sM, va_f0, va_g)
Vale.X64.InsMem.fst.checked
Vale.X64.Taint_Semantics.fst.checked Vale.X64.StateLemmas.fsti.checked Vale.X64.Print_s.fst.checked Vale.X64.Memory_Sems.fsti.checked Vale.X64.Machine_Semantics_s.fst.checked Vale.X64.Instructions_s.fsti.checked Vale.X64.InsLemmas.fsti.checked Vale.X64.Decls.fst.checked Vale.Lib.Seqs.fsti.checked Vale.Def.Types_s.fst.checked Vale.Arch.HeapImpl.fsti.checked Vale.Arch.Heap.fsti.checked prims.fst.checked FStar.Seq.Base.fsti.checked FStar.Pervasives.Native.fst.checked FStar.Pervasives.fsti.checked
Vale.X64.InsMem.fst
Vale.Arch.HeapImpl.heaplet_id Vale.X64.Machine_s.operand64 Prims.int Vale.X64.Memory.buffer64 Vale.Arch.HeapTypes_s.taint Vale.X64.Decls.va_state Prims.unit Vale.X64.Decls.va_fuel FStar.Pervasives.Native.Mktuple3 Vale.X64.QuickCode.va_lemma_norm_mods Prims.Nil Vale.X64.QuickCode.mod_t Prims._assert Vale.X64.Decls.va_state_eq Vale.X64.Decls.va_update_ok Vale.X64.Decls.va_lemma_upd_update FStar.Pervasives.Native.tuple3 FStar.Pervasives.Native.tuple2 Vale.X64.State.vale_state Vale.X64.InsMem.va_lemma_Mem64_lemma Vale.X64.InsMem.va_code_Mem64_lemma
module Vale.X64.InsMem
open Vale.X64
open Vale.X64.StateLemmas
open Vale.X64.InsLemmas
open Vale.Arch.Heap
open Vale.Arch.HeapImpl
module I = Vale.X64.Instructions_s
module S = Vale.X64.Machine_Semantics_s
module P = Vale.X64.Print_s
open Vale.X64.Taint_Semantics

friend Vale.X64.Decls
#reset-options "--initial_fuel 2 --max_fuel 2 --max_ifuel 2 --z3rlimit 20"
//-- Mem64_in
//--
//-- Mem64_lemma

[@ "opaque_to_smt"]
let va_code_Mem64_lemma () =
  (va_Block (va_CNil ()))

[@ "opaque_to_smt"]
let va_codegen_success_Mem64_lemma () =
  (va_ttrue ())

[@"opaque_to_smt"]
let va_lemma_Mem64_lemma va_b0 va_s0 h base offset b index t =
  va_reveal_opaque (`%va_code_Mem64_lemma) (va_code_Mem64_lemma ());
  let (va_old_s:va_state) = va_s0 in
  let (va_b1:va_codes) = va_get_block va_b0 in
  let heap_h = va_get_mem_heaplet h va_s0 in
  lemma_opr_Mem64 h va_s0 base offset b index t;
  let (va_sM, va_fM) = va_lemma_empty_total va_s0 va_b1 in
  (va_sM, va_fM)
val va_wpProof_Mem64_lemma : h:heaplet_id -> base:operand64 -> offset:int -> b:buffer64 ->
  index:int -> t:taint -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
  -> Ghost (va_state & va_fuel & unit)
  (requires (va_t_require va_s0 /\ va_wp_Mem64_lemma h base offset b index t va_s0 va_k))
  (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Mem64_lemma ()) ([]) va_s0 va_k
    ((va_sM, va_f0, va_g))))

    h: Vale.Arch.HeapImpl.heaplet_id ->
    base: Vale.X64.Machine_s.operand64 ->
    offset: Prims.int ->
    b: Vale.X64.Memory.buffer64 ->
    index: Prims.int ->
    t: Vale.Arch.HeapTypes_s.taint ->
    va_s0: Vale.X64.Decls.va_state ->
    va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
  -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)