equal
deleted
inserted
replaced
624 | lift' _ _ (PAxm (s, prop, Ts)) = |
624 | lift' _ _ (PAxm (s, prop, Ts)) = |
625 PAxm (s, prop, apsome' (same (map (incr_tvar inc))) Ts) |
625 PAxm (s, prop, apsome' (same (map (incr_tvar inc))) Ts) |
626 | lift' _ _ _ = raise SAME |
626 | lift' _ _ _ = raise SAME |
627 and lifth' Us Ts prf = (lift' Us Ts prf handle SAME => prf); |
627 and lifth' Us Ts prf = (lift' Us Ts prf handle SAME => prf); |
628 |
628 |
629 val ps = map lift_all (Logic.strip_imp_prems (snd (Logic.strip_flexpairs prop))); |
629 val ps = map lift_all (Logic.strip_imp_prems prop); |
630 val k = length ps; |
630 val k = length ps; |
631 |
631 |
632 fun mk_app (b, (i, j, prf)) = |
632 fun mk_app (b, (i, j, prf)) = |
633 if b then (i-1, j, prf %% PBound i) else (i, j-1, prf %> Bound j); |
633 if b then (i-1, j, prf %% PBound i) else (i, j-1, prf %> Bound j); |
634 |
634 |