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

Theorem frgrncvvdeqlem8 27286
 Description: Lemma 8 for frgrncvvdeq 27289. This corresponds to statement 2 in [Huneke] p. 1: "The map is one-to-one since z in N(x) is uniquely determined as the common neighbor of x and a(x)". (Contributed by Alexander van der Vekens, 23-Dec-2017.) (Revised by AV, 10-May-2021.) (Revised by AV, 30-Dec-2021.)
Hypotheses
Ref Expression
frgrncvvdeq.v1 𝑉 = (Vtx‘𝐺)
frgrncvvdeq.e 𝐸 = (Edg‘𝐺)
frgrncvvdeq.nx 𝐷 = (𝐺 NeighbVtx 𝑋)
frgrncvvdeq.ny 𝑁 = (𝐺 NeighbVtx 𝑌)
frgrncvvdeq.x (𝜑𝑋𝑉)
frgrncvvdeq.y (𝜑𝑌𝑉)
frgrncvvdeq.ne (𝜑𝑋𝑌)
frgrncvvdeq.xy (𝜑𝑌𝐷)
frgrncvvdeq.f (𝜑𝐺 ∈ FriendGraph )
frgrncvvdeq.a 𝐴 = (𝑥𝐷 ↦ (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸))
Assertion
Ref Expression
frgrncvvdeqlem8 (𝜑𝐴:𝐷1-1𝑁)
Distinct variable groups:   𝑦,𝐺   𝑦,𝑉   𝑦,𝑌   𝑥,𝑦,𝐸   𝑦,𝑁   𝑥,𝐷   𝑥,𝑁   𝜑,𝑥   𝑦,𝐷   𝑥,𝐸
Allowed substitution hints:   𝜑(𝑦)   𝐴(𝑥,𝑦)   𝐺(𝑥)   𝑉(𝑥)   𝑋(𝑥,𝑦)   𝑌(𝑥)

