let D be non empty set ; for M being Matrix of D st len M > 0 holds
for n being Nat holds
( M is Matrix of len M,n,D iff n = width M )
let M be Matrix of D; ( len M > 0 implies for n being Nat holds
( M is Matrix of len M,n,D iff n = width M ) )
assume A1:
len M > 0
; for n being Nat holds
( M is Matrix of len M,n,D iff n = width M )
let n be Nat; ( M is Matrix of len M,n,D iff n = width M )
thus
( M is Matrix of len M,n,D implies n = width M )
( n = width M implies M is Matrix of len M,n,D )
assume
n = width M
; M is Matrix of len M,n,D
then
for p being FinSequence of D st p in rng M holds
len p = n
by A1, Def3;
hence
M is Matrix of len M,n,D
by Def2; verum