MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  iresn0n0 Structured version   Visualization version   GIF version

Theorem iresn0n0 5923
Description: The identity function restricted to a class 𝐴 is empty iff the class 𝐴 is empty. (Contributed by AV, 30-Jan-2024.)
Assertion
Ref Expression
iresn0n0 (𝐴 = ∅ ↔ ( I ↾ 𝐴) = ∅)

Proof of Theorem iresn0n0
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opab0 5441 . 2 ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)} = ∅ ↔ ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
2 opabresid 5917 . . 3 ( I ↾ 𝐴) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)}
32eqeq1i 2826 . 2 (( I ↾ 𝐴) = ∅ ↔ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)} = ∅)
4 nel02 4298 . . . . 5 (𝐴 = ∅ → ¬ 𝑥𝐴)
54intnanrd 492 . . . 4 (𝐴 = ∅ → ¬ (𝑥𝐴𝑦 = 𝑥))
65alrimivv 1929 . . 3 (𝐴 = ∅ → ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
7 ianor 978 . . . . . . 7 (¬ (𝑥𝐴𝑦 = 𝑥) ↔ (¬ 𝑥𝐴 ∨ ¬ 𝑦 = 𝑥))
87albii 1820 . . . . . 6 (∀𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) ↔ ∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥))
9 19.32v 1941 . . . . . . 7 (∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥) ↔ (¬ 𝑥𝐴 ∨ ∀𝑦 ¬ 𝑦 = 𝑥))
10 id 22 . . . . . . . 8 𝑥𝐴 → ¬ 𝑥𝐴)
11 ax6v 1971 . . . . . . . . 9 ¬ ∀𝑦 ¬ 𝑦 = 𝑥
1211pm2.21i 119 . . . . . . . 8 (∀𝑦 ¬ 𝑦 = 𝑥 → ¬ 𝑥𝐴)
1310, 12jaoi 853 . . . . . . 7 ((¬ 𝑥𝐴 ∨ ∀𝑦 ¬ 𝑦 = 𝑥) → ¬ 𝑥𝐴)
149, 13sylbi 219 . . . . . 6 (∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥) → ¬ 𝑥𝐴)
158, 14sylbi 219 . . . . 5 (∀𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → ¬ 𝑥𝐴)
1615alimi 1812 . . . 4 (∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → ∀𝑥 ¬ 𝑥𝐴)
17 eq0 4308 . . . 4 (𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥𝐴)
1816, 17sylibr 236 . . 3 (∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → 𝐴 = ∅)
196, 18impbii 211 . 2 (𝐴 = ∅ ↔ ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
201, 3, 193bitr4ri 306 1 (𝐴 = ∅ ↔ ( I ↾ 𝐴) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wa 398  wo 843  wal 1535   = wceq 1537  wcel 2114  c0 4291  {copab 5128   I cid 5459  cres 5557
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-opab 5129  df-id 5460  df-xp 5561  df-rel 5562  df-res 5567
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator