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
d45656e7
Commit
d45656e7
authored
6 years ago
by
Mackie Loeffel
Browse files
Options
Downloads
Patches
Plain Diff
started deduction with contexts
parent
eef08bbd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
_CoqProject
+3
-1
3 additions, 1 deletion
_CoqProject
lib/LibTactics.v
+4796
-0
4796 additions, 0 deletions
lib/LibTactics.v
theories/Base.v
+3
-2
3 additions, 2 deletions
theories/Base.v
theories/GQM.v
+7
-10
7 additions, 10 deletions
theories/GQM.v
theories/GQMDeduction.v
+116
-20
116 additions, 20 deletions
theories/GQMDeduction.v
with
4925 additions
and
33 deletions
_CoqProject
+
3
−
1
View file @
d45656e7
-Q lib GQM.Lib
-Q theories GQM
-arg -w -arg -notation-overridden
theories/Base.v
theories/GQM.v
theories/GQMDeduction.v
\ No newline at end of file
theories/GQMDeduction.v
lib/LibTactics.v
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/LibTactics.v
0 → 100644
+
4796
−
0
View file @
d45656e7
This diff is collapsed.
Click to expand it.
theories/Base.v
+
3
−
2
View file @
d45656e7
From
Coq
Require
Export
ssreflect
ssrfun
ssrbool
.
Require
Export
Coq
.
Lists
.
List
.
Export
ListNotations
.
Require
Export
Autosubst
.
Autosubst
.
Require
Export
Coq
.
Sets
.
Ensembles
.
Require
Export
GQM
.
Lib
.
LibTactics
.
Set
Implicit
Arguments
.
Unset
Strict
Implicit
.
...
...
This diff is collapsed.
Click to expand it.
theories/GQM.v
+
7
−
10
View file @
d45656e7
Require
Import
Autosubst
.
Autosubst
.
Require
Import
GQM
.
Base
.
Inductive
form
:=
|
Var
(
x
:
var
)
|
Neg
(
f
:
form
)
|
And
(
f
g
:
form
)
|
Imp
(
f
g
:
form
)
|
Box
(
f
:
form
)
|
SquareAll
(
f
:
{
bind
form
}
).
...
...
@@ -14,18 +11,18 @@ Instance Rename_form : Rename form. derive. Defined.
Instance
Subst_form
:
Subst
form
.
derive
.
Defined
.
Instance
SubstLemmas_form
:
SubstLemmas
form
.
derive
.
Qed
.
Infix
"&"
:=
And
(
at
level
75
,
right
associativity
).
Notation
"'[A]' B"
:=
(
SquareAll
B
)
(
at
level
74
,
right
associativity
).
Notation
"|[]| A"
:=
(
Box
A
)
(
at
level
74
,
right
associativity
).
Notation
"A '->>' B"
:=
(
Imp
A
B
)
(
at
level
77
,
right
associativity
).
Definition
Bot
:=
[
A
]
(
Var
0
).
Definition
Neg
A
:=
A
->>
Bot
.
Notation
"'-!' A"
:=
(
Neg
A
)
(
at
level
73
,
right
associativity
).
Definition
Or
A
B
:=
(
-!
(
-!
A
&
-!
B
)
)
.
Definition
Or
A
B
:=
(
-!
A
->>
B
).
Notation
"A '|||' B"
:=
(
Or
A
B
)
(
at
level
76
,
right
associativity
).
Definition
Imp
A
B
:=
((
-!
A
)
|||
B
).
Notation
"A '->>' B"
:=
(
Imp
A
B
)
(
at
level
7
7
,
right
associativity
).
Definition
And
A
B
:=
-!
(
A
->>
-!
B
).
Infix
"&"
:=
And
(
at
level
7
5
,
right
associativity
).
Notation
"A '<<->>' B"
:=
((
A
->>
B
)
&
(
B
->>
A
))
(
at
level
78
).
Notation
context
:=
(
list
form
).
(
**
**
Decidable
Equality
*
)
Lemma
dceq_v
:
forall
n
n0
,
{
Var
n
=
Var
n0
}
+
{
Var
n
<>
Var
n0
}
.
...
...
This diff is collapsed.
Click to expand it.
theories/GQMDeduction.v
+
116
−
20
View file @
d45656e7
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