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

Theorem 3vfriswmgrlem 27560
Description: Lemma for 3vfriswmgr 27561. (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 1001 . . . . . 6 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ({𝐴, 𝐴} ∈ 𝐸 ∨ {𝐴, 𝐵} ∈ 𝐸))
2 preq2 4426 . . . . . . . . . 10 (𝑤 = 𝐴 → {𝐴, 𝑤} = {𝐴, 𝐴})
32eleq1d 2829 . . . . . . . . 9 (𝑤 = 𝐴 → ({𝐴, 𝑤} ∈ 𝐸 ↔ {𝐴, 𝐴} ∈ 𝐸))
4 preq2 4426 . . . . . . . . . 10 (𝑤 = 𝐵 → {𝐴, 𝑤} = {𝐴, 𝐵})
54eleq1d 2829 . . . . . . . . 9 (𝑤 = 𝐵 → ({𝐴, 𝑤} ∈ 𝐸 ↔ {𝐴, 𝐵} ∈ 𝐸))
63, 5rexprg 4393 . . . . . . . 8 ((𝐴𝑋𝐵𝑌) → (∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ({𝐴, 𝐴} ∈ 𝐸 ∨ {𝐴, 𝐵} ∈ 𝐸)))
763adant3 1162 . . . . . . 7 ((𝐴𝑋𝐵𝑌𝐴𝐵) → (∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ({𝐴, 𝐴} ∈ 𝐸 ∨ {𝐴, 𝐵} ∈ 𝐸)))
87ad2antrr 717 . . . . . 6 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → (∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ({𝐴, 𝐴} ∈ 𝐸 ∨ {𝐴, 𝐵} ∈ 𝐸)))
91, 8mpbird 248 . . . . 5 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸)
10 df-rex 3061 . . . . 5 (∃𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ∃𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸))
119, 10sylib 209 . . . 4 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∃𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸))
12 vex 3353 . . . . . . . . 9 𝑤 ∈ V
1312elpr 4359 . . . . . . . 8 (𝑤 ∈ {𝐴, 𝐵} ↔ (𝑤 = 𝐴𝑤 = 𝐵))
14 vex 3353 . . . . . . . . . . . 12 𝑦 ∈ V
1514elpr 4359 . . . . . . . . . . 11 (𝑦 ∈ {𝐴, 𝐵} ↔ (𝑦 = 𝐴𝑦 = 𝐵))
16 eqidd 2766 . . . . . . . . . . . . . . . . . 18 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴)
1716a1i 11 . . . . . . . . . . . . . . . . 17 ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴))
1817a1i13 27 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → ({𝐴, 𝐴} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴))))
19 preq2 4426 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐴 → {𝐴, 𝑦} = {𝐴, 𝐴})
2019eleq1d 2829 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → ({𝐴, 𝑦} ∈ 𝐸 ↔ {𝐴, 𝐴} ∈ 𝐸))
21 eqeq2 2776 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝐴 → (𝐴 = 𝑦𝐴 = 𝐴))
2221imbi2d 331 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐴 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴)))
2322imbi2d 331 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → (({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦)) ↔ ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐴))))
2418, 20, 233imtr4d 285 . . . . . . . . . . . . . . 15 (𝑦 = 𝐴 → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦))))
25 3vfriswmgr.e . . . . . . . . . . . . . . . . . . . . . . 23 𝐸 = (Edg‘𝐺)
2625usgredgne 26379 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐺 ∈ USGraph ∧ {𝐴, 𝐴} ∈ 𝐸) → 𝐴𝐴)
2726adantll 705 . . . . . . . . . . . . . . . . . . . . 21 (((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) ∧ {𝐴, 𝐴} ∈ 𝐸) → 𝐴𝐴)
28 df-ne 2938 . . . . . . . . . . . . . . . . . . . . . 22 (𝐴𝐴 ↔ ¬ 𝐴 = 𝐴)
29 eqid 2765 . . . . . . . . . . . . . . . . . . . . . . 23 𝐴 = 𝐴
3029pm2.24i 147 . . . . . . . . . . . . . . . . . . . . . 22 𝐴 = 𝐴𝐴 = 𝐵)
3128, 30sylbi 208 . . . . . . . . . . . . . . . . . . . . 21 (𝐴𝐴𝐴 = 𝐵)
3227, 31syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) ∧ {𝐴, 𝐴} ∈ 𝐸) → 𝐴 = 𝐵)
3332ex 401 . . . . . . . . . . . . . . . . . . 19 ((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) → ({𝐴, 𝐴} ∈ 𝐸𝐴 = 𝐵))
3433ad2antlr 718 . . . . . . . . . . . . . . . . . 18 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ({𝐴, 𝐴} ∈ 𝐸𝐴 = 𝐵))
3534com12 32 . . . . . . . . . . . . . . . . 17 ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐵))
36352a1i 12 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → ({𝐴, 𝐵} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐵))))
37 preq2 4426 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐵 → {𝐴, 𝑦} = {𝐴, 𝐵})
3837eleq1d 2829 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → ({𝐴, 𝑦} ∈ 𝐸 ↔ {𝐴, 𝐵} ∈ 𝐸))
39 eqeq2 2776 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝐵 → (𝐴 = 𝑦𝐴 = 𝐵))
4039imbi2d 331 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐵 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐵)))
4140imbi2d 331 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → (({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦)) ↔ ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝐵))))
4236, 38, 413imtr4d 285 . . . . . . . . . . . . . . 15 (𝑦 = 𝐵 → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦))))
4324, 42jaoi 883 . . . . . . . . . . . . . 14 ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦))))
44 eqeq1 2769 . . . . . . . . . . . . . . . . 17 (𝑤 = 𝐴 → (𝑤 = 𝑦𝐴 = 𝑦))
4544imbi2d 331 . . . . . . . . . . . . . . . 16 (𝑤 = 𝐴 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦)))
463, 45imbi12d 335 . . . . . . . . . . . . . . 15 (𝑤 = 𝐴 → (({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)) ↔ ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦))))
4746imbi2d 331 . . . . . . . . . . . . . 14 (𝑤 = 𝐴 → (({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))) ↔ ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐴 = 𝑦)))))
4843, 47syl5ibr 237 . . . . . . . . . . . . 13 (𝑤 = 𝐴 → ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
4929pm2.24i 147 . . . . . . . . . . . . . . . . . . . . . 22 𝐴 = 𝐴𝐵 = 𝐴)
5028, 49sylbi 208 . . . . . . . . . . . . . . . . . . . . 21 (𝐴𝐴𝐵 = 𝐴)
5127, 50syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) ∧ {𝐴, 𝐴} ∈ 𝐸) → 𝐵 = 𝐴)
5251ex 401 . . . . . . . . . . . . . . . . . . 19 ((𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph) → ({𝐴, 𝐴} ∈ 𝐸𝐵 = 𝐴))
5352ad2antlr 718 . . . . . . . . . . . . . . . . . 18 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ({𝐴, 𝐴} ∈ 𝐸𝐵 = 𝐴))
5453com12 32 . . . . . . . . . . . . . . . . 17 ({𝐴, 𝐴} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐴))
5554a1i13 27 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → ({𝐴, 𝐴} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐴))))
56 eqeq2 2776 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝐴 → (𝐵 = 𝑦𝐵 = 𝐴))
5756imbi2d 331 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐴 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐴)))
5857imbi2d 331 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → (({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦)) ↔ ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐴))))
5955, 20, 583imtr4d 285 . . . . . . . . . . . . . . 15 (𝑦 = 𝐴 → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦))))
60 eqidd 2766 . . . . . . . . . . . . . . . . . 18 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵)
6160a1i 11 . . . . . . . . . . . . . . . . 17 ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵))
6261a1i13 27 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → ({𝐴, 𝐵} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵))))
63 eqeq2 2776 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝐵 → (𝐵 = 𝑦𝐵 = 𝐵))
6463imbi2d 331 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐵 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵)))
6564imbi2d 331 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐵 → (({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦)) ↔ ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝐵))))
6662, 38, 653imtr4d 285 . . . . . . . . . . . . . . 15 (𝑦 = 𝐵 → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦))))
6759, 66jaoi 883 . . . . . . . . . . . . . 14 ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦))))
68 eqeq1 2769 . . . . . . . . . . . . . . . . 17 (𝑤 = 𝐵 → (𝑤 = 𝑦𝐵 = 𝑦))
6968imbi2d 331 . . . . . . . . . . . . . . . 16 (𝑤 = 𝐵 → (((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦) ↔ ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦)))
705, 69imbi12d 335 . . . . . . . . . . . . . . 15 (𝑤 = 𝐵 → (({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)) ↔ ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦))))
7170imbi2d 331 . . . . . . . . . . . . . 14 (𝑤 = 𝐵 → (({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))) ↔ ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝐵} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝐵 = 𝑦)))))
7267, 71syl5ibr 237 . . . . . . . . . . . . 13 (𝑤 = 𝐵 → ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
7348, 72jaoi 883 . . . . . . . . . . . 12 ((𝑤 = 𝐴𝑤 = 𝐵) → ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
7473com3l 89 . . . . . . . . . . 11 ((𝑦 = 𝐴𝑦 = 𝐵) → ({𝐴, 𝑦} ∈ 𝐸 → ((𝑤 = 𝐴𝑤 = 𝐵) → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
7515, 74sylbi 208 . . . . . . . . . 10 (𝑦 ∈ {𝐴, 𝐵} → ({𝐴, 𝑦} ∈ 𝐸 → ((𝑤 = 𝐴𝑤 = 𝐵) → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦)))))
7675imp 395 . . . . . . . . 9 ((𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸) → ((𝑤 = 𝐴𝑤 = 𝐵) → ({𝐴, 𝑤} ∈ 𝐸 → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))))
7776com3l 89 . . . . . . . 8 ((𝑤 = 𝐴𝑤 = 𝐵) → ({𝐴, 𝑤} ∈ 𝐸 → ((𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸) → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))))
7813, 77sylbi 208 . . . . . . 7 (𝑤 ∈ {𝐴, 𝐵} → ({𝐴, 𝑤} ∈ 𝐸 → ((𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸) → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))))
7978imp31 408 . . . . . 6 (((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)) → ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → 𝑤 = 𝑦))
8079com12 32 . . . . 5 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → (((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)) → 𝑤 = 𝑦))
8180alrimivv 2023 . . . 4 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∀𝑤𝑦(((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)) → 𝑤 = 𝑦))
82 eleq1w 2827 . . . . . 6 (𝑤 = 𝑦 → (𝑤 ∈ {𝐴, 𝐵} ↔ 𝑦 ∈ {𝐴, 𝐵}))
83 preq2 4426 . . . . . . 7 (𝑤 = 𝑦 → {𝐴, 𝑤} = {𝐴, 𝑦})
8483eleq1d 2829 . . . . . 6 (𝑤 = 𝑦 → ({𝐴, 𝑤} ∈ 𝐸 ↔ {𝐴, 𝑦} ∈ 𝐸))
8582, 84anbi12d 624 . . . . 5 (𝑤 = 𝑦 → ((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ↔ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)))
8685eu4 2639 . . . 4 (∃!𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ↔ (∃𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ ∀𝑤𝑦(((𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸) ∧ (𝑦 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑦} ∈ 𝐸)) → 𝑤 = 𝑦)))
8711, 81, 86sylanbrc 578 . . 3 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∃!𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸))
88 df-reu 3062 . . 3 (∃!𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸 ↔ ∃!𝑤(𝑤 ∈ {𝐴, 𝐵} ∧ {𝐴, 𝑤} ∈ 𝐸))
8987, 88sylibr 225 . 2 ((((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) ∧ {𝐴, 𝐵} ∈ 𝐸) → ∃!𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸)
9089ex 401 1 (((𝐴𝑋𝐵𝑌𝐴𝐵) ∧ (𝑉 = {𝐴, 𝐵, 𝐶} ∧ 𝐺 ∈ USGraph)) → ({𝐴, 𝐵} ∈ 𝐸 → ∃!𝑤 ∈ {𝐴, 𝐵} {𝐴, 𝑤} ∈ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 197  wa 384  wo 873  w3a 1107  wal 1650   = wceq 1652  wex 1874  wcel 2155  ∃!weu 2581  wne 2937  wrex 3056  ∃!wreu 3057  {cpr 4338  {ctp 4340  cfv 6070  Vtxcvtx 26168  Edgcedg 26219  USGraphcusgr 26325
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-rep 4932  ax-sep 4943  ax-nul 4951  ax-pow 5003  ax-pr 5064  ax-un 7149  ax-cnex 10247  ax-resscn 10248  ax-1cn 10249  ax-icn 10250  ax-addcl 10251  ax-addrcl 10252  ax-mulcl 10253  ax-mulrcl 10254  ax-mulcom 10255  ax-addass 10256  ax-mulass 10257  ax-distr 10258  ax-i2m1 10259  ax-1ne0 10260  ax-1rid 10261  ax-rnegex 10262  ax-rrecex 10263  ax-cnre 10264  ax-pre-lttri 10265  ax-pre-lttrn 10266  ax-pre-ltadd 10267  ax-pre-mulgt0 10268
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3or 1108  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-nel 3041  df-ral 3060  df-rex 3061  df-reu 3062  df-rmo 3063  df-rab 3064  df-v 3352  df-sbc 3599  df-csb 3694  df-dif 3737  df-un 3739  df-in 3741  df-ss 3748  df-pss 3750  df-nul 4082  df-if 4246  df-pw 4319  df-sn 4337  df-pr 4339  df-tp 4341  df-op 4343  df-uni 4597  df-int 4636  df-iun 4680  df-br 4812  df-opab 4874  df-mpt 4891  df-tr 4914  df-id 5187  df-eprel 5192  df-po 5200  df-so 5201  df-fr 5238  df-we 5240  df-xp 5285  df-rel 5286  df-cnv 5287  df-co 5288  df-dm 5289  df-rn 5290  df-res 5291  df-ima 5292  df-pred 5867  df-ord 5913  df-on 5914  df-lim 5915  df-suc 5916  df-iota 6033  df-fun 6072  df-fn 6073  df-f 6074  df-f1 6075  df-fo 6076  df-f1o 6077  df-fv 6078  df-riota 6805  df-ov 6847  df-oprab 6848  df-mpt2 6849  df-om 7266  df-1st 7368  df-2nd 7369  df-wrecs 7612  df-recs 7674  df-rdg 7712  df-1o 7766  df-oadd 7770  df-er 7949  df-en 8163  df-dom 8164  df-sdom 8165  df-fin 8166  df-card 9018  df-cda 9245  df-pnf 10332  df-mnf 10333  df-xr 10334  df-ltxr 10335  df-le 10336  df-sub 10524  df-neg 10525  df-nn 11277  df-2 11337  df-n0 11541  df-z 11627  df-uz 11890  df-fz 12537  df-hash 13325  df-edg 26220  df-umgr 26258  df-usgr 26327
This theorem is referenced by:  3vfriswmgr  27561
  Copyright terms: Public domain W3C validator