Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eliunov2 Structured version   Visualization version   GIF version

Theorem eliunov2 44773
Description: Membership in the indexed union over operator values where the index varies the second input is equivalent to the existence of at least one index such that the element is a member of that operator value. Generalized from dfrtrclrec2 15217. (Contributed by RP, 1-Jun-2020.)
Hypothesis
Ref Expression
mptiunov2.def 𝐶 = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))
Assertion
Ref Expression
eliunov2 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ (𝐶‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))
Distinct variable groups:   𝑛,𝑟,𝐶,𝑁, ↑   𝑅,𝑛,𝑟   𝑛,𝑋
Allowed substitution hints:   𝑈(𝑛, 𝑟)   𝑉(𝑛, 𝑟)   𝑋(𝑟)

Proof of Theorem eliunov2
StepHypRef Expression
1 eqid 2760 . . . 4 (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛)) = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))
2 oveq1 7428 . . . . 5 (𝑟 = 𝑅 → (𝑟 ↑ 𝑛) = (𝑅 ↑ 𝑛))
32iuneq2d 4980 . . . 4 (𝑟 = 𝑅 → ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛) = ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛))
4 elex 3471 . . . . 5 (𝑅 ∈ 𝑈 → 𝑅 ∈ V)
54adantr 486 . . . 4 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → 𝑅 ∈ V)
6 simpr 490 . . . . 5 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → 𝑁 ∈ 𝑉)
7 ovex 7454 . . . . . 6 (𝑅 ↑ 𝑛) ∈ V
87rgenw 3080 . . . . 5 ∀𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∈ V
9 iunexg 7976 . . . . 5 ((𝑁 ∈ 𝑉 ∧ ∀𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∈ V) → ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∈ V)
106, 8, 9sylancl 598 . . . 4 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∈ V)
111, 3, 5, 10fvmptd3 7018 . . 3 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) = ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛))
12 eleq2 2849 . . . 4 (((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) = ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) → (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ 𝑋 ∈ ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛)))
13 eliun 4954 . . . . 5 (𝑋 ∈ ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛))
1413a1i 11 . . . 4 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))
1512, 14sylan9bb 519 . . 3 ((((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) = ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∧ (𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉)) → (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))
1611, 15mpancom 701 . 2 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))
17 mptiunov2.def . . 3 𝐶 = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))
18 fveq1 6885 . . . . . 6 (𝐶 = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛)) → (𝐶‘𝑅) = ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅))
1918eleq2d 2846 . . . . 5 (𝐶 = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛)) → (𝑋 ∈ (𝐶‘𝑅) ↔ 𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅)))
2019bibi1d 346 . . . 4 (𝐶 = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛)) → ((𝑋 ∈ (𝐶‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)) ↔ (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛))))
2120imbi2d 343 . . 3 (𝐶 = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛)) → (((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ (𝐶‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛))) ↔ ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))))
2217, 21ax-mp 5 . 2 (((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ (𝐶‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛))) ↔ ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛))))
2316, 22mpbir 234 1 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ (𝐶‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086  Vcvv 3450  ∪ ciun 4950   ↦ cmpt 5185  ‘cfv 6539  (class class class)co 7421
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7752
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6541  df-fv 6547  df-ov 7424
This theorem is used by:  eltrclrec  44774  elrtrclrec  44775  briunov2  44776  eliunov2uz  44793  ov2ssiunov2  44794
  Copyright terms: Public domain W3C validator