Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use eqNr #32

Open
affeldt-aist opened this issue May 28, 2021 · 0 comments
Open

use eqNr #32

affeldt-aist opened this issue May 28, 2021 · 0 comments
Milestone

Comments

@affeldt-aist
Copy link
Owner

coq-robot/ssr_ext.v

Lines 116 to 121 in ce7c75a

Lemma eqmxNxx (R : numFieldType) n m (u : 'M[R]_(m, n)) :
(- u == u) = (u == 0).
Proof.
apply/idP/idP => [|/eqP ->]; last by rewrite oppr0.
by rewrite -subr_eq0 -opprD -mulr2n -scaler_nat oppr_eq0 scaler_eq0 pnatr_eq0.
Qed.

this requires to first declare a numDomainType structure for matrices

@affeldt-aist affeldt-aist added this to the 0.2 milestone May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant