Fixed spelling error
authorpaulson
Thu, 28 Nov 1996 12:47:48 +0100
changeset 2273 d1bcc10be8d7
parent 2272 d6abc468e40c
child 2274 1b1b46adc9b3
Fixed spelling error
src/Provers/nat_transitive.ML
--- a/src/Provers/nat_transitive.ML	Thu Nov 28 12:39:02 1996 +0100
+++ b/src/Provers/nat_transitive.ML	Thu Nov 28 12:47:48 1996 +0100
@@ -11,7 +11,7 @@
 t = u, t < u, t <= u, ~(t < u), ~(t <= u)
 
 where t and u must be of type nat, to
-1. either derive a constradiction,
+1. either derive a contradiction,
    in which case the conclusion can be any term,
 2. or prove the conclusion, which must be of the same form as the premises.
 
@@ -225,7 +225,7 @@
 val trans_tac = SUBGOAL (fn (A,n) =>
   let val Hs = Logic.strip_assums_hyp A
       val C = Logic.strip_assums_concl A
-      val lesss = flat(map mkasm (Hs ~~ (0 upto (length Hs - 1))));
+      val lesss = flat(ListPair.map mkasm (Hs, 0 upto (length Hs - 1)))
       val clesss = close [] lesss
       val (subgoals,prf) = mkconcl C
       val prfs = map (solve clesss) subgoals