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

Theorem asymref 6021
Description: Two ways of saying a relation is antisymmetric and reflexive. 𝑅 is the field of a relation by relfld 6178. (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 5075 . . . . . . . . . . 11 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
2 vex 3436 . . . . . . . . . . . 12 𝑥 ∈ V
3 vex 3436 . . . . . . . . . . . 12 𝑦 ∈ V
42, 3opeluu 5385 . . . . . . . . . . 11 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → (𝑥 𝑅𝑦 𝑅))
51, 4sylbi 216 . . . . . . . . . 10 (𝑥𝑅𝑦 → (𝑥 𝑅𝑦 𝑅))
65simpld 495 . . . . . . . . 9 (𝑥𝑅𝑦𝑥 𝑅)
76adantr 481 . . . . . . . 8 ((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 𝑅)
87pm4.71ri 561 . . . . . . 7 ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)))
98bibi1i 339 . . . . . 6 (((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅𝑥 = 𝑦)) ↔ ((𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑥 𝑅𝑥 = 𝑦)))
10 elin 3903 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
112, 3brcnv 5791 . . . . . . . . . 10 (𝑥𝑅𝑦𝑦𝑅𝑥)
12 df-br 5075 . . . . . . . . . 10 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
1311, 12bitr3i 276 . . . . . . . . 9 (𝑦𝑅𝑥 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
141, 13anbi12i 627 . . . . . . . 8 ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
1510, 14bitr4i 277 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ (𝑥𝑅𝑦𝑦𝑅𝑥))
163opelresi 5899 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅) ↔ (𝑥 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
17 df-br 5075 . . . . . . . . . 10 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
183ideq 5761 . . . . . . . . . 10 (𝑥 I 𝑦𝑥 = 𝑦)
1917, 18bitr3i 276 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑥 = 𝑦)
2019anbi2i 623 . . . . . . . 8 ((𝑥 𝑅 ∧ ⟨𝑥, 𝑦⟩ ∈ I ) ↔ (𝑥 𝑅𝑥 = 𝑦))
2116, 20bitri 274 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅) ↔ (𝑥 𝑅𝑥 = 𝑦))
2215, 21bibi12i 340 . . . . . 6 ((⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥 𝑅𝑥 = 𝑦)))
23 pm5.32 574 . . . . . 6 ((𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)) ↔ ((𝑥 𝑅 ∧ (𝑥𝑅𝑦𝑦𝑅𝑥)) ↔ (𝑥 𝑅𝑥 = 𝑦)))
249, 22, 233bitr4i 303 . . . . 5 ((⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ (𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2524albii 1822 . . . 4 (∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ∀𝑦(𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
26 19.21v 1942 . . . 4 (∀𝑦(𝑥 𝑅 → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)) ↔ (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2725, 26bitri 274 . . 3 (∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ (𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
2827albii 1822 . 2 (∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
29 relcnv 6012 . . . 4 Rel 𝑅
30 relin2 5723 . . . 4 (Rel 𝑅 → Rel (𝑅𝑅))
3129, 30ax-mp 5 . . 3 Rel (𝑅𝑅)
32 relres 5920 . . 3 Rel ( I ↾ 𝑅)
33 eqrel 5695 . . 3 ((Rel (𝑅𝑅) ∧ Rel ( I ↾ 𝑅)) → ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅))))
3431, 32, 33mp2an 689 . 2 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ 𝑅)))
35 df-ral 3069 . 2 (∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦) ↔ ∀𝑥(𝑥 𝑅 → ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦)))
3628, 34, 353bitr4i 303 1 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ ∀𝑥 𝑅𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ 𝑥 = 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wcel 2106  wral 3064  cin 3886  cop 4567   cuni 4839   class class class wbr 5074   I cid 5488  ccnv 5588  cres 5591  Rel wrel 5594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-res 5601
This theorem is referenced by:  asymref2  6022  letsr  18311
  Copyright terms: Public domain W3C validator