Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Terraform modules
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
Pierre Roux
Iris
Commits
fee2a24e
Commit
fee2a24e
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
test setoid_rewrite on inv_mapsto
parent
83beac4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/heap_lang.ref
+9
-0
9 additions, 0 deletions
tests/heap_lang.ref
tests/heap_lang.v
+10
-2
10 additions, 2 deletions
tests/heap_lang.v
with
19 additions
and
2 deletions
tests/heap_lang.ref
+
9
−
0
View file @
fee2a24e
...
@@ -113,6 +113,15 @@ Tactic failure: wp_pure: cannot find ?y in (Var "x") or
...
@@ -113,6 +113,15 @@ Tactic failure: wp_pure: cannot find ?y in (Var "x") or
--------------------------------------∗
--------------------------------------∗
l ↦∗{1 / 2} vs ∗ l ↦∗{1 / 2} vs
l ↦∗{1 / 2} vs ∗ l ↦∗{1 / 2} vs
1 subgoal
Σ : gFunctors
heapG0 : heapG Σ
l : loc
f : val → Prop
Heq : ∀ v : val, f v ↔ f #true
============================
⊢ l ↦□ (λ _ : val, f #true)
1 subgoal
1 subgoal
Σ : gFunctors
Σ : gFunctors
...
...
This diff is collapsed.
Click to expand it.
tests/heap_lang.v
+
10
−
2
View file @
fee2a24e
...
@@ -220,13 +220,21 @@ Section tests.
...
@@ -220,13 +220,21 @@ Section tests.
End
tests
.
End
tests
.
Section
notation
_tests
.
Section
inv_mapsto
_tests
.
Context
`{
!
heapG
Σ
}
.
Context
`{
!
heapG
Σ
}
.
(* Make sure these parse and type-check. *)
(* Make sure these parse and type-check. *)
Lemma
inv_mapsto_own_test
(
l
:
loc
)
:
⊢
l
↦_
(
λ
_,
True
)
#
5
.
Abort
.
Lemma
inv_mapsto_own_test
(
l
:
loc
)
:
⊢
l
↦_
(
λ
_,
True
)
#
5
.
Abort
.
Lemma
inv_mapsto_test
(
l
:
loc
)
:
⊢
l
↦□
(
λ
_,
True
)
.
Abort
.
Lemma
inv_mapsto_test
(
l
:
loc
)
:
⊢
l
↦□
(
λ
_,
True
)
.
Abort
.
End
notation_tests
.
(* Make sure [setoid_rewrite] works. *)
Lemma
inv_mapsto_setoid_rewrite
(
l
:
loc
)
(
f
:
val
→
Prop
)
:
(
∀
v
,
f
v
↔
f
#
true
)
→
⊢
l
↦□
(
λ
v
,
f
v
)
.
Proof
.
iIntros
(
Heq
)
.
setoid_rewrite
Heq
.
Show
.
Abort
.
End
inv_mapsto_tests
.
Section
printing_tests
.
Section
printing_tests
.
Context
`{
!
heapG
Σ
}
.
Context
`{
!
heapG
Σ
}
.
...
...
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