Metamath Proof Explorer


Theorem fnpr2ob

Description: Biconditional version of fnpr2o . (Contributed by Jim Kingdon, 27-Sep-2023)

Ref Expression
Assertion fnpr2ob A V B V A 1 𝑜 B Fn 2 𝑜

Proof

Step Hyp Ref Expression
1 fnpr2o A V B V A 1 𝑜 B Fn 2 𝑜
2 0ex V
3 2 prid1 1 𝑜
4 df2o3 2 𝑜 = 1 𝑜
5 3 4 eleqtrri 2 𝑜
6 fndm A 1 𝑜 B Fn 2 𝑜 dom A 1 𝑜 B = 2 𝑜
7 5 6 eleqtrrid A 1 𝑜 B Fn 2 𝑜 dom A 1 𝑜 B
8 2 eldm2 dom A 1 𝑜 B k k A 1 𝑜 B
9 7 8 sylib A 1 𝑜 B Fn 2 𝑜 k k A 1 𝑜 B
10 1n0 1 𝑜
11 10 nesymi ¬ = 1 𝑜
12 vex k V
13 2 12 opth1 k = 1 𝑜 B = 1 𝑜
14 11 13 mto ¬ k = 1 𝑜 B
15 elpri k A 1 𝑜 B k = A k = 1 𝑜 B
16 orel2 ¬ k = 1 𝑜 B k = A k = 1 𝑜 B k = A
17 14 15 16 mpsyl k A 1 𝑜 B k = A
18 2 12 opth k = A = k = A
19 17 18 sylib k A 1 𝑜 B = k = A
20 19 simprd k A 1 𝑜 B k = A
21 20 eximi k k A 1 𝑜 B k k = A
22 isset A V k k = A
23 21 22 sylibr k k A 1 𝑜 B A V
24 9 23 syl A 1 𝑜 B Fn 2 𝑜 A V
25 1oex 1 𝑜 V
26 25 prid2 1 𝑜 1 𝑜
27 26 4 eleqtrri 1 𝑜 2 𝑜
28 27 6 eleqtrrid A 1 𝑜 B Fn 2 𝑜 1 𝑜 dom A 1 𝑜 B
29 25 eldm2 1 𝑜 dom A 1 𝑜 B k 1 𝑜 k A 1 𝑜 B
30 28 29 sylib A 1 𝑜 B Fn 2 𝑜 k 1 𝑜 k A 1 𝑜 B
31 10 neii ¬ 1 𝑜 =
32 25 12 opth1 1 𝑜 k = A 1 𝑜 =
33 31 32 mto ¬ 1 𝑜 k = A
34 elpri 1 𝑜 k A 1 𝑜 B 1 𝑜 k = A 1 𝑜 k = 1 𝑜 B
35 34 orcomd 1 𝑜 k A 1 𝑜 B 1 𝑜 k = 1 𝑜 B 1 𝑜 k = A
36 orel2 ¬ 1 𝑜 k = A 1 𝑜 k = 1 𝑜 B 1 𝑜 k = A 1 𝑜 k = 1 𝑜 B
37 33 35 36 mpsyl 1 𝑜 k A 1 𝑜 B 1 𝑜 k = 1 𝑜 B
38 25 12 opth 1 𝑜 k = 1 𝑜 B 1 𝑜 = 1 𝑜 k = B
39 37 38 sylib 1 𝑜 k A 1 𝑜 B 1 𝑜 = 1 𝑜 k = B
40 39 simprd 1 𝑜 k A 1 𝑜 B k = B
41 40 eximi k 1 𝑜 k A 1 𝑜 B k k = B
42 isset B V k k = B
43 41 42 sylibr k 1 𝑜 k A 1 𝑜 B B V
44 30 43 syl A 1 𝑜 B Fn 2 𝑜 B V
45 24 44 jca A 1 𝑜 B Fn 2 𝑜 A V B V
46 1 45 impbii A V B V A 1 𝑜 B Fn 2 𝑜