Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Amin Timany
iris-coq
Commits
28e9d345
Commit
28e9d345
authored
10 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
move axiom to its own file
parent
18ef0bd6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/ModuRes/Axioms.v
+4
-0
4 additions, 0 deletions
lib/ModuRes/Axioms.v
lib/ModuRes/RAConstr.v
+2
-7
2 additions, 7 deletions
lib/ModuRes/RAConstr.v
with
6 additions
and
7 deletions
lib/ModuRes/Axioms.v
0 → 100644
+
4
−
0
View file @
28e9d345
(* This file defines all axioms we are relying on in our development. *)
Axiom
ProofIrrelevance
:
forall
(
P
:
Prop
)
(
p
q
:
P
),
p
=
q
.
Ltac
pi
p
q
:=
erewrite
(
ProofIrrelevance
_
p
q
)
.
This diff is collapsed.
Click to expand it.
lib/ModuRes/RAConstr.v
+
2
−
7
View file @
28e9d345
Require
Import
Ssreflect
.
ssreflect
Ssreflect
.
ssrfun
Omega
.
Require
Import
Ssreflect
.
ssreflect
Ssreflect
.
ssrfun
Omega
.
Require
Import
PreoMet
RA
.
Require
Import
PreoMet
RA
Axioms
.
Local
Open
Scope
ra_scope
.
Local
Open
Scope
ra_scope
.
Local
Open
Scope
predom_scope
.
Local
Open
Scope
predom_scope
.
...
@@ -331,13 +331,8 @@ Section Agreement.
...
@@ -331,13 +331,8 @@ Section Agreement.
end
.
end
.
Local
Ltac
ra_ag_destr
:=
repeat
(
match
goal
with
[
x
:
ra_agree
|
-
_
]
=>
destruct
x
end
)
.
Local
Ltac
ra_ag_destr
:=
repeat
(
match
goal
with
[
x
:
ra_agree
|
-
_
]
=>
destruct
x
end
)
.
(* Land of dragons starts here *)
Axiom
ProofIrrelevance
:
forall
(
P
:
Prop
)
(
p
q
:
P
),
p
=
q
.
Ltac
pi
p
q
:=
erewrite
(
ProofIrrelevance
_
p
q
)
.
Local
Ltac
ra_ag_auto
:=
first
[
by
firstorder
|
split
;
[
by
firstorder
|
intros
pv1
pv2
;
pi
pv1
pv2
;
by
firstorder
]]
.
Local
Ltac
ra_ag_auto
:=
first
[
by
firstorder
|
split
;
[
by
firstorder
|
intros
pv1
pv2
;
pi
pv1
pv2
;
by
firstorder
]]
.
Global
Instance
ra_agree_eq_equiv
:
Equivalence
ra_agree_eq
.
Global
Instance
ra_agree_eq_equiv
:
Equivalence
ra_agree_eq
.
Proof
.
Proof
.
split
;
repeat
intro
;
ra_ag_destr
;
try
(
exact
I
||
contradiction
);
[|
|]
.
(* 3 goals left. *)
split
;
repeat
intro
;
ra_ag_destr
;
try
(
exact
I
||
contradiction
);
[|
|]
.
(* 3 goals left. *)
...
...
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