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

Theorem asymref2 5970
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 5969 . 2 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦))
2 albiim 1881 . . 3 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
32ralbii 3162 . 2 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ ∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
4 r19.26 3167 . . 3 (∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
5 ancom 461 . . 3 ((∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ∧ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
6 equcom 2016 . . . . . . . 8 (𝑥 = 𝑦𝑦 = 𝑥)
76imbi1i 351 . . . . . . 7 ((𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)))
87albii 1811 . . . . . 6 (∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ ∀𝑦(𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)))
9 breq2 5061 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑥𝑅𝑦𝑥𝑅𝑥))
10 breq1 5060 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑦𝑅𝑥𝑥𝑅𝑥))
119, 10anbi12d 630 . . . . . . . 8 (𝑦 = 𝑥 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥𝑅𝑥𝑥𝑅𝑥)))
12 anidm 565 . . . . . . . 8 ((𝑥𝑅𝑥𝑥𝑅𝑥) ↔ 𝑥𝑅𝑥)
1311, 12syl6bb 288 . . . . . . 7 (𝑦 = 𝑥 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥𝑅𝑥))
1413equsalvw 2001 . . . . . 6 (∀𝑦(𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ 𝑥𝑅𝑥)
158, 14bitri 276 . . . . 5 (∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ 𝑥𝑅𝑥)
1615ralbii 3162 . . . 4 (∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ ∀𝑥 𝑅𝑥𝑅𝑥)
17 df-ral 3140 . . . . 5 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
18 df-br 5058 . . . . . . . . . . . . 13 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
19 vex 3495 . . . . . . . . . . . . . . 15 𝑥 ∈ V
20 vex 3495 . . . . . . . . . . . . . . 15 𝑦 ∈ V
2119, 20opeluu 5353 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → (𝑥 𝑅𝑦 𝑅))
2221simpld 495 . . . . . . . . . . . . 13 (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥 𝑅)
2318, 22sylbi 218 . . . . . . . . . . . 12 (𝑥𝑅𝑦𝑥 𝑅)
2423adantr 481 . . . . . . . . . . 11 ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 𝑅)
2524pm2.24d 154 . . . . . . . . . 10 ((𝑥𝑅𝑦𝑦𝑅𝑥) → (¬ 𝑥 𝑅𝑥 = 𝑦))
2625com12 32 . . . . . . . . 9 𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
2726alrimiv 1919 . . . . . . . 8 𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
28 id 22 . . . . . . . 8 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
2927, 28ja 187 . . . . . . 7 ((𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
30 ax-1 6 . . . . . . 7 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
3129, 30impbii 210 . . . . . 6 ((𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3231albii 1811 . . . . 5 (∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3317, 32bitri 276 . . . 4 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3416, 33anbi12i 626 . . 3 ((∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ∧ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
354, 5, 343bitri 298 . 2 (∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
361, 3, 353bitri 298 1 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wal 1526   = wceq 1528  wcel 2105  wral 3135  cin 3932  cop 4563   cuni 4830   class class class wbr 5057   I cid 5452  ccnv 5547  cres 5550
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-res 5560
This theorem is referenced by:  pslem  17804  psss  17812
  Copyright terms: Public domain W3C validator