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

Theorem asymref2 6011
Description: Two ways of saying a relation is antisymmetric and reflexive. (Contributed by NM, 6-May-2008.) (Proof shortened by Mario Carneiro, 4-Dec-2016.)
Assertion
Ref Expression
asymref2 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
Distinct variable group:   𝑥,𝑦,𝑅

Proof of Theorem asymref2
StepHypRef Expression
1 asymref 6010 . 2 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦))
2 albiim 1893 . . 3 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
32ralbii 3090 . 2 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ ∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
4 r19.26 3094 . . 3 (∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
5 ancom 460 . . 3 ((∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ∧ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
6 equcom 2022 . . . . . . . 8 (𝑥 = 𝑦𝑦 = 𝑥)
76imbi1i 349 . . . . . . 7 ((𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)))
87albii 1823 . . . . . 6 (∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ ∀𝑦(𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)))
9 breq2 5074 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑥𝑅𝑦𝑥𝑅𝑥))
10 breq1 5073 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑦𝑅𝑥𝑥𝑅𝑥))
119, 10anbi12d 630 . . . . . . . 8 (𝑦 = 𝑥 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥𝑅𝑥𝑥𝑅𝑥)))
12 anidm 564 . . . . . . . 8 ((𝑥𝑅𝑥𝑥𝑅𝑥) ↔ 𝑥𝑅𝑥)
1311, 12bitrdi 286 . . . . . . 7 (𝑦 = 𝑥 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥𝑅𝑥))
1413equsalvw 2008 . . . . . 6 (∀𝑦(𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ 𝑥𝑅𝑥)
158, 14bitri 274 . . . . 5 (∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ 𝑥𝑅𝑥)
1615ralbii 3090 . . . 4 (∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ ∀𝑥 𝑅𝑥𝑅𝑥)
17 df-ral 3068 . . . . 5 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
18 df-br 5071 . . . . . . . . . . . . 13 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
19 vex 3426 . . . . . . . . . . . . . . 15 𝑥 ∈ V
20 vex 3426 . . . . . . . . . . . . . . 15 𝑦 ∈ V
2119, 20opeluu 5379 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → (𝑥 𝑅𝑦 𝑅))
2221simpld 494 . . . . . . . . . . . . 13 (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥 𝑅)
2318, 22sylbi 216 . . . . . . . . . . . 12 (𝑥𝑅𝑦𝑥 𝑅)
2423adantr 480 . . . . . . . . . . 11 ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 𝑅)
2524pm2.24d 151 . . . . . . . . . 10 ((𝑥𝑅𝑦𝑦𝑅𝑥) → (¬ 𝑥 𝑅𝑥 = 𝑦))
2625com12 32 . . . . . . . . 9 𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
2726alrimiv 1931 . . . . . . . 8 𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
28 id 22 . . . . . . . 8 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
2927, 28ja 186 . . . . . . 7 ((𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
30 ax-1 6 . . . . . . 7 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
3129, 30impbii 208 . . . . . 6 ((𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3231albii 1823 . . . . 5 (∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3317, 32bitri 274 . . . 4 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3416, 33anbi12i 626 . . 3 ((∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ∧ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
354, 5, 343bitri 296 . 2 (∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
361, 3, 353bitri 296 1 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wcel 2108  wral 3063  cin 3882  cop 4564   cuni 4836   class class class wbr 5070   I cid 5479  ccnv 5579  cres 5582
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-res 5592
This theorem is referenced by:  pslem  18205  psss  18213
  Copyright terms: Public domain W3C validator