swh:1:snp:0e3a7a90b5b85feca1ee6285ebc0301d2b85deae
Tip revision: 2b7b58c4b31cf74da6062396ac96fb12b9499ea0 authored by Pierre-Yves Strub on 15 October 2019, 07:02:30 UTC
Merge branch '1.0' into deploy-global-union
Merge branch '1.0' into deploy-global-union
Tip revision: 2b7b58c
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