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

Theorem relexp0eq 41198
Description: The zeroth power of relationships is the same if and only if the union of their domain and ranges is the same. (Contributed by RP, 11-Jun-2020.)
Assertion
Ref Expression
relexp0eq ((𝐴𝑈𝐵𝑉) → ((dom 𝐴 ∪ ran 𝐴) = (dom 𝐵 ∪ ran 𝐵) ↔ (𝐴𝑟0) = (𝐵𝑟0)))

Proof of Theorem relexp0eq
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfcleq 2731 . . . 4 ((dom 𝐴 ∪ ran 𝐴) = (dom 𝐵 ∪ ran 𝐵) ↔ ∀𝑥(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)))
2 alcom 2158 . . . . 5 (∀𝑦𝑥(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)) ↔ ∀𝑥𝑦(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)))
3 19.3v 1986 . . . . 5 (∀𝑦𝑥(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)) ↔ ∀𝑥(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)))
4 ax6ev 1974 . . . . . . . . 9 𝑦 𝑦 = 𝑥
5 pm5.5 361 . . . . . . . . 9 (∃𝑦 𝑦 = 𝑥 → ((∃𝑦 𝑦 = 𝑥 → (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))) ↔ (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))))
64, 5ax-mp 5 . . . . . . . 8 ((∃𝑦 𝑦 = 𝑥 → (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))) ↔ (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)))
7 19.23v 1946 . . . . . . . 8 (∀𝑦(𝑦 = 𝑥 → (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))) ↔ (∃𝑦 𝑦 = 𝑥 → (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))))
8 19.3v 1986 . . . . . . . 8 (∀𝑦(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)) ↔ (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)))
96, 7, 83bitr4ri 303 . . . . . . 7 (∀𝑦(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)) ↔ ∀𝑦(𝑦 = 𝑥 → (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))))
10 pm5.32 573 . . . . . . . . 9 ((𝑦 = 𝑥 → (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))) ↔ ((𝑦 = 𝑥𝑥 ∈ (dom 𝐴 ∪ ran 𝐴)) ↔ (𝑦 = 𝑥𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))))
11 ancom 460 . . . . . . . . . 10 ((𝑦 = 𝑥𝑥 ∈ (dom 𝐴 ∪ ran 𝐴)) ↔ (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥))
12 ancom 460 . . . . . . . . . 10 ((𝑦 = 𝑥𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥))
1311, 12bibi12i 339 . . . . . . . . 9 (((𝑦 = 𝑥𝑥 ∈ (dom 𝐴 ∪ ran 𝐴)) ↔ (𝑦 = 𝑥𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))) ↔ ((𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)))
1410, 13bitri 274 . . . . . . . 8 ((𝑦 = 𝑥 → (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))) ↔ ((𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)))
1514albii 1823 . . . . . . 7 (∀𝑦(𝑦 = 𝑥 → (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵))) ↔ ∀𝑦((𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)))
169, 15bitri 274 . . . . . 6 (∀𝑦(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)) ↔ ∀𝑦((𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)))
1716albii 1823 . . . . 5 (∀𝑥𝑦(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)) ↔ ∀𝑥𝑦((𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)))
182, 3, 173bitr3i 300 . . . 4 (∀𝑥(𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ↔ 𝑥 ∈ (dom 𝐵 ∪ ran 𝐵)) ↔ ∀𝑥𝑦((𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)))
191, 18bitri 274 . . 3 ((dom 𝐴 ∪ ran 𝐴) = (dom 𝐵 ∪ ran 𝐵) ↔ ∀𝑥𝑦((𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)))
20 eqopab2bw 5454 . . 3 ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)} ↔ ∀𝑥𝑦((𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥) ↔ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)))
21 opabresid 5946 . . . . 5 ( I ↾ (dom 𝐴 ∪ ran 𝐴)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥)}
2221eqcomi 2747 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥)} = ( I ↾ (dom 𝐴 ∪ ran 𝐴))
23 opabresid 5946 . . . . 5 ( I ↾ (dom 𝐵 ∪ ran 𝐵)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)}
2423eqcomi 2747 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)} = ( I ↾ (dom 𝐵 ∪ ran 𝐵))
2522, 24eqeq12i 2756 . . 3 ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (dom 𝐴 ∪ ran 𝐴) ∧ 𝑦 = 𝑥)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (dom 𝐵 ∪ ran 𝐵) ∧ 𝑦 = 𝑥)} ↔ ( I ↾ (dom 𝐴 ∪ ran 𝐴)) = ( I ↾ (dom 𝐵 ∪ ran 𝐵)))
2619, 20, 253bitr2i 298 . 2 ((dom 𝐴 ∪ ran 𝐴) = (dom 𝐵 ∪ ran 𝐵) ↔ ( I ↾ (dom 𝐴 ∪ ran 𝐴)) = ( I ↾ (dom 𝐵 ∪ ran 𝐵)))
27 relexp0g 14661 . . 3 (𝐴𝑈 → (𝐴𝑟0) = ( I ↾ (dom 𝐴 ∪ ran 𝐴)))
28 relexp0g 14661 . . 3 (𝐵𝑉 → (𝐵𝑟0) = ( I ↾ (dom 𝐵 ∪ ran 𝐵)))
2927, 28eqeqan12d 2752 . 2 ((𝐴𝑈𝐵𝑉) → ((𝐴𝑟0) = (𝐵𝑟0) ↔ ( I ↾ (dom 𝐴 ∪ ran 𝐴)) = ( I ↾ (dom 𝐵 ∪ ran 𝐵))))
3026, 29bitr4id 289 1 ((𝐴𝑈𝐵𝑉) → ((dom 𝐴 ∪ ran 𝐴) = (dom 𝐵 ∪ ran 𝐵) ↔ (𝐴𝑟0) = (𝐵𝑟0)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  cun 3881  {copab 5132   I cid 5479  dom cdm 5580  ran crn 5581  cres 5582  (class class class)co 7255  0cc0 10802  𝑟crelexp 14658
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-mulcl 10864  ax-i2m1 10870
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-n0 12164  df-relexp 14659
This theorem is referenced by:  iunrelexp0  41199
  Copyright terms: Public domain W3C validator