Proof of Theorem frgrncvvdeqlem8
Dummy variables 𝑢 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frgrncvvdeq.v1 . . 3 𝑉 = (Vtx‘𝐺)
2 frgrncvvdeq.e . . 3 𝐸 = (Edg‘𝐺)
3 frgrncvvdeq.nx . . 3 𝐷 = (𝐺 NeighbVtx 𝑋)
4 frgrncvvdeq.ny . . 3 𝑁 = (𝐺 NeighbVtx 𝑌)
5 frgrncvvdeq.x . . 3 (𝜑𝑋𝑉)
6 frgrncvvdeq.y . . 3 (𝜑𝑌𝑉)
7 frgrncvvdeq.ne . . 3 (𝜑𝑋𝑌)
8 frgrncvvdeq.xy . . 3 (𝜑𝑌𝐷)
9 frgrncvvdeq.f . . 3 (𝜑𝐺 ∈ FriendGraph )
10 frgrncvvdeq.a . . 3 𝐴 = (𝑥𝐷 ↦ (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸))
111, 2, 3, 4, 5, 6, 7, 8, 9, 10frgrncvvdeqlem4 27282 . 2 (𝜑𝐴:𝐷𝑁)
12 simpr 476 . . 3 ((𝜑𝐴:𝐷𝑁) → 𝐴:𝐷𝑁)
13 ffvelrn 6397 . . . . . . . . 9 ((𝐴:𝐷𝑁𝑢𝐷) → (𝐴𝑢) ∈ 𝑁)
1413ad2ant2lr 799 . . . . . . . 8 (((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) → (𝐴𝑢) ∈ 𝑁)
1514adantr 480 . . . . . . 7 ((((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) ∧ (𝐴𝑢) = (𝐴𝑤)) → (𝐴𝑢) ∈ 𝑁)
161, 2, 3, 4, 5, 6, 7, 8, 9, 10frgrncvvdeqlem1 27279 . . . . . . . . . . 11 (𝜑𝑋𝑁)
17 preq1 4300 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑢 → {𝑥, 𝑦} = {𝑢, 𝑦})
1817eleq1d 2715 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = 𝑢 → ({𝑥, 𝑦} ∈ 𝐸 ↔ {𝑢, 𝑦} ∈ 𝐸))
1918riotabidv 6653 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑢 → (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸) = (𝑦𝑁 {𝑢, 𝑦} ∈ 𝐸))
2019cbvmptv 4783 . . . . . . . . . . . . . . . . . 18 (𝑥𝐷 ↦ (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸)) = (𝑢𝐷 ↦ (𝑦𝑁 {𝑢, 𝑦} ∈ 𝐸))
2110, 20eqtri 2673 . . . . . . . . . . . . . . . . 17 𝐴 = (𝑢𝐷 ↦ (𝑦𝑁 {𝑢, 𝑦} ∈ 𝐸))
221, 2, 3, 4, 5, 6, 7, 8, 9, 21frgrncvvdeqlem6 27284 . . . . . . . . . . . . . . . 16 ((𝜑𝑢𝐷) → {𝑢, (𝐴𝑢)} ∈ 𝐸)
23 preq1 4300 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑤 → {𝑥, 𝑦} = {𝑤, 𝑦})
2423eleq1d 2715 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = 𝑤 → ({𝑥, 𝑦} ∈ 𝐸 ↔ {𝑤, 𝑦} ∈ 𝐸))
2524riotabidv 6653 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑤 → (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸) = (𝑦𝑁 {𝑤, 𝑦} ∈ 𝐸))
2625cbvmptv 4783 . . . . . . . . . . . . . . . . . 18 (𝑥𝐷 ↦ (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸)) = (𝑤𝐷 ↦ (𝑦𝑁 {𝑤, 𝑦} ∈ 𝐸))
2710, 26eqtri 2673 . . . . . . . . . . . . . . . . 17 𝐴 = (𝑤𝐷 ↦ (𝑦𝑁 {𝑤, 𝑦} ∈ 𝐸))
281, 2, 3, 4, 5, 6, 7, 8, 9, 27frgrncvvdeqlem6 27284 . . . . . . . . . . . . . . . 16 ((𝜑𝑤𝐷) → {𝑤, (𝐴𝑤)} ∈ 𝐸)
2922, 28anim12dan 900 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸))
30 preq2 4301 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴𝑤) = (𝐴𝑢) → {𝑤, (𝐴𝑤)} = {𝑤, (𝐴𝑢)})
3130eleq1d 2715 . . . . . . . . . . . . . . . . . . . . 21 ((𝐴𝑤) = (𝐴𝑢) → ({𝑤, (𝐴𝑤)} ∈ 𝐸 ↔ {𝑤, (𝐴𝑢)} ∈ 𝐸))
3231anbi2d 740 . . . . . . . . . . . . . . . . . . . 20 ((𝐴𝑤) = (𝐴𝑢) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸) ↔ ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸)))
3332eqcoms 2659 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝑢) = (𝐴𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸) ↔ ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸)))
3433biimpa 500 . . . . . . . . . . . . . . . . . 18 (((𝐴𝑢) = (𝐴𝑤) ∧ ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸)) → ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸))
35 df-ne 2824 . . . . . . . . . . . . . . . . . . 19 (𝑢𝑤 ↔ ¬ 𝑢 = 𝑤)
362, 3frgrnbnb 27273 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐺 ∈ FriendGraph ∧ (𝑢𝐷𝑤𝐷) ∧ 𝑢𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝐴𝑢) = 𝑋))
379, 36syl3an1 1399 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑 ∧ (𝑢𝐷𝑤𝐷) ∧ 𝑢𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝐴𝑢) = 𝑋))
38373expa 1284 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑 ∧ (𝑢𝐷𝑤𝐷)) ∧ 𝑢𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝐴𝑢) = 𝑋))
39 df-nel 2927 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑋𝑁 ↔ ¬ 𝑋𝑁)
40 eleq1 2718 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝐴𝑢) = 𝑋 → ((𝐴𝑢) ∈ 𝑁𝑋𝑁))
4140biimpa 500 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((𝐴𝑢) = 𝑋 ∧ (𝐴𝑢) ∈ 𝑁) → 𝑋𝑁)
4241pm2.24d 147 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝐴𝑢) = 𝑋 ∧ (𝐴𝑢) ∈ 𝑁) → (¬ 𝑋𝑁𝑢 = 𝑤))
4342expcom 450 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝐴𝑢) ∈ 𝑁 → ((𝐴𝑢) = 𝑋 → (¬ 𝑋𝑁𝑢 = 𝑤)))
4443com13 88 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑋𝑁 → ((𝐴𝑢) = 𝑋 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))
4539, 44sylbi 207 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑋𝑁 → ((𝐴𝑢) = 𝑋 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))
4645com12 32 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴𝑢) = 𝑋 → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))
4738, 46syl6 35 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑 ∧ (𝑢𝐷𝑤𝐷)) ∧ 𝑢𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))
4847expcom 450 . . . . . . . . . . . . . . . . . . . 20 (𝑢𝑤 → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
4948com23 86 . . . . . . . . . . . . . . . . . . 19 (𝑢𝑤 → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5035, 49sylbir 225 . . . . . . . . . . . . . . . . . 18 𝑢 = 𝑤 → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5134, 50syl5com 31 . . . . . . . . . . . . . . . . 17 (((𝐴𝑢) = (𝐴𝑤) ∧ ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸)) → (¬ 𝑢 = 𝑤 → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5251expcom 450 . . . . . . . . . . . . . . . 16 (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸) → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5352com24 95 . . . . . . . . . . . . . . 15 (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸) → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) = (𝐴𝑤) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5429, 53mpcom 38 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) = (𝐴𝑤) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5554ex 449 . . . . . . . . . . . . 13 (𝜑 → ((𝑢𝐷𝑤𝐷) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) = (𝐴𝑤) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5655com3r 87 . . . . . . . . . . . 12 𝑢 = 𝑤 → (𝜑 → ((𝑢𝐷𝑤𝐷) → ((𝐴𝑢) = (𝐴𝑤) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5756com15 101 . . . . . . . . . . 11 (𝑋𝑁 → (𝜑 → ((𝑢𝐷𝑤𝐷) → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5816, 57mpcom 38 . . . . . . . . . 10 (𝜑 → ((𝑢𝐷𝑤𝐷) → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5958expd 451 . . . . . . . . 9 (𝜑 → (𝑢𝐷 → (𝑤𝐷 → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
6059adantr 480 . . . . . . . 8 ((𝜑𝐴:𝐷𝑁) → (𝑢𝐷 → (𝑤𝐷 → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
6160imp42 619 . . . . . . 7 ((((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) ∧ (𝐴𝑢) = (𝐴𝑤)) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))
6215, 61mpid 44 . . . . . 6 ((((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) ∧ (𝐴𝑢) = (𝐴𝑤)) → (¬ 𝑢 = 𝑤𝑢 = 𝑤))
6362pm2.18d 124 . . . . 5 ((((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) ∧ (𝐴𝑢) = (𝐴𝑤)) → 𝑢 = 𝑤)
6463ex 449 . . . 4 (((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) → ((𝐴𝑢) = (𝐴𝑤) → 𝑢 = 𝑤))
6564ralrimivva 3000 . . 3 ((𝜑𝐴:𝐷𝑁) → ∀𝑢𝐷𝑤𝐷 ((𝐴𝑢) = (𝐴𝑤) → 𝑢 = 𝑤))
66 dff13 6552 . . 3 (𝐴:𝐷1-1𝑁 ↔ (𝐴:𝐷𝑁 ∧ ∀𝑢𝐷𝑤𝐷 ((𝐴𝑢) = (𝐴𝑤) → 𝑢 = 𝑤)))
6712, 65, 66sylanbrc 699 . 2 ((𝜑𝐴:𝐷𝑁) → 𝐴:𝐷1-1𝑁)
6811, 67mpdan 703 1 (𝜑𝐴:𝐷1-1𝑁)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 196   ∧ wa 383   = wceq 1523   ∈ wcel 2030   ≠ wne 2823   ∉ wnel 2926  ∀wral 2941  {cpr 4212   ↦ cmpt 4762  ⟶wf 5922  –1-1→wf1 5923  ‘cfv 5926  ℩crio 6650  (class class class)co 6690  Vtxcvtx 25919  Edgcedg 25984   NeighbVtx cnbgr 26269   FriendGraph cfrgr 27236 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-fal 1529  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-1st 7210  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-1o 7605  df-2o 7606  df-oadd 7609  df-er 7787  df-en 7998  df-dom 7999  df-sdom 8000  df-fin 8001  df-card 8803  df-cda 9028  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-nn 11059  df-2 11117  df-n0 11331  df-xnn0 11402  df-z 11416  df-uz 11726  df-fz 12365  df-hash 13158  df-edg 25985  df-upgr 26022  df-umgr 26023  df-usgr 26091  df-nbgr 26270  df-frgr 27237 This theorem is referenced by:  frgrncvvdeqlem10  27288
 Copyright terms: Public domain W3C validator