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

Theorem asymref2 5944
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 5943 . 2 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦))
2 albiim 1890 . . 3 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
32ralbii 3133 . 2 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ ∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
4 r19.26 3137 . . 3 (∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))))
5 ancom 464 . . 3 ((∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ∧ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
6 equcom 2025 . . . . . . . 8 (𝑥 = 𝑦𝑦 = 𝑥)
76imbi1i 353 . . . . . . 7 ((𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)))
87albii 1821 . . . . . 6 (∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ ∀𝑦(𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)))
9 breq2 5034 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑥𝑅𝑦𝑥𝑅𝑥))
10 breq1 5033 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑦𝑅𝑥𝑥𝑅𝑥))
119, 10anbi12d 633 . . . . . . . 8 (𝑦 = 𝑥 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥𝑅𝑥𝑥𝑅𝑥)))
12 anidm 568 . . . . . . . 8 ((𝑥𝑅𝑥𝑥𝑅𝑥) ↔ 𝑥𝑅𝑥)
1311, 12syl6bb 290 . . . . . . 7 (𝑦 = 𝑥 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥𝑅𝑥))
1413equsalvw 2010 . . . . . 6 (∀𝑦(𝑦 = 𝑥 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ 𝑥𝑅𝑥)
158, 14bitri 278 . . . . 5 (∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ 𝑥𝑅𝑥)
1615ralbii 3133 . . . 4 (∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ ∀𝑥 𝑅𝑥𝑅𝑥)
17 df-ral 3111 . . . . 5 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
18 df-br 5031 . . . . . . . . . . . . 13 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
19 vex 3444 . . . . . . . . . . . . . . 15 𝑥 ∈ V
20 vex 3444 . . . . . . . . . . . . . . 15 𝑦 ∈ V
2119, 20opeluu 5327 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → (𝑥 𝑅𝑦 𝑅))
2221simpld 498 . . . . . . . . . . . . 13 (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥 𝑅)
2318, 22sylbi 220 . . . . . . . . . . . 12 (𝑥𝑅𝑦𝑥 𝑅)
2423adantr 484 . . . . . . . . . . 11 ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 𝑅)
2524pm2.24d 154 . . . . . . . . . 10 ((𝑥𝑅𝑦𝑦𝑅𝑥) → (¬ 𝑥 𝑅𝑥 = 𝑦))
2625com12 32 . . . . . . . . 9 𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
2726alrimiv 1928 . . . . . . . 8 𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
28 id 22 . . . . . . . 8 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
2927, 28ja 189 . . . . . . 7 ((𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
30 ax-1 6 . . . . . . 7 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
3129, 30impbii 212 . . . . . 6 ((𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3231albii 1821 . . . . 5 (∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3317, 32bitri 278 . . . 4 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3416, 33anbi12i 629 . . 3 ((∀𝑥 𝑅𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥)) ∧ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
354, 5, 343bitri 300 . 2 (∀𝑥 𝑅(∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ∧ ∀𝑦(𝑥 = 𝑦 → (𝑥𝑅𝑦𝑦𝑅𝑥))) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
361, 3, 353bitri 300 1 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wal 1536   = wceq 1538  wcel 2111  wral 3106  cin 3880  cop 4531   cuni 4800   class class class wbr 5030   I cid 5424  ccnv 5518  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-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  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-uni 4801  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-res 5531
This theorem is referenced by:  pslem  17808  psss  17816
  Copyright terms: Public domain W3C validator