https://github.com/EasyCrypt/easycrypt
Revision 92900c9f4290d631543ddf717e369c3cfd96cc22 authored by Pierre-Yves Strub on 09 December 2015, 16:46:57 UTC, committed by Pierre-Yves Strub on 09 December 2015, 16:49:49 UTC
The mechanism is to forbid non-keyed matching in `rewrite` when LHS && RHS of the rewriting equation are convertible. Currently, the whole `rewrite` is rejected if the matching succeeds but the result would result in a identity rewriting. A better mechanism should embed the identity detection rewriting mechanism into the form matching one.
1 parent b3f11a9
Tip revision: 92900c9f4290d631543ddf717e369c3cfd96cc22 authored by Pierre-Yves Strub on 09 December 2015, 16:46:57 UTC
Crude detection of identity rewriting.
Crude detection of identity rewriting.
Tip revision: 92900c9
COPYRIGHT
EasyCrypt (excluding the EasyCrypt standard library):
Copyright (c) - 2012-2015 - IMDEA Software Institute and INRIA
Distributed under the terms of the CeCILL-C license
http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.txt
EasyCrypt standard library (theories/**/*.ec):
Copyright (c) - 2012-2015 - IMDEA Software Institute and INRIA
Distributed under the terms of the CeCILL-B licence.
http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
Computing file changes ...