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

Theorem frgr2wwlkeqm 28120
Description: If there is a (simple) path of length 2 from one vertex to another vertex and a (simple) path of length 2 from the other vertex back to the first vertex in a friendship graph, then the middle vertex is the same. This is only an observation, which is not required to proof the friendship theorem. (Contributed by Alexander van der Vekens, 20-Feb-2018.) (Revised by AV, 13-May-2021.) (Proof shortened by AV, 7-Jan-2022.)
Assertion
Ref Expression
frgr2wwlkeqm ((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) → ((⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → 𝑄 = 𝑃))

Proof of Theorem frgr2wwlkeqm
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 simp3l 1198 . . . 4 ((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) → 𝑃𝑋)
2 eqid 2801 . . . . 5 (Vtx‘𝐺) = (Vtx‘𝐺)
32wwlks2onv 27743 . . . 4 ((𝑃𝑋 ∧ ⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)))
41, 3sylan 583 . . 3 (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)))
5 simp3r 1199 . . . . . . . 8 ((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) → 𝑄𝑌)
62wwlks2onv 27743 . . . . . . . 8 ((𝑄𝑌 ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → (𝐵 ∈ (Vtx‘𝐺) ∧ 𝑄 ∈ (Vtx‘𝐺) ∧ 𝐴 ∈ (Vtx‘𝐺)))
75, 6sylan 583 . . . . . . 7 (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → (𝐵 ∈ (Vtx‘𝐺) ∧ 𝑄 ∈ (Vtx‘𝐺) ∧ 𝐴 ∈ (Vtx‘𝐺)))
8 frgrusgr 28050 . . . . . . . . . . . . . . 15 (𝐺 ∈ FriendGraph → 𝐺 ∈ USGraph)
9 usgrumgr 26976 . . . . . . . . . . . . . . 15 (𝐺 ∈ USGraph → 𝐺 ∈ UMGraph)
108, 9syl 17 . . . . . . . . . . . . . 14 (𝐺 ∈ FriendGraph → 𝐺 ∈ UMGraph)
11103ad2ant1 1130 . . . . . . . . . . . . 13 ((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) → 𝐺 ∈ UMGraph)
12 simpr3 1193 . . . . . . . . . . . . . 14 ((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) → 𝐵 ∈ (Vtx‘𝐺))
13 simpl 486 . . . . . . . . . . . . . 14 ((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) → 𝑄 ∈ (Vtx‘𝐺))
14 simpr1 1191 . . . . . . . . . . . . . 14 ((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) → 𝐴 ∈ (Vtx‘𝐺))
1512, 13, 143jca 1125 . . . . . . . . . . . . 13 ((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) → (𝐵 ∈ (Vtx‘𝐺) ∧ 𝑄 ∈ (Vtx‘𝐺) ∧ 𝐴 ∈ (Vtx‘𝐺)))
162wwlks2onsym 27748 . . . . . . . . . . . . 13 ((𝐺 ∈ UMGraph ∧ (𝐵 ∈ (Vtx‘𝐺) ∧ 𝑄 ∈ (Vtx‘𝐺) ∧ 𝐴 ∈ (Vtx‘𝐺))) → (⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴) ↔ ⟨“𝐴𝑄𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)))
1711, 15, 16syl2anr 599 . . . . . . . . . . . 12 (((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) → (⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴) ↔ ⟨“𝐴𝑄𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)))
18 simpr1 1191 . . . . . . . . . . . . . 14 (((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) → 𝐺 ∈ FriendGraph )
19 3simpb 1146 . . . . . . . . . . . . . . 15 ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) → (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)))
2019ad2antlr 726 . . . . . . . . . . . . . 14 (((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) → (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)))
21 simpr2 1192 . . . . . . . . . . . . . 14 (((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) → 𝐴𝐵)
222frgr2wwlkeu 28116 . . . . . . . . . . . . . 14 ((𝐺 ∈ FriendGraph ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) ∧ 𝐴𝐵) → ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵))
2318, 20, 21, 22syl3anc 1368 . . . . . . . . . . . . 13 (((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) → ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵))
24 s3eq2 14227 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑄 → ⟨“𝐴𝑥𝐵”⟩ = ⟨“𝐴𝑄𝐵”⟩)
2524eleq1d 2877 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑄 → (⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ⟨“𝐴𝑄𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)))
2625riota2 7122 . . . . . . . . . . . . . . 15 ((𝑄 ∈ (Vtx‘𝐺) ∧ ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (⟨“𝐴𝑄𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ (𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑄))
2726ad4ant14 751 . . . . . . . . . . . . . 14 ((((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) ∧ ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (⟨“𝐴𝑄𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ (𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑄))
28 simplr2 1213 . . . . . . . . . . . . . . . . 17 (((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) → 𝑃 ∈ (Vtx‘𝐺))
29 s3eq2 14227 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑃 → ⟨“𝐴𝑥𝐵”⟩ = ⟨“𝐴𝑃𝐵”⟩)
3029eleq1d 2877 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑃 → (⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ ⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)))
3130riota2 7122 . . . . . . . . . . . . . . . . 17 ((𝑃 ∈ (Vtx‘𝐺) ∧ ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ (𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑃))
3228, 31sylan 583 . . . . . . . . . . . . . . . 16 ((((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) ∧ ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ (𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑃))
33 eqtr2 2822 . . . . . . . . . . . . . . . . 17 (((𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑄 ∧ (𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑃) → 𝑄 = 𝑃)
3433expcom 417 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑃 → ((𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑄𝑄 = 𝑃))
3532, 34syl6bi 256 . . . . . . . . . . . . . . 15 ((((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) ∧ ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → ((𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑄𝑄 = 𝑃)))
3635com23 86 . . . . . . . . . . . . . 14 ((((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) ∧ ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → ((𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) = 𝑄 → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃)))
3727, 36sylbid 243 . . . . . . . . . . . . 13 ((((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) ∧ ∃!𝑥 ∈ (Vtx‘𝐺)⟨“𝐴𝑥𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (⟨“𝐴𝑄𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃)))
3823, 37mpdan 686 . . . . . . . . . . . 12 (((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) → (⟨“𝐴𝑄𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃)))
3917, 38sylbid 243 . . . . . . . . . . 11 (((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) ∧ (𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌))) → (⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃)))
4039expimpd 457 . . . . . . . . . 10 ((𝑄 ∈ (Vtx‘𝐺) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))) → (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃)))
4140ex 416 . . . . . . . . 9 (𝑄 ∈ (Vtx‘𝐺) → ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) → (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃))))
4241com23 86 . . . . . . . 8 (𝑄 ∈ (Vtx‘𝐺) → (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃))))
43423ad2ant2 1131 . . . . . . 7 ((𝐵 ∈ (Vtx‘𝐺) ∧ 𝑄 ∈ (Vtx‘𝐺) ∧ 𝐴 ∈ (Vtx‘𝐺)) → (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃))))
447, 43mpcom 38 . . . . . 6 (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃)))
4544ex 416 . . . . 5 ((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) → (⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴) → ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → 𝑄 = 𝑃))))
4645com24 95 . . . 4 ((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) → (⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) → ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) → (⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴) → 𝑄 = 𝑃))))
4746imp 410 . . 3 (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝑃 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) → (⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴) → 𝑄 = 𝑃)))
484, 47mpd 15 . 2 (((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) ∧ ⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵)) → (⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴) → 𝑄 = 𝑃))
4948expimpd 457 1 ((𝐺 ∈ FriendGraph ∧ 𝐴𝐵 ∧ (𝑃𝑋𝑄𝑌)) → ((⟨“𝐴𝑃𝐵”⟩ ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ∧ ⟨“𝐵𝑄𝐴”⟩ ∈ (𝐵(2 WWalksNOn 𝐺)𝐴)) → 𝑄 = 𝑃))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2112  wne 2990  ∃!wreu 3111  cfv 6328  crio 7096  (class class class)co 7139  2c2 11684  ⟨“cs3 14199  Vtxcvtx 26793  UMGraphcumgr 26878  USGraphcusgr 26946   WWalksNOn cwwlksnon 27617   FriendGraph cfrgr 28047
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-rep 5157  ax-sep 5170  ax-nul 5177  ax-pow 5234  ax-pr 5298  ax-un 7445  ax-ac2 9878  ax-cnex 10586  ax-resscn 10587  ax-1cn 10588  ax-icn 10589  ax-addcl 10590  ax-addrcl 10591  ax-mulcl 10592  ax-mulrcl 10593  ax-mulcom 10594  ax-addass 10595  ax-mulass 10596  ax-distr 10597  ax-i2m1 10598  ax-1ne0 10599  ax-1rid 10600  ax-rnegex 10601  ax-rrecex 10602  ax-cnre 10603  ax-pre-lttri 10604  ax-pre-lttrn 10605  ax-pre-ltadd 10606  ax-pre-mulgt0 10607
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-ifp 1059  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2601  df-eu 2632  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ne 2991  df-nel 3095  df-ral 3114  df-rex 3115  df-reu 3116  df-rmo 3117  df-rab 3118  df-v 3446  df-sbc 3724  df-csb 3832  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-pss 3903  df-nul 4247  df-if 4429  df-pw 4502  df-sn 4529  df-pr 4531  df-tp 4533  df-op 4535  df-uni 4804  df-int 4842  df-iun 4886  df-br 5034  df-opab 5096  df-mpt 5114  df-tr 5140  df-id 5428  df-eprel 5433  df-po 5442  df-so 5443  df-fr 5482  df-se 5483  df-we 5484  df-xp 5529  df-rel 5530  df-cnv 5531  df-co 5532  df-dm 5533  df-rn 5534  df-res 5535  df-ima 5536  df-pred 6120  df-ord 6166  df-on 6167  df-lim 6168  df-suc 6169  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-isom 6337  df-riota 7097  df-ov 7142  df-oprab 7143  df-mpo 7144  df-om 7565  df-1st 7675  df-2nd 7676  df-wrecs 7934  df-recs 7995  df-rdg 8033  df-1o 8089  df-2o 8090  df-oadd 8093  df-er 8276  df-map 8395  df-pm 8396  df-en 8497  df-dom 8498  df-sdom 8499  df-fin 8500  df-dju 9318  df-card 9356  df-ac 9531  df-pnf 10670  df-mnf 10671  df-xr 10672  df-ltxr 10673  df-le 10674  df-sub 10865  df-neg 10866  df-nn 11630  df-2 11692  df-3 11693  df-n0 11890  df-xnn0 11960  df-z 11974  df-uz 12236  df-fz 12890  df-fzo 13033  df-hash 13691  df-word 13862  df-concat 13918  df-s1 13945  df-s2 14205  df-s3 14206  df-edg 26845  df-uhgr 26855  df-upgr 26879  df-umgr 26880  df-usgr 26948  df-wlks 27393  df-wwlks 27620  df-wwlksn 27621  df-wwlksnon 27622  df-frgr 28048
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator