thy : string -> data list
Case distinctions are ignored when determining the segment. The current segment may be specified, either by the distinguished literal "-", or by the name given when creating the segment with new_theory.
- DB.thy "pair";
> val it =
[(("pair", "ABS_PAIR_THM"), (|- !x. ?q r. x = (q,r), Db.Thm)),
(("pair", "ABS_REP_prod"),
(|- (!a. ABS_prod (REP_prod a) = a) /\
!r. IS_PAIR r = (REP_prod (ABS_prod r) = r), Db.Def)),
(("pair", "CLOSED_PAIR_EQ"),
(|- !x y a b. ((x,y) = (a,b)) = (x = a) /\ (y = b), Db.Thm)),
.
.
.