eq s' = vlci(s,k&l&m&n) .
red inv5(a,i,i',k) implies istep1.
Close
CafeOBJ returns true for the above proof passage
and hence, once we prove lemma 1 (table 2), this
concludes the proof for the vlci transition rule of
our safety property. Applying the same technique,
CafeOBJ returned true for all transitions. Finally, all
the lemmas were proven and thus our proof
concludes. Following the procedure presented
above, 16 lemmas were discovered and used. In
table 2 we present some of the most characteristic
ones.
Table 2: Most important lemmas.
Most important Lemmas/Invariants
1. If A is equal to I(vlc(dctq(K)) and not equal to
I(vlc(dctq(I’)))) then K is not equal to I and I is not
equal to I’.
2. If A is a coded I frame that implies that it is not an
Bframe.
3. If A is equal to P(vlc(dctq(est(I,P)+comp(I,P)) and
not equal to P(vlc(dctq(est(I’,P’)+comp(I’,P’)) that
implies that P(vlc(dctq(est(I,P) +comp(I,P)) is not
equal to P(vlc(dctq(est(I’,P’) + comp(I’,P’))
5 CONCLUSIONS
We have presented briefly a methodology for
comparing two encoding algorithms using the
specification of a simplified parallel version of the
MPEG-2 Encoding Algorithm as an Observational
Transition System in CafeOBJ. Several alternative
versions of the MPEG-2 encoding algorithm have
been proposed as it is a wide used protocol
(Cambronero, 2005) but to our knowledge we are
the first to apply the OTS/CafeOBJ method to this.
Our work is part of a bigger research project
(Triantafyllou et. al, 2009, Ouranos et. al 2007,
Ouranos et. al 2007) in modeling and specification
of algorithms and protocols using algebraic
specification languages. In the future we plan to
apply this formal approach to other video encoding
standards such as the MPEG-4.
REFERENCES
Diaconescu, R., Futatsugi, K., 1998. CafeOBJ Report. In
World Scientific.
Goguen, J. A., Malcolm, G., 1997. A Hidden Agenda. In
Technical Report. University of California at San
Diego.
Diaconescu, R., 2000. Behavioral Coherence in Object -
Oriented Algebraic Specification. In J.Universal
Computer Science. 6(1). pp. 74-96.
Ogata, K., Futatsugi, K., 2006. Some Tips on Writing
Proof Scores in the OTS/CafeOBJ Method. K.
Futatsugi, J.-P. Jouannaud, J. Meseguer (Eds.),
Algebra, Meaning, and Computation, Essays
Dedicated to Joseph A. Goguen on the Occasion of
His 65th Birthday, LNCS 4060, pp. 596-615, Springer.
Ogata, K., Futatsugi, K., 2008. Simulation-based
Verification for Invariant Properties in the
OTS/CafeOBJ Method. In Electronic Notes Theor.
Comp. Science 20. pp. 127-154.
Futatsugi, K., Goguen, J.A., Ogata, K., 2005. Verifying
Specifications with Proof Scores in CafeOBJ. B.
Meyer, J. Woodcock (Eds.), Verified Software:
Theories, Tools, Experiments, First IFIP TC 2/WG 2.3
Conference, VSTTE, LNCS 4171, pp. 277-290.
Cambronero, M., Ravn, A.P., Valero, V., 2005. Using
UPPAAL to analyse an MPEG-2 algorithm. In
Proceedings of VII Workshop Brasileiro de Tempo
Real. Fortaleza (Brasil). pp. 73-82.
Triantafyllou, N., Ouranos, I., Stefaneas, P., 2009.
Algebraic Specifications for OMA REL Licences. In
Wimob‘09, IEEE International Conference on
Wireless and Mobile Computing, Networking and
Communications. pp.376-381.
Ouranos, I., Stefaneas, P., Frangos P., 2007. An Algebraic
Framework for Modeling of Mobile Systems. In
IEICE Trans. Fund., Vol. E90-A, No. 9, pp. 1986-
1999.
Ouranos, I., Stefaneas, P., 2007. Verifying Security
Protocols for Sensor Networks using Algebraic
Specification Techniques. In CAI’07, Thessalonica,
Greece, LNCS 4728, pp. 247-259, Springer.
Ksystra, K., Stefaneas, P., Triantafyllou, N., Ouranos, I.,
2009. An Algebraic Specification for the MPEG-2
Encoding Algorithm. In SEEFM’09, Formal Methods
for Web Services Formal Methods for Agent-based
Systems. Thessalonici, Greece. (presented)
CafeOBJ Home Page http://www.ldl.jaist.ac.jp/cafeobj/.
MPEG Home Page, http://www.mpeg.org.
ISO/IEC 138182
SIGMAP 2010 - International Conference on Signal Processing and Multimedia Applications
38