Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
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
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
Tej Chajed
iris
Commits
ba189cde
Commit
ba189cde
authored
10 years ago
by
Janno
Browse files
Options
Downloads
Patches
Plain Diff
Cleaning up proofs
parent
7b2629db
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/ModuRes/RA.v
+8
-8
8 additions, 8 deletions
lib/ModuRes/RA.v
with
8 additions
and
8 deletions
lib/ModuRes/RA.v
+
8
−
8
View file @
ba189cde
...
...
@@ -380,21 +380,21 @@ Section InfiniteProduct.
Global
Instance
ra_equiv_infprod
:
Equivalence
ra_eq_infprod
.
Proof
.
split
;
repeat
intro
;
[
|
rewrite
(
H0
s
)
|
rewrite
(
H0
s
),
(
H1
s
)
];
reflexivity
.
Qed
.
Global
Instance
ra_type_infprod
:
Setoid
_
:=
mkType
ra_eq_infprod
.
Global
Instance
ra_type_infprod
:
Setoid
ra_res_infprod
:=
mkType
ra_eq_infprod
.
Global
Instance
ra_unit_infprod
:
RA_unit
_
:=
fun
s
=>
ra_unit
T
.
Global
Instance
ra_op_infprod
:
RA_op
_
:=
fun
f
g
s
=>
f
s
·
g
s
.
Global
Instance
ra_valid_infprod
:
RA_valid
_
:=
fun
f
=>
forall
s
,
ra_valid
(
f
s
)
.
Global
Instance
ra_infprod
:
RA
ra_res_infprod
.
Proof
.
split
;
repeat
intro
.
-
specialize
(
H0
s
);
specialize
(
H1
s
);
now
apply
(
ra_op_proper
(
RA
:=
RA_T
)
_
_)
.
-
compute
;
now
rewrite
(
ra_op_assoc
(
RA
:=
RA_T
)
_
(
t1
s
)
)
.
-
compute
;
now
rewrite
(
ra_op_comm
(
RA
:=
RA_T
)
_
(
t1
s
)
)
.
-
compute
;
now
rewrite
(
ra_op_unit
(
RA
:=
RA_T
)
_
(
t
s
)
)
.
-
e
apply
ra_op_proper
;
now
firstorder
.
-
compute
.
now
rewrite
(
ra_op_assoc
(
RA
:=
RA_T
)
_)
.
-
compute
;
now
rewrite
(
ra_op_comm
(
RA
:=
RA_T
)
_)
.
-
compute
;
now
rewrite
(
ra_op_unit
(
RA
:=
RA_T
)
_)
.
-
compute
;
intros
;
split
;
intros
;
symmetry
in
H0
;
eapply
(
ra_valid_proper
(
RA
:=
RA_T
)
_
(
y
s
)
_
(
H0
s
));
now
apply
H1
.
-
now
firstorder
.
-
eapply
(
ra_op_valid
(
RA
:=
RA_T
)
_
(
t1
s
)
);
now
eauto
.
eapply
(
ra_valid_proper
(
RA
:=
RA_T
)
_
_
_
(
H0
s
));
now
apply
H1
.
-
now
eapply
(
ra_valid_unit
(
RA
:=
RA_T
)
_)
.
-
eapply
(
ra_op_valid
(
RA
:=
RA_T
)
_
_
);
now
eauto
.
Qed
.
End
InfiniteProduct
.
...
...
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