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

Theorem n4cyclfrgr 30371
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 30341 . . . . 5 (𝐺 ∈ FriendGraph → 𝐺 ∈ USGraph)
2 usgrupgr 29263 . . . . 5 (𝐺 ∈ USGraph → 𝐺 ∈ UPGraph)
31, 2syl 17 . . . 4 (𝐺 ∈ FriendGraph → 𝐺 ∈ UPGraph)
4 eqid 2737 . . . . . . . . 9 (Vtx‘𝐺) = (Vtx‘𝐺)
5 eqid 2737 . . . . . . . . 9 (Edg‘𝐺) = (Edg‘𝐺)
64, 5upgr4cycl4dv4e 30265 . . . . . . . 8 ((𝐺 ∈ UPGraph ∧ 𝐹(Cycles‘𝐺)𝑃 ∧ (♯‘𝐹) = 4) → ∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))))
74, 5isfrgr 30340 . . . . . . . . . . . 12 (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
8 simplrl 777 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐 ∈ (Vtx‘𝐺))
9 necom 2986 . . . . . . . . . . . . . . . . . . . . 21 (𝑎𝑐𝑐𝑎)
109biimpi 216 . . . . . . . . . . . . . . . . . . . 20 (𝑎𝑐𝑐𝑎)
11103ad2ant2 1135 . . . . . . . . . . . . . . . . . . 19 ((𝑎𝑏𝑎𝑐𝑎𝑑) → 𝑐𝑎)
1211ad2antrl 729 . . . . . . . . . . . . . . . . . 18 (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → 𝑐𝑎)
1312adantl 481 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐𝑎)
14 eldifsn 4743 . . . . . . . . . . . . . . . . 17 (𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}) ↔ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑐𝑎))
158, 13, 14sylanbrc 584 . . . . . . . . . . . . . . . 16 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}))
16 sneq 4591 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 𝑎 → {𝑘} = {𝑎})
1716difeq2d 4079 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑎 → ((Vtx‘𝐺) ∖ {𝑘}) = ((Vtx‘𝐺) ∖ {𝑎}))
18 preq2 4692 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 = 𝑎 → {𝑥, 𝑘} = {𝑥, 𝑎})
1918preq1d 4697 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 = 𝑎 → {{𝑥, 𝑘}, {𝑥, 𝑙}} = {{𝑥, 𝑎}, {𝑥, 𝑙}})
2019sseq1d 3966 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 𝑎 → ({{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ {{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2120reubidv 3367 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑎 → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2217, 21raleqbidv 3317 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑎 → (∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2322rspcv 3573 . . . . . . . . . . . . . . . . 17 (𝑎 ∈ (Vtx‘𝐺) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2423ad3antrrr 731 . . . . . . . . . . . . . . . 16 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
25 preq2 4692 . . . . . . . . . . . . . . . . . . . 20 (𝑙 = 𝑐 → {𝑥, 𝑙} = {𝑥, 𝑐})
2625preq2d 4698 . . . . . . . . . . . . . . . . . . 19 (𝑙 = 𝑐 → {{𝑥, 𝑎}, {𝑥, 𝑙}} = {{𝑥, 𝑎}, {𝑥, 𝑐}})
2726sseq1d 3966 . . . . . . . . . . . . . . . . . 18 (𝑙 = 𝑐 → ({{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ {{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
2827reubidv 3367 . . . . . . . . . . . . . . . . 17 (𝑙 = 𝑐 → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
2928rspcv 3573 . . . . . . . . . . . . . . . 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 4690 . . . . . . . . . . . . . . . . . . 19 {𝑥, 𝑎} = {𝑎, 𝑥}
3231preq1i 4694 . . . . . . . . . . . . . . . . . 18 {{𝑥, 𝑎}, {𝑥, 𝑐}} = {{𝑎, 𝑥}, {𝑥, 𝑐}}
3332sseq1i 3963 . . . . . . . . . . . . . . . . 17 ({{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) ↔ {{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
3433reubii 3360 . . . . . . . . . . . . . . . 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 1224 . . . . . . . . . . . . . . . . . . . 20 (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → 𝑏𝑑)
4039adantl 481 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑏𝑑)
41 4cycl2vnunb 30370 . . . . . . . . . . . . . . . . . . 19 ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺)) ∧ (𝑏 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺) ∧ 𝑏𝑑)) → ¬ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
4235, 36, 37, 38, 40, 41syl113anc 1385 . . . . . . . . . . . . . . . . . 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 3194 . . . . . . . . 9 ((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) → (∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4)))
5251rexlimivv 3179 . . . . . . . 8 (∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4))
536, 52syl 17 . . . . . . 7 ((𝐺 ∈ UPGraph ∧ 𝐹(Cycles‘𝐺)𝑃 ∧ (♯‘𝐹) = 4) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4))
54533exp 1120 . . . . . 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 2941 . 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 1087   = wceq 1542  wcel 2114  wne 2933  wral 3052  wrex 3061  ∃!wreu 3349  cdif 3899  wss 3902  {csn 4581  {cpr 4583   class class class wbr 5099  cfv 6493  4c4 12207  chash 14258  Vtxcvtx 29074  Edgcedg 29125  UPGraphcupgr 29158  USGraphcusgr 29227  Cyclesccycls 29863   FriendGraph cfrgr 30338
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 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5225  ax-sep 5242  ax-nul 5252  ax-pow 5311  ax-pr 5378  ax-un 7683  ax-cnex 11087  ax-resscn 11088  ax-1cn 11089  ax-icn 11090  ax-addcl 11091  ax-addrcl 11092  ax-mulcl 11093  ax-mulrcl 11094  ax-mulcom 11095  ax-addass 11096  ax-mulass 11097  ax-distr 11098  ax-i2m1 11099  ax-1ne0 11100  ax-1rid 11101  ax-rnegex 11102  ax-rrecex 11103  ax-cnre 11104  ax-pre-lttri 11105  ax-pre-lttrn 11106  ax-pre-ltadd 11107  ax-pre-mulgt0 11108
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-ifp 1064  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-nel 3038  df-ral 3053  df-rex 3062  df-rmo 3351  df-reu 3352  df-rab 3401  df-v 3443  df-sbc 3742  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4287  df-if 4481  df-pw 4557  df-sn 4582  df-pr 4584  df-op 4588  df-uni 4865  df-int 4904  df-iun 4949  df-br 5100  df-opab 5162  df-mpt 5181  df-tr 5207  df-id 5520  df-eprel 5525  df-po 5533  df-so 5534  df-fr 5578  df-we 5580  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-pred 6260  df-ord 6321  df-on 6322  df-lim 6323  df-suc 6324  df-iota 6449  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-riota 7318  df-ov 7364  df-oprab 7365  df-mpo 7366  df-om 7812  df-1st 7936  df-2nd 7937  df-frecs 8226  df-wrecs 8257  df-recs 8306  df-rdg 8344  df-1o 8400  df-2o 8401  df-oadd 8404  df-er 8638  df-map 8770  df-pm 8771  df-en 8889  df-dom 8890  df-sdom 8891  df-fin 8892  df-dju 9818  df-card 9856  df-pnf 11173  df-mnf 11174  df-xr 11175  df-ltxr 11176  df-le 11177  df-sub 11371  df-neg 11372  df-nn 12151  df-2 12213  df-3 12214  df-4 12215  df-n0 12407  df-xnn0 12480  df-z 12494  df-uz 12757  df-fz 13429  df-fzo 13576  df-hash 14259  df-word 14442  df-edg 29126  df-uhgr 29136  df-upgr 29160  df-uspgr 29228  df-usgr 29229  df-wlks 29678  df-trls 29769  df-pths 29792  df-cycls 29865  df-frgr 30339
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator