val includes_gufield_gen
  (#t: typ)
  (p: pointer t)
  (#l: union_typ)
  (q: pointer (TUnion l))
  (fd: struct_field l)
: Lemma
  (requires (includes p q))
  (ensures (includes p (gufield q fd)))
  [SMTPat (includes p (gufield q fd))]
let includes_gufield_gen #t p #l q fd =
  includes_gufield q fd;
  includes_trans p q (gufield q fd)
val includes_gufield_gen
  (#t: typ)
  (p: pointer t)
  (#l: union_typ)
  (q: pointer (TUnion l))
  (fd: struct_field l)
: Lemma
  (requires (includes p q))
  (ensures (includes p (gufield q fd)))
  [SMTPat (includes p (gufield q fd))]
let includes_gufield_gen #t p #l q fd =
includes_gufield q fd;
includes_trans p q (gufield q fd)
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.union_typ FStar.Pointer.Base.TUnion FStar.Pointer.Base.struct_field FStar.Pointer.Base.includes_trans FStar.Pointer.Base.typ_of_struct_field FStar.Pointer.Base.gufield Prims.unit FStar.Pointer.Base.includes_gufield
(*
   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)
val includes_gufield_gen
  (#t: typ)
  (p: pointer t)
  (#l: union_typ)
  (q: pointer (TUnion l))
  (fd: struct_field l)
: Lemma
  (requires (includes p q))
  (ensures (includes p (gufield q fd)))
  [SMTPat (includes p (gufield q fd))]

    p: FStar.Pointer.Base.pointer t ->
    q: FStar.Pointer.Base.pointer (FStar.Pointer.Base.TUnion l) ->
    fd: FStar.Pointer.Base.struct_field l
  -> FStar.Pervasives.Lemma (requires FStar.Pointer.Base.includes p q)
      (ensures FStar.Pointer.Base.includes p (FStar.Pointer.Base.gufield q fd))
      [SMTPat (FStar.Pointer.Base.includes p (FStar.Pointer.Base.gufield q fd))]