let S be finite set ; :: thesis: for s, t being FinSequence of S holds
( s,t -are_prob_equivalent iff FDprobSEQ s = FDprobSEQ t )

let s, t be FinSequence of S; :: thesis: ( s,t -are_prob_equivalent iff FDprobSEQ s = FDprobSEQ t )
A1: now :: thesis: ( FDprobSEQ s = FDprobSEQ t implies s,t -are_prob_equivalent )end;
now :: thesis: ( s,t -are_prob_equivalent implies FDprobSEQ s = FDprobSEQ t )
assume A9: s,t -are_prob_equivalent ; :: thesis: FDprobSEQ s = FDprobSEQ t
A10: now :: thesis: for n being Nat st n in dom (FDprobSEQ t) holds
(FDprobSEQ t) . n = FDprobability (((canFS S) . n),s)
let n be Nat; :: thesis: ( n in dom (FDprobSEQ t) implies (FDprobSEQ t) . n = FDprobability (((canFS S) . n),s) )
assume n in dom (FDprobSEQ t) ; :: thesis: (FDprobSEQ t) . n = FDprobability (((canFS S) . n),s)
hence (FDprobSEQ t) . n = FDprobability (((canFS S) . n),t) by Def3
.= FDprobability (((canFS S) . n),s) by A9 ;
:: thesis: verum
end;
dom (FDprobSEQ t) = Seg (card S) by Def3;
hence FDprobSEQ s = FDprobSEQ t by A10, Def3; :: thesis: verum
end;
hence ( s,t -are_prob_equivalent iff FDprobSEQ s = FDprobSEQ t ) by A1; :: thesis: verum