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

Theorem wwlksnextinj 27105
Description: Lemma for wwlksnextbij 27113. (Contributed by Alexander van der Vekens, 7-Aug-2018.) (Revised by AV, 18-Apr-2021.) (Revised by AV, 27-Oct-2022.)
Hypotheses
Ref Expression
wwlksnextbij0.v 𝑉 = (Vtx‘𝐺)
wwlksnextbij0.e 𝐸 = (Edg‘𝐺)
wwlksnextbij0.d 𝐷 = {𝑤 ∈ Word 𝑉 ∣ ((♯‘𝑤) = (𝑁 + 2) ∧ (𝑤 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑤)} ∈ 𝐸)}
wwlksnextbij0.r 𝑅 = {𝑛𝑉 ∣ {(lastS‘𝑊), 𝑛} ∈ 𝐸}
wwlksnextbij0.f 𝐹 = (𝑡𝐷 ↦ (lastS‘𝑡))
Assertion
Ref Expression
wwlksnextinj (𝑁 ∈ ℕ0𝐹:𝐷1-1𝑅)
Distinct variable groups:   𝑤,𝐺   𝑤,𝑁   𝑤,𝑊   𝑡,𝐷   𝑛,𝐸   𝑤,𝐸   𝑡,𝑁,𝑤   𝑡,𝑅   𝑛,𝑉   𝑤,𝑉   𝑛,𝑊   𝑡,𝑛
Allowed substitution hints:   𝐷(𝑤,𝑛)   𝑅(𝑤,𝑛)   𝐸(𝑡)   𝐹(𝑤,𝑡,𝑛)   𝐺(𝑡,𝑛)   𝑁(𝑛)   𝑉(𝑡)   𝑊(𝑡)

