TFL/post.ML
changeset 11771 b7b100a2de1d
parent 11632 6fc8de600f58
child 12341 08afd1003151
equal deleted inserted replaced
11770:b6bb7a853dd2 11771:b7b100a2de1d
   169        val {induction, rules, tcs} =
   169        val {induction, rules, tcs} =
   170              proof_stage strict cs ss wfs theory
   170              proof_stage strict cs ss wfs theory
   171                {f = f, R = R, rules = rules,
   171                {f = f, R = R, rules = rules,
   172                 full_pats_TCs = full_pats_TCs,
   172                 full_pats_TCs = full_pats_TCs,
   173                 TCs = TCs}
   173                 TCs = TCs}
   174        val rules' = map (standard o Rulify.rulify_no_asm) (R.CONJUNCTS rules)
   174        val rules' = map (standard o ObjectLogic.rulify_no_asm) (R.CONJUNCTS rules)
   175    in  {induct = meta_outer (Rulify.rulify_no_asm (induction RS spec')),
   175    in  {induct = meta_outer (ObjectLogic.rulify_no_asm (induction RS spec')),
   176         rules = ListPair.zip(rules', rows),
   176         rules = ListPair.zip(rules', rows),
   177         tcs = (termination_goals rules') @ tcs}
   177         tcs = (termination_goals rules') @ tcs}
   178    end
   178    end
   179   handle U.ERR {mesg,func,module} =>
   179   handle U.ERR {mesg,func,module} =>
   180                error (mesg ^
   180                error (mesg ^