Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Abhishek Anand
Iris
Commits
34f64c8d
Commit
34f64c8d
authored
6 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
remove big_opL from prettification list
List literals reduce with a spurious `emp` at the end, which is not pretty.
parent
aa6ecfbb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/proofmode.ref
+26
-0
26 additions, 0 deletions
tests/proofmode.ref
tests/proofmode.v
+2
-2
2 additions, 2 deletions
tests/proofmode.v
theories/proofmode/reduction.v
+1
-1
1 addition, 1 deletion
theories/proofmode/reduction.v
with
29 additions
and
3 deletions
tests/proofmode.ref
+
26
−
0
View file @
34f64c8d
...
...
@@ -100,6 +100,19 @@ Tactic failure: iFrame: cannot frame Q.
--------------------------------------∗
□ P
1 subgoal
PROP : sbi
x : nat
l : list nat
P : PROP
============================
"HP" : P
_ : [∗ list] y ∈ l, <affine> ⌜y = y⌝
_ : [∗ list] y ∈ (x :: l), <affine> ⌜y = y⌝
--------------------------------------∗
P
1 subgoal
PROP : sbi
...
...
@@ -113,6 +126,19 @@ Tactic failure: iFrame: cannot frame Q.
--------------------------------------∗
P
1 subgoal
PROP : sbi
x1, x2 : nat
l1, l2 : list nat
P : PROP
============================
"HP" : P
_ : [∗ list] y1;y2 ∈ [];l2, <affine> ⌜y1 = y2⌝
_ : [∗ list] y1;y2 ∈ (x1 :: l1);((x2 :: l2) ++ l2), <affine> ⌜y1 = y2⌝
--------------------------------------∗
P ∨ ([∗ list] _;_ ∈ (x1 :: l1);(x2 :: l2), True)
1 subgoal
PROP : sbi
...
...
This diff is collapsed.
Click to expand it.
tests/proofmode.v
+
2
−
2
View file @
34f64c8d
...
...
@@ -490,14 +490,14 @@ Lemma test_big_sepL_simpl x (l : list nat) P :
([
∗
list
]
k
↦
y
∈
l
,
<
affine
>
⌜
y
=
y
⌝
)
-∗
([
∗
list
]
y
∈
x
::
l
,
<
affine
>
⌜
y
=
y
⌝
)
-∗
P
.
Proof
.
iIntros
"HP ??"
.
Show
.
done
.
Qed
.
Proof
.
iIntros
"HP ??"
.
Show
.
simpl
.
Show
.
done
.
Qed
.
Lemma
test_big_sepL2_simpl
x1
x2
(
l1
l2
:
list
nat
)
P
:
P
-∗
([
∗
list
]
k
↦
y1
;
y2
∈
[];
l2
,
<
affine
>
⌜
y1
=
y2
⌝
)
-∗
([
∗
list
]
y1
;
y2
∈
x1
::
l1
;
(
x2
::
l2
)
++
l2
,
<
affine
>
⌜
y1
=
y2
⌝
)
-∗
P
∨
([
∗
list
]
y1
;
y2
∈
x1
::
l1
;
x2
::
l2
,
True
)
.
Proof
.
iIntros
"HP ??
/="
.
Show
.
by
iLeft
.
Qed
.
Proof
.
iIntros
"HP ??
"
.
Show
.
simpl
.
Show
.
by
iLeft
.
Qed
.
Lemma
test_big_sepL2_iDestruct
(
Φ
:
nat
→
nat
→
PROP
)
x1
x2
(
l1
l2
:
list
nat
)
:
([
∗
list
]
y1
;
y2
∈
x1
::
l1
;
x2
::
l2
,
Φ
y1
y2
)
-∗
...
...
This diff is collapsed.
Click to expand it.
theories/proofmode/reduction.v
+
1
−
1
View file @
34f64c8d
...
...
@@ -22,7 +22,7 @@ Declare Reduction pm_cbn := cbn [
tele_fold
tele_bind
tele_app
(* BI connectives *)
bi_persistently_if
bi_affinely_if
bi_intuitionistically_if
bi_wandM
sbi_laterN
big_opL
bi_wandM
sbi_laterN
bi_tforall
bi_texist
]
.
Ltac
pm_eval
t
:=
...
...
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