https://github.com/EasyCrypt/easycrypt
Revision 3bb546d5c22bc1f9003a797ea9d60e20285c91a8 authored by François Dupressoir on 14 June 2019, 16:01:33 UTC, committed by François Dupressoir on 01 October 2019, 14:40:50 UTC
1 parent 1b7ae03
Raw File
Tip revision: 3bb546d5c22bc1f9003a797ea9d60e20285c91a8 authored by François Dupressoir on 14 June 2019, 16:01:33 UTC
Towards Lagrange
Tip revision: 3bb546d
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