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

Theorem 4cyclusnfrgr 28557
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 767 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸))
2 simprr 769 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))
3 simpl3 1191 . . . . . 6 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (𝐵𝑉𝐷𝑉𝐵𝐷))
4 4cycl2vnunb 28555 . . . . . 6 ((({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸)
51, 2, 3, 4syl3anc 1369 . . . . 5 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸)
6 4cyclusnfrgr.v . . . . . . . . . 10 𝑉 = (Vtx‘𝐺)
7 4cyclusnfrgr.e . . . . . . . . . 10 𝐸 = (Edg‘𝐺)
86, 7frcond1 28531 . . . . . . . . 9 (𝐺 ∈ FriendGraph → ((𝐴𝑉𝐶𝑉𝐴𝐶) → ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸))
9 pm2.24 124 . . . . . . . . 9 (∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph ))
108, 9syl6com 37 . . . . . . . 8 ((𝐴𝑉𝐶𝑉𝐴𝐶) → (𝐺 ∈ FriendGraph → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph )))
11103ad2ant2 1132 . . . . . . 7 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → (𝐺 ∈ FriendGraph → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → ¬ 𝐺 ∈ FriendGraph )))
1211com23 86 . . . . . 6 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph )))
1312adantr 480 . . . . 5 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ 𝐸 → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph )))
145, 13mpd 15 . . . 4 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → (𝐺 ∈ FriendGraph → ¬ 𝐺 ∈ FriendGraph ))
1514pm2.01d 189 . . 3 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → ¬ 𝐺 ∈ FriendGraph )
16 df-nel 3049 . . 3 (𝐺 ∉ FriendGraph ↔ ¬ 𝐺 ∈ FriendGraph )
1715, 16sylibr 233 . 2 (((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) ∧ (({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸))) → 𝐺 ∉ FriendGraph )
1817ex 412 1 ((𝐺 ∈ USGraph ∧ (𝐴𝑉𝐶𝑉𝐴𝐶) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ((({𝐴, 𝐵} ∈ 𝐸 ∧ {𝐵, 𝐶} ∈ 𝐸) ∧ ({𝐶, 𝐷} ∈ 𝐸 ∧ {𝐷, 𝐴} ∈ 𝐸)) → 𝐺 ∉ FriendGraph ))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wnel 3048  ∃!wreu 3065  wss 3883  {cpr 4560  cfv 6418  Vtxcvtx 27269  Edgcedg 27320  USGraphcusgr 27422   FriendGraph cfrgr 28523
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-nul 5225
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-frgr 28524
This theorem is referenced by:  frgrnbnb  28558  frgrwopreg  28588
  Copyright terms: Public domain W3C validator