fix(tests): use have instead of assert
This commit is contained in:
parent
c50ab524a5
commit
ea775092bb
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ theorem lem_eq_iff_vector_inj (A : Type) [inh : inhabited A] : lem_eq A ↔ vect
|
||||||
iff.intro
|
iff.intro
|
||||||
(assume Hl : lem_eq A,
|
(assume Hl : lem_eq A,
|
||||||
assume n m he,
|
assume n m he,
|
||||||
assert a : A, from default A,
|
have a : A, from default A,
|
||||||
assert v : vector A n, from const n a,
|
have v : vector A n, from const n a,
|
||||||
have e₁ : v == cast he v, from heq.symm (cast_heq he v),
|
have e₁ : v == cast he v, from heq.symm (cast_heq he v),
|
||||||
Hl n m v (cast he v) e₁)
|
Hl n m v (cast he v) e₁)
|
||||||
(assume Hr : vector_inj A,
|
(assume Hr : vector_inj A,
|
||||||
|
|
Loading…
Reference in a new issue