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

Theorem asymref 5961
Description: Two ways of saying a relation is antisymmetric and reflexive. 𝑅 is the field of a relation by relfld 6118. (Contributed by NM, 6-May-2008.) (Proof shortened by Andrew Salmon, 27-Aug-2011.)
Assertion
Ref Expression
asymref ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦))
Distinct variable group:   𝑥,𝑦,𝑅

Proof of Theorem asymref
StepHypRef Expression
1 df-br 5040 . . . . . . . . . . 11 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
2 vex 3402 . . . . . . . . . . . 12 𝑥 ∈ V
3 vex 3402 . . . . . . . . . . . 12 𝑦 ∈ V
42, 3opeluu 5339 . . . . . . . . . . 11 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → (𝑥 𝑅𝑦 𝑅))
51, 4sylbi 220 . . . . . . . . . 10 (𝑥𝑅𝑦 → (𝑥 𝑅𝑦 𝑅))
65simpld 498 . . . . . . . . 9 (𝑥𝑅𝑦𝑥 𝑅)
76adantr 484 . . . . . . . 8 ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 𝑅)
87pm4.71ri 564 . . . . . . 7 ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)))
98bibi1i 342 . . . . . 6 (((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅𝑥 = 𝑦)) ↔ ((𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑥 𝑅𝑥 = 𝑦)))
10 elin 3869 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
112, 3brcnv 5736 . . . . . . . . . 10 (𝑥𝑅𝑦𝑦𝑅𝑥)
12 df-br 5040 . . . . . . . . . 10 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
1311, 12bitr3i 280 . . . . . . . . 9 (𝑦𝑅𝑥 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
141, 13anbi12i 630 . . . . . . . 8 ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
1510, 14bitr4i 281 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ (𝑥𝑅𝑦𝑦𝑅𝑥))
163opelresi 5844 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅) ↔ (𝑥 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
17 df-br 5040 . . . . . . . . . 10 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
183ideq 5706 . . . . . . . . . 10 (𝑥 I 𝑦𝑥 = 𝑦)
1917, 18bitr3i 280 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑥 = 𝑦)
2019anbi2i 626 . . . . . . . 8 ((𝑥 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ I ) ↔ (𝑥 𝑅𝑥 = 𝑦))
2116, 20bitri 278 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅) ↔ (𝑥 𝑅𝑥 = 𝑦))
2215, 21bibi12i 343 . . . . . 6 ((⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅𝑥 = 𝑦)))
23 pm5.32 577 . . . . . 6 ((𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)) ↔ ((𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑥 𝑅𝑥 = 𝑦)))
249, 22, 233bitr4i 306 . . . . 5 ((⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ (𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2524albii 1827 . . . 4 (∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ∀𝑦(𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
26 19.21v 1947 . . . 4 (∀𝑦(𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)) ↔ (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2725, 26bitri 278 . . 3 (∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2827albii 1827 . 2 (∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
29 relcnv 5952 . . . 4 Rel 𝑅
30 relin2 5668 . . . 4 (Rel 𝑅 → Rel (𝑅𝑅))
3129, 30ax-mp 5 . . 3 Rel (𝑅𝑅)
32 relres 5865 . . 3 Rel ( I ↾ 𝑅)
33 eqrel 5640 . . 3 ((Rel (𝑅𝑅) ∧ Rel ( I ↾ 𝑅)) → ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅))))
3431, 32, 33mp2an 692 . 2 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)))
35 df-ral 3056 . 2 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
3628, 34, 353bitr4i 306 1 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1541   = wceq 1543  wcel 2112  wral 3051  cin 3852  cop 4533   cuni 4805   class class class wbr 5039   I cid 5439  ccnv 5535  cres 5538  Rel wrel 5541
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-res 5548
This theorem is referenced by:  asymref2  5962  letsr  18053
  Copyright terms: Public domain W3C validator