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

Theorem asymref 5975
Description: Two ways of saying a relation is antisymmetric and reflexive. 𝑅 is the field of a relation by relfld 6125. (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 5066 . . . . . . . . . . 11 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
2 vex 3497 . . . . . . . . . . . 12 𝑥 ∈ V
3 vex 3497 . . . . . . . . . . . 12 𝑦 ∈ V
42, 3opeluu 5361 . . . . . . . . . . 11 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → (𝑥 𝑅𝑦 𝑅))
51, 4sylbi 219 . . . . . . . . . 10 (𝑥𝑅𝑦 → (𝑥 𝑅𝑦 𝑅))
65simpld 497 . . . . . . . . 9 (𝑥𝑅𝑦𝑥 𝑅)
76adantr 483 . . . . . . . 8 ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 𝑅)
87pm4.71ri 563 . . . . . . 7 ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)))
98bibi1i 341 . . . . . 6 (((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅𝑥 = 𝑦)) ↔ ((𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑥 𝑅𝑥 = 𝑦)))
10 elin 4168 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
112, 3brcnv 5752 . . . . . . . . . 10 (𝑥𝑅𝑦𝑦𝑅𝑥)
12 df-br 5066 . . . . . . . . . 10 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
1311, 12bitr3i 279 . . . . . . . . 9 (𝑦𝑅𝑥 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
141, 13anbi12i 628 . . . . . . . 8 ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
1510, 14bitr4i 280 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ (𝑥𝑅𝑦𝑦𝑅𝑥))
163opelresi 5860 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅) ↔ (𝑥 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
17 df-br 5066 . . . . . . . . . 10 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
183ideq 5722 . . . . . . . . . 10 (𝑥 I 𝑦𝑥 = 𝑦)
1917, 18bitr3i 279 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑥 = 𝑦)
2019anbi2i 624 . . . . . . . 8 ((𝑥 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ I ) ↔ (𝑥 𝑅𝑥 = 𝑦))
2116, 20bitri 277 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅) ↔ (𝑥 𝑅𝑥 = 𝑦))
2215, 21bibi12i 342 . . . . . 6 ((⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅𝑥 = 𝑦)))
23 pm5.32 576 . . . . . 6 ((𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)) ↔ ((𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑥 𝑅𝑥 = 𝑦)))
249, 22, 233bitr4i 305 . . . . 5 ((⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ (𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2524albii 1816 . . . 4 (∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ∀𝑦(𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
26 19.21v 1936 . . . 4 (∀𝑦(𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)) ↔ (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2725, 26bitri 277 . . 3 (∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2827albii 1816 . 2 (∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
29 relcnv 5966 . . . 4 Rel 𝑅
30 relin2 5685 . . . 4 (Rel 𝑅 → Rel (𝑅𝑅))
3129, 30ax-mp 5 . . 3 Rel (𝑅𝑅)
32 relres 5881 . . 3 Rel ( I ↾ 𝑅)
33 eqrel 5657 . . 3 ((Rel (𝑅𝑅) ∧ Rel ( I ↾ 𝑅)) → ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅))))
3431, 32, 33mp2an 690 . 2 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)))
35 df-ral 3143 . 2 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
3628, 34, 353bitr4i 305 1 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1531   = wceq 1533  wcel 2110  wral 3138  cin 3934  cop 4572   cuni 4837   class class class wbr 5065   I cid 5458  ccnv 5553  cres 5556  Rel wrel 5559
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5202  ax-nul 5209  ax-pr 5329
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4838  df-br 5066  df-opab 5128  df-id 5459  df-xp 5560  df-rel 5561  df-cnv 5562  df-res 5566
This theorem is referenced by:  asymref2  5976  letsr  17836
  Copyright terms: Public domain W3C validator