Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  xrnresex Structured version   Visualization version   GIF version

Theorem xrnresex 39629
Description: Sufficient condition for a restricted range Cartesian product to be a set. (Contributed by Peter Mazsa, 16-Dec-2020.) (Revised by Peter Mazsa, 7-Sep-2021.)
Assertion
Ref Expression
xrnresex ((𝐴 ∈ 𝑉 ∧ 𝑅 ∈ 𝑊 ∧ (𝑆 ↾ 𝐴) ∈ 𝑋) → (𝑅 ⋉ (𝑆 ↾ 𝐴)) ∈ V)

Proof of Theorem xrnresex
StepHypRef Expression
1 xrnres3 39627 . . 3 ((𝑅 ⋉ 𝑆) ↾ 𝐴) = ((𝑅 ↾ 𝐴) ⋉ (𝑆 ↾ 𝐴))
2 xrnres2 39626 . . 3 ((𝑅 ⋉ 𝑆) ↾ 𝐴) = (𝑅 ⋉ (𝑆 ↾ 𝐴))
31, 2eqtr3i 2791 . 2 ((𝑅 ↾ 𝐴) ⋉ (𝑆 ↾ 𝐴)) = (𝑅 ⋉ (𝑆 ↾ 𝐴))
4 dfres4 39499 . . . 4 (𝑅 ↾ 𝐴) = (𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴)))
5 dfres4 39499 . . . 4 (𝑆 ↾ 𝐴) = (𝑆 ∩ (𝐴 × ran (𝑆 ↾ 𝐴)))
64, 5xrneq12i 39603 . . 3 ((𝑅 ↾ 𝐴) ⋉ (𝑆 ↾ 𝐴)) = ((𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴))) ⋉ (𝑆 ∩ (𝐴 × ran (𝑆 ↾ 𝐴))))
7 simp1 1155 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝑅 ∈ 𝑊 ∧ (𝑆 ↾ 𝐴) ∈ 𝑋) → 𝐴 ∈ 𝑉)
8 resexg 6033 . . . . . 6 (𝑅 ∈ 𝑊 → (𝑅 ↾ 𝐴) ∈ V)
9 rnexg 7947 . . . . . 6 ((𝑅 ↾ 𝐴) ∈ V → ran (𝑅 ↾ 𝐴) ∈ V)
108, 9syl 18 . . . . 5 (𝑅 ∈ 𝑊 → ran (𝑅 ↾ 𝐴) ∈ V)
11103ad2ant2 1153 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝑅 ∈ 𝑊 ∧ (𝑆 ↾ 𝐴) ∈ 𝑋) → ran (𝑅 ↾ 𝐴) ∈ V)
12 rnexg 7947 . . . . 5 ((𝑆 ↾ 𝐴) ∈ 𝑋 → ran (𝑆 ↾ 𝐴) ∈ V)
13123ad2ant3 1154 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝑅 ∈ 𝑊 ∧ (𝑆 ↾ 𝐴) ∈ 𝑋) → ran (𝑆 ↾ 𝐴) ∈ V)
14 inxpxrn 39618 . . . . 5 ((𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴))) ⋉ (𝑆 ∩ (𝐴 × ran (𝑆 ↾ 𝐴)))) = ((𝑅 ⋉ 𝑆) ∩ (𝐴 × (ran (𝑅 ↾ 𝐴) × ran (𝑆 ↾ 𝐴))))
15 xrninxpex 39617 . . . . 5 ((𝐴 ∈ 𝑉 ∧ ran (𝑅 ↾ 𝐴) ∈ V ∧ ran (𝑆 ↾ 𝐴) ∈ V) → ((𝑅 ⋉ 𝑆) ∩ (𝐴 × (ran (𝑅 ↾ 𝐴) × ran (𝑆 ↾ 𝐴)))) ∈ V)
1614, 15eqeltrid 2871 . . . 4 ((𝐴 ∈ 𝑉 ∧ ran (𝑅 ↾ 𝐴) ∈ V ∧ ran (𝑆 ↾ 𝐴) ∈ V) → ((𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴))) ⋉ (𝑆 ∩ (𝐴 × ran (𝑆 ↾ 𝐴)))) ∈ V)
177, 11, 13, 16syl3anc 1401 . . 3 ((𝐴 ∈ 𝑉 ∧ 𝑅 ∈ 𝑊 ∧ (𝑆 ↾ 𝐴) ∈ 𝑋) → ((𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴))) ⋉ (𝑆 ∩ (𝐴 × ran (𝑆 ↾ 𝐴)))) ∈ V)
186, 17eqeltrid 2871 . 2 ((𝐴 ∈ 𝑉 ∧ 𝑅 ∈ 𝑊 ∧ (𝑆 ↾ 𝐴) ∈ 𝑋) → ((𝑅 ↾ 𝐴) ⋉ (𝑆 ↾ 𝐴)) ∈ V)
193, 18eqeltrrid 2872 1 ((𝐴 ∈ 𝑉 ∧ 𝑅 ∈ 𝑊 ∧ (𝑆 ↾ 𝐴) ∈ 𝑋) → (𝑅 ⋉ (𝑆 ↾ 𝐴)) ∈ V)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ w3a 1104   ∈ wcel 2150  Vcvv 3453   ∩ cin 4091   × cxp 5655  ran crn 5658   ↾ cres 5659   ⋉ cxrn 39374
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782
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 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-fo 6571  df-fv 6573  df-1st 8034  df-2nd 8035  df-xrn 39580
This theorem is used by:  xrnidresex  39630  xrncnvepresex  39631
  Copyright terms: Public domain W3C validator