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

Theorem iresn0n0 5890
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 5406 . 2 ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)} = ∅ ↔ ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
2 opabresid 5884 . . 3 ( I ↾ 𝐴) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)}
32eqeq1i 2803 . 2 (( I ↾ 𝐴) = ∅ ↔ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝑥)} = ∅)
4 nel02 4248 . . . . 5 (𝐴 = ∅ → ¬ 𝑥𝐴)
54intnanrd 493 . . . 4 (𝐴 = ∅ → ¬ (𝑥𝐴𝑦 = 𝑥))
65alrimivv 1929 . . 3 (𝐴 = ∅ → ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
7 ianor 979 . . . . . . 7 (¬ (𝑥𝐴𝑦 = 𝑥) ↔ (¬ 𝑥𝐴 ∨ ¬ 𝑦 = 𝑥))
87albii 1821 . . . . . 6 (∀𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) ↔ ∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥))
9 19.32v 1941 . . . . . . 7 (∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥) ↔ (¬ 𝑥𝐴 ∨ ∀𝑦 ¬ 𝑦 = 𝑥))
10 id 22 . . . . . . . 8 𝑥𝐴 → ¬ 𝑥𝐴)
11 ax6v 1971 . . . . . . . . 9 ¬ ∀𝑦 ¬ 𝑦 = 𝑥
1211pm2.21i 119 . . . . . . . 8 (∀𝑦 ¬ 𝑦 = 𝑥 → ¬ 𝑥𝐴)
1310, 12jaoi 854 . . . . . . 7 ((¬ 𝑥𝐴 ∨ ∀𝑦 ¬ 𝑦 = 𝑥) → ¬ 𝑥𝐴)
149, 13sylbi 220 . . . . . 6 (∀𝑦𝑥𝐴 ∨ ¬ 𝑦 = 𝑥) → ¬ 𝑥𝐴)
158, 14sylbi 220 . . . . 5 (∀𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → ¬ 𝑥𝐴)
1615alimi 1813 . . . 4 (∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → ∀𝑥 ¬ 𝑥𝐴)
17 eq0 4258 . . . 4 (𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥𝐴)
1816, 17sylibr 237 . . 3 (∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥) → 𝐴 = ∅)
196, 18impbii 212 . 2 (𝐴 = ∅ ↔ ∀𝑥𝑦 ¬ (𝑥𝐴𝑦 = 𝑥))
201, 3, 193bitr4ri 307 1 (𝐴 = ∅ ↔ ( I ↾ 𝐴) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209  wa 399  wo 844  wal 1536   = wceq 1538  wcel 2111  c0 4243  {copab 5092   I cid 5424  cres 5521
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-rab 3115  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-res 5531
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator