src/HOL/Bali/WellForm.thy
changeset 45608 13b101cee425
parent 45605 a89b4bc311a5
child 46212 d86ef6b96097
     1.1 --- a/src/HOL/Bali/WellForm.thy	Sun Nov 20 21:07:10 2011 +0100
     1.2 +++ b/src/HOL/Bali/WellForm.thy	Sun Nov 20 21:28:07 2011 +0100
     1.3 @@ -733,13 +733,14 @@
     1.4   \<Longrightarrow> declclass m = Object"
     1.5  by (auto dest: class_Object simp add: methd_rec )
     1.6  
     1.7 +lemmas iface_rec_induct' = iface_rec.induct [of "%x y z. P x y"] for P
     1.8 +
     1.9  lemma wf_imethdsD: 
    1.10   "\<lbrakk>im \<in> imethds G I sig;wf_prog G; is_iface G I\<rbrakk> 
    1.11   \<Longrightarrow> \<not>is_static im \<and> accmodi im = Public"
    1.12  proof -
    1.13    assume asm: "wf_prog G" "is_iface G I" "im \<in> imethds G I sig"
    1.14  
    1.15 -  note iface_rec_induct' = iface_rec.induct[of "(%x y z. P x y)", standard]  (* FIXME !? *)
    1.16    have "wf_prog G \<longrightarrow> 
    1.17           (\<forall> i im. iface G I = Some i \<longrightarrow> im \<in> imethds G I sig
    1.18                    \<longrightarrow> \<not>is_static im \<and> accmodi im = Public)" (is "?P G I")