equal
deleted
inserted
replaced
72 (fn prems => |
72 (fn prems => |
73 [ |
73 [ |
74 (rtac allI 1), |
74 (rtac allI 1), |
75 (rtac allI 1), |
75 (rtac allI 1), |
76 (res_inst_tac [("p","x")] oneE 1), |
76 (res_inst_tac [("p","x")] oneE 1), |
77 (asm_simp_tac ccc1_ss 1), |
77 (Asm_simp_tac 1), |
78 (res_inst_tac [("p","y")] oneE 1), |
78 (res_inst_tac [("p","y")] oneE 1), |
79 (asm_simp_tac (ccc1_ss addsimps dist_less_one) 1), |
79 (asm_simp_tac (!simpset addsimps dist_less_one) 1), |
80 (asm_simp_tac ccc1_ss 1) |
80 (Asm_simp_tac 1) |
81 ]); |
81 ]); |
82 |
82 |
83 |
83 |
84 (* ------------------------------------------------------------------------ *) |
84 (* ------------------------------------------------------------------------ *) |
85 (* properties of one_when *) |
85 (* properties of one_when *) |
87 (* ------------------------------------------------------------------------ *) |
87 (* ------------------------------------------------------------------------ *) |
88 |
88 |
89 fun prover s = prove_goalw One.thy [one_when_def,one_def] s |
89 fun prover s = prove_goalw One.thy [one_when_def,one_def] s |
90 (fn prems => |
90 (fn prems => |
91 [ |
91 [ |
92 (simp_tac (ccc1_ss addsimps [(rep_one_iso ), |
92 (simp_tac (!simpset addsimps [(rep_one_iso ), |
93 (abs_one_iso RS allI) RS ((rep_one_iso RS allI) |
93 (abs_one_iso RS allI) RS ((rep_one_iso RS allI) |
94 RS iso_strict) RS conjunct1] )1) |
94 RS iso_strict) RS conjunct1] )1) |
95 ]); |
95 ]); |
96 |
96 |
97 val one_when = map prover ["one_when`x`UU = UU","one_when`x`one = x"]; |
97 val one_when = map prover ["one_when`x`UU = UU","one_when`x`one = x"]; |