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 43641
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 15107. (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 2740 . . . 4 (𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛)) = (𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))
2 oveq1 7455 . . . . 5 (𝑟 = 𝑅 → (𝑟 𝑛) = (𝑅 𝑛))
32iuneq2d 5045 . . . 4 (𝑟 = 𝑅 𝑛𝑁 (𝑟 𝑛) = 𝑛𝑁 (𝑅 𝑛))
4 elex 3509 . . . . 5 (𝑅𝑈𝑅 ∈ V)
54adantr 480 . . . 4 ((𝑅𝑈𝑁𝑉) → 𝑅 ∈ V)
6 simpr 484 . . . . 5 ((𝑅𝑈𝑁𝑉) → 𝑁𝑉)
7 ovex 7481 . . . . . 6 (𝑅 𝑛) ∈ V
87rgenw 3071 . . . . 5 𝑛𝑁 (𝑅 𝑛) ∈ V
9 iunexg 8004 . . . . 5 ((𝑁𝑉 ∧ ∀𝑛𝑁 (𝑅 𝑛) ∈ V) → 𝑛𝑁 (𝑅 𝑛) ∈ V)
106, 8, 9sylancl 585 . . . 4 ((𝑅𝑈𝑁𝑉) → 𝑛𝑁 (𝑅 𝑛) ∈ V)
111, 3, 5, 10fvmptd3 7052 . . 3 ((𝑅𝑈𝑁𝑉) → ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) = 𝑛𝑁 (𝑅 𝑛))
12 eleq2 2833 . . . 4 (((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) = 𝑛𝑁 (𝑅 𝑛) → (𝑋 ∈ ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) ↔ 𝑋 𝑛𝑁 (𝑅 𝑛)))
13 eliun 5019 . . . . 5 (𝑋 𝑛𝑁 (𝑅 𝑛) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛))
1413a1i 11 . . . 4 ((𝑅𝑈𝑁𝑉) → (𝑋 𝑛𝑁 (𝑅 𝑛) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛)))
1512, 14sylan9bb 509 . . 3 ((((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) = 𝑛𝑁 (𝑅 𝑛) ∧ (𝑅𝑈𝑁𝑉)) → (𝑋 ∈ ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛)))
1611, 15mpancom 687 . 2 ((𝑅𝑈𝑁𝑉) → (𝑋 ∈ ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛)))
17 mptiunov2.def . . 3 𝐶 = (𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))
18 fveq1 6919 . . . . . 6 (𝐶 = (𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛)) → (𝐶𝑅) = ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅))
1918eleq2d 2830 . . . . 5 (𝐶 = (𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛)) → (𝑋 ∈ (𝐶𝑅) ↔ 𝑋 ∈ ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅)))
2019bibi1d 343 . . . 4 (𝐶 = (𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛)) → ((𝑋 ∈ (𝐶𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛)) ↔ (𝑋 ∈ ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛))))
2120imbi2d 340 . . 3 (𝐶 = (𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛)) → (((𝑅𝑈𝑁𝑉) → (𝑋 ∈ (𝐶𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛))) ↔ ((𝑅𝑈𝑁𝑉) → (𝑋 ∈ ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛)))))
2217, 21ax-mp 5 . 2 (((𝑅𝑈𝑁𝑉) → (𝑋 ∈ (𝐶𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛))) ↔ ((𝑅𝑈𝑁𝑉) → (𝑋 ∈ ((𝑟 ∈ V ↦ 𝑛𝑁 (𝑟 𝑛))‘𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛))))
2316, 22mpbir 231 1 ((𝑅𝑈𝑁𝑉) → (𝑋 ∈ (𝐶𝑅) ↔ ∃𝑛𝑁 𝑋 ∈ (𝑅 𝑛)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  wcel 2108  wral 3067  wrex 3076  Vcvv 3488   ciun 5015  cmpt 5249  cfv 6573  (class class class)co 7448
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-rep 5303  ax-sep 5317  ax-nul 5324  ax-pr 5447  ax-un 7770
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-iun 5017  df-br 5167  df-opab 5229  df-mpt 5250  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-iota 6525  df-fun 6575  df-fv 6581  df-ov 7451
This theorem is referenced by:  eltrclrec  43642  elrtrclrec  43643  briunov2  43644  eliunov2uz  43661  ov2ssiunov2  43662
  Copyright terms: Public domain W3C validator