src/HOL/Tools/Function/function_core.ML
changeset 36936 c52d1c130898
parent 36270 fd95c0514623
child 36945 9bec62c10714
equal deleted inserted replaced
36935:a3715d7ff337 36936:c52d1c130898
   615 
   615 
   616         val case_hyp_conv = K (case_hyp RS eq_reflection)
   616         val case_hyp_conv = K (case_hyp RS eq_reflection)
   617         local open Conv in
   617         local open Conv in
   618           val lhs_D = fconv_rule (arg_conv (arg_conv (case_hyp_conv))) x_D
   618           val lhs_D = fconv_rule (arg_conv (arg_conv (case_hyp_conv))) x_D
   619           val sih =
   619           val sih =
   620             fconv_rule (More_Conv.binder_conv
   620             fconv_rule (Conv.binder_conv
   621               (K (arg1_conv (arg_conv (arg_conv case_hyp_conv)))) ctxt) aihyp
   621               (K (arg1_conv (arg_conv (arg_conv case_hyp_conv)))) ctxt) aihyp
   622         end
   622         end
   623 
   623 
   624         fun mk_Prec (RCInfo {llRI, RIvs, CCas, rcarg, ...}) = sih
   624         fun mk_Prec (RCInfo {llRI, RIvs, CCas, rcarg, ...}) = sih
   625           |> forall_elim (cterm_of thy rcarg)
   625           |> forall_elim (cterm_of thy rcarg)