Skip to content

Commit

Permalink
rm dup lemmas (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
affeldt-aist authored Jan 1, 2024
1 parent 489caf7 commit 81fec2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@

### Removed

- in `forms.v`:
+ lemmas `eq_map_mx`, `map_mx_id`

### Infrastructure

### Misc
7 changes: 0 additions & 7 deletions theories/forms.v
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ Structure revop X Y Z (f : Y -> X -> Z) := RevOp {
_ : forall x, f x =1 fun_of_revop^~ x
}.

Lemma eq_map_mx (R S : ringType) m n (M : 'M[R]_(m,n))
(g f : R -> S) : f =1 g -> M ^ f = M ^ g.
Proof. by move=> eq_fg; apply/matrixP=> i j; rewrite !mxE. Qed.

Lemma map_mx_id (R : ringType) m n (M : 'M[R]_(m,n)) : M ^ id = M.
Proof. by apply/matrixP=> i j; rewrite !mxE. Qed.

Lemma eq_map_mx_id (R : ringType) m n (M : 'M[R]_(m,n)) (f : R -> R) :
f =1 id -> M ^ f = M.
Proof. by move=> /eq_map_mx->; rewrite map_mx_id. Qed.
Expand Down

0 comments on commit 81fec2f

Please sign in to comment.