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

Theorem sofld 6187
Description: The base set of a nonempty strict order is the same as the field of the relation. (Contributed by Mario Carneiro, 15-May-2015.)
Assertion
Ref Expression
sofld ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴) ∧ 𝑅 ≠ ∅) → 𝐴 = (dom 𝑅 ∪ ran 𝑅))

Proof of Theorem sofld
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relxp 5695 . . . . . . . . 9 Rel (𝐴 × 𝐴)
2 relss 5782 . . . . . . . . 9 (𝑅 ⊆ (𝐴 × 𝐴) → (Rel (𝐴 × 𝐴) → Rel 𝑅))
31, 2mpi 20 . . . . . . . 8 (𝑅 ⊆ (𝐴 × 𝐴) → Rel 𝑅)
43ad2antlr 726 . . . . . . 7 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → Rel 𝑅)
5 df-br 5150 . . . . . . . . . 10 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
6 ssun1 4173 . . . . . . . . . . . . 13 𝐴 ⊆ (𝐴 ∪ {𝑥})
7 undif1 4476 . . . . . . . . . . . . 13 ((𝐴 ∖ {𝑥}) ∪ {𝑥}) = (𝐴 ∪ {𝑥})
86, 7sseqtrri 4020 . . . . . . . . . . . 12 𝐴 ⊆ ((𝐴 ∖ {𝑥}) ∪ {𝑥})
9 simpll 766 . . . . . . . . . . . . . 14 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑅 Or 𝐴)
10 dmss 5903 . . . . . . . . . . . . . . . . 17 (𝑅 ⊆ (𝐴 × 𝐴) → dom 𝑅 ⊆ dom (𝐴 × 𝐴))
11 dmxpid 5930 . . . . . . . . . . . . . . . . 17 dom (𝐴 × 𝐴) = 𝐴
1210, 11sseqtrdi 4033 . . . . . . . . . . . . . . . 16 (𝑅 ⊆ (𝐴 × 𝐴) → dom 𝑅𝐴)
1312ad2antlr 726 . . . . . . . . . . . . . . 15 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → dom 𝑅𝐴)
143ad2antlr 726 . . . . . . . . . . . . . . . 16 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → Rel 𝑅)
15 releldm 5944 . . . . . . . . . . . . . . . 16 ((Rel 𝑅𝑥𝑅𝑦) → 𝑥 ∈ dom 𝑅)
1614, 15sylancom 589 . . . . . . . . . . . . . . 15 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑥 ∈ dom 𝑅)
1713, 16sseldd 3984 . . . . . . . . . . . . . 14 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑥𝐴)
18 sossfld 6186 . . . . . . . . . . . . . 14 ((𝑅 Or 𝐴𝑥𝐴) → (𝐴 ∖ {𝑥}) ⊆ (dom 𝑅 ∪ ran 𝑅))
199, 17, 18syl2anc 585 . . . . . . . . . . . . 13 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → (𝐴 ∖ {𝑥}) ⊆ (dom 𝑅 ∪ ran 𝑅))
20 ssun1 4173 . . . . . . . . . . . . . . 15 dom 𝑅 ⊆ (dom 𝑅 ∪ ran 𝑅)
2120, 16sselid 3981 . . . . . . . . . . . . . 14 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑥 ∈ (dom 𝑅 ∪ ran 𝑅))
2221snssd 4813 . . . . . . . . . . . . 13 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → {𝑥} ⊆ (dom 𝑅 ∪ ran 𝑅))
2319, 22unssd 4187 . . . . . . . . . . . 12 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → ((𝐴 ∖ {𝑥}) ∪ {𝑥}) ⊆ (dom 𝑅 ∪ ran 𝑅))
248, 23sstrid 3994 . . . . . . . . . . 11 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅))
2524ex 414 . . . . . . . . . 10 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) → (𝑥𝑅𝑦𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)))
265, 25biimtrrid 242 . . . . . . . . 9 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) → (⟨𝑥, 𝑦⟩ ∈ 𝑅𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)))
2726con3dimp 410 . . . . . . . 8 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → ¬ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
2827pm2.21d 121 . . . . . . 7 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ ∅))
294, 28relssdv 5789 . . . . . 6 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → 𝑅 ⊆ ∅)
30 ss0 4399 . . . . . 6 (𝑅 ⊆ ∅ → 𝑅 = ∅)
3129, 30syl 17 . . . . 5 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → 𝑅 = ∅)
3231ex 414 . . . 4 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) → (¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅) → 𝑅 = ∅))
3332necon1ad 2958 . . 3 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) → (𝑅 ≠ ∅ → 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)))
34333impia 1118 . 2 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴) ∧ 𝑅 ≠ ∅) → 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅))
35 rnss 5939 . . . . 5 (𝑅 ⊆ (𝐴 × 𝐴) → ran 𝑅 ⊆ ran (𝐴 × 𝐴))
36 rnxpid 6173 . . . . 5 ran (𝐴 × 𝐴) = 𝐴
3735, 36sseqtrdi 4033 . . . 4 (𝑅 ⊆ (𝐴 × 𝐴) → ran 𝑅𝐴)
3812, 37unssd 4187 . . 3 (𝑅 ⊆ (𝐴 × 𝐴) → (dom 𝑅 ∪ ran 𝑅) ⊆ 𝐴)
39383ad2ant2 1135 . 2 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴) ∧ 𝑅 ≠ ∅) → (dom 𝑅 ∪ ran 𝑅) ⊆ 𝐴)
4034, 39eqssd 4000 1 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴) ∧ 𝑅 ≠ ∅) → 𝐴 = (dom 𝑅 ∪ ran 𝑅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 397  w3a 1088   = wceq 1542  wcel 2107  wne 2941  cdif 3946  cun 3947  wss 3949  c0 4323  {csn 4629  cop 4635   class class class wbr 5149   Or wor 5588   × cxp 5675  dom cdm 5677  ran crn 5678  Rel wrel 5682
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pr 5428
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-sn 4630  df-pr 4632  df-op 4636  df-br 5150  df-opab 5212  df-po 5589  df-so 5590  df-xp 5683  df-rel 5684  df-cnv 5685  df-dm 5687  df-rn 5688
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator