Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  elfuns Structured version   Visualization version   GIF version

Theorem elfuns 32147
Description: Membership in the class of all functions. (Contributed by Scott Fenton, 18-Feb-2013.)
Hypothesis
Ref Expression
elfuns.1 𝐹 ∈ V
Assertion
Ref Expression
elfuns (𝐹 Funs ↔ Fun 𝐹)

Proof of Theorem elfuns
Dummy variables 𝑎 𝑥 𝑦 𝑧 𝑝 𝑞 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elrel 5256 . . . . . . . . . . 11 ((Rel 𝐹𝑝𝐹) → ∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
21ex 449 . . . . . . . . . 10 (Rel 𝐹 → (𝑝𝐹 → ∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩))
3 elrel 5256 . . . . . . . . . . 11 ((Rel 𝐹𝑞𝐹) → ∃𝑎𝑧 𝑞 = ⟨𝑎, 𝑧⟩)
43ex 449 . . . . . . . . . 10 (Rel 𝐹 → (𝑞𝐹 → ∃𝑎𝑧 𝑞 = ⟨𝑎, 𝑧⟩))
52, 4anim12d 585 . . . . . . . . 9 (Rel 𝐹 → ((𝑝𝐹𝑞𝐹) → (∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑎𝑧 𝑞 = ⟨𝑎, 𝑧⟩)))
65adantrd 483 . . . . . . . 8 (Rel 𝐹 → (((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝) → (∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑎𝑧 𝑞 = ⟨𝑎, 𝑧⟩)))
76pm4.71rd 668 . . . . . . 7 (Rel 𝐹 → (((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝) ↔ ((∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑎𝑧 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝))))
8 19.41vvvv 1920 . . . . . . . 8 (∃𝑥𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ (∃𝑥𝑦𝑎𝑧(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
9 ee4anv 2220 . . . . . . . . 9 (∃𝑥𝑦𝑎𝑧(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ↔ (∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑎𝑧 𝑞 = ⟨𝑎, 𝑧⟩))
109anbi1i 731 . . . . . . . 8 ((∃𝑥𝑦𝑎𝑧(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ((∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑎𝑧 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
118, 10bitr2i 265 . . . . . . 7 (((∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑎𝑧 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑥𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
127, 11syl6bb 276 . . . . . 6 (Rel 𝐹 → (((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝) ↔ ∃𝑥𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝))))
13122exbidv 1892 . . . . 5 (Rel 𝐹 → (∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝) ↔ ∃𝑝𝑞𝑥𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝))))
14 excom13 2084 . . . . . 6 (∃𝑝𝑞𝑥𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑥𝑞𝑝𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
15 excom13 2084 . . . . . . . 8 (∃𝑞𝑝𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑦𝑝𝑞𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
16 exrot4 2086 . . . . . . . . . 10 (∃𝑝𝑞𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑎𝑧𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
17 excom 2082 . . . . . . . . . 10 (∃𝑎𝑧𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑧𝑎𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
18 df-3an 1056 . . . . . . . . . . . . . . . 16 ((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩ ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
19182exbii 1815 . . . . . . . . . . . . . . 15 (∃𝑝𝑞(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩ ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
20 opex 4962 . . . . . . . . . . . . . . . 16 𝑥, 𝑦⟩ ∈ V
21 opex 4962 . . . . . . . . . . . . . . . 16 𝑎, 𝑧⟩ ∈ V
22 eleq1 2718 . . . . . . . . . . . . . . . . . 18 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝑝𝐹 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
2322anbi1d 741 . . . . . . . . . . . . . . . . 17 (𝑝 = ⟨𝑥, 𝑦⟩ → ((𝑝𝐹𝑞𝐹) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑞𝐹)))
24 breq2 4689 . . . . . . . . . . . . . . . . 17 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩))
2523, 24anbi12d 747 . . . . . . . . . . . . . . . 16 (𝑝 = ⟨𝑥, 𝑦⟩ → (((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝) ↔ ((⟨𝑥, 𝑦⟩ ∈ 𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩)))
26 eleq1 2718 . . . . . . . . . . . . . . . . . . 19 (𝑞 = ⟨𝑎, 𝑧⟩ → (𝑞𝐹 ↔ ⟨𝑎, 𝑧⟩ ∈ 𝐹))
2726anbi2d 740 . . . . . . . . . . . . . . . . . 18 (𝑞 = ⟨𝑎, 𝑧⟩ → ((⟨𝑥, 𝑦⟩ ∈ 𝐹𝑞𝐹) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹)))
28 breq1 4688 . . . . . . . . . . . . . . . . . . 19 (𝑞 = ⟨𝑎, 𝑧⟩ → (𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩ ↔ ⟨𝑎, 𝑧⟩(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩))
29 vex 3234 . . . . . . . . . . . . . . . . . . . . 21 𝑥 ∈ V
30 vex 3234 . . . . . . . . . . . . . . . . . . . . 21 𝑦 ∈ V
3121, 29, 30brtxp 32112 . . . . . . . . . . . . . . . . . . . 20 (⟨𝑎, 𝑧⟩(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩ ↔ (⟨𝑎, 𝑧⟩1st 𝑥 ∧ ⟨𝑎, 𝑧⟩((V ∖ I ) ∘ 2nd )𝑦))
32 vex 3234 . . . . . . . . . . . . . . . . . . . . . . 23 𝑎 ∈ V
33 vex 3234 . . . . . . . . . . . . . . . . . . . . . . 23 𝑧 ∈ V
3432, 33br1steq 31796 . . . . . . . . . . . . . . . . . . . . . 22 (⟨𝑎, 𝑧⟩1st 𝑥𝑥 = 𝑎)
35 equcom 1991 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑎𝑎 = 𝑥)
3634, 35bitri 264 . . . . . . . . . . . . . . . . . . . . 21 (⟨𝑎, 𝑧⟩1st 𝑥𝑎 = 𝑥)
3721, 30brco 5325 . . . . . . . . . . . . . . . . . . . . . 22 (⟨𝑎, 𝑧⟩((V ∖ I ) ∘ 2nd )𝑦 ↔ ∃𝑥(⟨𝑎, 𝑧⟩2nd 𝑥𝑥(V ∖ I )𝑦))
3832, 33br2ndeq 31797 . . . . . . . . . . . . . . . . . . . . . . . 24 (⟨𝑎, 𝑧⟩2nd 𝑥𝑥 = 𝑧)
3938anbi1i 731 . . . . . . . . . . . . . . . . . . . . . . 23 ((⟨𝑎, 𝑧⟩2nd 𝑥𝑥(V ∖ I )𝑦) ↔ (𝑥 = 𝑧𝑥(V ∖ I )𝑦))
4039exbii 1814 . . . . . . . . . . . . . . . . . . . . . 22 (∃𝑥(⟨𝑎, 𝑧⟩2nd 𝑥𝑥(V ∖ I )𝑦) ↔ ∃𝑥(𝑥 = 𝑧𝑥(V ∖ I )𝑦))
41 breq1 4688 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑥 = 𝑧 → (𝑥(V ∖ I )𝑦𝑧(V ∖ I )𝑦))
42 brv 4970 . . . . . . . . . . . . . . . . . . . . . . . . . 26 𝑧V𝑦
43 brdif 4738 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧(V ∖ I )𝑦 ↔ (𝑧V𝑦 ∧ ¬ 𝑧 I 𝑦))
4442, 43mpbiran 973 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧(V ∖ I )𝑦 ↔ ¬ 𝑧 I 𝑦)
4530ideq 5307 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑧 I 𝑦𝑧 = 𝑦)
46 equcom 1991 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑧 = 𝑦𝑦 = 𝑧)
4745, 46bitri 264 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧 I 𝑦𝑦 = 𝑧)
4847notbii 309 . . . . . . . . . . . . . . . . . . . . . . . . 25 𝑧 I 𝑦 ↔ ¬ 𝑦 = 𝑧)
4944, 48bitri 264 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑧(V ∖ I )𝑦 ↔ ¬ 𝑦 = 𝑧)
5041, 49syl6bb 276 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑥 = 𝑧 → (𝑥(V ∖ I )𝑦 ↔ ¬ 𝑦 = 𝑧))
5150equsexvw 1978 . . . . . . . . . . . . . . . . . . . . . 22 (∃𝑥(𝑥 = 𝑧𝑥(V ∖ I )𝑦) ↔ ¬ 𝑦 = 𝑧)
5237, 40, 513bitri 286 . . . . . . . . . . . . . . . . . . . . 21 (⟨𝑎, 𝑧⟩((V ∖ I ) ∘ 2nd )𝑦 ↔ ¬ 𝑦 = 𝑧)
5336, 52anbi12i 733 . . . . . . . . . . . . . . . . . . . 20 ((⟨𝑎, 𝑧⟩1st 𝑥 ∧ ⟨𝑎, 𝑧⟩((V ∖ I ) ∘ 2nd )𝑦) ↔ (𝑎 = 𝑥 ∧ ¬ 𝑦 = 𝑧))
5431, 53bitri 264 . . . . . . . . . . . . . . . . . . 19 (⟨𝑎, 𝑧⟩(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩ ↔ (𝑎 = 𝑥 ∧ ¬ 𝑦 = 𝑧))
5528, 54syl6bb 276 . . . . . . . . . . . . . . . . . 18 (𝑞 = ⟨𝑎, 𝑧⟩ → (𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩ ↔ (𝑎 = 𝑥 ∧ ¬ 𝑦 = 𝑧)))
5627, 55anbi12d 747 . . . . . . . . . . . . . . . . 17 (𝑞 = ⟨𝑎, 𝑧⟩ → (((⟨𝑥, 𝑦⟩ ∈ 𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩) ↔ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ (𝑎 = 𝑥 ∧ ¬ 𝑦 = 𝑧))))
57 an12 855 . . . . . . . . . . . . . . . . 17 (((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ (𝑎 = 𝑥 ∧ ¬ 𝑦 = 𝑧)) ↔ (𝑎 = 𝑥 ∧ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧)))
5856, 57syl6bb 276 . . . . . . . . . . . . . . . 16 (𝑞 = ⟨𝑎, 𝑧⟩ → (((⟨𝑥, 𝑦⟩ ∈ 𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))⟨𝑥, 𝑦⟩) ↔ (𝑎 = 𝑥 ∧ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧))))
5920, 21, 25, 58ceqsex2v 3276 . . . . . . . . . . . . . . 15 (∃𝑝𝑞(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩ ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ (𝑎 = 𝑥 ∧ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧)))
6019, 59bitr3i 266 . . . . . . . . . . . . . 14 (∃𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ (𝑎 = 𝑥 ∧ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧)))
6160exbii 1814 . . . . . . . . . . . . 13 (∃𝑎𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑎(𝑎 = 𝑥 ∧ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧)))
62 opeq1 4433 . . . . . . . . . . . . . . . . 17 (𝑎 = 𝑥 → ⟨𝑎, 𝑧⟩ = ⟨𝑥, 𝑧⟩)
6362eleq1d 2715 . . . . . . . . . . . . . . . 16 (𝑎 = 𝑥 → (⟨𝑎, 𝑧⟩ ∈ 𝐹 ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐹))
6463anbi2d 740 . . . . . . . . . . . . . . 15 (𝑎 = 𝑥 → ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹)))
6564anbi1d 741 . . . . . . . . . . . . . 14 (𝑎 = 𝑥 → (((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧) ↔ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧)))
6665equsexvw 1978 . . . . . . . . . . . . 13 (∃𝑎(𝑎 = 𝑥 ∧ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑎, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧)) ↔ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧))
6761, 66bitri 264 . . . . . . . . . . . 12 (∃𝑎𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧))
6867exbii 1814 . . . . . . . . . . 11 (∃𝑧𝑎𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧))
69 exanali 1826 . . . . . . . . . . 11 (∃𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) ∧ ¬ 𝑦 = 𝑧) ↔ ¬ ∀𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
7068, 69bitri 264 . . . . . . . . . 10 (∃𝑧𝑎𝑝𝑞((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ¬ ∀𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
7116, 17, 703bitri 286 . . . . . . . . 9 (∃𝑝𝑞𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ¬ ∀𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
7271exbii 1814 . . . . . . . 8 (∃𝑦𝑝𝑞𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑦 ¬ ∀𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
73 exnal 1794 . . . . . . . 8 (∃𝑦 ¬ ∀𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧) ↔ ¬ ∀𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
7415, 72, 733bitri 286 . . . . . . 7 (∃𝑞𝑝𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ¬ ∀𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
7574exbii 1814 . . . . . 6 (∃𝑥𝑞𝑝𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ∃𝑥 ¬ ∀𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
76 exnal 1794 . . . . . 6 (∃𝑥 ¬ ∀𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧) ↔ ¬ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
7714, 75, 763bitri 286 . . . . 5 (∃𝑝𝑞𝑥𝑦𝑎𝑧((𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑞 = ⟨𝑎, 𝑧⟩) ∧ ((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)) ↔ ¬ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧))
7813, 77syl6bb 276 . . . 4 (Rel 𝐹 → (∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝) ↔ ¬ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧)))
7978con2bid 343 . . 3 (Rel 𝐹 → (∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧) ↔ ¬ ∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
8079pm5.32i 670 . 2 ((Rel 𝐹 ∧ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧)) ↔ (Rel 𝐹 ∧ ¬ ∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
81 dffun4 5938 . 2 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹) → 𝑦 = 𝑧)))
82 df-funs 32093 . . . 4 Funs = (𝒫 (V × V) ∖ Fix ( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E )))
8382eleq2i 2722 . . 3 (𝐹 Funs 𝐹 ∈ (𝒫 (V × V) ∖ Fix ( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E ))))
84 eldif 3617 . . 3 (𝐹 ∈ (𝒫 (V × V) ∖ Fix ( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E ))) ↔ (𝐹 ∈ 𝒫 (V × V) ∧ ¬ 𝐹 Fix ( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E ))))
85 elfuns.1 . . . . . 6 𝐹 ∈ V
8685elpw 4197 . . . . 5 (𝐹 ∈ 𝒫 (V × V) ↔ 𝐹 ⊆ (V × V))
87 df-rel 5150 . . . . 5 (Rel 𝐹𝐹 ⊆ (V × V))
8886, 87bitr4i 267 . . . 4 (𝐹 ∈ 𝒫 (V × V) ↔ Rel 𝐹)
8985elfix 32135 . . . . . 6 (𝐹 Fix ( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E )) ↔ 𝐹( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E ))𝐹)
9085, 85coep 31767 . . . . . . 7 (𝐹( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E ))𝐹 ↔ ∃𝑝𝐹 𝐹((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E )𝑝)
91 vex 3234 . . . . . . . . 9 𝑝 ∈ V
9285, 91coepr 31768 . . . . . . . 8 (𝐹((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E )𝑝 ↔ ∃𝑞𝐹 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)
9392rexbii 3070 . . . . . . 7 (∃𝑝𝐹 𝐹((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E )𝑝 ↔ ∃𝑝𝐹𝑞𝐹 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)
9490, 93bitri 264 . . . . . 6 (𝐹( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E ))𝐹 ↔ ∃𝑝𝐹𝑞𝐹 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)
95 r2ex 3090 . . . . . 6 (∃𝑝𝐹𝑞𝐹 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝 ↔ ∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝))
9689, 94, 953bitri 286 . . . . 5 (𝐹 Fix ( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E )) ↔ ∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝))
9796notbii 309 . . . 4 𝐹 Fix ( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E )) ↔ ¬ ∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝))
9888, 97anbi12i 733 . . 3 ((𝐹 ∈ 𝒫 (V × V) ∧ ¬ 𝐹 Fix ( E ∘ ((1st ⊗ ((V ∖ I ) ∘ 2nd )) ∘ E ))) ↔ (Rel 𝐹 ∧ ¬ ∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
9983, 84, 983bitri 286 . 2 (𝐹 Funs ↔ (Rel 𝐹 ∧ ¬ ∃𝑝𝑞((𝑝𝐹𝑞𝐹) ∧ 𝑞(1st ⊗ ((V ∖ I ) ∘ 2nd ))𝑝)))
10080, 81, 993bitr4ri 293 1 (𝐹 Funs ↔ Fun 𝐹)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 383  w3a 1054  wal 1521   = wceq 1523  wex 1744  wcel 2030  wrex 2942  Vcvv 3231  cdif 3604  wss 3607  𝒫 cpw 4191  cop 4216   class class class wbr 4685   I cid 5052   E cep 5057   × cxp 5141  ccnv 5142  ccom 5147  Rel wrel 5148  Fun wfun 5920  1st c1st 7208  2nd c2nd 7209  ctxp 32062   Fix cfix 32067   Funs cfuns 32069
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-eprel 5058  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-fo 5932  df-fv 5934  df-1st 7210  df-2nd 7211  df-txp 32086  df-fix 32091  df-funs 32093
This theorem is referenced by:  elfunsg  32148  dfrecs2  32182  dfrdg4  32183
  Copyright terms: Public domain W3C validator