395 | zproof (p %% q) = ZAppp (zproof p, zproof q) |
395 | zproof (p %% q) = ZAppp (zproof p, zproof q) |
396 | zproof (Hyp t) = ZHyp (zterm t) |
396 | zproof (Hyp t) = ZHyp (zterm t) |
397 | zproof (PAxm (a, prop, SOME Ts)) = zproof_const (ZAxiom a) prop Ts |
397 | zproof (PAxm (a, prop, SOME Ts)) = zproof_const (ZAxiom a) prop Ts |
398 | zproof (PClass (T, c)) = OFCLASSp (ztyp T, c) |
398 | zproof (PClass (T, c)) = OFCLASSp (ztyp T, c) |
399 | zproof (Oracle (a, prop, SOME Ts)) = zproof_const (ZOracle a) prop Ts |
399 | zproof (Oracle (a, prop, SOME Ts)) = zproof_const (ZOracle a) prop Ts |
400 | zproof (PThm ({serial, command_pos, theory_name, thm_name, prop, types = SOME Ts, ...}, _)) = |
400 | zproof (PThm ({serial, theory_name, thm_name, prop, types = SOME Ts, ...}, _)) = |
401 let val proof_name = |
401 let val proof_name = |
402 ZThm {theory_name = theory_name, thm_name = thm_name, serial = serial}; |
402 ZThm {theory_name = theory_name, thm_name = thm_name, serial = serial}; |
403 in zproof_const proof_name prop Ts end; |
403 in zproof_const proof_name prop Ts end; |
404 in zproof end; |
404 in zproof end; |
405 |
405 |