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

Theorem idref 6129
Description: Two ways to state that a relation is reflexive on a class. (Contributed by FL, 15-Jan-2012.) (Proof shortened by Mario Carneiro, 3-Nov-2015.) (Revised by NM, 30-Mar-2016.) (Proof shortened by BJ, 28-Aug-2022.)
Assertion
Ref Expression
idref (( I ↾ 𝐴) ⊆ 𝑅 ↔ ∀𝑥 ∈ 𝐴 𝑥𝑅𝑥)
Distinct variable groups:   𝑥,𝑅   𝑥,𝐴

Proof of Theorem idref
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 df-ss 3903 . 2 (( I ↾ 𝐴) ⊆ 𝑅 ↔ ∀𝑦(𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅))
2 elrid 6060 . . . . . 6 (𝑦 ∈ ( I ↾ 𝐴) ↔ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝑥⟩)
32imbi1i 352 . . . . 5 ((𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅) ↔ (∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅))
4 r19.23v 3199 . . . . 5 (∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅) ↔ (∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅))
53, 4bitr4i 281 . . . 4 ((𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅) ↔ ∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅))
65albii 1854 . . 3 (∀𝑦(𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅) ↔ ∀𝑦∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅))
7 ralcom4 3295 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑦(𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅) ↔ ∀𝑦∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅))
8 opex 5442 . . . . . 6 ⟨𝑥, 𝑥⟩ ∈ V
9 eleq1 2858 . . . . . 6 (𝑦 = ⟨𝑥, 𝑥⟩ → (𝑦 ∈ 𝑅 ↔ ⟨𝑥, 𝑥⟩ ∈ 𝑅))
108, 9ceqsalv 3495 . . . . 5 (∀𝑦(𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅) ↔ ⟨𝑥, 𝑥⟩ ∈ 𝑅)
11 df-br 5112 . . . . 5 (𝑥𝑅𝑥 ↔ ⟨𝑥, 𝑥⟩ ∈ 𝑅)
1210, 11bitr4i 281 . . . 4 (∀𝑦(𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅) ↔ 𝑥𝑅𝑥)
1312ralbii 3118 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑦(𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅) ↔ ∀𝑥 ∈ 𝐴 𝑥𝑅𝑥)
146, 7, 133bitr2i 302 . 2 (∀𝑦(𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅) ↔ ∀𝑥 ∈ 𝐴 𝑥𝑅𝑥)
151, 14bitri 278 1 (( I ↾ 𝐴) ⊆ 𝑅 ↔ ∀𝑥 ∈ 𝐴 𝑥𝑅𝑥)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1570   = wceq 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096   ⊆ wss 3902  ⟨cop 4843   class class class wbr 5111   I cid 5555   ↾ cres 5663
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-11 2201  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-res 5673
This theorem is used by:  retos  21996  filnetlem2  37407
  Copyright terms: Public domain W3C validator