Mathbox for Richard Penner < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  undmrnresiss Structured version   Visualization version   GIF version

Theorem undmrnresiss 36929
 Description: Two ways of saying the identity relation restricted to the union of the domain and range of a relation is a subset of a relation. Generalization of reflexg 36930. (Contributed by RP, 26-Sep-2020.)
Assertion
Ref Expression
undmrnresiss (( I ↾ (dom 𝐴 ∪ ran 𝐴)) ⊆ 𝐵 ↔ ∀𝑥𝑦(𝑥𝐴𝑦 → (𝑥𝐵𝑥𝑦𝐵𝑦)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦

Proof of Theorem undmrnresiss
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 resundi 5330 . . 3 ( I ↾ (dom 𝐴 ∪ ran 𝐴)) = (( I ↾ dom 𝐴) ∪ ( I ↾ ran 𝐴))
21sseq1i 3592 . 2 (( I ↾ (dom 𝐴 ∪ ran 𝐴)) ⊆ 𝐵 ↔ (( I ↾ dom 𝐴) ∪ ( I ↾ ran 𝐴)) ⊆ 𝐵)
3 unss 3749 . 2 ((( I ↾ dom 𝐴) ⊆ 𝐵 ∧ ( I ↾ ran 𝐴) ⊆ 𝐵) ↔ (( I ↾ dom 𝐴) ∪ ( I ↾ ran 𝐴)) ⊆ 𝐵)
4 relres 5346 . . . . . 6 Rel ( I ↾ dom 𝐴)
5 ssrel 5130 . . . . . 6 (Rel ( I ↾ dom 𝐴) → (( I ↾ dom 𝐴) ⊆ 𝐵 ↔ ∀𝑥𝑧(⟨𝑥, 𝑧⟩ ∈ ( I ↾ dom 𝐴) → ⟨𝑥, 𝑧⟩ ∈ 𝐵)))
64, 5ax-mp 5 . . . . 5 (( I ↾ dom 𝐴) ⊆ 𝐵 ↔ ∀𝑥𝑧(⟨𝑥, 𝑧⟩ ∈ ( I ↾ dom 𝐴) → ⟨𝑥, 𝑧⟩ ∈ 𝐵))
7 df-br 4584 . . . . . . . . . 10 (𝑥 I 𝑧 ↔ ⟨𝑥, 𝑧⟩ ∈ I )
8 vex 3176 . . . . . . . . . . 11 𝑧 ∈ V
98ideq 5196 . . . . . . . . . 10 (𝑥 I 𝑧𝑥 = 𝑧)
107, 9bitr3i 265 . . . . . . . . 9 (⟨𝑥, 𝑧⟩ ∈ I ↔ 𝑥 = 𝑧)
11 vex 3176 . . . . . . . . . 10 𝑥 ∈ V
1211eldm 5243 . . . . . . . . 9 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦 𝑥𝐴𝑦)
1310, 12anbi12i 729 . . . . . . . 8 ((⟨𝑥, 𝑧⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴) ↔ (𝑥 = 𝑧 ∧ ∃𝑦 𝑥𝐴𝑦))
148opelres 5322 . . . . . . . 8 (⟨𝑥, 𝑧⟩ ∈ ( I ↾ dom 𝐴) ↔ (⟨𝑥, 𝑧⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴))
15 19.42v 1905 . . . . . . . 8 (∃𝑦(𝑥 = 𝑧𝑥𝐴𝑦) ↔ (𝑥 = 𝑧 ∧ ∃𝑦 𝑥𝐴𝑦))
1613, 14, 153bitr4i 291 . . . . . . 7 (⟨𝑥, 𝑧⟩ ∈ ( I ↾ dom 𝐴) ↔ ∃𝑦(𝑥 = 𝑧𝑥𝐴𝑦))
17 df-br 4584 . . . . . . . 8 (𝑥𝐵𝑧 ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐵)
1817bicomi 213 . . . . . . 7 (⟨𝑥, 𝑧⟩ ∈ 𝐵𝑥𝐵𝑧)
1916, 18imbi12i 339 . . . . . 6 ((⟨𝑥, 𝑧⟩ ∈ ( I ↾ dom 𝐴) → ⟨𝑥, 𝑧⟩ ∈ 𝐵) ↔ (∃𝑦(𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧))
20192albii 1738 . . . . 5 (∀𝑥𝑧(⟨𝑥, 𝑧⟩ ∈ ( I ↾ dom 𝐴) → ⟨𝑥, 𝑧⟩ ∈ 𝐵) ↔ ∀𝑥𝑧(∃𝑦(𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧))
21 19.23v 1889 . . . . . . . 8 (∀𝑦((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ (∃𝑦(𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧))
2221bicomi 213 . . . . . . 7 ((∃𝑦(𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ∀𝑦((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧))
23222albii 1738 . . . . . 6 (∀𝑥𝑧(∃𝑦(𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ∀𝑥𝑧𝑦((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧))
24 alcom 2024 . . . . . . . 8 (∀𝑧𝑦((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ∀𝑦𝑧((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧))
25 ancomst 467 . . . . . . . . . . . 12 (((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ((𝑥𝐴𝑦𝑥 = 𝑧) → 𝑥𝐵𝑧))
26 impexp 461 . . . . . . . . . . . 12 (((𝑥𝐴𝑦𝑥 = 𝑧) → 𝑥𝐵𝑧) ↔ (𝑥𝐴𝑦 → (𝑥 = 𝑧𝑥𝐵𝑧)))
2725, 26bitri 263 . . . . . . . . . . 11 (((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ (𝑥𝐴𝑦 → (𝑥 = 𝑧𝑥𝐵𝑧)))
2827albii 1737 . . . . . . . . . 10 (∀𝑧((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ∀𝑧(𝑥𝐴𝑦 → (𝑥 = 𝑧𝑥𝐵𝑧)))
29 19.21v 1855 . . . . . . . . . 10 (∀𝑧(𝑥𝐴𝑦 → (𝑥 = 𝑧𝑥𝐵𝑧)) ↔ (𝑥𝐴𝑦 → ∀𝑧(𝑥 = 𝑧𝑥𝐵𝑧)))
30 equcom 1932 . . . . . . . . . . . . . 14 (𝑥 = 𝑧𝑧 = 𝑥)
3130imbi1i 338 . . . . . . . . . . . . 13 ((𝑥 = 𝑧𝑥𝐵𝑧) ↔ (𝑧 = 𝑥𝑥𝐵𝑧))
3231albii 1737 . . . . . . . . . . . 12 (∀𝑧(𝑥 = 𝑧𝑥𝐵𝑧) ↔ ∀𝑧(𝑧 = 𝑥𝑥𝐵𝑧))
33 breq2 4587 . . . . . . . . . . . . 13 (𝑧 = 𝑥 → (𝑥𝐵𝑧𝑥𝐵𝑥))
3433equsalvw 1918 . . . . . . . . . . . 12 (∀𝑧(𝑧 = 𝑥𝑥𝐵𝑧) ↔ 𝑥𝐵𝑥)
3532, 34bitri 263 . . . . . . . . . . 11 (∀𝑧(𝑥 = 𝑧𝑥𝐵𝑧) ↔ 𝑥𝐵𝑥)
3635imbi2i 325 . . . . . . . . . 10 ((𝑥𝐴𝑦 → ∀𝑧(𝑥 = 𝑧𝑥𝐵𝑧)) ↔ (𝑥𝐴𝑦𝑥𝐵𝑥))
3728, 29, 363bitri 285 . . . . . . . . 9 (∀𝑧((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ (𝑥𝐴𝑦𝑥𝐵𝑥))
3837albii 1737 . . . . . . . 8 (∀𝑦𝑧((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ∀𝑦(𝑥𝐴𝑦𝑥𝐵𝑥))
3924, 38bitri 263 . . . . . . 7 (∀𝑧𝑦((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ∀𝑦(𝑥𝐴𝑦𝑥𝐵𝑥))
4039albii 1737 . . . . . 6 (∀𝑥𝑧𝑦((𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ∀𝑥𝑦(𝑥𝐴𝑦𝑥𝐵𝑥))
4123, 40bitri 263 . . . . 5 (∀𝑥𝑧(∃𝑦(𝑥 = 𝑧𝑥𝐴𝑦) → 𝑥𝐵𝑧) ↔ ∀𝑥𝑦(𝑥𝐴𝑦𝑥𝐵𝑥))
426, 20, 413bitri 285 . . . 4 (( I ↾ dom 𝐴) ⊆ 𝐵 ↔ ∀𝑥𝑦(𝑥𝐴𝑦𝑥𝐵𝑥))
43 relres 5346 . . . . . 6 Rel ( I ↾ ran 𝐴)
44 ssrel 5130 . . . . . 6 (Rel ( I ↾ ran 𝐴) → (( I ↾ ran 𝐴) ⊆ 𝐵 ↔ ∀𝑦𝑧(⟨𝑦, 𝑧⟩ ∈ ( I ↾ ran 𝐴) → ⟨𝑦, 𝑧⟩ ∈ 𝐵)))
4543, 44ax-mp 5 . . . . 5 (( I ↾ ran 𝐴) ⊆ 𝐵 ↔ ∀𝑦𝑧(⟨𝑦, 𝑧⟩ ∈ ( I ↾ ran 𝐴) → ⟨𝑦, 𝑧⟩ ∈ 𝐵))
46 df-br 4584 . . . . . . . . . 10 (𝑦 I 𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ I )
478ideq 5196 . . . . . . . . . 10 (𝑦 I 𝑧𝑦 = 𝑧)
4846, 47bitr3i 265 . . . . . . . . 9 (⟨𝑦, 𝑧⟩ ∈ I ↔ 𝑦 = 𝑧)
49 vex 3176 . . . . . . . . . 10 𝑦 ∈ V
5049elrn 5287 . . . . . . . . 9 (𝑦 ∈ ran 𝐴 ↔ ∃𝑥 𝑥𝐴𝑦)
5148, 50anbi12i 729 . . . . . . . 8 ((⟨𝑦, 𝑧⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴) ↔ (𝑦 = 𝑧 ∧ ∃𝑥 𝑥𝐴𝑦))
528opelres 5322 . . . . . . . 8 (⟨𝑦, 𝑧⟩ ∈ ( I ↾ ran 𝐴) ↔ (⟨𝑦, 𝑧⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴))
53 19.42v 1905 . . . . . . . 8 (∃𝑥(𝑦 = 𝑧𝑥𝐴𝑦) ↔ (𝑦 = 𝑧 ∧ ∃𝑥 𝑥𝐴𝑦))
5451, 52, 533bitr4i 291 . . . . . . 7 (⟨𝑦, 𝑧⟩ ∈ ( I ↾ ran 𝐴) ↔ ∃𝑥(𝑦 = 𝑧𝑥𝐴𝑦))
55 df-br 4584 . . . . . . . 8 (𝑦𝐵𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵)
5655bicomi 213 . . . . . . 7 (⟨𝑦, 𝑧⟩ ∈ 𝐵𝑦𝐵𝑧)
5754, 56imbi12i 339 . . . . . 6 ((⟨𝑦, 𝑧⟩ ∈ ( I ↾ ran 𝐴) → ⟨𝑦, 𝑧⟩ ∈ 𝐵) ↔ (∃𝑥(𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧))
58572albii 1738 . . . . 5 (∀𝑦𝑧(⟨𝑦, 𝑧⟩ ∈ ( I ↾ ran 𝐴) → ⟨𝑦, 𝑧⟩ ∈ 𝐵) ↔ ∀𝑦𝑧(∃𝑥(𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧))
59 19.23v 1889 . . . . . . . 8 (∀𝑥((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ (∃𝑥(𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧))
6059bicomi 213 . . . . . . 7 ((∃𝑥(𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ ∀𝑥((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧))
61602albii 1738 . . . . . 6 (∀𝑦𝑧(∃𝑥(𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ ∀𝑦𝑧𝑥((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧))
62 alrot3 2025 . . . . . 6 (∀𝑥𝑦𝑧((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ ∀𝑦𝑧𝑥((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧))
63 ancomst 467 . . . . . . . . . 10 (((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ ((𝑥𝐴𝑦𝑦 = 𝑧) → 𝑦𝐵𝑧))
64 impexp 461 . . . . . . . . . 10 (((𝑥𝐴𝑦𝑦 = 𝑧) → 𝑦𝐵𝑧) ↔ (𝑥𝐴𝑦 → (𝑦 = 𝑧𝑦𝐵𝑧)))
6563, 64bitri 263 . . . . . . . . 9 (((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ (𝑥𝐴𝑦 → (𝑦 = 𝑧𝑦𝐵𝑧)))
6665albii 1737 . . . . . . . 8 (∀𝑧((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ ∀𝑧(𝑥𝐴𝑦 → (𝑦 = 𝑧𝑦𝐵𝑧)))
67 19.21v 1855 . . . . . . . 8 (∀𝑧(𝑥𝐴𝑦 → (𝑦 = 𝑧𝑦𝐵𝑧)) ↔ (𝑥𝐴𝑦 → ∀𝑧(𝑦 = 𝑧𝑦𝐵𝑧)))
68 equcom 1932 . . . . . . . . . . . 12 (𝑦 = 𝑧𝑧 = 𝑦)
6968imbi1i 338 . . . . . . . . . . 11 ((𝑦 = 𝑧𝑦𝐵𝑧) ↔ (𝑧 = 𝑦𝑦𝐵𝑧))
7069albii 1737 . . . . . . . . . 10 (∀𝑧(𝑦 = 𝑧𝑦𝐵𝑧) ↔ ∀𝑧(𝑧 = 𝑦𝑦𝐵𝑧))
71 breq2 4587 . . . . . . . . . . 11 (𝑧 = 𝑦 → (𝑦𝐵𝑧𝑦𝐵𝑦))
7271equsalvw 1918 . . . . . . . . . 10 (∀𝑧(𝑧 = 𝑦𝑦𝐵𝑧) ↔ 𝑦𝐵𝑦)
7370, 72bitri 263 . . . . . . . . 9 (∀𝑧(𝑦 = 𝑧𝑦𝐵𝑧) ↔ 𝑦𝐵𝑦)
7473imbi2i 325 . . . . . . . 8 ((𝑥𝐴𝑦 → ∀𝑧(𝑦 = 𝑧𝑦𝐵𝑧)) ↔ (𝑥𝐴𝑦𝑦𝐵𝑦))
7566, 67, 743bitri 285 . . . . . . 7 (∀𝑧((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ (𝑥𝐴𝑦𝑦𝐵𝑦))
76752albii 1738 . . . . . 6 (∀𝑥𝑦𝑧((𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ ∀𝑥𝑦(𝑥𝐴𝑦𝑦𝐵𝑦))
7761, 62, 763bitr2i 287 . . . . 5 (∀𝑦𝑧(∃𝑥(𝑦 = 𝑧𝑥𝐴𝑦) → 𝑦𝐵𝑧) ↔ ∀𝑥𝑦(𝑥𝐴𝑦𝑦𝐵𝑦))
7845, 58, 773bitri 285 . . . 4 (( I ↾ ran 𝐴) ⊆ 𝐵 ↔ ∀𝑥𝑦(𝑥𝐴𝑦𝑦𝐵𝑦))
7942, 78anbi12i 729 . . 3 ((( I ↾ dom 𝐴) ⊆ 𝐵 ∧ ( I ↾ ran 𝐴) ⊆ 𝐵) ↔ (∀𝑥𝑦(𝑥𝐴𝑦𝑥𝐵𝑥) ∧ ∀𝑥𝑦(𝑥𝐴𝑦𝑦𝐵𝑦)))
80 19.26-2 1787 . . 3 (∀𝑥𝑦((𝑥𝐴𝑦𝑥𝐵𝑥) ∧ (𝑥𝐴𝑦𝑦𝐵𝑦)) ↔ (∀𝑥𝑦(𝑥𝐴𝑦𝑥𝐵𝑥) ∧ ∀𝑥𝑦(𝑥𝐴𝑦𝑦𝐵𝑦)))
81 pm4.76 906 . . . 4 (((𝑥𝐴𝑦𝑥𝐵𝑥) ∧ (𝑥𝐴𝑦𝑦𝐵𝑦)) ↔ (𝑥𝐴𝑦 → (𝑥𝐵𝑥𝑦𝐵𝑦)))
82812albii 1738 . . 3 (∀𝑥𝑦((𝑥𝐴𝑦𝑥𝐵𝑥) ∧ (𝑥𝐴𝑦𝑦𝐵𝑦)) ↔ ∀𝑥𝑦(𝑥𝐴𝑦 → (𝑥𝐵𝑥𝑦𝐵𝑦)))
8379, 80, 823bitr2i 287 . 2 ((( I ↾ dom 𝐴) ⊆ 𝐵 ∧ ( I ↾ ran 𝐴) ⊆ 𝐵) ↔ ∀𝑥𝑦(𝑥𝐴𝑦 → (𝑥𝐵𝑥𝑦𝐵𝑦)))
842, 3, 833bitr2i 287 1 (( I ↾ (dom 𝐴 ∪ ran 𝐴)) ⊆ 𝐵 ↔ ∀𝑥𝑦(𝑥𝐴𝑦 → (𝑥𝐵𝑥𝑦𝐵𝑦)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383  ∀wal 1473  ∃wex 1695   ∈ wcel 1977   ∪ cun 3538   ⊆ wss 3540  ⟨cop 4131   class class class wbr 4583   I cid 4948  dom cdm 5038  ran crn 5039   ↾ cres 5040  Rel wrel 5043 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-br 4584  df-opab 4644  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-dm 5048  df-rn 5049  df-res 5050 This theorem is referenced by:  reflexg  36930
 Copyright terms: Public domain W3C validator