Nominal/nominal_function_core.ML
changeset 2848 da7e6655cd4c
parent 2822 23befefc6e73
child 2862 47063163f333
equal deleted inserted replaced
2847:5165f4552cd5 2848:da7e6655cd4c
   288   let
   288   let
   289     val ClauseContext {cqs=cqsi,ags=agsi,lhs=lhsi,case_hyp=case_hypi,...} = ctxi
   289     val ClauseContext {cqs=cqsi,ags=agsi,lhs=lhsi,case_hyp=case_hypi,...} = ctxi
   290     val ClauseContext {cqs=cqsj,ags=agsj,lhs=lhsj,case_hyp=case_hypj,...} = ctxj
   290     val ClauseContext {cqs=cqsj,ags=agsj,lhs=lhsj,case_hyp=case_hypj,...} = ctxj
   291 
   291 
   292     val lhsi_eq_lhsj = cterm_of thy (HOLogic.mk_Trueprop (mk_eq (lhsi, lhsj)))
   292     val lhsi_eq_lhsj = cterm_of thy (HOLogic.mk_Trueprop (mk_eq (lhsi, lhsj)))
       
   293 
   293   in if j < i then
   294   in if j < i then
   294     let
   295     let
   295       val compat = lookup_compat_thm j i cts
   296       val compat = lookup_compat_thm j i cts
   296     in
   297     in
   297       compat         (* "!!qj qi. Gsj => Gsi => lhsj = lhsi ==> rhsj = rhsi" *)
   298       compat         (* "!!qj qi. Gsj => Gsi => lhsj = lhsi ==> rhsj = rhsi" *)