https://github.com/EasyCrypt/easycrypt
Revision 149b09fc4d94b27b2f4bfb12f82d218def49299d authored by Pierre-Yves Strub on 28 March 2020, 08:13:02 UTC, committed by Pierre-Yves Strub on 28 March 2020, 08:13:21 UTC
1 parent b1b35e6
Raw File
Tip revision: 149b09fc4d94b27b2f4bfb12f82d218def49299d authored by Pierre-Yves Strub on 28 March 2020, 08:13:02 UTC
User error message for map-style lvalue on unsupported assignment
Tip revision: 149b09f
ecField.mli
(* --------------------------------------------------------------------
 * Copyright (c) - 2012--2016 - IMDEA Software Institute
 * Copyright (c) - 2012--2018 - Inria
 * Copyright (c) - 2012--2018 - Ecole Polytechnique
 *
 * Distributed under the terms of the CeCILL-C-V1 license
 * -------------------------------------------------------------------- *)

(* -------------------------------------------------------------------- *)
open EcRing
open EcBigInt

(* -------------------------------------------------------------------- *)
type fexpr =
| FEc   of c
| FEX   of int
| FEadd of fexpr * fexpr
| FEsub of fexpr * fexpr
| FEmul of fexpr * fexpr
| FEopp of fexpr
| FEinv of fexpr
| FEdiv of fexpr * fexpr
| FEpow of fexpr * zint

type linear = (pexpr * pexpr * (pexpr list))

(* -------------------------------------------------------------------- *)
val fnorm : fexpr -> linear
back to top