Step | Hyp | Ref
| Expression |
1 | | df-frgr 27121 |
. . 3
⊢
FriendGraph = {𝑔 ∣
(𝑔 ∈ USGraph ∧
[(Vtx‘𝑔) /
𝑣][(Edg‘𝑔) / 𝑒]∀𝑘 ∈ 𝑣 ∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒)} |
2 | 1 | eleq2i 2693 |
. 2
⊢ (𝐺 ∈ FriendGraph ↔ 𝐺 ∈ {𝑔 ∣ (𝑔 ∈ USGraph ∧
[(Vtx‘𝑔) /
𝑣][(Edg‘𝑔) / 𝑒]∀𝑘 ∈ 𝑣 ∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒)}) |
3 | | eleq1 2689 |
. . . 4
⊢ (ℎ = 𝐺 → (ℎ ∈ USGraph ↔ 𝐺 ∈ USGraph )) |
4 | | fveq2 6191 |
. . . . . 6
⊢ (ℎ = 𝐺 → (Vtx‘ℎ) = (Vtx‘𝐺)) |
5 | | isfrgr.v |
. . . . . 6
⊢ 𝑉 = (Vtx‘𝐺) |
6 | 4, 5 | syl6eqr 2674 |
. . . . 5
⊢ (ℎ = 𝐺 → (Vtx‘ℎ) = 𝑉) |
7 | 6 | difeq1d 3727 |
. . . . . 6
⊢ (ℎ = 𝐺 → ((Vtx‘ℎ) ∖ {𝑘}) = (𝑉 ∖ {𝑘})) |
8 | | reueq1 3140 |
. . . . . . . 8
⊢
((Vtx‘ℎ) =
𝑉 → (∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ) ↔ ∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
9 | 6, 8 | syl 17 |
. . . . . . 7
⊢ (ℎ = 𝐺 → (∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ) ↔ ∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
10 | | fveq2 6191 |
. . . . . . . . . 10
⊢ (ℎ = 𝐺 → (Edg‘ℎ) = (Edg‘𝐺)) |
11 | | isfrgr.e |
. . . . . . . . . 10
⊢ 𝐸 = (Edg‘𝐺) |
12 | 10, 11 | syl6eqr 2674 |
. . . . . . . . 9
⊢ (ℎ = 𝐺 → (Edg‘ℎ) = 𝐸) |
13 | 12 | sseq2d 3633 |
. . . . . . . 8
⊢ (ℎ = 𝐺 → ({{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ) ↔ {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝐸)) |
14 | 13 | reubidv 3126 |
. . . . . . 7
⊢ (ℎ = 𝐺 → (∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ) ↔ ∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝐸)) |
15 | 9, 14 | bitrd 268 |
. . . . . 6
⊢ (ℎ = 𝐺 → (∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ) ↔ ∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝐸)) |
16 | 7, 15 | raleqbidv 3152 |
. . . . 5
⊢ (ℎ = 𝐺 → (∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ) ↔ ∀𝑙 ∈ (𝑉 ∖ {𝑘})∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝐸)) |
17 | 6, 16 | raleqbidv 3152 |
. . . 4
⊢ (ℎ = 𝐺 → (∀𝑘 ∈ (Vtx‘ℎ)∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ) ↔ ∀𝑘 ∈ 𝑉 ∀𝑙 ∈ (𝑉 ∖ {𝑘})∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝐸)) |
18 | 3, 17 | anbi12d 747 |
. . 3
⊢ (ℎ = 𝐺 → ((ℎ ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘ℎ)∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ)) ↔ (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ 𝑉 ∀𝑙 ∈ (𝑉 ∖ {𝑘})∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝐸))) |
19 | | eleq1 2689 |
. . . . 5
⊢ (𝑔 = ℎ → (𝑔 ∈ USGraph ↔ ℎ ∈ USGraph )) |
20 | | fvexd 6203 |
. . . . . 6
⊢ (𝑔 = ℎ → (Vtx‘𝑔) ∈ V) |
21 | | fveq2 6191 |
. . . . . 6
⊢ (𝑔 = ℎ → (Vtx‘𝑔) = (Vtx‘ℎ)) |
22 | | fvexd 6203 |
. . . . . . 7
⊢ ((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) → (Edg‘𝑔) ∈ V) |
23 | | fveq2 6191 |
. . . . . . . 8
⊢ (𝑔 = ℎ → (Edg‘𝑔) = (Edg‘ℎ)) |
24 | 23 | adantr 481 |
. . . . . . 7
⊢ ((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) → (Edg‘𝑔) = (Edg‘ℎ)) |
25 | | simpr 477 |
. . . . . . . . 9
⊢ ((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) → 𝑣 = (Vtx‘ℎ)) |
26 | 25 | adantr 481 |
. . . . . . . 8
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → 𝑣 = (Vtx‘ℎ)) |
27 | | difeq1 3721 |
. . . . . . . . . 10
⊢ (𝑣 = (Vtx‘ℎ) → (𝑣 ∖ {𝑘}) = ((Vtx‘ℎ) ∖ {𝑘})) |
28 | 27 | ad2antlr 763 |
. . . . . . . . 9
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → (𝑣 ∖ {𝑘}) = ((Vtx‘ℎ) ∖ {𝑘})) |
29 | | reueq1 3140 |
. . . . . . . . . . 11
⊢ (𝑣 = (Vtx‘ℎ) → (∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ ∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒)) |
30 | 29 | ad2antlr 763 |
. . . . . . . . . 10
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → (∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ ∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒)) |
31 | | simpr 477 |
. . . . . . . . . . . 12
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → 𝑒 = (Edg‘ℎ)) |
32 | 31 | sseq2d 3633 |
. . . . . . . . . . 11
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → ({{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
33 | 32 | reubidv 3126 |
. . . . . . . . . 10
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → (∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ ∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
34 | 30, 33 | bitrd 268 |
. . . . . . . . 9
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → (∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ ∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
35 | 28, 34 | raleqbidv 3152 |
. . . . . . . 8
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → (∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ ∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
36 | 26, 35 | raleqbidv 3152 |
. . . . . . 7
⊢ (((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) ∧ 𝑒 = (Edg‘ℎ)) → (∀𝑘 ∈ 𝑣 ∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ ∀𝑘 ∈ (Vtx‘ℎ)∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
37 | 22, 24, 36 | sbcied2 3473 |
. . . . . 6
⊢ ((𝑔 = ℎ ∧ 𝑣 = (Vtx‘ℎ)) → ([(Edg‘𝑔) / 𝑒]∀𝑘 ∈ 𝑣 ∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ ∀𝑘 ∈ (Vtx‘ℎ)∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
38 | 20, 21, 37 | sbcied2 3473 |
. . . . 5
⊢ (𝑔 = ℎ → ([(Vtx‘𝑔) / 𝑣][(Edg‘𝑔) / 𝑒]∀𝑘 ∈ 𝑣 ∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒 ↔ ∀𝑘 ∈ (Vtx‘ℎ)∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))) |
39 | 19, 38 | anbi12d 747 |
. . . 4
⊢ (𝑔 = ℎ → ((𝑔 ∈ USGraph ∧
[(Vtx‘𝑔) /
𝑣][(Edg‘𝑔) / 𝑒]∀𝑘 ∈ 𝑣 ∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒) ↔ (ℎ ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘ℎ)∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ)))) |
40 | 39 | cbvabv 2747 |
. . 3
⊢ {𝑔 ∣ (𝑔 ∈ USGraph ∧
[(Vtx‘𝑔) /
𝑣][(Edg‘𝑔) / 𝑒]∀𝑘 ∈ 𝑣 ∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒)} = {ℎ ∣ (ℎ ∈ USGraph ∧ ∀𝑘 ∈ (Vtx‘ℎ)∀𝑙 ∈ ((Vtx‘ℎ) ∖ {𝑘})∃!𝑥 ∈ (Vtx‘ℎ){{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ (Edg‘ℎ))} |
41 | 18, 40 | elab2g 3353 |
. 2
⊢ (𝐺 ∈ 𝑈 → (𝐺 ∈ {𝑔 ∣ (𝑔 ∈ USGraph ∧
[(Vtx‘𝑔) /
𝑣][(Edg‘𝑔) / 𝑒]∀𝑘 ∈ 𝑣 ∀𝑙 ∈ (𝑣 ∖ {𝑘})∃!𝑥 ∈ 𝑣 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝑒)} ↔ (𝐺 ∈ USGraph ∧ ∀𝑘 ∈ 𝑉 ∀𝑙 ∈ (𝑉 ∖ {𝑘})∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝐸))) |
42 | 2, 41 | syl5bb 272 |
1
⊢ (𝐺 ∈ 𝑈 → (𝐺 ∈ FriendGraph ↔ (𝐺 ∈ USGraph ∧
∀𝑘 ∈ 𝑉 ∀𝑙 ∈ (𝑉 ∖ {𝑘})∃!𝑥 ∈ 𝑉 {{𝑥, 𝑘}, {𝑥, 𝑙}} ⊆ 𝐸))) |