val tac_return_wp (#a: Type) (x: a) : tac_wp_t a
let tac_return_wp (#a:Type) (x:a) : tac_wp_t a =
  fun ps post -> post (Success x ps)
val tac_return_wp (#a: Type) (x: a) : tac_wp_t a
let tac_return_wp (#a: Type) (x: a) : tac_wp_t a =
fun ps post -> post (Success x ps)
FStar.Tactics.Effect.fsti.checked
prims.fst.checked FStar.Tactics.Types.fsti.checked FStar.Tactics.Result.fsti.checked FStar.Reflection.Types.fsti.checked FStar.Range.fsti.checked FStar.Pervasives.fsti.checked FStar.Monotonic.Pure.fst.checked
FStar.Tactics.Effect.fsti
FStar.Tactics.Types.proofstate FStar.Tactics.Result.__result FStar.Tactics.Result.Success FStar.Tactics.Effect.tac_wp_t
(*
   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.Tactics.Effect

open FStar.Monotonic.Pure

open FStar.Reflection.Types
open FStar.Tactics.Types
open FStar.Tactics.Result

(* This module is extracted, don't add any `assume val`s or extraction
 * will break. (`synth_by_tactic` is fine) *)

type tac_wp_t0 (a:Type) =
  proofstate -> (__result a -> Type0) -> Type0

unfold
let tac_wp_monotonic (#a:Type) (wp:tac_wp_t0 a) =
  forall (ps:proofstate) (p q:__result a -> Type0).
    (forall x. p x ==> q x) ==> (wp ps p ==> wp ps q)

type tac_wp_t (a:Type) = wp:tac_wp_t0 a{tac_wp_monotonic wp}

let tac_repr (a:Type) (wp:tac_wp_t a) =
  ps0:proofstate -> DIV (__result a) (as_pure_wp (wp ps0))

unfold
val tac_return_wp (#a: Type) (x: a) : tac_wp_t a
x: a -> FStar.Tactics.Effect.tac_wp_t a