-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
module Bug3236 | ||
|
||
#set-options "--defensive error" | ||
|
||
open FStar.Tactics.V2 | ||
|
||
val fa_cong : unit -> unit | ||
let fa_cong (u1:unit) = | ||
let do1 (u2:unit) : Tac unit = | ||
let t = (`()) in | ||
let l = Cons #term t Nil in | ||
() | ||
in | ||
() | ||
|
||
val ex_cong : unit -> unit | ||
let ex_cong () = | ||
let t () : Tac unit = | ||
admit(); | ||
let [ex] = l_intros () in | ||
() | ||
in | ||
() | ||
|
||
val is_true : term -> Tac bool | ||
let is_true t = | ||
begin match term_as_formula' t with | ||
| True_ -> true | ||
| x1 -> begin match inspect t with | ||
| Tv_App l r -> true | ||
| x2 -> false | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters