Proof of Theorem usgredg2vlem2
Step | Hyp | Ref
| Expression |
1 | | fveq2 6768 |
. . . . . 6
⊢ (𝑥 = 𝑌 → (𝐸‘𝑥) = (𝐸‘𝑌)) |
2 | 1 | eleq2d 2825 |
. . . . 5
⊢ (𝑥 = 𝑌 → (𝑁 ∈ (𝐸‘𝑥) ↔ 𝑁 ∈ (𝐸‘𝑌))) |
3 | | usgredg2v.a |
. . . . 5
⊢ 𝐴 = {𝑥 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑥)} |
4 | 2, 3 | elrab2 3628 |
. . . 4
⊢ (𝑌 ∈ 𝐴 ↔ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌))) |
5 | 4 | biimpi 215 |
. . 3
⊢ (𝑌 ∈ 𝐴 → (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌))) |
6 | | usgredg2v.v |
. . . . . . . 8
⊢ 𝑉 = (Vtx‘𝐺) |
7 | | usgredg2v.e |
. . . . . . . 8
⊢ 𝐸 = (iEdg‘𝐺) |
8 | 6, 7 | usgredgreu 27566 |
. . . . . . 7
⊢ ((𝐺 ∈ USGraph ∧ 𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)) → ∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑁, 𝑧}) |
9 | 8 | 3expb 1118 |
. . . . . 6
⊢ ((𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌))) → ∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑁, 𝑧}) |
10 | 6, 7, 3 | usgredg2vlem1 27573 |
. . . . . . . . . . . . . . 15
⊢ ((𝐺 ∈ USGraph ∧ 𝑌 ∈ 𝐴) → (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) ∈ 𝑉) |
11 | 10 | adantlr 711 |
. . . . . . . . . . . . . 14
⊢ (((𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌))) ∧ 𝑌 ∈ 𝐴) → (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) ∈ 𝑉) |
12 | 11 | ad4ant23 749 |
. . . . . . . . . . . . 13
⊢
((((∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) ∧ 𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁})) → (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) ∈ 𝑉) |
13 | | eleq1 2827 |
. . . . . . . . . . . . . 14
⊢ (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (𝐼 ∈ 𝑉 ↔ (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) ∈ 𝑉)) |
14 | 13 | adantl 481 |
. . . . . . . . . . . . 13
⊢
((((∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) ∧ 𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁})) → (𝐼 ∈ 𝑉 ↔ (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) ∈ 𝑉)) |
15 | 12, 14 | mpbird 256 |
. . . . . . . . . . . 12
⊢
((((∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) ∧ 𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁})) → 𝐼 ∈ 𝑉) |
16 | | prcom 4673 |
. . . . . . . . . . . . . . . 16
⊢ {𝑁, 𝑧} = {𝑧, 𝑁} |
17 | 16 | eqeq2i 2752 |
. . . . . . . . . . . . . . 15
⊢ ((𝐸‘𝑌) = {𝑁, 𝑧} ↔ (𝐸‘𝑌) = {𝑧, 𝑁}) |
18 | 17 | reubii 3323 |
. . . . . . . . . . . . . 14
⊢
(∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ↔ ∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) |
19 | 18 | biimpi 215 |
. . . . . . . . . . . . 13
⊢
(∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} → ∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) |
20 | 19 | ad3antrrr 726 |
. . . . . . . . . . . 12
⊢
((((∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) ∧ 𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁})) → ∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) |
21 | | preq1 4674 |
. . . . . . . . . . . . . 14
⊢ (𝑧 = 𝐼 → {𝑧, 𝑁} = {𝐼, 𝑁}) |
22 | 21 | eqeq2d 2750 |
. . . . . . . . . . . . 13
⊢ (𝑧 = 𝐼 → ((𝐸‘𝑌) = {𝑧, 𝑁} ↔ (𝐸‘𝑌) = {𝐼, 𝑁})) |
23 | 22 | riota2 7251 |
. . . . . . . . . . . 12
⊢ ((𝐼 ∈ 𝑉 ∧ ∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → ((𝐸‘𝑌) = {𝐼, 𝑁} ↔ (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) = 𝐼)) |
24 | 15, 20, 23 | syl2anc 583 |
. . . . . . . . . . 11
⊢
((((∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) ∧ 𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁})) → ((𝐸‘𝑌) = {𝐼, 𝑁} ↔ (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) = 𝐼)) |
25 | 24 | exbiri 807 |
. . . . . . . . . 10
⊢
(((∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → ((℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) = 𝐼 → (𝐸‘𝑌) = {𝐼, 𝑁}))) |
26 | 25 | com13 88 |
. . . . . . . . 9
⊢
((℩𝑧
∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) = 𝐼 → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (((∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) → (𝐸‘𝑌) = {𝐼, 𝑁}))) |
27 | 26 | eqcoms 2747 |
. . . . . . . 8
⊢ (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (((∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) → (𝐸‘𝑌) = {𝐼, 𝑁}))) |
28 | 27 | pm2.43i 52 |
. . . . . . 7
⊢ (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (((∃!𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) ∧ 𝑌 ∈ 𝐴) → (𝐸‘𝑌) = {𝐼, 𝑁})) |
29 | 28 | expdcom 414 |
. . . . . 6
⊢
((∃!𝑧 ∈
𝑉 (𝐸‘𝑌) = {𝑁, 𝑧} ∧ (𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)))) → (𝑌 ∈ 𝐴 → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (𝐸‘𝑌) = {𝐼, 𝑁}))) |
30 | 9, 29 | mpancom 684 |
. . . . 5
⊢ ((𝐺 ∈ USGraph ∧ (𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌))) → (𝑌 ∈ 𝐴 → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (𝐸‘𝑌) = {𝐼, 𝑁}))) |
31 | 30 | expcom 413 |
. . . 4
⊢ ((𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)) → (𝐺 ∈ USGraph → (𝑌 ∈ 𝐴 → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (𝐸‘𝑌) = {𝐼, 𝑁})))) |
32 | 31 | com23 86 |
. . 3
⊢ ((𝑌 ∈ dom 𝐸 ∧ 𝑁 ∈ (𝐸‘𝑌)) → (𝑌 ∈ 𝐴 → (𝐺 ∈ USGraph → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (𝐸‘𝑌) = {𝐼, 𝑁})))) |
33 | 5, 32 | mpcom 38 |
. 2
⊢ (𝑌 ∈ 𝐴 → (𝐺 ∈ USGraph → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (𝐸‘𝑌) = {𝐼, 𝑁}))) |
34 | 33 | impcom 407 |
1
⊢ ((𝐺 ∈ USGraph ∧ 𝑌 ∈ 𝐴) → (𝐼 = (℩𝑧 ∈ 𝑉 (𝐸‘𝑌) = {𝑧, 𝑁}) → (𝐸‘𝑌) = {𝐼, 𝑁})) |