--- a/src/HOL/Library/Efficient_Nat.thy Tue Jun 01 10:30:53 2010 +0200
+++ b/src/HOL/Library/Efficient_Nat.thy Tue Jun 01 10:30:53 2010 +0200
@@ -317,7 +317,7 @@
else error("Int value too big:" + this.value.toString)
def +(that: Nat): Nat = new Nat(this.value + that.value)
- def -(that: Nat): Nat = Nat(this.value + that.value)
+ def -(that: Nat): Nat = Nat(this.value - that.value)
def *(that: Nat): Nat = new Nat(this.value * that.value)
def /%(that: Nat): (Nat, Nat) = if (that.value == 0) (new Nat(0), this)