Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cfml
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CHARGUERAUD Arthur
cfml
Commits
5f5094da
Commit
5f5094da
authored
Jun 11, 2018
by
Armaël Guéneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix xspec for record operations in presence of several records
parent
410635e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/coq/CFTactics.v
lib/coq/CFTactics.v
+4
-4
No files found.
lib/coq/CFTactics.v
View file @
5f5094da
...
@@ -2895,17 +2895,17 @@ Ltac xspec_record_set_compute_for f w L :=
...
@@ -2895,17 +2895,17 @@ Ltac xspec_record_set_compute_for f w L :=
[
reflexivity
|
revert
G
].
[
reflexivity
|
revert
G
].
(
*
extract
the
record
contents
*
)
(
*
extract
the
record
contents
*
)
Ltac
xspec_record_repr_compute
H
:=
Ltac
xspec_record_repr_compute
H
r
:=
match
H
with
context
[
?
r
~>
record_repr
?
L
]
=>
constr
:
(
L
)
end
.
match
H
with
context
[
r
~>
record_repr
?
L
]
=>
constr
:
(
L
)
end
.
Ltac
xspec_record_get_compute
tt
:=
Ltac
xspec_record_get_compute
tt
:=
match
goal
with
|-
app
record_get
[
?
r
?
f
]
?
H
_
=>
match
goal
with
|-
app
record_get
[
?
r
?
f
]
?
H
_
=>
let
L
:=
xspec_record_repr_compute
H
in
let
L
:=
xspec_record_repr_compute
H
r
in
xspec_record_get_compute_for
f
L
end
.
xspec_record_get_compute_for
f
L
end
.
Ltac
xspec_record_set_compute
tt
:=
Ltac
xspec_record_set_compute
tt
:=
match
goal
with
|-
app
record_set
[
?
r
?
f
?
w
]
?
H
_
=>
match
goal
with
|-
app
record_set
[
?
r
?
f
?
w
]
?
H
_
=>
let
L
:=
xspec_record_repr_compute
H
in
let
L
:=
xspec_record_repr_compute
H
r
in
xspec_record_set_compute_for
f
w
L
end
.
xspec_record_set_compute_for
f
w
L
end
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment