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

Theorem idrefALT 6105
Description: Alternate proof of idref 7141 not relying on definitions related to functions. 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.) The "proof modification is discouraged" tag is here only because this is an *ALT result. (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
idrefALT (( I ↾ 𝐴) ⊆ 𝑅 ↔ ∀𝑥 ∈ 𝐴 𝑥𝑅𝑥)
Distinct variable groups:   𝑥,𝑅   𝑥,𝐴

Proof of Theorem idrefALT
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 df-ss 3916 . 2 (( I ↾ 𝐴) ⊆ 𝑅 ↔ ∀𝑦(𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅))
2 elrid 6040 . . . . . 6 (𝑦 ∈ ( I ↾ 𝐴) ↔ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝑥⟩)
32imbi1i 352 . . . . 5 ((𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅) ↔ (∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅))
4 r19.23v 3190 . . . . 5 (∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅) ↔ (∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅))
5 eleq1 2849 . . . . . . . 8 (𝑦 = ⟨𝑥, 𝑥⟩ → (𝑦 ∈ 𝑅 ↔ ⟨𝑥, 𝑥⟩ ∈ 𝑅))
6 df-br 5104 . . . . . . . 8 (𝑥𝑅𝑥 ↔ ⟨𝑥, 𝑥⟩ ∈ 𝑅)
75, 6bitr4di 292 . . . . . . 7 (𝑦 = ⟨𝑥, 𝑥⟩ → (𝑦 ∈ 𝑅 ↔ 𝑥𝑅𝑥))
87pm5.74i 274 . . . . . 6 ((𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅) ↔ (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑥𝑅𝑥))
98ralbii 3109 . . . . 5 (∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑦 ∈ 𝑅) ↔ ∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑥𝑅𝑥))
103, 4, 93bitr2i 302 . . . 4 ((𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅) ↔ ∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑥𝑅𝑥))
1110albii 1852 . . 3 (∀𝑦(𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅) ↔ ∀𝑦∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑥𝑅𝑥))
12 ralcom4 3289 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑦(𝑦 = ⟨𝑥, 𝑥⟩ → 𝑥𝑅𝑥) ↔ ∀𝑦∀𝑥 ∈ 𝐴 (𝑦 = ⟨𝑥, 𝑥⟩ → 𝑥𝑅𝑥))
13 opex 5432 . . . . 5 ⟨𝑥, 𝑥⟩ ∈ V
14 biidd 265 . . . . 5 (𝑦 = ⟨𝑥, 𝑥⟩ → (𝑥𝑅𝑥 ↔ 𝑥𝑅𝑥))
1513, 14ceqsalv 3490 . . . 4 (∀𝑦(𝑦 = ⟨𝑥, 𝑥⟩ → 𝑥𝑅𝑥) ↔ 𝑥𝑅𝑥)
1615ralbii 3109 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑦(𝑦 = ⟨𝑥, 𝑥⟩ → 𝑥𝑅𝑥) ↔ ∀𝑥 ∈ 𝐴 𝑥𝑅𝑥)
1711, 12, 163bitr2i 302 . 2 (∀𝑦(𝑦 ∈ ( I ↾ 𝐴) → 𝑦 ∈ 𝑅) ↔ ∀𝑥 ∈ 𝐴 𝑥𝑅𝑥)
181, 17bitri 278 1 (( I ↾ 𝐴) ⊆ 𝑅 ↔ ∀𝑥 ∈ 𝐴 𝑥𝑅𝑥)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1568   = wceq 1570   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087   ⊆ wss 3899  ⟨cop 4590   class class class wbr 5103   I cid 5545   ↾ cres 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-11 2194  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-res 5663
This theorem is used by:  idinxpssinxp2  39224  idinxpssinxp3  39225  symrefref3  39548  refsymrels3  39550  elrefsymrels3  39554  dfeqvrels3  39573  refrelsredund3  39618  refrelredund3  39621
  Copyright terms: Public domain W3C validator