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
f1a4f71c
Commit
f1a4f71c
authored
3 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
prefer Hint Resolve over Hint Extern
parent
a9c8861d
No related branches found
No related tags found
1 merge request
!303
solve_ndisj: handle goals containing _ ∖ _ ∖ _
Pipeline
#50909
passed
3 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/namespaces.v
+5
-2
5 additions, 2 deletions
theories/namespaces.v
with
5 additions
and
2 deletions
theories/namespaces.v
+
5
−
2
View file @
f1a4f71c
...
@@ -111,8 +111,11 @@ Global Hint Extern 10 (_ ## (_ ∖ _)) =>
...
@@ -111,8 +111,11 @@ Global Hint Extern 10 (_ ## (_ ∖ _)) =>
end
:
ndisj
.
end
:
ndisj
.
(** Before we apply disjoint_difference, let's make sure we normalize the goal
(** Before we apply disjoint_difference, let's make sure we normalize the goal
to [_ ∖ (_ ∪ _)]. *)
to [_ ∖ (_ ∪ _)]. *)
Global
Hint
Extern
20
((
?X
∖
?Y
∖
?Z
)
##
_)
=>
Local
Lemma
coPset_difference_difference
(
X1
X2
X3
Y
:
coPset
)
:
rewrite
(
difference_difference_L
(
C
:=
coPset
)
X
Y
Z
)
:
ndisj
.
X1
∖
(
X2
∪
X3
)
##
Y
→
X1
∖
X2
∖
X3
##
Y
.
Proof
.
set_solver
.
Qed
.
Global
Hint
Resolve
coPset_difference_difference
|
20
:
ndisj
.
(** Fallback, loses lots of information but lets other rules make progress.
(** Fallback, loses lots of information but lets other rules make progress.
Tests show trying [disjoint_difference_l1] first gives better performance. *)
Tests show trying [disjoint_difference_l1] first gives better performance. *)
Local
Definition
coPset_disjoint_difference_l1
:=
disjoint_difference_l1
(
C
:=
coPset
)
.
Local
Definition
coPset_disjoint_difference_l1
:=
disjoint_difference_l1
(
C
:=
coPset
)
.
...
...
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