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

Theorem n4cyclfrgr 30608
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 30578 . . . . 5 (𝐺 ∈ FriendGraph → 𝐺 ∈ USGraph)
2 usgrupgr 29501 . . . . 5 (𝐺 ∈ USGraph → 𝐺 ∈ UPGraph)
31, 2syl 18 . . . 4 (𝐺 ∈ FriendGraph → 𝐺 ∈ UPGraph)
4 eqid 2761 . . . . . . . . 9 (Vtx‘𝐺) = (Vtx‘𝐺)
5 eqid 2761 . . . . . . . . 9 (Edg‘𝐺) = (Edg‘𝐺)
64, 5upgr4cycl4dv4e 30502 . . . . . . . 8 ((𝐺 ∈ UPGraph ∧ 𝐹(Cycles‘𝐺)𝑃 ∧ (♯‘𝐹) = 4) → ∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))))
74, 5isfrgr 30577 . . . . . . . . . . . 12 (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
8 simplrl 788 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐 ∈ (Vtx‘𝐺))
9 necom 3009 . . . . . . . . . . . . . . . . . . . . 21 (𝑎𝑐𝑐𝑎)
109biimpi 219 . . . . . . . . . . . . . . . . . . . 20 (𝑎𝑐𝑐𝑎)
11103ad2ant2 1150 . . . . . . . . . . . . . . . . . . 19 ((𝑎𝑏𝑎𝑐𝑎𝑑) → 𝑐𝑎)
1211ad2antrl 740 . . . . . . . . . . . . . . . . . 18 (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → 𝑐𝑎)
1312adantl 486 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐𝑎)
14 eldifsn 4752 . . . . . . . . . . . . . . . . 17 (𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}) ↔ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑐𝑎))
158, 13, 14sylanbrc 594 . . . . . . . . . . . . . . . 16 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}))
16 sneq 4598 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 𝑎 → {𝑘} = {𝑎})
1716difeq2d 4080 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑎 → ((Vtx‘𝐺) ∖ {𝑘}) = ((Vtx‘𝐺) ∖ {𝑎}))
18 preq2 4699 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 = 𝑎 → {𝑥, 𝑘} = {𝑥, 𝑎})
1918preq1d 4704 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 = 𝑎 → {{𝑥, 𝑘}, {𝑥, 𝑙}} = {{𝑥, 𝑎}, {𝑥, 𝑙}})
2019sseq1d 3967 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 𝑎 → ({{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ {{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2120reubidv 3383 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑎 → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2217, 21raleqbidv 3336 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑎 → (∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2322rspcv 3576 . . . . . . . . . . . . . . . . 17 (𝑎 ∈ (Vtx‘𝐺) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2423ad3antrrr 742 . . . . . . . . . . . . . . . 16 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
25 preq2 4699 . . . . . . . . . . . . . . . . . . . 20 (𝑙 = 𝑐 → {𝑥, 𝑙} = {𝑥, 𝑐})
2625preq2d 4705 . . . . . . . . . . . . . . . . . . 19 (𝑙 = 𝑐 → {{𝑥, 𝑎}, {𝑥, 𝑙}} = {{𝑥, 𝑎}, {𝑥, 𝑐}})
2726sseq1d 3967 . . . . . . . . . . . . . . . . . 18 (𝑙 = 𝑐 → ({{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ {{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
2827reubidv 3383 . . . . . . . . . . . . . . . . 17 (𝑙 = 𝑐 → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
2928rspcv 3576 . . . . . . . . . . . . . . . 16 (𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}) → (∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
3015, 24, 29sylsyld 62 . . . . . . . . . . . . . . 15 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
31 prcom 4697 . . . . . . . . . . . . . . . . . . 19 {𝑥, 𝑎} = {𝑎, 𝑥}
3231preq1i 4701 . . . . . . . . . . . . . . . . . 18 {{𝑥, 𝑎}, {𝑥, 𝑐}} = {{𝑎, 𝑥}, {𝑥, 𝑐}}
3332sseq1i 3964 . . . . . . . . . . . . . . . . 17 ({{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) ↔ {{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
3433reubii 3376 . . . . . . . . . . . . . . . 16 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
35 simprll 790 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)))
36 simprlr 791 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺)))
37 simpllr 787 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑏 ∈ (Vtx‘𝐺))
38 simplrr 789 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑑 ∈ (Vtx‘𝐺))
39 simprr2 1239 . . . . . . . . . . . . . . . . . . . 20 (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → 𝑏𝑑)
4039adantl 486 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑏𝑑)
41 4cycl2vnunb 30607 . . . . . . . . . . . . . . . . . . 19 ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺)) ∧ (𝑏 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺) ∧ 𝑏𝑑)) → ¬ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
4235, 36, 37, 38, 40, 41syl113anc 1407 . . . . . . . . . . . . . . . . . 18 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ¬ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
4342pm2.21d 122 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → (♯‘𝐹) ≠ 4))
4443com12 33 . . . . . . . . . . . . . . . 16 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
4534, 44sylbi 220 . . . . . . . . . . . . . . 15 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
4630, 45syl6 36 . . . . . . . . . . . . . 14 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4)))
4746pm2.43b 56 . . . . . . . . . . . . 13 (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
4847adantl 486 . . . . . . . . . . . 12 ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
497, 48sylbi 220 . . . . . . . . . . 11 (𝐺 ∈ FriendGraph → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (♯‘𝐹) ≠ 4))
5049expdcom 419 . . . . . . . . . 10 (((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) → (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4)))
5150rexlimdvva 3220 . . . . . . . . 9 ((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) → (∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4)))
5251rexlimivv 3205 . . . . . . . 8 (∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4))
536, 52syl 18 . . . . . . 7 ((𝐺 ∈ UPGraph ∧ 𝐹(Cycles‘𝐺)𝑃 ∧ (♯‘𝐹) = 4) → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4))
54533exp 1135 . . . . . 6 (𝐺 ∈ UPGraph → (𝐹(Cycles‘𝐺)𝑃 → ((♯‘𝐹) = 4 → (𝐺 ∈ FriendGraph → (♯‘𝐹) ≠ 4))))
5554com34 92 . . . . 5 (𝐺 ∈ UPGraph → (𝐹(Cycles‘𝐺)𝑃 → (𝐺 ∈ FriendGraph → ((♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4))))
5655com23 87 . . . 4 (𝐺 ∈ UPGraph → (𝐺 ∈ FriendGraph → (𝐹(Cycles‘𝐺)𝑃 → ((♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4))))
573, 56mpcom 39 . . 3 (𝐺 ∈ FriendGraph → (𝐹(Cycles‘𝐺)𝑃 → ((♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4)))
5857imp 411 . 2 ((𝐺 ∈ FriendGraph ∧ 𝐹(Cycles‘𝐺)𝑃) → ((♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4))
59 neqne 2964 . 2 (¬ (♯‘𝐹) = 4 → (♯‘𝐹) ≠ 4)
6058, 59pm2.61d1 182 1 ((𝐺 ∈ FriendGraph ∧ 𝐹(Cycles‘𝐺)𝑃) → (♯‘𝐹) ≠ 4)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 400  w3a 1101   = wceq 1568  wcel 2141  wne 2956  wral 3077  wrex 3087  ∃!wreu 3365  cdif 3901  wss 3904  {csn 4588  {cpr 4590   class class class wbr 5108  cfv 6536  4c4 12296  chash 14365  Vtxcvtx 29312  Edgcedg 29363  UPGraphcupgr 29396  USGraphcusgr 29465  Cyclesccycls 30100   FriendGraph cfrgr 30575
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1823  ax-4 1837  ax-5 1938  ax-6 1995  ax-7 2036  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-rep 5237  ax-sep 5256  ax-nul 5268  ax-pow 5336  ax-pr 5404  ax-un 7732  ax-cnex 11155  ax-resscn 11156  ax-1cn 11157  ax-icn 11158  ax-addcl 11159  ax-addrcl 11160  ax-mulcl 11161  ax-mulrcl 11162  ax-mulcom 11163  ax-addass 11164  ax-mulass 11165  ax-distr 11166  ax-i2m1 11167  ax-1ne0 11168  ax-1rid 11169  ax-rnegex 11170  ax-rrecex 11171  ax-cnre 11172  ax-pre-lttri 11173  ax-pre-lttrn 11174  ax-pre-ltadd 11175  ax-pre-mulgt0 11176
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-ifp 1077  df-3or 1102  df-3an 1103  df-tru 1571  df-fal 1581  df-ex 1808  df-nf 1812  df-sb 2095  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3367  df-reu 3368  df-rab 3415  df-v 3455  df-sbc 3744  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4487  df-pw 4563  df-sn 4589  df-pr 4591  df-op 4595  df-uni 4872  df-int 4912  df-iun 4957  df-br 5109  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6302  df-ord 6363  df-on 6364  df-lim 6365  df-suc 6366  df-iota 6492  df-fun 6538  df-fn 6539  df-f 6540  df-f1 6541  df-fo 6542  df-f1o 6543  df-fv 6544  df-riota 7367  df-ov 7413  df-oprab 7414  df-mpo 7415  df-om 7862  df-1st 7985  df-2nd 7986  df-frecs 8277  df-wrecs 8308  df-recs 8357  df-rdg 8396  df-1o 8452  df-2o 8453  df-oadd 8456  df-er 8693  df-map 8825  df-pm 8826  df-en 8943  df-dom 8944  df-sdom 8945  df-fin 8946  df-dju 9886  df-card 9924  df-pnf 11244  df-mnf 11245  df-xr 11246  df-ltxr 11247  df-le 11248  df-sub 11442  df-neg 11443  df-nn 12233  df-2 12302  df-3 12303  df-4 12304  df-n0 12504  df-xnn0 12577  df-z 12591  df-uz 12862  df-fz 13535  df-fzo 13682  df-hash 14366  df-word 14550  df-edg 29364  df-uhgr 29374  df-upgr 29398  df-uspgr 29466  df-usgr 29467  df-wlks 29915  df-trls 30006  df-pths 30029  df-cycls 30102  df-frgr 30576
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator