https://github.com/EasyCrypt/easycrypt
Revision 6fce946188f04a33d65dbaaf3d5f9a0a1d94507c authored by Antoine Séré on 01 April 2021, 13:58:20 UTC, committed by Antoine Séré on 01 April 2021, 13:58:20 UTC
1 parent 06fe349
Raw File
Tip revision: 6fce946188f04a33d65dbaaf3d5f9a0a1d94507c authored by Antoine Séré on 01 April 2021, 13:58:20 UTC
while enhanced using enhanced sp
Tip revision: 6fce946
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