src/HOL/Hyperreal/NatStar.ML
changeset 11713 883d559b0b8c
parent 11701 3d51fbf81c17
child 12018 ec054019c910
equal deleted inserted replaced
11712:deb8cac87063 11713:883d559b0b8c
   356 qed "starfun_less_mono";
   356 qed "starfun_less_mono";
   357 
   357 
   358 (*----------------------------------------------------------------
   358 (*----------------------------------------------------------------
   359             NS extension when we displace argument by one
   359             NS extension when we displace argument by one
   360  ---------------------------------------------------------------*)
   360  ---------------------------------------------------------------*)
   361 Goal "(*fNat* (%n. f (Suc n))) N = (*fNat* f) (N + 1hn)";
   361 Goal "(*fNat* (%n. f (Suc n))) N = (*fNat* f) (N + (1::hypnat))";
   362 by (res_inst_tac [("z","N")] eq_Abs_hypnat 1);
   362 by (res_inst_tac [("z","N")] eq_Abs_hypnat 1);
   363 by (auto_tac (claset(),
   363 by (auto_tac (claset(),
   364          simpset() addsimps [starfunNat, hypnat_one_def,hypnat_add]));
   364          simpset() addsimps [starfunNat, hypnat_one_def,hypnat_add]));
   365 qed "starfunNat_shift_one";
   365 qed "starfunNat_shift_one";
   366 
   366