Metamath Proof Explorer


Theorem prsrcmpltd

Description: If a statement is true for all pairs of elements of a class, all pairs of elements of its complement relative to a second class, and all pairs with one element in each, then it is true for all pairs of elements of the second class. (Contributed by BTernaryTau, 27-Sep-2023)

Ref Expression
Hypotheses prsrcmpltd.1 φCADAψ
prsrcmpltd.2 φCADBAψ
prsrcmpltd.3 φCBADAψ
prsrcmpltd.4 φCBADBAψ
Assertion prsrcmpltd φCBDBψ

Proof

Step Hyp Ref Expression
1 prsrcmpltd.1 φCADAψ
2 prsrcmpltd.2 φCADBAψ
3 prsrcmpltd.3 φCBADAψ
4 prsrcmpltd.4 φCBADBAψ
5 1 expdimp φCADAψ
6 2 expdimp φCADBAψ
7 5 6 srcmpltd φCADBψ
8 7 impancom φDBCAψ
9 3 expdimp φCBADAψ
10 4 expdimp φCBADBAψ
11 9 10 srcmpltd φCBADBψ
12 11 impancom φDBCBAψ
13 8 12 srcmpltd φDBCBψ
14 13 ex φDBCBψ
15 14 impcomd φCBDBψ