src/Pure/more_thm.ML
changeset 46861 152e8ca3264e
parent 46830 224d01fec36d
child 49010 72808e956879
equal deleted inserted replaced
46860:fe8d6532e1c1 46861:152e8ca3264e
    35   val thm_ord: thm * thm -> order
    35   val thm_ord: thm * thm -> order
    36   val cterm_cache: (cterm -> 'a) -> cterm -> 'a
    36   val cterm_cache: (cterm -> 'a) -> cterm -> 'a
    37   val thm_cache: (thm -> 'a) -> thm -> 'a
    37   val thm_cache: (thm -> 'a) -> thm -> 'a
    38   val is_reflexive: thm -> bool
    38   val is_reflexive: thm -> bool
    39   val eq_thm: thm * thm -> bool
    39   val eq_thm: thm * thm -> bool
    40   val eq_thms: thm list * thm list -> bool
       
    41   val eq_thm_thy: thm * thm -> bool
    40   val eq_thm_thy: thm * thm -> bool
    42   val eq_thm_prop: thm * thm -> bool
    41   val eq_thm_prop: thm * thm -> bool
    43   val equiv_thm: thm * thm -> bool
    42   val equiv_thm: thm * thm -> bool
    44   val class_triv: theory -> class -> thm
    43   val class_triv: theory -> class -> thm
    45   val of_sort: ctyp * sort -> thm list
    44   val of_sort: ctyp * sort -> thm list
   186 
   185 
   187 fun eq_thm ths =
   186 fun eq_thm ths =
   188   Context.joinable (pairself Thm.theory_of_thm ths) andalso
   187   Context.joinable (pairself Thm.theory_of_thm ths) andalso
   189   is_equal (thm_ord ths);
   188   is_equal (thm_ord ths);
   190 
   189 
   191 val eq_thms = eq_list eq_thm;
       
   192 
       
   193 val eq_thm_thy = Theory.eq_thy o pairself Thm.theory_of_thm;
   190 val eq_thm_thy = Theory.eq_thy o pairself Thm.theory_of_thm;
   194 val eq_thm_prop = op aconv o pairself Thm.full_prop_of;
   191 val eq_thm_prop = op aconv o pairself Thm.full_prop_of;
   195 
   192 
   196 
   193 
   197 (* pattern equivalence *)
   194 (* pattern equivalence *)