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

Theorem 4cyclusnfrgr 28063
 Description: A graph with a 4-cycle is not a friendhip graph. (Contributed by Alexander van der Vekens, 19-Dec-2017.) (Revised by AV, 2-Apr-2021.)
Hypotheses
Ref Expression
4cyclusnfrgr.v 𝑉 = (Vtx‘𝐺)
4cyclusnfrgr.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
4cyclusnfrgr ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ((({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸)) → 𝐺 ∉ FriendGraph ))

Proof of Theorem 4cyclusnfrgr
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 simprl 769 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸))
2 simprr 771 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))
3 simpl3 1188 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (𝐵𝑉𝐷𝑉𝐵𝐷))
4 4cycl2vnunb 28061 . . . . . 6 ((({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸)
51, 2, 3, 4syl3anc 1366 . . . . 5 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸)
6 4cyclusnfrgr.v . . . . . . . . . 10 𝑉 = (Vtx‘𝐺)
7 4cyclusnfrgr.e . . . . . . . . . 10 𝐸 = (Edg‘𝐺)
86, 7frcond1 28037 . . . . . . . . 9 (𝐺 ∈ FriendGraph → ((𝐴𝑉𝐶𝑉𝐴𝐶) → ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸))
9 pm2.24 124 . . . . . . . . 9 (∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph ))
108, 9syl6com 37 . . . . . . . 8 ((𝐴𝑉𝐶𝑉𝐴𝐶) → (𝐺 ∈ FriendGraph → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph )))
11103ad2ant2 1129 . . . . . . 7 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → (𝐺 ∈ FriendGraph → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph )))
1211com23 86 . . . . . 6 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph )))
1312adantr 483 . . . . 5 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph )))
145, 13mpd 15 . . . 4 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph ))
1514pm2.01d 192 . . 3 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ¬ 𝐺 ∈ FriendGraph )
16 df-nel 3122 . . 3 (𝐺 ∉ FriendGraph ↔ ¬ 𝐺 ∈ FriendGraph )
1715, 16sylibr 236 . 2 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → 𝐺 ∉ FriendGraph )
1817ex 415 1 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ((({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸)) → 𝐺 ∉ FriendGraph ))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 398   ∧ w3a 1082   = wceq 1531   ∈ wcel 2108   ≠ wne 3014   ∉ wnel 3121  ∃!wreu 3138   ⊆ wss 3934  {cpr 4561  ‘cfv 6348  Vtxcvtx 26773  Edgcedg 26824  USGraphcusgr 26926   FriendGraph cfrgr 28029 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-nul 5201 This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-nel 3122  df-ral 3141  df-rex 3142  df-reu 3143  df-rmo 3144  df-rab 3145  df-v 3495  df-sbc 3771  df-csb 3882  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-br 5058  df-iota 6307  df-fv 6356  df-frgr 28030 This theorem is referenced by:  frgrnbnb  28064  frgrwopreg  28094
 Copyright terms: Public domain W3C validator