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

Theorem iswrd 14358
Description: Property of being a word over a set with an existential quantifier over the length. (Contributed by Stefan O'Rear, 15-Aug-2015.) (Revised by Mario Carneiro, 26-Feb-2016.) (Proof shortened by AV, 13-May-2020.)
Assertion
Ref Expression
iswrd (𝑊 ∈ Word 𝑆 ↔ ∃𝑙 ∈ ℕ0 𝑊:(0..^𝑙)⟶𝑆)
Distinct variable groups:   𝑆,𝑙   𝑊,𝑙

Proof of Theorem iswrd
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 df-word 14357 . . 3 Word 𝑆 = {𝑤 ∣ ∃𝑙 ∈ ℕ0 𝑤:(0..^𝑙)⟶𝑆}
21eleq2i 2829 . 2 (𝑊 ∈ Word 𝑆𝑊 ∈ {𝑤 ∣ ∃𝑙 ∈ ℕ0 𝑤:(0..^𝑙)⟶𝑆})
3 ovex 7384 . . . . 5 (0..^𝑙) ∈ V
4 fex 7172 . . . . 5 ((𝑊:(0..^𝑙)⟶𝑆 ∧ (0..^𝑙) ∈ V) → 𝑊 ∈ V)
53, 4mpan2 689 . . . 4 (𝑊:(0..^𝑙)⟶𝑆𝑊 ∈ V)
65rexlimivw 3146 . . 3 (∃𝑙 ∈ ℕ0 𝑊:(0..^𝑙)⟶𝑆𝑊 ∈ V)
7 feq1 6646 . . . 4 (𝑤 = 𝑊 → (𝑤:(0..^𝑙)⟶𝑆𝑊:(0..^𝑙)⟶𝑆))
87rexbidv 3173 . . 3 (𝑤 = 𝑊 → (∃𝑙 ∈ ℕ0 𝑤:(0..^𝑙)⟶𝑆 ↔ ∃𝑙 ∈ ℕ0 𝑊:(0..^𝑙)⟶𝑆))
96, 8elab3 3636 . 2 (𝑊 ∈ {𝑤 ∣ ∃𝑙 ∈ ℕ0 𝑤:(0..^𝑙)⟶𝑆} ↔ ∃𝑙 ∈ ℕ0 𝑊:(0..^𝑙)⟶𝑆)
102, 9bitri 274 1 (𝑊 ∈ Word 𝑆 ↔ ∃𝑙 ∈ ℕ0 𝑊:(0..^𝑙)⟶𝑆)
Colors of variables: wff setvar class
Syntax hints:  wb 205   = wceq 1541  wcel 2106  {cab 2714  wrex 3071  Vcvv 3443  wf 6489  (class class class)co 7351  0cc0 11009  0cn0 12371  ..^cfzo 13521  Word cword 14356
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-rep 5240  ax-sep 5254  ax-nul 5261  ax-pr 5382
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  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-ral 3063  df-rex 3072  df-reu 3352  df-rab 3406  df-v 3445  df-sbc 3738  df-csb 3854  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4281  df-if 4485  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4864  df-iun 4954  df-br 5104  df-opab 5166  df-mpt 5187  df-id 5529  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6445  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-ov 7354  df-word 14357
This theorem is referenced by:  iswrdi  14360  wrdf  14361  cshword  14637  motcgrg  27315
  Copyright terms: Public domain W3C validator