val forall_intro : #a:Type -> #p:(a -> Type) ->
  $f:(x:a -> Lemma (p x)) -> Lemma (x:a -> GTot (p x))
let forall_intro #a #p f =
  let ff : (x:a -> GTot (squash (p x))) = (fun x -> f x; get_proof (p x)) in
  give_proof #(x:a -> GTot (p x)) (squash_arrow #a #p ff)
val forall_intro : #a:Type -> #p:(a -> Type) ->
  $f:(x:a -> Lemma (p x)) -> Lemma (x:a -> GTot (p x))
let forall_intro #a #p f =
let ff:(x: a -> GTot (squash (p x))) =
  (fun x ->
      f x;
      get_proof (p x))
in
give_proof #(x: a -> GTot (p x)) (squash_arrow #a #p ff)
FStar.SquashProperties.fst.checked
prims.fst.checked FStar.Squash.fsti.checked FStar.Pervasives.fsti.checked FStar.Constructive.fst.checked
FStar.SquashProperties.fst
Prims.unit Prims.l_True Prims.squash Prims.Nil FStar.Pervasives.pattern FStar.Squash.give_proof FStar.SquashProperties.squash_arrow FStar.Squash.get_proof
(*
   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.SquashProperties

open FStar.Constructive

open FStar.Squash

val join_squash : #a:Type -> squash (squash a) -> GTot (squash a)
let join_squash #a s = bind_squash #(squash a) #a s (fun x -> x)

val squash_arrow : #a:Type -> #p:(a -> Type) ->
  $f:(x:a -> GTot (squash (p x))) -> GTot (squash (x:a -> GTot (p x)))
let squash_arrow #a #p f = squash_double_arrow (return_squash f)

val forall_intro : #a:Type -> #p:(a -> Type) ->
val forall_intro : #a:Type -> #p:(a -> Type) ->
  $f:(x:a -> Lemma (p x)) -> Lemma (x:a -> GTot (p x))
$f: (x: a -> FStar.Pervasives.Lemma (ensures p x))
  -> FStar.Pervasives.Lemma (ensures x: a -> Prims.GTot (p x))