1
(************************************************************************)
2
(* v * The Coq Proof Assistant / The Coq Development Team *)
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
4
(* \VV/ **************************************************************)
5
(* // * This file is distributed under the terms of the *)
6
(* * GNU Lesser General Public License Version 2.1 *)
7
(************************************************************************)
9
(* $Id: LegacyRing.v 10739 2008-04-01 14:45:20Z herbelin $ *)
12
Require Export LegacyRing_theory.
14
Require Export Ring_normalize.
15
Require Export Ring_abstract.
17
(* As an example, we provide an instantation for bool. *)
18
(* Other instatiations are given in ArithRing and ZArithRing in the
21
Definition BoolTheory :
22
Ring_Theory xorb andb true false (fun b:bool => b) eqb.
24
destruct n; destruct m; reflexivity.
25
destruct n; destruct m; destruct p; reflexivity.
26
destruct n; destruct m; reflexivity.
27
destruct n; destruct m; destruct p; reflexivity.
28
destruct n; reflexivity.
29
destruct n; reflexivity.
30
destruct n; reflexivity.
31
destruct n; destruct m; destruct p; reflexivity.
32
destruct x; destruct y; reflexivity || simpl in |- *; tauto.
35
Add Legacy Ring bool xorb andb true false (fun b:bool => b) eqb BoolTheory