Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  iinabrex Structured version   Visualization version   GIF version

Theorem iinabrex 30908
Description: Rewriting an indexed intersection into an intersection of its image set. (Contributed by Thierry Arnoux, 15-Jun-2024.)
Assertion
Ref Expression
iinabrex (∀𝑥𝐴 𝐵𝑉 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Distinct variable groups:   𝑥,𝐴,𝑦   𝑦,𝐵
Allowed substitution hints:   𝐵(𝑥)   𝑉(𝑥,𝑦)

Proof of Theorem iinabrex
Dummy variables 𝑡 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfra1 3144 . . . . . . . 8 𝑥𝑥𝐴 𝑡𝐵
2 nfv 1917 . . . . . . . 8 𝑥 𝑡𝑧
3 eleq2 2827 . . . . . . . 8 (𝑧 = 𝐵 → (𝑡𝑧𝑡𝐵))
4 vex 3436 . . . . . . . . 9 𝑧 ∈ V
54a1i 11 . . . . . . . 8 (∀𝑥𝐴 𝑡𝐵𝑧 ∈ V)
6 rspa 3132 . . . . . . . 8 ((∀𝑥𝐴 𝑡𝐵𝑥𝐴) → 𝑡𝐵)
71, 2, 3, 5, 6elabreximd 30855 . . . . . . 7 ((∀𝑥𝐴 𝑡𝐵𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}) → 𝑡𝑧)
87ex 413 . . . . . 6 (∀𝑥𝐴 𝑡𝐵 → (𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧))
98alrimiv 1930 . . . . 5 (∀𝑥𝐴 𝑡𝐵 → ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧))
109adantl 482 . . . 4 ((∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑥𝐴 𝑡𝐵) → ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧))
11 nfra1 3144 . . . . . 6 𝑥𝑥𝐴 𝐵𝑉
122nfci 2890 . . . . . . . . 9 𝑥𝑧
13 nfre1 3239 . . . . . . . . . 10 𝑥𝑥𝐴 𝑦 = 𝐵
1413nfab 2913 . . . . . . . . 9 𝑥{𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}
1512, 14nfel 2921 . . . . . . . 8 𝑥 𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}
1615, 2nfim 1899 . . . . . . 7 𝑥(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)
1716nfal 2317 . . . . . 6 𝑥𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)
1811, 17nfan 1902 . . . . 5 𝑥(∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧))
19 rspa 3132 . . . . . . . . 9 ((∀𝑥𝐴 𝐵𝑉𝑥𝐴) → 𝐵𝑉)
2019elexd 3452 . . . . . . . 8 ((∀𝑥𝐴 𝐵𝑉𝑥𝐴) → 𝐵 ∈ V)
2120adantlr 712 . . . . . . 7 (((∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) ∧ 𝑥𝐴) → 𝐵 ∈ V)
22 simplr 766 . . . . . . 7 (((∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) ∧ 𝑥𝐴) → ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧))
23 rspe 3237 . . . . . . . . . . . 12 ((𝑥𝐴𝑦 = 𝐵) → ∃𝑥𝐴 𝑦 = 𝐵)
24 tbtru 1547 . . . . . . . . . . . 12 (∃𝑥𝐴 𝑦 = 𝐵 ↔ (∃𝑥𝐴 𝑦 = 𝐵 ↔ ⊤))
2523, 24sylib 217 . . . . . . . . . . 11 ((𝑥𝐴𝑦 = 𝐵) → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ⊤))
2625ex 413 . . . . . . . . . 10 (𝑥𝐴 → (𝑦 = 𝐵 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ⊤)))
2726alrimiv 1930 . . . . . . . . 9 (𝑥𝐴 → ∀𝑦(𝑦 = 𝐵 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ⊤)))
2827adantl 482 . . . . . . . 8 (((∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) ∧ 𝑥𝐴) → ∀𝑦(𝑦 = 𝐵 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ⊤)))
29 elabgt 3603 . . . . . . . . 9 ((𝐵 ∈ V ∧ ∀𝑦(𝑦 = 𝐵 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ⊤))) → (𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ⊤))
30 tbtru 1547 . . . . . . . . 9 (𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ (𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ⊤))
3129, 30sylibr 233 . . . . . . . 8 ((𝐵 ∈ V ∧ ∀𝑦(𝑦 = 𝐵 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ⊤))) → 𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
3221, 28, 31syl2anc 584 . . . . . . 7 (((∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) ∧ 𝑥𝐴) → 𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
33 eleq1 2826 . . . . . . . . . . 11 (𝑧 = 𝐵 → (𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ 𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}))
3433, 3imbi12d 345 . . . . . . . . . 10 (𝑧 = 𝐵 → ((𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧) ↔ (𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝐵)))
3534spcgv 3535 . . . . . . . . 9 (𝐵 ∈ V → (∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧) → (𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝐵)))
3635imp 407 . . . . . . . 8 ((𝐵 ∈ V ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) → (𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝐵))
3736imp 407 . . . . . . 7 (((𝐵 ∈ V ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) ∧ 𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}) → 𝑡𝐵)
3821, 22, 32, 37syl21anc 835 . . . . . 6 (((∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) ∧ 𝑥𝐴) → 𝑡𝐵)
3938ex 413 . . . . 5 ((∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) → (𝑥𝐴𝑡𝐵))
4018, 39ralrimi 3141 . . . 4 ((∀𝑥𝐴 𝐵𝑉 ∧ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)) → ∀𝑥𝐴 𝑡𝐵)
4110, 40impbida 798 . . 3 (∀𝑥𝐴 𝐵𝑉 → (∀𝑥𝐴 𝑡𝐵 ↔ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)))
4241abbidv 2807 . 2 (∀𝑥𝐴 𝐵𝑉 → {𝑡 ∣ ∀𝑥𝐴 𝑡𝐵} = {𝑡 ∣ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)})
43 df-iin 4927 . . 3 𝑥𝐴 𝐵 = {𝑡 ∣ ∀𝑥𝐴 𝑡𝐵}
4443a1i 11 . 2 (∀𝑥𝐴 𝐵𝑉 𝑥𝐴 𝐵 = {𝑡 ∣ ∀𝑥𝐴 𝑡𝐵})
45 df-int 4880 . . 3 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑡 ∣ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)}
4645a1i 11 . 2 (∀𝑥𝐴 𝐵𝑉 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑡 ∣ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} → 𝑡𝑧)})
4742, 44, 463eqtr4d 2788 1 (∀𝑥𝐴 𝐵𝑉 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wtru 1540  wcel 2106  {cab 2715  wral 3064  wrex 3065  Vcvv 3432   cint 4879   ciin 4925
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  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 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-v 3434  df-int 4880  df-iin 4927
This theorem is referenced by:  intimafv  31043
  Copyright terms: Public domain W3C validator