Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GQM-Coq
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
Container Registry
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
Michael Sammler
GQM-Coq
Commits
4ed673fd
There was a problem fetching the pipeline summary.
Commit
4ed673fd
authored
6 years ago
by
Mackie Loeffel
Browse files
Options
Downloads
Patches
Plain Diff
lemma 5.6(i)
parent
4a8aa0fa
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/Section5WithContext.v
+27
-7
27 additions, 7 deletions
theories/Section5WithContext.v
with
27 additions
and
7 deletions
theories/Section5WithContext.v
+
27
−
7
View file @
4ed673fd
...
...
@@ -19,13 +19,15 @@ Inductive GQMdedWithContext: list form -> form -> Prop :=
Notation
"c '|--' A"
:=
(
GQMdedWithContext
c
A
)
(
at
level
80
,
no
associativity
).
Hint
Constructors
GQMdedWithContext
:
GQMDB
.
Fixpoint
context_to_form
(
l
:
list
form
)
:=
match
l
with
|
[]
=>
Top
|
A
::
l
'
=>
A
&
context_to_form
(
l
'
)
end
.
Lemma
gqmc_context_weakening
:
forall
c
A
B
,
c
|--
A
->
B
::
c
|--
A
.
Proof
.
move
=>
c
A
B
.
by
elim
;
clear
c
A
;
eauto
using
in_cons
with
GQMDB
.
Qed
.
Definition
context_to_and
:=
fold_right
(
fun
A
B
=>
A
&
B
)
Top
.
Lemma
lemma_5_6_1
:
forall
c
A
,
c
|--
A
<->
|--
|
A
|
(
context_to_
form
c
)
->>
|
A
|
A
.
Lemma
lemma_5_6_1
:
forall
c
A
,
c
|--
A
<->
|--
|
A
|
(
context_to_
and
c
)
->>
|
A
|
A
.
Proof
.
move
=>
c
A
.
split
.
...
...
@@ -54,4 +56,22 @@ Proof.
by
apply
:
lemma_A_7_1
.
+
move
=>
_
IH
.
by
apply
:
(
tac_rewrite
(
fun
X
=>
_
->>
X
)
(
lemma_A_7_8_1
_
)).
-
\ No newline at end of file
-
move
=>
Hgqm
.
suff
H
:
(
c
|--
|
A
|
A
).
{
have
He
:=
(
gqmc_gqm
c
_
(
gqm_AE
(
A
._
[
ren_
(
+
1
)])
(
Var
1
))).
asimpl
in
He
.
by
apply
:
gqmc_mp
;
first
by
apply
:
He
.
}
apply:
gqmc_mp
;
first
by
apply
:
(
gqmc_gqm
c
_
Hgqm
).
clear
Hgqm
A
.
apply:
gqmc_Anec
.
elim:
c
=>
/=
.
+
apply
:
gqmc_gqm
.
by
apply
:
gqm_topI
.
+
move
=>
A
l
IH
.
apply:
gqmc_mp
;
last
by
apply
:
(
gqmc_context_weakening
_
_
A
IH
).
clear
IH
.
apply:
(
gqmc_mp
_
A
);
last
by
eauto
using
in_eq
with
GQMDB
.
apply:
gqmc_gqm
.
by
apply
:
gqm_andI
.
Qed
.
\ No newline at end of file
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