Proof of Theorem wwlksnextinj
Dummy variables 𝑑 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 wwlksnextbij0.v . . 3 𝑉 = (Vtx‘𝐺)
2 wwlksnextbij0.e . . 3 𝐸 = (Edg‘𝐺)
3 wwlksnextbij0.d . . 3 𝐷 = {𝑤 ∈ Word 𝑉 ∣ ((♯‘𝑤) = (𝑁 + 2) ∧ (𝑤 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑤)} ∈ 𝐸)}
4 wwlksnextbij0.r . . 3 𝑅 = {𝑛𝑉 ∣ {(lastS‘𝑊), 𝑛} ∈ 𝐸}
5 wwlksnextbij0.f . . 3 𝐹 = (𝑡𝐷 ↦ (lastS‘𝑡))
61, 2, 3, 4, 5wwlksnextfun 27104 . 2 (𝑁 ∈ ℕ0𝐹:𝐷𝑅)
7 fveq2 6375 . . . . . . 7 (𝑡 = 𝑑 → (lastS‘𝑡) = (lastS‘𝑑))
8 fvex 6388 . . . . . . 7 (lastS‘𝑑) ∈ V
97, 5, 8fvmpt 6471 . . . . . 6 (𝑑𝐷 → (𝐹𝑑) = (lastS‘𝑑))
10 fveq2 6375 . . . . . . 7 (𝑡 = 𝑥 → (lastS‘𝑡) = (lastS‘𝑥))
11 fvex 6388 . . . . . . 7 (lastS‘𝑥) ∈ V
1210, 5, 11fvmpt 6471 . . . . . 6 (𝑥𝐷 → (𝐹𝑥) = (lastS‘𝑥))
139, 12eqeqan12d 2781 . . . . 5 ((𝑑𝐷𝑥𝐷) → ((𝐹𝑑) = (𝐹𝑥) ↔ (lastS‘𝑑) = (lastS‘𝑥)))
1413adantl 473 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑑𝐷𝑥𝐷)) → ((𝐹𝑑) = (𝐹𝑥) ↔ (lastS‘𝑑) = (lastS‘𝑥)))
15 fveqeq2 6384 . . . . . . . 8 (𝑤 = 𝑑 → ((♯‘𝑤) = (𝑁 + 2) ↔ (♯‘𝑑) = (𝑁 + 2)))
16 oveq1 6849 . . . . . . . . 9 (𝑤 = 𝑑 → (𝑤 prefix (𝑁 + 1)) = (𝑑 prefix (𝑁 + 1)))
1716eqeq1d 2767 . . . . . . . 8 (𝑤 = 𝑑 → ((𝑤 prefix (𝑁 + 1)) = 𝑊 ↔ (𝑑 prefix (𝑁 + 1)) = 𝑊))
18 fveq2 6375 . . . . . . . . . 10 (𝑤 = 𝑑 → (lastS‘𝑤) = (lastS‘𝑑))
1918preq2d 4430 . . . . . . . . 9 (𝑤 = 𝑑 → {(lastS‘𝑊), (lastS‘𝑤)} = {(lastS‘𝑊), (lastS‘𝑑)})
2019eleq1d 2829 . . . . . . . 8 (𝑤 = 𝑑 → ({(lastS‘𝑊), (lastS‘𝑤)} ∈ 𝐸 ↔ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸))
2115, 17, 203anbi123d 1560 . . . . . . 7 (𝑤 = 𝑑 → (((♯‘𝑤) = (𝑁 + 2) ∧ (𝑤 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑤)} ∈ 𝐸) ↔ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)))
2221, 3elrab2 3523 . . . . . 6 (𝑑𝐷 ↔ (𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)))
23 fveqeq2 6384 . . . . . . . 8 (𝑤 = 𝑥 → ((♯‘𝑤) = (𝑁 + 2) ↔ (♯‘𝑥) = (𝑁 + 2)))
24 oveq1 6849 . . . . . . . . 9 (𝑤 = 𝑥 → (𝑤 prefix (𝑁 + 1)) = (𝑥 prefix (𝑁 + 1)))
2524eqeq1d 2767 . . . . . . . 8 (𝑤 = 𝑥 → ((𝑤 prefix (𝑁 + 1)) = 𝑊 ↔ (𝑥 prefix (𝑁 + 1)) = 𝑊))
26 fveq2 6375 . . . . . . . . . 10 (𝑤 = 𝑥 → (lastS‘𝑤) = (lastS‘𝑥))
2726preq2d 4430 . . . . . . . . 9 (𝑤 = 𝑥 → {(lastS‘𝑊), (lastS‘𝑤)} = {(lastS‘𝑊), (lastS‘𝑥)})
2827eleq1d 2829 . . . . . . . 8 (𝑤 = 𝑥 → ({(lastS‘𝑊), (lastS‘𝑤)} ∈ 𝐸 ↔ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))
2923, 25, 283anbi123d 1560 . . . . . . 7 (𝑤 = 𝑥 → (((♯‘𝑤) = (𝑁 + 2) ∧ (𝑤 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑤)} ∈ 𝐸) ↔ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)))
3029, 3elrab2 3523 . . . . . 6 (𝑥𝐷 ↔ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)))
31 eqtr3 2786 . . . . . . . . . . . . . . . . 17 (((♯‘𝑑) = (𝑁 + 2) ∧ (♯‘𝑥) = (𝑁 + 2)) → (♯‘𝑑) = (♯‘𝑥))
3231expcom 402 . . . . . . . . . . . . . . . 16 ((♯‘𝑥) = (𝑁 + 2) → ((♯‘𝑑) = (𝑁 + 2) → (♯‘𝑑) = (♯‘𝑥)))
33323ad2ant1 1163 . . . . . . . . . . . . . . 15 (((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸) → ((♯‘𝑑) = (𝑁 + 2) → (♯‘𝑑) = (♯‘𝑥)))
3433adantl 473 . . . . . . . . . . . . . 14 ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → ((♯‘𝑑) = (𝑁 + 2) → (♯‘𝑑) = (♯‘𝑥)))
3534com12 32 . . . . . . . . . . . . 13 ((♯‘𝑑) = (𝑁 + 2) → ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → (♯‘𝑑) = (♯‘𝑥)))
36353ad2ant1 1163 . . . . . . . . . . . 12 (((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸) → ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → (♯‘𝑑) = (♯‘𝑥)))
3736adantl 473 . . . . . . . . . . 11 ((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) → ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → (♯‘𝑑) = (♯‘𝑥)))
3837imp 395 . . . . . . . . . 10 (((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) → (♯‘𝑑) = (♯‘𝑥))
3938adantr 472 . . . . . . . . 9 ((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) → (♯‘𝑑) = (♯‘𝑥))
4039adantr 472 . . . . . . . 8 (((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) ∧ (lastS‘𝑑) = (lastS‘𝑥)) → (♯‘𝑑) = (♯‘𝑥))
41 simpr 477 . . . . . . . 8 (((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) ∧ (lastS‘𝑑) = (lastS‘𝑥)) → (lastS‘𝑑) = (lastS‘𝑥))
42 eqtr3 2786 . . . . . . . . . . . . . . . . . . . 20 (((𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊) → (𝑑 prefix (𝑁 + 1)) = (𝑥 prefix (𝑁 + 1)))
43 1e2m1 11406 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 1 = (2 − 1)
4443a1i 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑁 ∈ ℕ0 → 1 = (2 − 1))
4544oveq2d 6858 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑁 ∈ ℕ0 → (𝑁 + 1) = (𝑁 + (2 − 1)))
46 nn0cn 11549 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑁 ∈ ℕ0𝑁 ∈ ℂ)
47 2cnd 11350 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑁 ∈ ℕ0 → 2 ∈ ℂ)
48 1cnd 10288 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑁 ∈ ℕ0 → 1 ∈ ℂ)
4946, 47, 48addsubassd 10666 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑁 ∈ ℕ0 → ((𝑁 + 2) − 1) = (𝑁 + (2 − 1)))
5045, 49eqtr4d 2802 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑁 ∈ ℕ0 → (𝑁 + 1) = ((𝑁 + 2) − 1))
5150adantr 472 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑁 ∈ ℕ0 ∧ (♯‘𝑑) = (𝑁 + 2)) → (𝑁 + 1) = ((𝑁 + 2) − 1))
52 oveq1 6849 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((♯‘𝑑) = (𝑁 + 2) → ((♯‘𝑑) − 1) = ((𝑁 + 2) − 1))
5352eqeq2d 2775 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((♯‘𝑑) = (𝑁 + 2) → ((𝑁 + 1) = ((♯‘𝑑) − 1) ↔ (𝑁 + 1) = ((𝑁 + 2) − 1)))
5453adantl 473 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑁 ∈ ℕ0 ∧ (♯‘𝑑) = (𝑁 + 2)) → ((𝑁 + 1) = ((♯‘𝑑) − 1) ↔ (𝑁 + 1) = ((𝑁 + 2) − 1)))
5551, 54mpbird 248 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑁 ∈ ℕ0 ∧ (♯‘𝑑) = (𝑁 + 2)) → (𝑁 + 1) = ((♯‘𝑑) − 1))
56 oveq2 6850 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑁 + 1) = ((♯‘𝑑) − 1) → (𝑑 prefix (𝑁 + 1)) = (𝑑 prefix ((♯‘𝑑) − 1)))
57 oveq2 6850 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑁 + 1) = ((♯‘𝑑) − 1) → (𝑥 prefix (𝑁 + 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))
5856, 57eqeq12d 2780 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑁 + 1) = ((♯‘𝑑) − 1) → ((𝑑 prefix (𝑁 + 1)) = (𝑥 prefix (𝑁 + 1)) ↔ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1))))
5955, 58syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑁 ∈ ℕ0 ∧ (♯‘𝑑) = (𝑁 + 2)) → ((𝑑 prefix (𝑁 + 1)) = (𝑥 prefix (𝑁 + 1)) ↔ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1))))
6059biimpd 220 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑁 ∈ ℕ0 ∧ (♯‘𝑑) = (𝑁 + 2)) → ((𝑑 prefix (𝑁 + 1)) = (𝑥 prefix (𝑁 + 1)) → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1))))
6160ex 401 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0 → ((♯‘𝑑) = (𝑁 + 2) → ((𝑑 prefix (𝑁 + 1)) = (𝑥 prefix (𝑁 + 1)) → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
6261com13 88 . . . . . . . . . . . . . . . . . . . 20 ((𝑑 prefix (𝑁 + 1)) = (𝑥 prefix (𝑁 + 1)) → ((♯‘𝑑) = (𝑁 + 2) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
6342, 62syl 17 . . . . . . . . . . . . . . . . . . 19 (((𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊) → ((♯‘𝑑) = (𝑁 + 2) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
6463ex 401 . . . . . . . . . . . . . . . . . 18 ((𝑑 prefix (𝑁 + 1)) = 𝑊 → ((𝑥 prefix (𝑁 + 1)) = 𝑊 → ((♯‘𝑑) = (𝑁 + 2) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1))))))
6564com23 86 . . . . . . . . . . . . . . . . 17 ((𝑑 prefix (𝑁 + 1)) = 𝑊 → ((♯‘𝑑) = (𝑁 + 2) → ((𝑥 prefix (𝑁 + 1)) = 𝑊 → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1))))))
6665impcom 396 . . . . . . . . . . . . . . . 16 (((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊) → ((𝑥 prefix (𝑁 + 1)) = 𝑊 → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
6766com12 32 . . . . . . . . . . . . . . 15 ((𝑥 prefix (𝑁 + 1)) = 𝑊 → (((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
68673ad2ant2 1164 . . . . . . . . . . . . . 14 (((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸) → (((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
6968adantl 473 . . . . . . . . . . . . 13 ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → (((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
7069com12 32 . . . . . . . . . . . 12 (((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊) → ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
71703adant3 1162 . . . . . . . . . . 11 (((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸) → ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
7271adantl 473 . . . . . . . . . 10 ((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) → ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → (𝑁 ∈ ℕ0 → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
7372imp31 408 . . . . . . . . 9 ((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))
7473adantr 472 . . . . . . . 8 (((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) ∧ (lastS‘𝑑) = (lastS‘𝑥)) → (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))
75 simpl 474 . . . . . . . . . . . . 13 ((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) → 𝑑 ∈ Word 𝑉)
76 simpl 474 . . . . . . . . . . . . 13 ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → 𝑥 ∈ Word 𝑉)
7775, 76anim12i 606 . . . . . . . . . . . 12 (((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) → (𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉))
7877adantr 472 . . . . . . . . . . 11 ((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) → (𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉))
79 nn0re 11548 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0𝑁 ∈ ℝ)
80 2re 11346 . . . . . . . . . . . . . . . . . . . . . 22 2 ∈ ℝ
8180a1i 11 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0 → 2 ∈ ℝ)
82 nn0ge0 11565 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0 → 0 ≤ 𝑁)
83 2pos 11382 . . . . . . . . . . . . . . . . . . . . . 22 0 < 2
8483a1i 11 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0 → 0 < 2)
8579, 81, 82, 84addgegt0d 10855 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ0 → 0 < (𝑁 + 2))
8685adantl 473 . . . . . . . . . . . . . . . . . . 19 (((♯‘𝑑) = (𝑁 + 2) ∧ 𝑁 ∈ ℕ0) → 0 < (𝑁 + 2))
87 breq2 4813 . . . . . . . . . . . . . . . . . . . 20 ((♯‘𝑑) = (𝑁 + 2) → (0 < (♯‘𝑑) ↔ 0 < (𝑁 + 2)))
8887adantr 472 . . . . . . . . . . . . . . . . . . 19 (((♯‘𝑑) = (𝑁 + 2) ∧ 𝑁 ∈ ℕ0) → (0 < (♯‘𝑑) ↔ 0 < (𝑁 + 2)))
8986, 88mpbird 248 . . . . . . . . . . . . . . . . . 18 (((♯‘𝑑) = (𝑁 + 2) ∧ 𝑁 ∈ ℕ0) → 0 < (♯‘𝑑))
90 hashgt0n0 13358 . . . . . . . . . . . . . . . . . 18 ((𝑑 ∈ Word 𝑉 ∧ 0 < (♯‘𝑑)) → 𝑑 ≠ ∅)
9189, 90sylan2 586 . . . . . . . . . . . . . . . . 17 ((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ 𝑁 ∈ ℕ0)) → 𝑑 ≠ ∅)
9291exp32 411 . . . . . . . . . . . . . . . 16 (𝑑 ∈ Word 𝑉 → ((♯‘𝑑) = (𝑁 + 2) → (𝑁 ∈ ℕ0𝑑 ≠ ∅)))
9392com12 32 . . . . . . . . . . . . . . 15 ((♯‘𝑑) = (𝑁 + 2) → (𝑑 ∈ Word 𝑉 → (𝑁 ∈ ℕ0𝑑 ≠ ∅)))
94933ad2ant1 1163 . . . . . . . . . . . . . 14 (((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸) → (𝑑 ∈ Word 𝑉 → (𝑁 ∈ ℕ0𝑑 ≠ ∅)))
9594impcom 396 . . . . . . . . . . . . 13 ((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) → (𝑁 ∈ ℕ0𝑑 ≠ ∅))
9695adantr 472 . . . . . . . . . . . 12 (((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) → (𝑁 ∈ ℕ0𝑑 ≠ ∅))
9796imp 395 . . . . . . . . . . 11 ((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) → 𝑑 ≠ ∅)
9885adantl 473 . . . . . . . . . . . . . . . . . . 19 (((♯‘𝑥) = (𝑁 + 2) ∧ 𝑁 ∈ ℕ0) → 0 < (𝑁 + 2))
99 breq2 4813 . . . . . . . . . . . . . . . . . . . 20 ((♯‘𝑥) = (𝑁 + 2) → (0 < (♯‘𝑥) ↔ 0 < (𝑁 + 2)))
10099adantr 472 . . . . . . . . . . . . . . . . . . 19 (((♯‘𝑥) = (𝑁 + 2) ∧ 𝑁 ∈ ℕ0) → (0 < (♯‘𝑥) ↔ 0 < (𝑁 + 2)))
10198, 100mpbird 248 . . . . . . . . . . . . . . . . . 18 (((♯‘𝑥) = (𝑁 + 2) ∧ 𝑁 ∈ ℕ0) → 0 < (♯‘𝑥))
102 hashgt0n0 13358 . . . . . . . . . . . . . . . . . 18 ((𝑥 ∈ Word 𝑉 ∧ 0 < (♯‘𝑥)) → 𝑥 ≠ ∅)
103101, 102sylan2 586 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ 𝑁 ∈ ℕ0)) → 𝑥 ≠ ∅)
104103exp32 411 . . . . . . . . . . . . . . . 16 (𝑥 ∈ Word 𝑉 → ((♯‘𝑥) = (𝑁 + 2) → (𝑁 ∈ ℕ0𝑥 ≠ ∅)))
105104com12 32 . . . . . . . . . . . . . . 15 ((♯‘𝑥) = (𝑁 + 2) → (𝑥 ∈ Word 𝑉 → (𝑁 ∈ ℕ0𝑥 ≠ ∅)))
1061053ad2ant1 1163 . . . . . . . . . . . . . 14 (((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸) → (𝑥 ∈ Word 𝑉 → (𝑁 ∈ ℕ0𝑥 ≠ ∅)))
107106impcom 396 . . . . . . . . . . . . 13 ((𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸)) → (𝑁 ∈ ℕ0𝑥 ≠ ∅))
108107adantl 473 . . . . . . . . . . . 12 (((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) → (𝑁 ∈ ℕ0𝑥 ≠ ∅))
109108imp 395 . . . . . . . . . . 11 ((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) → 𝑥 ≠ ∅)
11078, 97, 109jca32 511 . . . . . . . . . 10 ((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) → ((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) ∧ (𝑑 ≠ ∅ ∧ 𝑥 ≠ ∅)))
111110adantr 472 . . . . . . . . 9 (((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) ∧ (lastS‘𝑑) = (lastS‘𝑥)) → ((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) ∧ (𝑑 ≠ ∅ ∧ 𝑥 ≠ ∅)))
112 simpl 474 . . . . . . . . . . . 12 ((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) → 𝑑 ∈ Word 𝑉)
113112adantr 472 . . . . . . . . . . 11 (((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) ∧ (𝑑 ≠ ∅ ∧ 𝑥 ≠ ∅)) → 𝑑 ∈ Word 𝑉)
114 simpr 477 . . . . . . . . . . . 12 ((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) → 𝑥 ∈ Word 𝑉)
115114adantr 472 . . . . . . . . . . 11 (((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) ∧ (𝑑 ≠ ∅ ∧ 𝑥 ≠ ∅)) → 𝑥 ∈ Word 𝑉)
116 hashneq0 13357 . . . . . . . . . . . . . . . 16 (𝑑 ∈ Word 𝑉 → (0 < (♯‘𝑑) ↔ 𝑑 ≠ ∅))
117116biimprd 239 . . . . . . . . . . . . . . 15 (𝑑 ∈ Word 𝑉 → (𝑑 ≠ ∅ → 0 < (♯‘𝑑)))
118117adantr 472 . . . . . . . . . . . . . 14 ((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) → (𝑑 ≠ ∅ → 0 < (♯‘𝑑)))
119118com12 32 . . . . . . . . . . . . 13 (𝑑 ≠ ∅ → ((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) → 0 < (♯‘𝑑)))
120119adantr 472 . . . . . . . . . . . 12 ((𝑑 ≠ ∅ ∧ 𝑥 ≠ ∅) → ((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) → 0 < (♯‘𝑑)))
121120impcom 396 . . . . . . . . . . 11 (((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) ∧ (𝑑 ≠ ∅ ∧ 𝑥 ≠ ∅)) → 0 < (♯‘𝑑))
122 pfxsuff1eqwrdeq 13686 . . . . . . . . . . 11 ((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉 ∧ 0 < (♯‘𝑑)) → (𝑑 = 𝑥 ↔ ((♯‘𝑑) = (♯‘𝑥) ∧ ((𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)) ∧ (lastS‘𝑑) = (lastS‘𝑥)))))
123113, 115, 121, 122syl3anc 1490 . . . . . . . . . 10 (((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) ∧ (𝑑 ≠ ∅ ∧ 𝑥 ≠ ∅)) → (𝑑 = 𝑥 ↔ ((♯‘𝑑) = (♯‘𝑥) ∧ ((𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)) ∧ (lastS‘𝑑) = (lastS‘𝑥)))))
124 ancom 452 . . . . . . . . . . . 12 (((𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)) ∧ (lastS‘𝑑) = (lastS‘𝑥)) ↔ ((lastS‘𝑑) = (lastS‘𝑥) ∧ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1))))
125124anbi2i 616 . . . . . . . . . . 11 (((♯‘𝑑) = (♯‘𝑥) ∧ ((𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)) ∧ (lastS‘𝑑) = (lastS‘𝑥))) ↔ ((♯‘𝑑) = (♯‘𝑥) ∧ ((lastS‘𝑑) = (lastS‘𝑥) ∧ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
126 3anass 1116 . . . . . . . . . . 11 (((♯‘𝑑) = (♯‘𝑥) ∧ (lastS‘𝑑) = (lastS‘𝑥) ∧ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1))) ↔ ((♯‘𝑑) = (♯‘𝑥) ∧ ((lastS‘𝑑) = (lastS‘𝑥) ∧ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
127125, 126bitr4i 269 . . . . . . . . . 10 (((♯‘𝑑) = (♯‘𝑥) ∧ ((𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)) ∧ (lastS‘𝑑) = (lastS‘𝑥))) ↔ ((♯‘𝑑) = (♯‘𝑥) ∧ (lastS‘𝑑) = (lastS‘𝑥) ∧ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1))))
128123, 127syl6bb 278 . . . . . . . . 9 (((𝑑 ∈ Word 𝑉𝑥 ∈ Word 𝑉) ∧ (𝑑 ≠ ∅ ∧ 𝑥 ≠ ∅)) → (𝑑 = 𝑥 ↔ ((♯‘𝑑) = (♯‘𝑥) ∧ (lastS‘𝑑) = (lastS‘𝑥) ∧ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
129111, 128syl 17 . . . . . . . 8 (((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) ∧ (lastS‘𝑑) = (lastS‘𝑥)) → (𝑑 = 𝑥 ↔ ((♯‘𝑑) = (♯‘𝑥) ∧ (lastS‘𝑑) = (lastS‘𝑥) ∧ (𝑑 prefix ((♯‘𝑑) − 1)) = (𝑥 prefix ((♯‘𝑑) − 1)))))
13040, 41, 74, 129mpbir3and 1442 . . . . . . 7 (((((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) ∧ 𝑁 ∈ ℕ0) ∧ (lastS‘𝑑) = (lastS‘𝑥)) → 𝑑 = 𝑥)
131130exp31 410 . . . . . 6 (((𝑑 ∈ Word 𝑉 ∧ ((♯‘𝑑) = (𝑁 + 2) ∧ (𝑑 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑑)} ∈ 𝐸)) ∧ (𝑥 ∈ Word 𝑉 ∧ ((♯‘𝑥) = (𝑁 + 2) ∧ (𝑥 prefix (𝑁 + 1)) = 𝑊 ∧ {(lastS‘𝑊), (lastS‘𝑥)} ∈ 𝐸))) → (𝑁 ∈ ℕ0 → ((lastS‘𝑑) = (lastS‘𝑥) → 𝑑 = 𝑥)))
13222, 30, 131syl2anb 591 . . . . 5 ((𝑑𝐷𝑥𝐷) → (𝑁 ∈ ℕ0 → ((lastS‘𝑑) = (lastS‘𝑥) → 𝑑 = 𝑥)))
133132impcom 396 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑑𝐷𝑥𝐷)) → ((lastS‘𝑑) = (lastS‘𝑥) → 𝑑 = 𝑥))
13414, 133sylbid 231 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑑𝐷𝑥𝐷)) → ((𝐹𝑑) = (𝐹𝑥) → 𝑑 = 𝑥))
135134ralrimivva 3118 . 2 (𝑁 ∈ ℕ0 → ∀𝑑𝐷𝑥𝐷 ((𝐹𝑑) = (𝐹𝑥) → 𝑑 = 𝑥))
136 dff13 6704 . 2 (𝐹:𝐷1-1𝑅 ↔ (𝐹:𝐷𝑅 ∧ ∀𝑑𝐷𝑥𝐷 ((𝐹𝑑) = (𝐹𝑥) → 𝑑 = 𝑥)))
1376, 135, 136sylanbrc 578 1 (𝑁 ∈ ℕ0𝐹:𝐷1-1𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384  w3a 1107   = wceq 1652  wcel 2155  wne 2937  wral 3055  {crab 3059  c0 4079  {cpr 4336   class class class wbr 4809  cmpt 4888  wf 6064  1-1wf1 6065  cfv 6068  (class class class)co 6842  cr 10188  0cc0 10189  1c1 10190   + caddc 10192   < clt 10328  cmin 10520  2c2 11327  0cn0 11538  chash 13321  Word cword 13486  lastSclsw 13533   prefix cpfx 13661  Vtxcvtx 26165  Edgcedg 26216
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-rep 4930  ax-sep 4941  ax-nul 4949  ax-pow 5001  ax-pr 5062  ax-un 7147  ax-cnex 10245  ax-resscn 10246  ax-1cn 10247  ax-icn 10248  ax-addcl 10249  ax-addrcl 10250  ax-mulcl 10251  ax-mulrcl 10252  ax-mulcom 10253  ax-addass 10254  ax-mulass 10255  ax-distr 10256  ax-i2m1 10257  ax-1ne0 10258  ax-1rid 10259  ax-rnegex 10260  ax-rrecex 10261  ax-cnre 10262  ax-pre-lttri 10263  ax-pre-lttrn 10264  ax-pre-ltadd 10265  ax-pre-mulgt0 10266
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3or 1108  df-3an 1109  df-tru 1656  df-fal 1666  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-nel 3041  df-ral 3060  df-rex 3061  df-reu 3062  df-rab 3064  df-v 3352  df-sbc 3597  df-csb 3692  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-pss 3748  df-nul 4080  df-if 4244  df-pw 4317  df-sn 4335  df-pr 4337  df-tp 4339  df-op 4341  df-uni 4595  df-int 4634  df-iun 4678  df-br 4810  df-opab 4872  df-mpt 4889  df-tr 4912  df-id 5185  df-eprel 5190  df-po 5198  df-so 5199  df-fr 5236  df-we 5238  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-rn 5288  df-res 5289  df-ima 5290  df-pred 5865  df-ord 5911  df-on 5912  df-lim 5913  df-suc 5914  df-iota 6031  df-fun 6070  df-fn 6071  df-f 6072  df-f1 6073  df-fo 6074  df-f1o 6075  df-fv 6076  df-riota 6803  df-ov 6845  df-oprab 6846  df-mpt2 6847  df-om 7264  df-1st 7366  df-2nd 7367  df-wrecs 7610  df-recs 7672  df-rdg 7710  df-1o 7764  df-oadd 7768  df-er 7947  df-en 8161  df-dom 8162  df-sdom 8163  df-fin 8164  df-card 9016  df-pnf 10330  df-mnf 10331  df-xr 10332  df-ltxr 10333  df-le 10334  df-sub 10522  df-neg 10523  df-nn 11275  df-2 11335  df-n0 11539  df-xnn0 11611  df-z 11625  df-uz 11887  df-fz 12534  df-fzo 12674  df-hash 13322  df-word 13487  df-lsw 13534  df-s1 13567  df-substr 13617  df-pfx 13662
This theorem is referenced by:  wwlksnextbij0  27107
  Copyright terms: Public domain W3C validator