Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
stdpp
Commits
b6d58ca6
Commit
b6d58ca6
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Support `||` in `naive_solver`.
parent
a2a2d978
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/tactics.v
+3
-0
3 additions, 0 deletions
theories/tactics.v
with
3 additions
and
0 deletions
theories/tactics.v
+
3
−
0
View file @
b6d58ca6
...
@@ -517,6 +517,8 @@ Tactic Notation "naive_solver" tactic(tac) :=
...
@@ -517,6 +517,8 @@ Tactic Notation "naive_solver" tactic(tac) :=
|
|
-
Is_true
(_
&&
_)
=>
apply
andb_True
;
split
|
|
-
Is_true
(_
&&
_)
=>
apply
andb_True
;
split
|
H
:
_
∨
_
|
-
_
=>
|
H
:
_
∨
_
|
-
_
=>
let
H1
:=
fresh
in
destruct
H
as
[
H1
|
H1
];
try
clear
H
let
H1
:=
fresh
in
destruct
H
as
[
H1
|
H1
];
try
clear
H
|
H
:
Is_true
(_
||
_)
|
-
_
=>
apply
orb_True
in
H
;
let
H1
:=
fresh
in
destruct
H
as
[
H1
|
H1
];
try
clear
H
(**i solve the goal using the user supplied tactic *)
(**i solve the goal using the user supplied tactic *)
|
|
-
_
=>
solve
[
tac
]
|
|
-
_
=>
solve
[
tac
]
end
;
end
;
...
@@ -525,6 +527,7 @@ Tactic Notation "naive_solver" tactic(tac) :=
...
@@ -525,6 +527,7 @@ Tactic Notation "naive_solver" tactic(tac) :=
(**i instantiation of the conclusion *)
(**i instantiation of the conclusion *)
|
|
-
∃
x
,
_
=>
no_new_unsolved_evars
ltac
:(
eexists
;
go
n
)
|
|
-
∃
x
,
_
=>
no_new_unsolved_evars
ltac
:(
eexists
;
go
n
)
|
|
-
_
∨
_
=>
first
[
left
;
go
n
|
right
;
go
n
]
|
|
-
_
∨
_
=>
first
[
left
;
go
n
|
right
;
go
n
]
|
|
-
Is_true
(_
||
_)
=>
apply
orb_True
;
first
[
left
;
go
n
|
right
;
go
n
]
|
_
=>
|
_
=>
(**i instantiations of assumptions. *)
(**i instantiations of assumptions. *)
lazymatch
n
with
lazymatch
n
with
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment