https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: f6574ffbdd2a21ccf370f965c89d4f3373e51090 authored by François Dupressoir on 16 May 2022, 11:48:54 UTC
make axiomatized operators `nosmt` by default
Tip revision: f6574ff
CoreInt.ec
(* -------------------------------------------------------------------- *)
op zero   : int = 0.
op one    : int = 1.
op lt     : int -> int -> bool.
op le     = fun x y => lt x y \/ x = y.
op add    : int -> int -> int.
op opp    : int -> int.
op mul    : int -> int -> int.
op absz   = fun x => (le 0 x) ? x : opp x.

axiom nosmt intind (p:int -> bool):
  (p 0) =>
  (forall i, le 0 i => p i => p (add i 1)) =>
  (forall i, le 0 i => p i).
back to top