Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
c
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
c
Commits
4193161c
Commit
4193161c
authored
Oct 04, 2018
by
Léon Gondelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcgen and dcexpr correctness fixed (vcg_solver remains)
parent
d3b68845
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
128 additions
and
78 deletions
+128
-78
theories/vcgen/dcexpr.v
theories/vcgen/dcexpr.v
+11
-5
theories/vcgen/vcgen.v
theories/vcgen/vcgen.v
+117
-73
No files found.
theories/vcgen/dcexpr.v
View file @
4193161c
...
...
@@ -383,11 +383,17 @@ Qed.
Global
Instance
dcexpr_closed
X
E
de
:
dcexpr_wf
X
E
de
→
Closed
X
(
cdexpr_interp
E
de
).
Proof
.
Admitted
.
(* induction de; simpl; try solve_closed. rewrite /Closed /=.
split_and. change (Closed [] a_ret). solve_closed. apply (dexpr_closed E d).
Qed. *)
Closed
X
(
dcexpr_interp
E
de
).
Proof
.
revert
X
.
induction
de
;
intros
;
unfold
Closed
in
*
;
simplify_eq
/=
;
try
(
destruct_and
!
;
split_and
;
first
split_and
;
[
apply
is_closed_of_val
|
by
apply
IHde2
|
by
apply
IHde1
])
;
try
(
destruct_and
!
;
split_and
;
first
split_and
;
[
apply
is_closed_of_val
|
by
apply
IHde1
|
by
apply
IHde2
]).
-
split_and
;
eauto
using
is_closed_of_val
.
by
apply
dexpr_closed
.
-
split_and
;
[
apply
is_closed_of_val
|
by
apply
IHde
].
-
split_and
;
[
apply
is_closed_of_val
|
by
apply
IHde
].
-
split_and
;
first
split_and
;
[
apply
is_closed_of_val
|
apply
is_closed_of_val
|
by
apply
IHde
].
-
by
apply
W
.
is_closed_correct
.
Qed
.
(** * Reification of C syntax *)
(** ** LocLookup *)
...
...
theories/vcgen/vcgen.v
View file @
4193161c
This diff is collapsed.
Click to expand it.
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