Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > frgr0v | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
frgr0v | ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ FriendGraph ↔ (iEdg‘𝐺) = ∅)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eqid 2737 | . . 3 ⊢ (Vtx‘𝐺) = (Vtx‘𝐺) | |
2 | eqid 2737 | . . 3 ⊢ (Edg‘𝐺) = (Edg‘𝐺) | |
3 | 1, 2 | isfrgr 28978 | . 2 ⊢ (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺))) |
4 | usgruhgr 27908 | . . . . 5 ⊢ (𝐺 ∈ USGraph → 𝐺 ∈ UHGraph) | |
5 | 4 | adantr 482 | . . . 4 ⊢ ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) → 𝐺 ∈ UHGraph) |
6 | uhgr0vb 27797 | . . . 4 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ UHGraph ↔ (iEdg‘𝐺) = ∅)) | |
7 | 5, 6 | syl5ib 244 | . . 3 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) → (iEdg‘𝐺) = ∅)) |
8 | simpll 765 | . . . . . 6 ⊢ (((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → 𝐺 ∈ 𝑊) | |
9 | simpr 486 | . . . . . 6 ⊢ (((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → (iEdg‘𝐺) = ∅) | |
10 | 8, 9 | usgr0e 27958 | . . . . 5 ⊢ (((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → 𝐺 ∈ USGraph) |
11 | ral0 4465 | . . . . . . 7 ⊢ ∀𝑘 ∈ ∅ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) | |
12 | raleq 3307 | . . . . . . . 8 ⊢ ((Vtx‘𝐺) = ∅ → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∀𝑘 ∈ ∅ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺))) | |
13 | 12 | adantl 483 | . . . . . . 7 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺) ↔ ∀𝑘 ∈ ∅ ∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺))) |
14 | 11, 13 | mpbiri 258 | . . . . . 6 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) |
15 | 14 | adantr 482 | . . . . 5 ⊢ (((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) |
16 | 10, 15 | jca 513 | . . . 4 ⊢ (((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) ∧ (iEdg‘𝐺) = ∅) → (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺))) |
17 | 16 | ex 414 | . . 3 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ((iEdg‘𝐺) = ∅ → (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)))) |
18 | 7, 17 | impbid 211 | . 2 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ((𝐺 ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘𝐺)∀𝑙 ∈ ((Vtx‘𝐺) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘𝐺){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘𝐺)) ↔ (iEdg‘𝐺) = ∅)) |
19 | 3, 18 | bitrid 283 | 1 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ FriendGraph ↔ (iEdg‘𝐺) = ∅)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 397 = wceq 1541 ∈ wcel 2106 ∀wral 3062 ∃!wreu 3349 ∖ cdif 3902 ⊆ wss 3905 ∅c0 4277 {csn 4581 {cpr 4583 ‘cfv 6488 Vtxcvtx 27721 iEdgciedg 27722 Edgcedg 27772 UHGraphcuhgr 27781 USGraphcusgr 27874 FriendGraph cfrgr 28976 |
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 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2708 ax-sep 5251 ax-nul 5258 ax-pow 5315 ax-pr 5379 ax-un 7659 ax-resscn 11038 ax-1cn 11039 ax-icn 11040 ax-addcl 11041 ax-addrcl 11042 ax-mulcl 11043 ax-mulrcl 11044 ax-i2m1 11049 ax-1ne0 11050 ax-rrecex 11053 ax-cnre 11054 ax-pre-lttri 11055 ax-pre-lttrn 11056 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 846 df-3or 1088 df-3an 1089 df-tru 1544 df-fal 1554 df-ex 1782 df-nf 1786 df-sb 2068 df-mo 2539 df-eu 2568 df-clab 2715 df-cleq 2729 df-clel 2815 df-nfc 2887 df-ne 2942 df-nel 3048 df-ral 3063 df-rex 3072 df-reu 3352 df-rab 3406 df-v 3445 df-sbc 3735 df-csb 3851 df-dif 3908 df-un 3910 df-in 3912 df-ss 3922 df-nul 4278 df-if 4482 df-pw 4557 df-sn 4582 df-pr 4584 df-op 4588 df-uni 4861 df-br 5101 df-opab 5163 df-mpt 5184 df-id 5525 df-po 5539 df-so 5540 df-xp 5633 df-rel 5634 df-cnv 5635 df-co 5636 df-dm 5637 df-rn 5638 df-res 5639 df-ima 5640 df-iota 6440 df-fun 6490 df-fn 6491 df-f 6492 df-f1 6493 df-fo 6494 df-f1o 6495 df-fv 6496 df-ov 7349 df-er 8578 df-en 8814 df-dom 8815 df-sdom 8816 df-pnf 11121 df-mnf 11122 df-xr 11123 df-ltxr 11124 df-le 11125 df-2 12146 df-uhgr 27783 df-upgr 27807 df-uspgr 27875 df-usgr 27876 df-frgr 28977 |
This theorem is referenced by: frgr0vb 28981 |
Copyright terms: Public domain | W3C validator |