src/HOL/Real/PNat.ML
changeset 8856 435187ffc64e
parent 7562 8519d5019309
child 8866 9ac6a18d363b
equal deleted inserted replaced
8855:ef4848bb0696 8856:435187ffc64e
   224 Goalw [pnat_add_def] "!(y::pnat). x + y ~= x";
   224 Goalw [pnat_add_def] "!(y::pnat). x + y ~= x";
   225 by (rtac (Rep_pnat_inverse RS subst) 1);
   225 by (rtac (Rep_pnat_inverse RS subst) 1);
   226 by (auto_tac (claset() addDs [(inj_on_Abs_pnat RS inj_onD)] 
   226 by (auto_tac (claset() addDs [(inj_on_Abs_pnat RS inj_onD)] 
   227   	               addSDs [add_eq_self_zero],
   227   	               addSDs [add_eq_self_zero],
   228 	      simpset() addsimps [sum_Rep_pnat, Rep_pnat,Abs_pnat_inverse,
   228 	      simpset() addsimps [sum_Rep_pnat, Rep_pnat,Abs_pnat_inverse,
   229 				  Rep_pnat_gt_zero RS less_not_refl2]));
   229 				  Rep_pnat_gt_zero RS less_not_refl2]
       
   230                         delsimprocs Nat_Numeral_Simprocs.cancel_numerals));
   230 qed "pnat_no_add_ident";
   231 qed "pnat_no_add_ident";
   231 
   232 
   232 
   233 
   233 (***) (***) (***) (***) (***) (***) (***) (***) (***)
   234 (***) (***) (***) (***) (***) (***) (***) (***) (***)
   234 
   235