src/HOL/Statespace/state_space.ML
changeset 26336 a0e2b706ce73
parent 25999 f8bcd311d501
child 26343 0dd2eab7b296
equal deleted inserted replaced
26335:961bbcc9d85b 26336:a0e2b706ce73
   268 fun interprete_parent name dist_thm_name parent_expr thy = 
   268 fun interprete_parent name dist_thm_name parent_expr thy = 
   269   let
   269   let
   270 
   270 
   271     fun solve_tac ctxt (_,i) st =
   271     fun solve_tac ctxt (_,i) st =
   272       let
   272       let
   273         val distinct_thm = ProofContext.get_thm ctxt (Name dist_thm_name);
   273         val distinct_thm = ProofContext.get_thm ctxt (Facts.Named (dist_thm_name, NONE));
   274         val goal = List.nth (cprems_of st,i-1);
   274         val goal = List.nth (cprems_of st,i-1);
   275         val rule = DistinctTreeProver.distinct_implProver distinct_thm goal;
   275         val rule = DistinctTreeProver.distinct_implProver distinct_thm goal;
   276       in EVERY [rtac rule i] st
   276       in EVERY [rtac rule i] st
   277       end
   277       end
   278         
   278