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

Theorem n4cyclfrgr 27155
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 27124 . . . . 5 (𝐺 ∈ FriendGraph → 𝐺 ∈ USGraph )
2 usgrupgr 26077 . . . . 5 (𝐺 ∈ USGraph → 𝐺 ∈ UPGraph )
31, 2syl 17 . . . 4 (𝐺 ∈ FriendGraph → 𝐺 ∈ UPGraph )
4 eqid 2622 . . . . . . . . 9 (Vtx‘𝐺) = (Vtx‘𝐺)
5 eqid 2622 . . . . . . . . 9 (Edg‘𝐺) = (Edg‘𝐺)
64, 5upgr4cycl4dv4e 27045 . . . . . . . 8 ((𝐺 ∈ UPGraph ∧ 𝐹(Cycles‘𝐺)𝑃 ∧ (#‘𝐹) = 4) → ∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))))
74, 5frgrusgrfrcond 27123 . . . . . . . . . . . 12 (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
8 simplrl 800 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐 ∈ (Vtx‘𝐺))
9 necom 2847 . . . . . . . . . . . . . . . . . . . . 21 (𝑎𝑐𝑐𝑎)
109biimpi 206 . . . . . . . . . . . . . . . . . . . 20 (𝑎𝑐𝑐𝑎)
11103ad2ant2 1083 . . . . . . . . . . . . . . . . . . 19 ((𝑎𝑏𝑎𝑐𝑎𝑑) → 𝑐𝑎)
1211ad2antrl 764 . . . . . . . . . . . . . . . . . 18 (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → 𝑐𝑎)
1312adantl 482 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐𝑎)
14 eldifsn 4317 . . . . . . . . . . . . . . . . 17 (𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}) ↔ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑐𝑎))
158, 13, 14sylanbrc 698 . . . . . . . . . . . . . . . 16 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑐 ∈ ((Vtx‘𝐺) ∖ {𝑎}))
16 sneq 4187 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 𝑎 → {𝑘} = {𝑎})
1716difeq2d 3728 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑎 → ((Vtx‘𝐺) ∖ {𝑘}) = ((Vtx‘𝐺) ∖ {𝑎}))
18 preq2 4269 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 = 𝑎 → {𝑥, 𝑘} = {𝑥, 𝑎})
1918preq1d 4274 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 = 𝑎 → {{𝑥, 𝑘}, {𝑥, 𝑙}} = {{𝑥, 𝑎}, {𝑥, 𝑙}})
2019sseq1d 3632 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 𝑎 → ({{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ {{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2120reubidv 3126 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑎 → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2217, 21raleqbidv 3152 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑎 → (∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2322rspcv 3305 . . . . . . . . . . . . . . . . 17 (𝑎 ∈ (Vtx‘𝐺) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
2423ad3antrrr 766 . . . . . . . . . . . . . . . 16 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑎})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
25 preq2 4269 . . . . . . . . . . . . . . . . . . . 20 (𝑙 = 𝑐 → {𝑥, 𝑙} = {𝑥, 𝑐})
2625preq2d 4275 . . . . . . . . . . . . . . . . . . 19 (𝑙 = 𝑐 → {{𝑥, 𝑎}, {𝑥, 𝑙}} = {{𝑥, 𝑎}, {𝑥, 𝑐}})
2726sseq1d 3632 . . . . . . . . . . . . . . . . . 18 (𝑙 = 𝑐 → ({{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ {{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
2827reubidv 3126 . . . . . . . . . . . . . . . . 17 (𝑙 = 𝑐 → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺)))
2928rspcv 3305 . . . . . . . . . . . . . . . 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 4267 . . . . . . . . . . . . . . . . . . 19 {𝑥, 𝑎} = {𝑎, 𝑥}
3231preq1i 4271 . . . . . . . . . . . . . . . . . 18 {{𝑥, 𝑎}, {𝑥, 𝑐}} = {{𝑎, 𝑥}, {𝑥, 𝑐}}
3332sseq1i 3629 . . . . . . . . . . . . . . . . 17 ({{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) ↔ {{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
3433reubii 3128 . . . . . . . . . . . . . . . 16 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) ↔ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
35 simpl 473 . . . . . . . . . . . . . . . . . . . 20 ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) → ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)))
3635ad2antrl 764 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)))
37 simpr 477 . . . . . . . . . . . . . . . . . . . 20 ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) → ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺)))
3837ad2antrl 764 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺)))
39 simpllr 799 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑏 ∈ (Vtx‘𝐺))
40 simplrr 801 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑑 ∈ (Vtx‘𝐺))
41 simprr2 1110 . . . . . . . . . . . . . . . . . . . 20 (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → 𝑏𝑑)
4241adantl 482 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → 𝑏𝑑)
43 4cycl2vnunb 27154 . . . . . . . . . . . . . . . . . . 19 ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺)) ∧ (𝑏 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺) ∧ 𝑏𝑑)) → ¬ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
4436, 38, 39, 40, 42, 43syl113anc 1338 . . . . . . . . . . . . . . . . . 18 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → ¬ ∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺))
4544pm2.21d 118 . . . . . . . . . . . . . . . . 17 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → (#‘𝐹) ≠ 4))
4645com12 32 . . . . . . . . . . . . . . . 16 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑎, 𝑥}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (#‘𝐹) ≠ 4))
4734, 46sylbi 207 . . . . . . . . . . . . . . 15 (∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑎}, {𝑥, 𝑐}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (#‘𝐹) ≠ 4))
4830, 47syl6 35 . . . . . . . . . . . . . 14 ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (#‘𝐹) ≠ 4)))
4948pm2.43b 55 . . . . . . . . . . . . 13 (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (#‘𝐹) ≠ 4))
5049adantl 482 . . . . . . . . . . . 12 ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (#‘𝐹) ≠ 4))
517, 50sylbi 207 . . . . . . . . . . 11 (𝐺 ∈ FriendGraph → ((((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) ∧ ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑)))) → (#‘𝐹) ≠ 4))
5251expdcom 455 . . . . . . . . . 10 (((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑐 ∈ (Vtx‘𝐺) ∧ 𝑑 ∈ (Vtx‘𝐺))) → (((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (#‘𝐹) ≠ 4)))
5352rexlimdvva 3038 . . . . . . . . 9 ((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) → (∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (#‘𝐹) ≠ 4)))
5453rexlimivv 3036 . . . . . . . 8 (∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)∃𝑐 ∈ (Vtx‘𝐺)∃𝑑 ∈ (Vtx‘𝐺)((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑐} ∈ (Edg‘𝐺)) ∧ ({𝑐, 𝑑} ∈ (Edg‘𝐺) ∧ {𝑑, 𝑎} ∈ (Edg‘𝐺))) ∧ ((𝑎𝑏𝑎𝑐𝑎𝑑) ∧ (𝑏𝑐𝑏𝑑𝑐𝑑))) → (𝐺 ∈ FriendGraph → (#‘𝐹) ≠ 4))
556, 54syl 17 . . . . . . 7 ((𝐺 ∈ UPGraph ∧ 𝐹(Cycles‘𝐺)𝑃 ∧ (#‘𝐹) = 4) → (𝐺 ∈ FriendGraph → (#‘𝐹) ≠ 4))
56553exp 1264 . . . . . 6 (𝐺 ∈ UPGraph → (𝐹(Cycles‘𝐺)𝑃 → ((#‘𝐹) = 4 → (𝐺 ∈ FriendGraph → (#‘𝐹) ≠ 4))))
5756com34 91 . . . . 5 (𝐺 ∈ UPGraph → (𝐹(Cycles‘𝐺)𝑃 → (𝐺 ∈ FriendGraph → ((#‘𝐹) = 4 → (#‘𝐹) ≠ 4))))
5857com23 86 . . . 4 (𝐺 ∈ UPGraph → (𝐺 ∈ FriendGraph → (𝐹(Cycles‘𝐺)𝑃 → ((#‘𝐹) = 4 → (#‘𝐹) ≠ 4))))
593, 58mpcom 38 . . 3 (𝐺 ∈ FriendGraph → (𝐹(Cycles‘𝐺)𝑃 → ((#‘𝐹) = 4 → (#‘𝐹) ≠ 4)))
6059imp 445 . 2 ((𝐺 ∈ FriendGraph ∧ 𝐹(Cycles‘𝐺)𝑃) → ((#‘𝐹) = 4 → (#‘𝐹) ≠ 4))
61 neqne 2802 . 2 (¬ (#‘𝐹) = 4 → (#‘𝐹) ≠ 4)
6260, 61pm2.61d1 171 1 ((𝐺 ∈ FriendGraph ∧ 𝐹(Cycles‘𝐺)𝑃) → (#‘𝐹) ≠ 4)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384  w3a 1037   = wceq 1483  wcel 1990  wne 2794  wral 2912  wrex 2913  ∃!wreu 2914  cdif 3571  wss 3574  {csn 4177  {cpr 4179   class class class wbr 4653  cfv 5888  4c4 11072  #chash 13117  Vtxcvtx 25874  Edgcedg 25939   UPGraph cupgr 25975   USGraph cusgr 26044  Cyclesccycls 26680   FriendGraph cfrgr 27120
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949  ax-cnex 9992  ax-resscn 9993  ax-1cn 9994  ax-icn 9995  ax-addcl 9996  ax-addrcl 9997  ax-mulcl 9998  ax-mulrcl 9999  ax-mulcom 10000  ax-addass 10001  ax-mulass 10002  ax-distr 10003  ax-i2m1 10004  ax-1ne0 10005  ax-1rid 10006  ax-rnegex 10007  ax-rrecex 10008  ax-cnre 10009  ax-pre-lttri 10010  ax-pre-lttrn 10011  ax-pre-ltadd 10012  ax-pre-mulgt0 10013
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-ifp 1013  df-3or 1038  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-nel 2898  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-pss 3590  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-tp 4182  df-op 4184  df-uni 4437  df-int 4476  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-tr 4753  df-id 5024  df-eprel 5029  df-po 5035  df-so 5036  df-fr 5073  df-we 5075  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-pred 5680  df-ord 5726  df-on 5727  df-lim 5728  df-suc 5729  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-riota 6611  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-om 7066  df-1st 7168  df-2nd 7169  df-wrecs 7407  df-recs 7468  df-rdg 7506  df-1o 7560  df-2o 7561  df-oadd 7564  df-er 7742  df-map 7859  df-pm 7860  df-en 7956  df-dom 7957  df-sdom 7958  df-fin 7959  df-card 8765  df-cda 8990  df-pnf 10076  df-mnf 10077  df-xr 10078  df-ltxr 10079  df-le 10080  df-sub 10268  df-neg 10269  df-nn 11021  df-2 11079  df-3 11080  df-4 11081  df-n0 11293  df-xnn0 11364  df-z 11378  df-uz 11688  df-fz 12327  df-fzo 12466  df-hash 13118  df-word 13299  df-edg 25940  df-uhgr 25953  df-upgr 25977  df-uspgr 26045  df-usgr 26046  df-wlks 26495  df-trls 26589  df-pths 26612  df-cycls 26682  df-frgr 27121
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator