Induction rule case names (Isabelle) -


some induction rules have case names: default 1 has case 0 , case (suc n) example. given rule, e.g. int_induct, how find out case names (if, indeed, has these) without looking in theory containing lemma?

i'm not aware of high-level way this. case names stored in tags of theorem can obtained ml:

ml‹thm.get_tags @{thm nat.induct}› 

this prints:

val = [("name", "nat.nat.induct"), ("kind", "theorem"), ("case_names", "zero;suc")]: properties.t 

as can see, case names available under key case_names.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -