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

Theorem n4cyclfrgr 30319
Description: There is no 4-cycle in a friendship graph, see Proposition 1(a) of [MertziosUnger] p. 153 : "A friendship graph G contains no C4 as a subgraph ...". (Contributed by Alexander van der Vekens, 19-Nov-2017.) (Revised by AV, 2-Apr-2021.)
Assertion
Ref Expression
n4cyclfrgr ((𝐺 ∈ FriendGraph ∧ 𝐹(Cycles‘𝐺)𝑃) → (♯‘𝐹) ≠ 4)

Proof of Theorem n4cyclfrgr
Dummy variables 𝑎 𝑏 𝑐 𝑑 𝑘 𝑙 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frgrusgr 30289 . . . . 5 (𝐺 ∈ FriendGraph → 𝐺 ∈ USGraph)
2 usgrupgr 29216 . . . . 5 (𝐺 ∈ USGraph → 𝐺 ∈ UPGraph)
31, 2syl 17 . . . 4 (𝐺 ∈ FriendGraph → 𝐺 ∈ UPGraph)
4 eqid 2734 . . . . . . . . 9 (Vtx‘𝐺) = (Vtx‘𝐺)
5 eqid 2734 . . . . . . . . 9 (Edg‘𝐺) = (Edg‘𝐺)
64, 5upgr4cycl4dv4e 30213 . . . . . . . 8 ((𝐺 ∈ UPGraph ∧ 𝐹(Cycles‘𝐺)𝑃 ∧ (♯‘𝐹) = 4) → ∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))))
74, 5isfrgr 30288 . . . . . . . . . . . 12 (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
8 simplrl 777 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐 ∈ (Vtx‘𝐺))
9 necom 2991 . . . . . . . . . . . . . . . . . . . . 21 (𝑎𝑐𝑐𝑎)
109biimpi 216 . . . . . . . . . . . . . . . . . . . 20 (𝑎𝑐𝑐𝑎)
11103ad2ant2 1133 . . . . . . . . . . . . . . . . . . 19 ((𝑎𝑏𝑎𝑐𝑎𝑑) → 𝑐𝑎)
1211ad2antrl 728 . . . . . . . . . . . . . . . . . 18 (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → 𝑐𝑎)
1312adantl 481 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐𝑎)
14 eldifsn 4790 . . . . . . . . . . . . . . . . 17 (𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}) ↔ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑐𝑎))
158, 13, 14sylanbrc 583 . . . . . . . . . . . . . . . 16 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}))
16 sneq 4640 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 𝑎 → {𝑘} = {𝑎})
1716difeq2d 4135 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑎 → ((Vtx‘𝐺) ∖ {𝑘}) = ((Vtx‘𝐺) ∖ {𝑎}))
18 preq2 4738 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 = 𝑎 → {𝑥, 𝑘} = {𝑥, 𝑎})
1918preq1d 4743 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 = 𝑎 → {{𝑥, 𝑘}, {𝑥, 𝑙}} = {{𝑥, 𝑎}, {𝑥, 𝑙}})
2019sseq1d 4026 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 𝑎 → ({{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ {{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2120reubidv 3395 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑎 → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2217, 21raleqbidv 3343 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑎 → (∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2322rspcv 3617 . . . . . . . . . . . . . . . . 17 (𝑎 ∈ (Vtx‘𝐺) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2423ad3antrrr 730 . . . . . . . . . . . . . . . 16 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
25 preq2 4738 . . . . . . . . . . . . . . . . . . . 20 (𝑙 = 𝑐 → {𝑥, 𝑙} = {𝑥, 𝑐})
2625preq2d 4744 . . . . . . . . . . . . . . . . . . 19 (𝑙 = 𝑐 → {{𝑥, 𝑎}, {𝑥, 𝑙}} = {{𝑥, 𝑎}, {𝑥, 𝑐}})
2726sseq1d 4026 . . . . . . . . . . . . . . . . . 18 (𝑙 = 𝑐 → ({{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ {{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
2827reubidv 3395 . . . . . . . . . . . . . . . . 17 (𝑙 = 𝑐 → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
2928rspcv 3617 . . . . . . . . . . . . . . . 16 (𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}) → (∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
3015, 24, 29sylsyld 61 . . . . . . . . . . . . . . 15 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
31 prcom 4736 . . . . . . . . . . . . . . . . . . 19 {𝑥, 𝑎} = {𝑎, 𝑥}
3231preq1i 4740 . . . . . . . . . . . . . . . . . 18 {{𝑥, 𝑎}, {𝑥, 𝑐}} = {{𝑎, 𝑥}, {𝑥, 𝑐}}
3332sseq1i 4023 . . . . . . . . . . . . . . . . 17 ({{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) ↔ {{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
3433reubii 3386 . . . . . . . . . . . . . . . 16 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
35 simprll 779 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)))
36 simprlr 780 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺)))
37 simpllr 776 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑏 ∈ (Vtx‘𝐺))
38 simplrr 778 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑑 ∈ (Vtx‘𝐺))
39 simprr2 1221 . . . . . . . . . . . . . . . . . . . 20 (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → 𝑏𝑑)
4039adantl 481 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑏𝑑)
41 4cycl2vnunb 30318 . . . . . . . . . . . . . . . . . . 19 ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺)) ∧ (𝑏 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺) ∧ 𝑏𝑑)) → ¬ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
4235, 36, 37, 38, 40, 41syl113anc 1381 . . . . . . . . . . . . . . . . . 18 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ¬ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
4342pm2.21d 121 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → (♯‘𝐹) ≠ 4))
4443com12 32 . . . . . . . . . . . . . . . 16 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
4534, 44sylbi 217 . . . . . . . . . . . . . . 15 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
4630, 45syl6 35 . . . . . . . . . . . . . 14 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4)))
4746pm2.43b 55 . . . . . . . . . . . . 13 (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
4847adantl 481 . . . . . . . . . . . 12 ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
497, 48sylbi 217 . . . . . . . . . . 11 (𝐺 ∈ FriendGraph → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
5049expdcom 414 . . . . . . . . . 10 (((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) → (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4)))
5150rexlimdvva 3210 . . . . . . . . 9 ((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) → (∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4)))
5251rexlimivv 3198 . . . . . . . 8 (∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4))
536, 52syl 17 . . . . . . 7 ((𝐺 ∈ UPGraph ∧ 𝐹(Cycles‘𝐺)𝑃 ∧ (♯‘𝐹) = 4) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4))
54533exp 1118 . . . . . 6 (𝐺 ∈ UPGraph → (𝐹(Cycles‘𝐺)𝑃 → ((♯‘𝐹) = 4 → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4))))
5554com34 91 . . . . 5 (𝐺 ∈ UPGraph → (𝐹(Cycles‘𝐺)𝑃 → (𝐺 ∈ FriendGraph → ((♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4))))
5655com23 86 . . . 4 (𝐺 ∈ UPGraph → (𝐺 ∈ FriendGraph → (𝐹(Cycles‘𝐺)𝑃 → ((♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4))))
573, 56mpcom 38 . . 3 (𝐺 ∈ FriendGraph → (𝐹(Cycles‘𝐺)𝑃 → ((♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4)))
5857imp 406 . 2 ((𝐺 ∈ FriendGraph ∧ 𝐹(Cycles‘𝐺)𝑃) → ((♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4))
59 neqne 2945 . 2 (¬ (♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4)
6058, 59pm2.61d1 180 1 ((𝐺 ∈ FriendGraph ∧ 𝐹(Cycles‘𝐺)𝑃) → (♯‘𝐹) ≠ 4)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1086   = wceq 1536  wcel 2105  wne 2937  wral 3058  wrex 3067  ∃!wreu 3375  cdif 3959  wss 3962  {csn 4630  {cpr 4632   class class class wbr 5147  cfv 6562  4c4 12320  chash 14365  Vtxcvtx 29027  Edgcedg 29078  UPGraphcupgr 29111  USGraphcusgr 29180  Cyclesccycls 29817   FriendGraph cfrgr 30286
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1791  ax-4 1805  ax-5 1907  ax-6 1964  ax-7 2004  ax-8 2107  ax-9 2115  ax-10 2138  ax-11 2154  ax-12 2174  ax-ext 2705  ax-rep 5284  ax-sep 5301  ax-nul 5311  ax-pow 5370  ax-pr 5437  ax-un 7753  ax-cnex 11208  ax-resscn 11209  ax-1cn 11210  ax-icn 11211  ax-addcl 11212  ax-addrcl 11213  ax-mulcl 11214  ax-mulrcl 11215  ax-mulcom 11216  ax-addass 11217  ax-mulass 11218  ax-distr 11219  ax-i2m1 11220  ax-1ne0 11221  ax-1rid 11222  ax-rnegex 11223  ax-rrecex 11224  ax-cnre 11225  ax-pre-lttri 11226  ax-pre-lttrn 11227  ax-pre-ltadd 11228  ax-pre-mulgt0 11229
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-ifp 1063  df-3or 1087  df-3an 1088  df-tru 1539  df-fal 1549  df-ex 1776  df-nf 1780  df-sb 2062  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2726  df-clel 2813  df-nfc 2889  df-ne 2938  df-nel 3044  df-ral 3059  df-rex 3068  df-rmo 3377  df-reu 3378  df-rab 3433  df-v 3479  df-sbc 3791  df-csb 3908  df-dif 3965  df-un 3967  df-in 3969  df-ss 3979  df-pss 3982  df-nul 4339  df-if 4531  df-pw 4606  df-sn 4631  df-pr 4633  df-op 4637  df-uni 4912  df-int 4951  df-iun 4997  df-br 5148  df-opab 5210  df-mpt 5231  df-tr 5265  df-id 5582  df-eprel 5588  df-po 5596  df-so 5597  df-fr 5640  df-we 5642  df-xp 5694  df-rel 5695  df-cnv 5696  df-co 5697  df-dm 5698  df-rn 5699  df-res 5700  df-ima 5701  df-pred 6322  df-ord 6388  df-on 6389  df-lim 6390  df-suc 6391  df-iota 6515  df-fun 6564  df-fn 6565  df-f 6566  df-f1 6567  df-fo 6568  df-f1o 6569  df-fv 6570  df-riota 7387  df-ov 7433  df-oprab 7434  df-mpo 7435  df-om 7887  df-1st 8012  df-2nd 8013  df-frecs 8304  df-wrecs 8335  df-recs 8409  df-rdg 8448  df-1o 8504  df-2o 8505  df-oadd 8508  df-er 8743  df-map 8866  df-pm 8867  df-en 8984  df-dom 8985  df-sdom 8986  df-fin 8987  df-dju 9938  df-card 9976  df-pnf 11294  df-mnf 11295  df-xr 11296  df-ltxr 11297  df-le 11298  df-sub 11491  df-neg 11492  df-nn 12264  df-2 12326  df-3 12327  df-4 12328  df-n0 12524  df-xnn0 12597  df-z 12611  df-uz 12876  df-fz 13544  df-fzo 13691  df-hash 14366  df-word 14549  df-edg 29079  df-uhgr 29089  df-upgr 29113  df-uspgr 29181  df-usgr 29182  df-wlks 29631  df-trls 29724  df-pths 29748  df-cycls 29819  df-frgr 30287
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator