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

Theorem frgr0v 28057
 Description: Any null graph (set with no vertices) is a friendship graph iff its edge function is empty. (Contributed by Alexander van der Vekens, 4-Oct-2017.) (Revised by AV, 29-Mar-2021.)
Assertion
Ref Expression
frgr0v ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ FriendGraph ↔ (iEdg‘𝐺) = ∅))

Proof of Theorem frgr0v
Dummy variables 𝑘 𝑙 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2798 . . 3 (Vtx‘𝐺) = (Vtx‘𝐺)
2 eqid 2798 . . 3 (Edg‘𝐺) = (Edg‘𝐺)
31, 2isfrgr 28055 . 2 (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
4 usgruhgr 26986 . . . . 5 (𝐺 ∈ USGraph → 𝐺 ∈ UHGraph)
54adantr 484 . . . 4 ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) → 𝐺 ∈ UHGraph)
6 uhgr0vb 26875 . . . 4 ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ UHGraph ↔ (iEdg‘𝐺) = ∅))
75, 6syl5ib 247 . . 3 ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) → (iEdg‘𝐺) = ∅))
8 simpll 766 . . . . . 6 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → 𝐺𝑊)
9 simpr 488 . . . . . 6 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → (iEdg‘𝐺) = ∅)
108, 9usgr0e 27036 . . . . 5 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → 𝐺 ∈ USGraph)
11 ral0 4414 . . . . . . 7 𝑘 ∈ ∅ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)
12 raleq 3358 . . . . . . . 8 ((Vtx‘𝐺) = ∅ → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∀𝑘 ∈ ∅ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
1312adantl 485 . . . . . . 7 ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∀𝑘 ∈ ∅ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
1411, 13mpbiri 261 . . . . . 6 ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺))
1514adantr 484 . . . . 5 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺))
1610, 15jca 515 . . . 4 (((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))
1716ex 416 . . 3 ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → ((iEdg‘𝐺) = ∅ → (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺))))
187, 17impbid 215 . 2 ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) ↔ (iEdg‘𝐺) = ∅))
193, 18syl5bb 286 1 ((𝐺𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ FriendGraph ↔ (iEdg‘𝐺) = ∅))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538   ∈ wcel 2111  ∀wral 3106  ∃!wreu 3108   ∖ cdif 3878   ⊆ wss 3881  ∅c0 4243  {csn 4525  {cpr 4527  ‘cfv 6325  Vtxcvtx 26799  iEdgciedg 26800  Edgcedg 26850  UHGraphcuhgr 26859  USGraphcusgr 26952   FriendGraph cfrgr 28053 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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5168  ax-nul 5175  ax-pow 5232  ax-pr 5296  ax-un 7444  ax-resscn 10586  ax-1cn 10587  ax-icn 10588  ax-addcl 10589  ax-addrcl 10590  ax-mulcl 10591  ax-mulrcl 10592  ax-i2m1 10597  ax-1ne0 10598  ax-rrecex 10601  ax-cnre 10602  ax-pre-lttri 10603  ax-pre-lttrn 10604 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-br 5032  df-opab 5094  df-mpt 5112  df-id 5426  df-po 5439  df-so 5440  df-xp 5526  df-rel 5527  df-cnv 5528  df-co 5529  df-dm 5530  df-rn 5531  df-res 5532  df-ima 5533  df-iota 6284  df-fun 6327  df-fn 6328  df-f 6329  df-f1 6330  df-fo 6331  df-f1o 6332  df-fv 6333  df-ov 7139  df-er 8275  df-en 8496  df-dom 8497  df-sdom 8498  df-pnf 10669  df-mnf 10670  df-xr 10671  df-ltxr 10672  df-le 10673  df-2 11691  df-uhgr 26861  df-upgr 26885  df-uspgr 26953  df-usgr 26954  df-frgr 28054 This theorem is referenced by:  frgr0vb  28058
 Copyright terms: Public domain W3C validator