| Mathbox for BJ |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > bj-dfres2 | Structured version Visualization version GIF version | ||
| Description: Alternate definition of the restriction of a class to another, as an ordered pair class abstraction: the restriction of a class to another is the class of ordered pairs whose first component is in the restricting class and whose components are related by the restricted class. (Contributed by Mario Carneiro, 5-Nov-2013.) Do not depend on df-rel 5673. (Revised by BJ, 16-Oct-2026.) This is an alternate proof of dfres2 6059; it is slightly shorter but not necessarily a gain (it uses bj-elres 38267 / elres 6035, which uses bj-elinxp 38260 / elinxp 6034): dfres2 6059 uses that both classes are relations (relres 6020 and relopab 5820) to be able to use ordered-pair extensionality eqrelriiv 5783: the latter's proof is long (considering the proofs of its parents up to ssrel 5775), but its usefulness makes it worth it. |
| Ref | Expression |
|---|---|
| bj-dfres2 | ⊢ (𝑅 ↾ 𝐴) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)} |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-rex 3102 | . . . 4 ⊢ (∃𝑥 ∈ 𝐴 ∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦) ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ ∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦))) | |
| 2 | an12 658 | . . . . . . 7 ⊢ ((𝑧 = 〈𝑥, 𝑦〉 ∧ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)) ↔ (𝑥 ∈ 𝐴 ∧ (𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦))) | |
| 3 | 2 | exbii 1887 | . . . . . 6 ⊢ (∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)) ↔ ∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦))) |
| 4 | 19.42v 1995 | . . . . . 6 ⊢ (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦)) ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦))) | |
| 5 | 3, 4 | bitr2i 279 | . . . . 5 ⊢ ((𝑥 ∈ 𝐴 ∧ ∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦)) ↔ ∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦))) |
| 6 | 5 | exbii 1887 | . . . 4 ⊢ (∃𝑥(𝑥 ∈ 𝐴 ∧ ∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦)) ↔ ∃𝑥∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦))) |
| 7 | 1, 6 | bitri 278 | . . 3 ⊢ (∃𝑥 ∈ 𝐴 ∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦) ↔ ∃𝑥∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦))) |
| 8 | bj-elres 38267 | . . 3 ⊢ (𝑧 ∈ (𝑅 ↾ 𝐴) ↔ ∃𝑥 ∈ 𝐴 ∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ 𝑥𝑅𝑦)) | |
| 9 | elopab 5516 | . . 3 ⊢ (𝑧 ∈ {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)} ↔ ∃𝑥∃𝑦(𝑧 = 〈𝑥, 𝑦〉 ∧ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦))) | |
| 10 | 7, 8, 9 | 3bitr4i 306 | . 2 ⊢ (𝑧 ∈ (𝑅 ↾ 𝐴) ↔ 𝑧 ∈ {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)}) |
| 11 | 10 | eqriv 2771 | 1 ⊢ (𝑅 ↾ 𝐴) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)} |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ∧ wa 401 = wceq 1572 ∃wex 1818 ∈ wcel 2156 ∃wrex 3101 〈cop 4848 class class class wbr 5116 {copab 5181 ↾ cres 5668 |
| 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-ext 2746 ax-sep 5263 ax-pr 5406 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1106 df-tru 1575 df-ex 1819 df-sb 2110 df-clab 2753 df-cleq 2766 df-clel 2850 df-ral 3092 df-rex 3102 df-rab 3424 df-v 3463 df-ss 3908 df-in 4101 df-un 4161 df-sn 4596 df-pr 4598 df-op 4849 df-br 5117 df-opab 5182 df-xp 5672 df-res 5678 |
| This theorem is used by: relpart 38269 |
| Copyright terms: Public domain | W3C validator |