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 45080
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 15272. (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 2774 . . . 4 (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛)) = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))
2 oveq1 7474 . . . . 5 (𝑟 = 𝑅 → (𝑟 ↑ 𝑛) = (𝑅 ↑ 𝑛))
32iuneq2d 4994 . . . 4 (𝑟 = 𝑅 → ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛) = ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛))
4 elex 3482 . . . . 5 (𝑅 ∈ 𝑈 → 𝑅 ∈ V)
54adantr 486 . . . 4 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → 𝑅 ∈ V)
6 simpr 490 . . . . 5 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → 𝑁 ∈ 𝑉)
7 ovex 7500 . . . . . 6 (𝑅 ↑ 𝑛) ∈ V
87rgenw 3095 . . . . 5 ∀𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∈ V
9 iunexg 8025 . . . . 5 ((𝑁 ∈ 𝑉 ∧ ∀𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∈ V) → ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∈ V)
106, 8, 9sylancl 598 . . . 4 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∈ V)
111, 3, 5, 10fvmptd3 7063 . . 3 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) = ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛))
12 eleq2 2864 . . . 4 (((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) = ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) → (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ 𝑋 ∈ ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛)))
13 eliun 4968 . . . . 5 (𝑋 ∈ ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛))
1413a1i 11 . . . 4 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))
1512, 14sylan9bb 519 . . 3 ((((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) = ∪ 𝑛 ∈ 𝑁 (𝑅 ↑ 𝑛) ∧ (𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉)) → (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))
1611, 15mpancom 701 . 2 ((𝑅 ∈ 𝑈 ∧ 𝑁 ∈ 𝑉) → (𝑋 ∈ ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅) ↔ ∃𝑛 ∈ 𝑁 𝑋 ∈ (𝑅 ↑ 𝑛)))
17 mptiunov2.def . . 3 𝐶 = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))
18 fveq1 6930 . . . . . 6 (𝐶 = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛)) → (𝐶‘𝑅) = ((𝑟 ∈ V ↦ ∪ 𝑛 ∈ 𝑁 (𝑟 ↑ 𝑛))‘𝑅))
1918eleq2d 2861 . . . . 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 1572   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101  Vcvv 3461  ∪ ciun 4964   ↦ cmpt 5200  ‘cfv 6578  (class class class)co 7467
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6532  df-fun 6580  df-fv 6586  df-ov 7470
This theorem is used by:  eltrclrec  45081  elrtrclrec  45082  briunov2  45083  eliunov2uz  45100  ov2ssiunov2  45101
  Copyright terms: Public domain W3C validator