val includes_gcell_gen
  (#t: typ)
  (p: pointer t)
  (#length: array_length_t)
  (#value: typ)
  (q: pointer (TArray length value))
  (i: UInt32.t)
: Lemma
  (requires (includes p q /\ UInt32.v i < UInt32.v length))
  (ensures (UInt32.v i < UInt32.v length /\ includes p (gcell q i)))
  [SMTPat (includes p (gcell q i))]
let includes_gcell_gen #t p #length #value q i =
  includes_gcell q i;
  includes_trans p q (gcell q i)
val includes_gcell_gen
  (#t: typ)
  (p: pointer t)
  (#length: array_length_t)
  (#value: typ)
  (q: pointer (TArray length value))
  (i: UInt32.t)
: Lemma
  (requires (includes p q /\ UInt32.v i < UInt32.v length))
  (ensures (UInt32.v i < UInt32.v length /\ includes p (gcell q i)))
  [SMTPat (includes p (gcell q i))]
let includes_gcell_gen #t p #length #value q i =
includes_gcell q i;
includes_trans p q (gcell q i)
FStar.Pointer.Derived1.fst.checked
prims.fst.checked FStar.UInt32.fsti.checked FStar.Seq.fst.checked FStar.Pervasives.fsti.checked FStar.HyperStack.ST.fsti.checked FStar.HyperStack.fst.checked
FStar.Pointer.Derived1.fst
FStar.Pointer.Base.typ FStar.Pointer.Base.pointer FStar.Pointer.Base.array_length_t FStar.Pointer.Base.TArray FStar.UInt32.t FStar.Pointer.Base.includes_trans FStar.Pointer.Base.gcell Prims.unit FStar.Pointer.Base.includes_gcell
(*
   Copyright 2008-2018 Microsoft Research

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*)
module FStar.Pointer.Derived1

module HH = FStar.HyperStack
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST

let includes_gfield_gen #t p #l q fd =
  includes_gfield q fd;
  includes_trans p q (gfield q fd)

let includes_gufield_gen #t p #l q fd =
  includes_gufield q fd;
  includes_trans p q (gufield q fd)
val includes_gcell_gen
  (#t: typ)
  (p: pointer t)
  (#length: array_length_t)
  (#value: typ)
  (q: pointer (TArray length value))
  (i: UInt32.t)
: Lemma
  (requires (includes p q /\ UInt32.v i < UInt32.v length))
  (ensures (UInt32.v i < UInt32.v length /\ includes p (gcell q i)))
  [SMTPat (includes p (gcell q i))]

    p: FStar.Pointer.Base.pointer t ->
    q: FStar.Pointer.Base.pointer (FStar.Pointer.Base.TArray length value) ->
    i: FStar.UInt32.t
  -> FStar.Pervasives.Lemma
      (requires FStar.Pointer.Base.includes p q /\ FStar.UInt32.v i < FStar.UInt32.v length)
      (ensures
        FStar.UInt32.v i < FStar.UInt32.v length /\
        FStar.Pointer.Base.includes p (FStar.Pointer.Base.gcell q i))
      [SMTPat (FStar.Pointer.Base.includes p (FStar.Pointer.Base.gcell q i))]