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

Theorem iresn0n0 5987
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 5492 . 2 ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)} = ∅ ↔ ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
2 opabresid 5983 . . 3 ( I ↾ 𝐴) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)}
32eqeq1i 2741 . 2 (( I ↾ 𝐴) = ∅ ↔ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)} = ∅)
4 nel02 4278 . . . . 5 (𝐴 = ∅ → ¬ 𝑥𝐴)
54intnanrd 490 . . . 4 (𝐴 = ∅ → ¬ (𝑥𝐴𝑦 = 𝑥))
65alrimivv 1930 . . 3 (𝐴 = ∅ → ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
7 ianor 979 . . . . . . 7 (¬ (𝑥𝐴𝑦 = 𝑥) ↔ (¬ 𝑥𝐴 ∨ ¬ 𝑦 = 𝑥))
87albii 1820 . . . . . 6 (∀𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) ↔ ∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥))
9 19.32v 1942 . . . . . . 7 (∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥) ↔ (¬ 𝑥𝐴 ∨ ∀𝑦 ¬ 𝑦 = 𝑥))
10 id 22 . . . . . . . 8 𝑥𝐴 → ¬ 𝑥𝐴)
11 ax6v 1971 . . . . . . . . 9 ¬ ∀𝑦 ¬ 𝑦 = 𝑥
1211pm2.21i 119 . . . . . . . 8 (∀𝑦 ¬ 𝑦 = 𝑥 → ¬ 𝑥𝐴)
1310, 12jaoi 854 . . . . . . 7 ((¬ 𝑥𝐴 ∨ ∀𝑦 ¬ 𝑦 = 𝑥) → ¬ 𝑥𝐴)
149, 13sylbi 216 . . . . . 6 (∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥) → ¬ 𝑥𝐴)
158, 14sylbi 216 . . . . 5 (∀𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → ¬ 𝑥𝐴)
1615alimi 1812 . . . 4 (∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → ∀𝑥 ¬ 𝑥𝐴)
17 eq0 4289 . . . 4 (𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥𝐴)
1816, 17sylibr 233 . . 3 (∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → 𝐴 = ∅)
196, 18impbii 208 . 2 (𝐴 = ∅ ↔ ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
201, 3, 193bitr4ri 303 1 (𝐴 = ∅ ↔ ( I ↾ 𝐴) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 396  wo 844  wal 1538   = wceq 1540  wcel 2105  c0 4268  {copab 5151   I cid 5511  cres 5616
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 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2707  ax-sep 5240  ax-nul 5247  ax-pr 5369
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-clab 2714  df-cleq 2728  df-clel 2814  df-ne 2941  df-rab 3404  df-v 3443  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-nul 4269  df-if 4473  df-sn 4573  df-pr 4575  df-op 4579  df-opab 5152  df-id 5512  df-xp 5620  df-rel 5621  df-res 5626
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator