https://github.com/EasyCrypt/easycrypt
Revision 60d29c1f11f6c79824022608f9f83503d983ce61 authored by Benjamin Gregoire on 13 September 2019, 06:39:19 UTC, committed by Benjamin Gregoire on 13 September 2019, 06:39:19 UTC
1 parent 0e717db
Raw File
Tip revision: 60d29c1f11f6c79824022608f9f83503d983ce61 authored by Benjamin Gregoire on 13 September 2019, 06:39:19 UTC
remove duplicate lemma get_none -> domNE
Tip revision: 60d29c1
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