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

Theorem sofld 6079
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 5598 . . . . . . . . 9 Rel (𝐴 × 𝐴)
2 relss 5682 . . . . . . . . 9 (𝑅 ⊆ (𝐴 × 𝐴) → (Rel (𝐴 × 𝐴) → Rel 𝑅))
31, 2mpi 20 . . . . . . . 8 (𝑅 ⊆ (𝐴 × 𝐴) → Rel 𝑅)
43ad2antlr 723 . . . . . . 7 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → Rel 𝑅)
5 df-br 5071 . . . . . . . . . 10 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
6 ssun1 4102 . . . . . . . . . . . . 13 𝐴 ⊆ (𝐴 ∪ {𝑥})
7 undif1 4406 . . . . . . . . . . . . 13 ((𝐴 ∖ {𝑥}) ∪ {𝑥}) = (𝐴 ∪ {𝑥})
86, 7sseqtrri 3954 . . . . . . . . . . . 12 𝐴 ⊆ ((𝐴 ∖ {𝑥}) ∪ {𝑥})
9 simpll 763 . . . . . . . . . . . . . 14 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑅 Or 𝐴)
10 dmss 5800 . . . . . . . . . . . . . . . . 17 (𝑅 ⊆ (𝐴 × 𝐴) → dom 𝑅 ⊆ dom (𝐴 × 𝐴))
11 dmxpid 5828 . . . . . . . . . . . . . . . . 17 dom (𝐴 × 𝐴) = 𝐴
1210, 11sseqtrdi 3967 . . . . . . . . . . . . . . . 16 (𝑅 ⊆ (𝐴 × 𝐴) → dom 𝑅𝐴)
1312ad2antlr 723 . . . . . . . . . . . . . . 15 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → dom 𝑅𝐴)
143ad2antlr 723 . . . . . . . . . . . . . . . 16 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → Rel 𝑅)
15 releldm 5842 . . . . . . . . . . . . . . . 16 ((Rel 𝑅𝑥𝑅𝑦) → 𝑥 ∈ dom 𝑅)
1614, 15sylancom 587 . . . . . . . . . . . . . . 15 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑥 ∈ dom 𝑅)
1713, 16sseldd 3918 . . . . . . . . . . . . . 14 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑥𝐴)
18 sossfld 6078 . . . . . . . . . . . . . 14 ((𝑅 Or 𝐴𝑥𝐴) → (𝐴 ∖ {𝑥}) ⊆ (dom 𝑅 ∪ ran 𝑅))
199, 17, 18syl2anc 583 . . . . . . . . . . . . 13 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → (𝐴 ∖ {𝑥}) ⊆ (dom 𝑅 ∪ ran 𝑅))
20 ssun1 4102 . . . . . . . . . . . . . . 15 dom 𝑅 ⊆ (dom 𝑅 ∪ ran 𝑅)
2120, 16sselid 3915 . . . . . . . . . . . . . 14 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑥 ∈ (dom 𝑅 ∪ ran 𝑅))
2221snssd 4739 . . . . . . . . . . . . 13 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → {𝑥} ⊆ (dom 𝑅 ∪ ran 𝑅))
2319, 22unssd 4116 . . . . . . . . . . . 12 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → ((𝐴 ∖ {𝑥}) ∪ {𝑥}) ⊆ (dom 𝑅 ∪ ran 𝑅))
248, 23sstrid 3928 . . . . . . . . . . 11 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ 𝑥𝑅𝑦) → 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅))
2524ex 412 . . . . . . . . . 10 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) → (𝑥𝑅𝑦𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)))
265, 25syl5bir 242 . . . . . . . . 9 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) → (⟨𝑥, 𝑦⟩ ∈ 𝑅𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)))
2726con3dimp 408 . . . . . . . 8 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → ¬ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
2827pm2.21d 121 . . . . . . 7 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ ∅))
294, 28relssdv 5687 . . . . . 6 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → 𝑅 ⊆ ∅)
30 ss0 4329 . . . . . 6 (𝑅 ⊆ ∅ → 𝑅 = ∅)
3129, 30syl 17 . . . . 5 (((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) ∧ ¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)) → 𝑅 = ∅)
3231ex 412 . . . 4 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) → (¬ 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅) → 𝑅 = ∅))
3332necon1ad 2959 . . 3 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴)) → (𝑅 ≠ ∅ → 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅)))
34333impia 1115 . 2 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴) ∧ 𝑅 ≠ ∅) → 𝐴 ⊆ (dom 𝑅 ∪ ran 𝑅))
35 rnss 5837 . . . . 5 (𝑅 ⊆ (𝐴 × 𝐴) → ran 𝑅 ⊆ ran (𝐴 × 𝐴))
36 rnxpid 6065 . . . . 5 ran (𝐴 × 𝐴) = 𝐴
3735, 36sseqtrdi 3967 . . . 4 (𝑅 ⊆ (𝐴 × 𝐴) → ran 𝑅𝐴)
3812, 37unssd 4116 . . 3 (𝑅 ⊆ (𝐴 × 𝐴) → (dom 𝑅 ∪ ran 𝑅) ⊆ 𝐴)
39383ad2ant2 1132 . 2 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴) ∧ 𝑅 ≠ ∅) → (dom 𝑅 ∪ ran 𝑅) ⊆ 𝐴)
4034, 39eqssd 3934 1 ((𝑅 Or 𝐴𝑅 ⊆ (𝐴 × 𝐴) ∧ 𝑅 ≠ ∅) → 𝐴 = (dom 𝑅 ∪ ran 𝑅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wne 2942  cdif 3880  cun 3881  wss 3883  c0 4253  {csn 4558  cop 4564   class class class wbr 5070   Or wor 5493   × cxp 5578  dom cdm 5580  ran crn 5581  Rel wrel 5585
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-po 5494  df-so 5495  df-xp 5586  df-rel 5587  df-cnv 5588  df-dm 5590  df-rn 5591
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator