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

Theorem 4cyclusnfrgr 28077
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 770 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸))
2 simprr 772 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))
3 simpl3 1190 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (𝐵𝑉𝐷𝑉𝐵𝐷))
4 4cycl2vnunb 28075 . . . . . 6 ((({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸)
51, 2, 3, 4syl3anc 1368 . . . . 5 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸)
6 4cyclusnfrgr.v . . . . . . . . . 10 𝑉 = (Vtx‘𝐺)
7 4cyclusnfrgr.e . . . . . . . . . 10 𝐸 = (Edg‘𝐺)
86, 7frcond1 28051 . . . . . . . . 9 (𝐺 ∈ FriendGraph → ((𝐴𝑉𝐶𝑉𝐴𝐶) → ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸))
9 pm2.24 124 . . . . . . . . 9 (∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph ))
108, 9syl6com 37 . . . . . . . 8 ((𝐴𝑉𝐶𝑉𝐴𝐶) → (𝐺 ∈ FriendGraph → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph )))
11103ad2ant2 1131 . . . . . . 7 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → (𝐺 ∈ FriendGraph → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph )))
1211com23 86 . . . . . 6 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph )))
1312adantr 484 . . . . 5 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph )))
145, 13mpd 15 . . . 4 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph ))
1514pm2.01d 193 . . 3 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ¬ 𝐺 ∈ FriendGraph )
16 df-nel 3092 . . 3 (𝐺 ∉ FriendGraph ↔ ¬ 𝐺 ∈ FriendGraph )
1715, 16sylibr 237 . 2 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → 𝐺 ∉ FriendGraph )
1817ex 416 1 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ((({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸)) → 𝐺 ∉ FriendGraph ))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  w3a 1084   = wceq 1538  wcel 2111  wne 2987  wnel 3091  ∃!wreu 3108  wss 3881  {cpr 4527  cfv 6324  Vtxcvtx 26789  Edgcedg 26840  USGraphcusgr 26942   FriendGraph cfrgr 28043
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 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-nul 5174
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-iota 6283  df-fv 6332  df-frgr 28044
This theorem is referenced by:  frgrnbnb  28078  frgrwopreg  28108
  Copyright terms: Public domain W3C validator