equal
deleted
inserted
replaced
528 (ZAppt (proof p, Same.commit term t) |
528 (ZAppt (proof p, Same.commit term t) |
529 handle Same.SAME => ZAppt (p, term t)) |
529 handle Same.SAME => ZAppt (p, term t)) |
530 | proof (ZAppp (p, q)) = |
530 | proof (ZAppp (p, q)) = |
531 (ZAppp (proof p, Same.commit proof q) |
531 (ZAppp (proof p, Same.commit proof q) |
532 handle Same.SAME => ZAppp (p, proof q)) |
532 handle Same.SAME => ZAppp (p, proof q)) |
533 | proof (ZClassp (T, c)) = ZClassp (typ T, c); |
533 | proof (ZClassp (T, c)) = if hyps then ZClassp (typ T, c) else raise Same.SAME; |
534 in proof end; |
534 in proof end; |
535 |
535 |
536 fun map_proof hyps typ term = Same.commit (map_proof_same hyps typ term); |
536 fun map_proof hyps typ term = Same.commit (map_proof_same hyps typ term); |
537 fun map_proof_types hyps typ = map_proof hyps typ (subst_term_same typ Same.same); |
537 fun map_proof_types hyps typ = map_proof hyps typ (subst_term_same typ Same.same); |
538 |
538 |