MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  3vfriswmgrlem Structured version   Visualization version   GIF version

Theorem 3vfriswmgrlem 28146
Description: Lemma for 3vfriswmgr 28147. (Contributed by Alexander van der Vekens, 6-Oct-2017.) (Revised by AV, 31-Mar-2021.)
Hypotheses
Ref Expression
3vfriswmgr.v 𝑉 = (Vtx‘𝐺)
3vfriswmgr.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
3vfriswmgrlem (((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) → ({𝐴, 𝐵} ∈ 𝐸 → ∃!𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸))
Distinct variable groups:   𝑤,𝐴   𝑤,𝐵   𝑤,𝐶   𝑤,𝐸   𝑤,𝐺   𝑤,𝑉   𝑤,𝑋   𝑤,𝑌

Proof of Theorem 3vfriswmgrlem
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 animorr 977 . . . . . 6 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ({𝐴, 𝐴} ∈ 𝐸 ∨ {𝐴, 𝐵} ∈ 𝐸))
2 preq2 4620 . . . . . . . . . 10 (𝑤 = 𝐴 → {𝐴, 𝑤} = {𝐴, 𝐴})
32eleq1d 2835 . . . . . . . . 9 (𝑤 = 𝐴 → ({𝐴, 𝑤} ∈ 𝐸 ↔ {𝐴, 𝐴} ∈ 𝐸))
4 preq2 4620 . . . . . . . . . 10 (𝑤 = 𝐵 → {𝐴, 𝑤} = {𝐴, 𝐵})
54eleq1d 2835 . . . . . . . . 9 (𝑤 = 𝐵 → ({𝐴, 𝑤} ∈ 𝐸 ↔ {𝐴, 𝐵} ∈ 𝐸))
63, 5rexprg 4583 . . . . . . . 8 ((𝐴𝑋𝐵𝑌) → (∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ({𝐴, 𝐴} ∈ 𝐸 ∨ {𝐴, 𝐵} ∈ 𝐸)))
763adant3 1130 . . . . . . 7 ((𝐴𝑋𝐵𝑌𝐴𝐵) → (∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ({𝐴, 𝐴} ∈ 𝐸 ∨ {𝐴, 𝐵} ∈ 𝐸)))
87ad2antrr 726 . . . . . 6 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → (∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ({𝐴, 𝐴} ∈ 𝐸 ∨ {𝐴, 𝐵} ∈ 𝐸)))
91, 8mpbird 260 . . . . 5 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸)
10 df-rex 3074 . . . . 5 (∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ∃𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸))
119, 10sylib 221 . . . 4 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∃𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸))
12 vex 3411 . . . . . . . . 9 𝑤 ∈ V
1312elpr 4538 . . . . . . . 8 (𝑤 ∈ {𝐴, 𝐵} ↔ (𝑤 = 𝐴𝑤 = 𝐵))
14 vex 3411 . . . . . . . . . . . 12 𝑦 ∈ V
1514elpr 4538 . . . . . . . . . . 11 (𝑦 ∈ {𝐴, 𝐵} ↔ (𝑦 = 𝐴𝑦 = 𝐵))
16 eqidd 2760 . . . . . . . . . . . . . . . . . 18 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴)
1716a1i 11 . . . . . . . . . . . . . . . . 17 ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴))
1817a1i13 27 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → ({𝐴, 𝐴} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴))))
19 preq2 4620 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐴 → {𝐴, 𝑦} = {𝐴, 𝐴})
2019eleq1d 2835 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → ({𝐴, 𝑦} ∈ 𝐸 ↔ {𝐴, 𝐴} ∈ 𝐸))
21 eqeq2 2771 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝐴 → (𝐴 = 𝑦𝐴 = 𝐴))
2221imbi2d 345 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐴 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴)))
2322imbi2d 345 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → (({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦)) ↔ ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴))))
2418, 20, 233imtr4d 298 . . . . . . . . . . . . . . 15 (𝑦 = 𝐴 → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦))))
25 3vfriswmgr.e . . . . . . . . . . . . . . . . . . . . . . 23 𝐸 = (Edg‘𝐺)
2625usgredgne 27080 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐺 ∈ USGraph ∧ {𝐴, 𝐴} ∈ 𝐸) → 𝐴𝐴)
2726adantll 714 . . . . . . . . . . . . . . . . . . . . 21 (((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) ∧ {𝐴, 𝐴} ∈ 𝐸) → 𝐴𝐴)
28 df-ne 2950 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴𝐴 ↔ ¬ 𝐴 = 𝐴)
29 eqid 2759 . . . . . . . . . . . . . . . . . . . . . . 23 𝐴 = 𝐴
3029pm2.24i 153 . . . . . . . . . . . . . . . . . . . . . 22 𝐴 = 𝐴𝐴 = 𝐵)
3128, 30sylbi 220 . . . . . . . . . . . . . . . . . . . . 21 (𝐴𝐴𝐴 = 𝐵)
3227, 31syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) ∧ {𝐴, 𝐴} ∈ 𝐸) → 𝐴 = 𝐵)
3332ex 417 . . . . . . . . . . . . . . . . . . 19 ((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) → ({𝐴, 𝐴} ∈ 𝐸𝐴 = 𝐵))
3433ad2antlr 727 . . . . . . . . . . . . . . . . . 18 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ({𝐴, 𝐴} ∈ 𝐸𝐴 = 𝐵))
3534com12 32 . . . . . . . . . . . . . . . . 17 ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐵))
36352a1i 12 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → ({𝐴, 𝐵} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐵))))
37 preq2 4620 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐵 → {𝐴, 𝑦} = {𝐴, 𝐵})
3837eleq1d 2835 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → ({𝐴, 𝑦} ∈ 𝐸 ↔ {𝐴, 𝐵} ∈ 𝐸))
39 eqeq2 2771 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝐵 → (𝐴 = 𝑦𝐴 = 𝐵))
4039imbi2d 345 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐵 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐵)))
4140imbi2d 345 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → (({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦)) ↔ ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐵))))
4236, 38, 413imtr4d 298 . . . . . . . . . . . . . . 15 (𝑦 = 𝐵 → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦))))
4324, 42jaoi 855 . . . . . . . . . . . . . 14 ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦))))
44 eqeq1 2763 . . . . . . . . . . . . . . . . 17 (𝑤 = 𝐴 → (𝑤 = 𝑦𝐴 = 𝑦))
4544imbi2d 345 . . . . . . . . . . . . . . . 16 (𝑤 = 𝐴 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦)))
463, 45imbi12d 349 . . . . . . . . . . . . . . 15 (𝑤 = 𝐴 → (({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)) ↔ ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦))))
4746imbi2d 345 . . . . . . . . . . . . . 14 (𝑤 = 𝐴 → (({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))) ↔ ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦)))))
4843, 47syl5ibr 249 . . . . . . . . . . . . 13 (𝑤 = 𝐴 → ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
4929pm2.24i 153 . . . . . . . . . . . . . . . . . . . . . 22 𝐴 = 𝐴𝐵 = 𝐴)
5028, 49sylbi 220 . . . . . . . . . . . . . . . . . . . . 21 (𝐴𝐴𝐵 = 𝐴)
5127, 50syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) ∧ {𝐴, 𝐴} ∈ 𝐸) → 𝐵 = 𝐴)
5251ex 417 . . . . . . . . . . . . . . . . . . 19 ((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) → ({𝐴, 𝐴} ∈ 𝐸𝐵 = 𝐴))
5352ad2antlr 727 . . . . . . . . . . . . . . . . . 18 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ({𝐴, 𝐴} ∈ 𝐸𝐵 = 𝐴))
5453com12 32 . . . . . . . . . . . . . . . . 17 ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐴))
5554a1i13 27 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → ({𝐴, 𝐴} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐴))))
56 eqeq2 2771 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝐴 → (𝐵 = 𝑦𝐵 = 𝐴))
5756imbi2d 345 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐴 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐴)))
5857imbi2d 345 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → (({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦)) ↔ ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐴))))
5955, 20, 583imtr4d 298 . . . . . . . . . . . . . . 15 (𝑦 = 𝐴 → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦))))
60 eqidd 2760 . . . . . . . . . . . . . . . . . 18 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵)
6160a1i 11 . . . . . . . . . . . . . . . . 17 ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵))
6261a1i13 27 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → ({𝐴, 𝐵} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵))))
63 eqeq2 2771 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝐵 → (𝐵 = 𝑦𝐵 = 𝐵))
6463imbi2d 345 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐵 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵)))
6564imbi2d 345 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → (({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦)) ↔ ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵))))
6662, 38, 653imtr4d 298 . . . . . . . . . . . . . . 15 (𝑦 = 𝐵 → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦))))
6759, 66jaoi 855 . . . . . . . . . . . . . 14 ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦))))
68 eqeq1 2763 . . . . . . . . . . . . . . . . 17 (𝑤 = 𝐵 → (𝑤 = 𝑦𝐵 = 𝑦))
6968imbi2d 345 . . . . . . . . . . . . . . . 16 (𝑤 = 𝐵 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦)))
705, 69imbi12d 349 . . . . . . . . . . . . . . 15 (𝑤 = 𝐵 → (({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)) ↔ ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦))))
7170imbi2d 345 . . . . . . . . . . . . . 14 (𝑤 = 𝐵 → (({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))) ↔ ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦)))))
7267, 71syl5ibr 249 . . . . . . . . . . . . 13 (𝑤 = 𝐵 → ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
7348, 72jaoi 855 . . . . . . . . . . . 12 ((𝑤 = 𝐴𝑤 = 𝐵) → ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
7473com3l 89 . . . . . . . . . . 11 ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ((𝑤 = 𝐴𝑤 = 𝐵) → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
7515, 74sylbi 220 . . . . . . . . . 10 (𝑦 ∈ {𝐴, 𝐵} → ({𝐴, 𝑦} ∈ 𝐸 → ((𝑤 = 𝐴𝑤 = 𝐵) → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
7675imp 411 . . . . . . . . 9 ((𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸) → ((𝑤 = 𝐴𝑤 = 𝐵) → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))))
7776com3l 89 . . . . . . . 8 ((𝑤 = 𝐴𝑤 = 𝐵) → ({𝐴, 𝑤} ∈ 𝐸 → ((𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸) → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))))
7813, 77sylbi 220 . . . . . . 7 (𝑤 ∈ {𝐴, 𝐵} → ({𝐴, 𝑤} ∈ 𝐸 → ((𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸) → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))))
7978imp31 422 . . . . . 6 (((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)) → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))
8079com12 32 . . . . 5 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → (((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)) → 𝑤 = 𝑦))
8180alrimivv 1930 . . . 4 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∀𝑤𝑦(((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)) → 𝑤 = 𝑦))
82 eleq1w 2833 . . . . . 6 (𝑤 = 𝑦 → (𝑤 ∈ {𝐴, 𝐵} ↔ 𝑦 ∈ {𝐴, 𝐵}))
83 preq2 4620 . . . . . . 7 (𝑤 = 𝑦 → {𝐴, 𝑤} = {𝐴, 𝑦})
8483eleq1d 2835 . . . . . 6 (𝑤 = 𝑦 → ({𝐴, 𝑤} ∈ 𝐸 ↔ {𝐴, 𝑦} ∈ 𝐸))
8582, 84anbi12d 634 . . . . 5 (𝑤 = 𝑦 → ((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ↔ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)))
8685eu4 2636 . . . 4 (∃!𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ↔ (∃𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ ∀𝑤𝑦(((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)) → 𝑤 = 𝑦)))
8711, 81, 86sylanbrc 587 . . 3 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∃!𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸))
88 df-reu 3075 . . 3 (∃!𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ∃!𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸))
8987, 88sylibr 237 . 2 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∃!𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸)
9089ex 417 1 (((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) → ({𝐴, 𝐵} ∈ 𝐸 → ∃!𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 400  wo 845  w3a 1085  wal 1537   = wceq 1539  wex 1782  wcel 2112  ∃!weu 2588  wne 2949  wrex 3069  ∃!wreu 3070  {cpr 4517  {ctp 4519  cfv 6328  Vtxcvtx 26873  Edgcedg 26924  USGraphcusgr 27026
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2730  ax-sep 5162  ax-nul 5169  ax-pow 5227  ax-pr 5291  ax-un 7452  ax-cnex 10616  ax-resscn 10617  ax-1cn 10618  ax-icn 10619  ax-addcl 10620  ax-addrcl 10621  ax-mulcl 10622  ax-mulrcl 10623  ax-mulcom 10624  ax-addass 10625  ax-mulass 10626  ax-distr 10627  ax-i2m1 10628  ax-1ne0 10629  ax-1rid 10630  ax-rnegex 10631  ax-rrecex 10632  ax-cnre 10633  ax-pre-lttri 10634  ax-pre-lttrn 10635  ax-pre-ltadd 10636  ax-pre-mulgt0 10637
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 846  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2071  df-mo 2558  df-eu 2589  df-clab 2737  df-cleq 2751  df-clel 2831  df-nfc 2899  df-ne 2950  df-nel 3054  df-ral 3073  df-rex 3074  df-reu 3075  df-rab 3077  df-v 3409  df-sbc 3694  df-csb 3802  df-dif 3857  df-un 3859  df-in 3861  df-ss 3871  df-pss 3873  df-nul 4222  df-if 4414  df-pw 4489  df-sn 4516  df-pr 4518  df-tp 4520  df-op 4522  df-uni 4792  df-int 4832  df-iun 4878  df-br 5026  df-opab 5088  df-mpt 5106  df-tr 5132  df-id 5423  df-eprel 5428  df-po 5436  df-so 5437  df-fr 5476  df-we 5478  df-xp 5523  df-rel 5524  df-cnv 5525  df-co 5526  df-dm 5527  df-rn 5528  df-res 5529  df-ima 5530  df-pred 6119  df-ord 6165  df-on 6166  df-lim 6167  df-suc 6168  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-f1 6333  df-fo 6334  df-f1o 6335  df-fv 6336  df-riota 7101  df-ov 7146  df-oprab 7147  df-mpo 7148  df-om 7573  df-1st 7686  df-2nd 7687  df-wrecs 7950  df-recs 8011  df-rdg 8049  df-1o 8105  df-oadd 8109  df-er 8292  df-en 8521  df-dom 8522  df-sdom 8523  df-fin 8524  df-dju 9348  df-card 9386  df-pnf 10700  df-mnf 10701  df-xr 10702  df-ltxr 10703  df-le 10704  df-sub 10895  df-neg 10896  df-nn 11660  df-2 11722  df-n0 11920  df-z 12006  df-uz 12268  df-fz 12925  df-hash 13726  df-edg 26925  df-umgr 26960  df-usgr 27028
This theorem is referenced by:  3vfriswmgr  28147
  Copyright terms: Public domain W3C validator