src/HOL/Nominal/nominal_atoms.ML
changeset 28011 90074908db16
parent 27691 ce171cbd4b93
child 28083 103d9282a946
equal deleted inserted replaced
28010:8312edc51969 28011:90074908db16
   748        val set_diff_eqvt       = @{thm "Nominal.pt_set_diff_eqvt"};
   748        val set_diff_eqvt       = @{thm "Nominal.pt_set_diff_eqvt"};
   749        val in_eqvt             = @{thm "Nominal.pt_in_eqvt"};
   749        val in_eqvt             = @{thm "Nominal.pt_in_eqvt"};
   750        val eq_eqvt             = @{thm "Nominal.pt_eq_eqvt"};
   750        val eq_eqvt             = @{thm "Nominal.pt_eq_eqvt"};
   751        val all_eqvt            = @{thm "Nominal.pt_all_eqvt"};
   751        val all_eqvt            = @{thm "Nominal.pt_all_eqvt"};
   752        val ex_eqvt             = @{thm "Nominal.pt_ex_eqvt"};
   752        val ex_eqvt             = @{thm "Nominal.pt_ex_eqvt"};
       
   753        val ex1_eqvt            = @{thm "Nominal.pt_ex1_eqvt"};
       
   754        val the_eqvt            = @{thm "Nominal.pt_the_eqvt"};
   753        val pt_pi_rev           = @{thm "Nominal.pt_pi_rev"};
   755        val pt_pi_rev           = @{thm "Nominal.pt_pi_rev"};
   754        val pt_rev_pi           = @{thm "Nominal.pt_rev_pi"};
   756        val pt_rev_pi           = @{thm "Nominal.pt_rev_pi"};
   755        val at_exists_fresh     = @{thm "Nominal.at_exists_fresh"};
   757        val at_exists_fresh     = @{thm "Nominal.at_exists_fresh"};
   756        val at_exists_fresh'    = @{thm "Nominal.at_exists_fresh'"};
   758        val at_exists_fresh'    = @{thm "Nominal.at_exists_fresh'"};
   757        val fresh_perm_app_ineq = @{thm "Nominal.pt_fresh_perm_app_ineq"};
   759        val fresh_perm_app_ineq = @{thm "Nominal.pt_fresh_perm_app_ineq"};
   862                 val thms2 = map (fold_rule [inductive_forall_def]) thms1
   864                 val thms2 = map (fold_rule [inductive_forall_def]) thms1
   863               in
   865               in
   864                 [(("all_eqvt", thms1 @ thms2), [NominalThmDecls.eqvt_force_add])]
   866                 [(("all_eqvt", thms1 @ thms2), [NominalThmDecls.eqvt_force_add])]
   865               end
   867               end
   866             ||>> PureThy.add_thmss [(("ex_eqvt", inst_pt_at [ex_eqvt]),[NominalThmDecls.eqvt_force_add])]
   868             ||>> PureThy.add_thmss [(("ex_eqvt", inst_pt_at [ex_eqvt]),[NominalThmDecls.eqvt_force_add])]
       
   869             ||>> PureThy.add_thmss [(("ex1_eqvt", inst_pt_at [ex1_eqvt]),[NominalThmDecls.eqvt_force_add])]
       
   870             ||>> PureThy.add_thmss [(("the_eqvt", inst_pt_at [the_eqvt]),[NominalThmDecls.eqvt_force_add])]
   867             ||>> PureThy.add_thmss 
   871             ||>> PureThy.add_thmss 
   868               let val thms1 = inst_at [at_fresh]
   872               let val thms1 = inst_at [at_fresh]
   869                   val thms2 = inst_dj [at_fresh_ineq]
   873                   val thms2 = inst_dj [at_fresh_ineq]
   870               in [(("fresh_atm", thms1 @ thms2),[])] end
   874               in [(("fresh_atm", thms1 @ thms2),[])] end
   871             ||>> PureThy.add_thmss
   875             ||>> PureThy.add_thmss