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

The SDK directory does not exist (ubuntu 16.04) (react native) -

python - How to clone or copy a list? -

python - How to use Celery in Tornado with redis as broker and backend? -