src/HOL/Tools/inductive_codegen.ML
changeset 22556 b067fdca022d
parent 22360 26ead7ed4f4b
child 22642 bfdb29f11eb4
     1.1 --- a/src/HOL/Tools/inductive_codegen.ML	Sat Mar 31 08:22:14 2007 +0200
     1.2 +++ b/src/HOL/Tools/inductive_codegen.ML	Sat Mar 31 12:40:55 2007 +0200
     1.3 @@ -516,7 +516,7 @@
     1.4          | dest_prem (_ $ ((eq as Const ("op =", _)) $ t $ u)) = Prem ([t, u], eq)
     1.5          | dest_prem (_ $ t) =
     1.6              (case strip_comb t of
     1.7 -               (v as Var _, ts) => Prem (ts, v)
     1.8 +               (v as Var _, ts) => if v mem args then Prem (ts, v) else Sidecond t
     1.9               | (c as Const (s, _), ts) => (case get_nparms s of
    1.10                   NONE => Sidecond t
    1.11                 | SOME k =>