swh:1:snp:a009335c9ad61a15b4ffe398f445dd601942b68c
Tip revision: 005342f19a55b0ae01c88c0c729fdbad3f2519ff authored by François Dupressoir on 10 February 2020, 09:48:54 UTC
Merge branch '1.0' into deploy-simpler-rp
Merge branch '1.0' into deploy-simpler-rp
Tip revision: 005342f
IRing.ec
(* --------------------------------------------------------------------
* 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-B-V1 license
* -------------------------------------------------------------------- *)
(* -------------------------------------------------------------------- *)
require export Int IntExtra.
require import Ring AlgTactic.
(* -------------------------------------------------------------------- *)
instance ring with int
op rzero = zero
op rone = one
op add = (+)
op opp = [-]
op mul = ( * )
op expr = IntExtra.( ^ )
proof oner_neq0 by smt
proof addr0 by smt
proof addrA by smt
proof addrC by smt
proof addrN by smt
proof mulr1 by smt
proof mulrA by smt
proof mulrC by smt
proof mulrDl by smt
proof expr0 by smt
proof exprS by smt.