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

Theorem frgrncvvdeqlem8 28664
Description: Lemma 8 for frgrncvvdeq 28667. 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 28660 . 2 (𝜑𝐴:𝐷𝑁)
12 simpr 485 . . 3 ((𝜑𝐴:𝐷𝑁) → 𝐴:𝐷𝑁)
13 ffvelrn 6954 . . . . . . . . 9 ((𝐴:𝐷𝑁𝑢𝐷) → (𝐴𝑢) ∈ 𝑁)
1413ad2ant2lr 745 . . . . . . . 8 (((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) → (𝐴𝑢) ∈ 𝑁)
1514adantr 481 . . . . . . 7 ((((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) ∧ (𝐴𝑢) = (𝐴𝑤)) → (𝐴𝑢) ∈ 𝑁)
161, 2, 3, 4, 5, 6, 7, 8, 9, 10frgrncvvdeqlem1 28657 . . . . . . . . . . 11 (𝜑𝑋𝑁)
17 preq1 4675 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑢 → {𝑥, 𝑦} = {𝑢, 𝑦})
1817eleq1d 2825 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = 𝑢 → ({𝑥, 𝑦} ∈ 𝐸 ↔ {𝑢, 𝑦} ∈ 𝐸))
1918riotabidv 7228 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑢 → (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸) = (𝑦𝑁 {𝑢, 𝑦} ∈ 𝐸))
2019cbvmptv 5192 . . . . . . . . . . . . . . . . . 18 (𝑥𝐷 ↦ (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸)) = (𝑢𝐷 ↦ (𝑦𝑁 {𝑢, 𝑦} ∈ 𝐸))
2110, 20eqtri 2768 . . . . . . . . . . . . . . . . 17 𝐴 = (𝑢𝐷 ↦ (𝑦𝑁 {𝑢, 𝑦} ∈ 𝐸))
221, 2, 3, 4, 5, 6, 7, 8, 9, 21frgrncvvdeqlem6 28662 . . . . . . . . . . . . . . . 16 ((𝜑𝑢𝐷) → {𝑢, (𝐴𝑢)} ∈ 𝐸)
23 preq1 4675 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑤 → {𝑥, 𝑦} = {𝑤, 𝑦})
2423eleq1d 2825 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = 𝑤 → ({𝑥, 𝑦} ∈ 𝐸 ↔ {𝑤, 𝑦} ∈ 𝐸))
2524riotabidv 7228 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑤 → (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸) = (𝑦𝑁 {𝑤, 𝑦} ∈ 𝐸))
2625cbvmptv 5192 . . . . . . . . . . . . . . . . . 18 (𝑥𝐷 ↦ (𝑦𝑁 {𝑥, 𝑦} ∈ 𝐸)) = (𝑤𝐷 ↦ (𝑦𝑁 {𝑤, 𝑦} ∈ 𝐸))
2710, 26eqtri 2768 . . . . . . . . . . . . . . . . 17 𝐴 = (𝑤𝐷 ↦ (𝑦𝑁 {𝑤, 𝑦} ∈ 𝐸))
281, 2, 3, 4, 5, 6, 7, 8, 9, 27frgrncvvdeqlem6 28662 . . . . . . . . . . . . . . . 16 ((𝜑𝑤𝐷) → {𝑤, (𝐴𝑤)} ∈ 𝐸)
2922, 28anim12dan 619 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸))
30 preq2 4676 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴𝑤) = (𝐴𝑢) → {𝑤, (𝐴𝑤)} = {𝑤, (𝐴𝑢)})
3130eleq1d 2825 . . . . . . . . . . . . . . . . . . . . 21 ((𝐴𝑤) = (𝐴𝑢) → ({𝑤, (𝐴𝑤)} ∈ 𝐸 ↔ {𝑤, (𝐴𝑢)} ∈ 𝐸))
3231anbi2d 629 . . . . . . . . . . . . . . . . . . . 20 ((𝐴𝑤) = (𝐴𝑢) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸) ↔ ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸)))
3332eqcoms 2748 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝑢) = (𝐴𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸) ↔ ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸)))
3433biimpa 477 . . . . . . . . . . . . . . . . . 18 (((𝐴𝑢) = (𝐴𝑤) ∧ ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸)) → ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸))
35 df-ne 2946 . . . . . . . . . . . . . . . . . . 19 (𝑢𝑤 ↔ ¬ 𝑢 = 𝑤)
362, 3frgrnbnb 28651 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐺 ∈ FriendGraph ∧ (𝑢𝐷𝑤𝐷) ∧ 𝑢𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝐴𝑢) = 𝑋))
379, 36syl3an1 1162 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑 ∧ (𝑢𝐷𝑤𝐷) ∧ 𝑢𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝐴𝑢) = 𝑋))
38373expa 1117 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑 ∧ (𝑢𝐷𝑤𝐷)) ∧ 𝑢𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝐴𝑢) = 𝑋))
39 df-nel 3052 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑋𝑁 ↔ ¬ 𝑋𝑁)
40 eleq1 2828 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝐴𝑢) = 𝑋 → ((𝐴𝑢) ∈ 𝑁𝑋𝑁))
4140biimpa 477 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((𝐴𝑢) = 𝑋 ∧ (𝐴𝑢) ∈ 𝑁) → 𝑋𝑁)
4241pm2.24d 151 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝐴𝑢) = 𝑋 ∧ (𝐴𝑢) ∈ 𝑁) → (¬ 𝑋𝑁𝑢 = 𝑤))
4342expcom 414 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝐴𝑢) ∈ 𝑁 → ((𝐴𝑢) = 𝑋 → (¬ 𝑋𝑁𝑢 = 𝑤)))
4443com13 88 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑋𝑁 → ((𝐴𝑢) = 𝑋 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))
4539, 44sylbi 216 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑋𝑁 → ((𝐴𝑢) = 𝑋 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))
4645com12 32 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴𝑢) = 𝑋 → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))
4738, 46syl6 35 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑 ∧ (𝑢𝐷𝑤𝐷)) ∧ 𝑢𝑤) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))
4847expcom 414 . . . . . . . . . . . . . . . . . . . 20 (𝑢𝑤 → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
4948com23 86 . . . . . . . . . . . . . . . . . . 19 (𝑢𝑤 → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5035, 49sylbir 234 . . . . . . . . . . . . . . . . . 18 𝑢 = 𝑤 → (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑢)} ∈ 𝐸) → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5134, 50syl5com 31 . . . . . . . . . . . . . . . . 17 (((𝐴𝑢) = (𝐴𝑤) ∧ ({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸)) → (¬ 𝑢 = 𝑤 → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5251expcom 414 . . . . . . . . . . . . . . . 16 (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸) → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5352com24 95 . . . . . . . . . . . . . . 15 (({𝑢, (𝐴𝑢)} ∈ 𝐸 ∧ {𝑤, (𝐴𝑤)} ∈ 𝐸) → ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) = (𝐴𝑤) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5429, 53mpcom 38 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑢𝐷𝑤𝐷)) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) = (𝐴𝑤) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5554ex 413 . . . . . . . . . . . . 13 (𝜑 → ((𝑢𝐷𝑤𝐷) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) = (𝐴𝑤) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5655com3r 87 . . . . . . . . . . . 12 𝑢 = 𝑤 → (𝜑 → ((𝑢𝐷𝑤𝐷) → ((𝐴𝑢) = (𝐴𝑤) → (𝑋𝑁 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5756com15 101 . . . . . . . . . . 11 (𝑋𝑁 → (𝜑 → ((𝑢𝐷𝑤𝐷) → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
5816, 57mpcom 38 . . . . . . . . . 10 (𝜑 → ((𝑢𝐷𝑤𝐷) → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))))
5958expd 416 . . . . . . . . 9 (𝜑 → (𝑢𝐷 → (𝑤𝐷 → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
6059adantr 481 . . . . . . . 8 ((𝜑𝐴:𝐷𝑁) → (𝑢𝐷 → (𝑤𝐷 → ((𝐴𝑢) = (𝐴𝑤) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤))))))
6160imp42 427 . . . . . . 7 ((((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) ∧ (𝐴𝑢) = (𝐴𝑤)) → (¬ 𝑢 = 𝑤 → ((𝐴𝑢) ∈ 𝑁𝑢 = 𝑤)))
6215, 61mpid 44 . . . . . 6 ((((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) ∧ (𝐴𝑢) = (𝐴𝑤)) → (¬ 𝑢 = 𝑤𝑢 = 𝑤))
6362pm2.18d 127 . . . . 5 ((((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) ∧ (𝐴𝑢) = (𝐴𝑤)) → 𝑢 = 𝑤)
6463ex 413 . . . 4 (((𝜑𝐴:𝐷𝑁) ∧ (𝑢𝐷𝑤𝐷)) → ((𝐴𝑢) = (𝐴𝑤) → 𝑢 = 𝑤))
6564ralrimivva 3117 . . 3 ((𝜑𝐴:𝐷𝑁) → ∀𝑢𝐷𝑤𝐷 ((𝐴𝑢) = (𝐴𝑤) → 𝑢 = 𝑤))
66 dff13 7123 . . 3 (𝐴:𝐷1-1𝑁 ↔ (𝐴:𝐷𝑁 ∧ ∀𝑢𝐷𝑤𝐷 ((𝐴𝑢) = (𝐴𝑤) → 𝑢 = 𝑤)))
6712, 65, 66sylanbrc 583 . 2 ((𝜑𝐴:𝐷𝑁) → 𝐴:𝐷1-1𝑁)
6811, 67mpdan 684 1 (𝜑𝐴:𝐷1-1𝑁)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1542  wcel 2110  wne 2945  wnel 3051  wral 3066  {cpr 4569  cmpt 5162  wf 6427  1-1wf1 6428  cfv 6431  crio 7225  (class class class)co 7269  Vtxcvtx 27362  Edgcedg 27413   NeighbVtx cnbgr 27695   FriendGraph cfrgr 28616
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7580  ax-cnex 10926  ax-resscn 10927  ax-1cn 10928  ax-icn 10929  ax-addcl 10930  ax-addrcl 10931  ax-mulcl 10932  ax-mulrcl 10933  ax-mulcom 10934  ax-addass 10935  ax-mulass 10936  ax-distr 10937  ax-i2m1 10938  ax-1ne0 10939  ax-1rid 10940  ax-rnegex 10941  ax-rrecex 10942  ax-cnre 10943  ax-pre-lttri 10944  ax-pre-lttrn 10945  ax-pre-ltadd 10946  ax-pre-mulgt0 10947
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-nel 3052  df-ral 3071  df-rex 3072  df-reu 3073  df-rmo 3074  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-int 4886  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-tr 5197  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6200  df-ord 6267  df-on 6268  df-lim 6269  df-suc 6270  df-iota 6389  df-fun 6433  df-fn 6434  df-f 6435  df-f1 6436  df-fo 6437  df-f1o 6438  df-fv 6439  df-riota 7226  df-ov 7272  df-oprab 7273  df-mpo 7274  df-om 7705  df-1st 7822  df-2nd 7823  df-frecs 8086  df-wrecs 8117  df-recs 8191  df-rdg 8230  df-1o 8286  df-2o 8287  df-oadd 8290  df-er 8479  df-en 8715  df-dom 8716  df-sdom 8717  df-fin 8718  df-dju 9658  df-card 9696  df-pnf 11010  df-mnf 11011  df-xr 11012  df-ltxr 11013  df-le 11014  df-sub 11205  df-neg 11206  df-nn 11972  df-2 12034  df-n0 12232  df-xnn0 12304  df-z 12318  df-uz 12580  df-fz 13237  df-hash 14041  df-edg 27414  df-upgr 27448  df-umgr 27449  df-usgr 27517  df-nbgr 27696  df-frgr 28617
This theorem is referenced by:  frgrncvvdeqlem10  28666
  Copyright terms: Public domain W3C validator