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

Theorem pofun 5512
Description: The inverse image of a partial order is a partial order. (Contributed by Jeff Madsen, 18-Jun-2011.)
Hypotheses
Ref Expression
pofun.1 𝑆 = {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌}
pofun.2 (𝑥 = 𝑦𝑋 = 𝑌)
Assertion
Ref Expression
pofun ((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) → 𝑆 Po 𝐴)
Distinct variable groups:   𝑥,𝑅,𝑦   𝑦,𝑋   𝑥,𝑌   𝑥,𝐴   𝑥,𝐵
Allowed substitution hints:   𝐴(𝑦)   𝐵(𝑦)   𝑆(𝑥,𝑦)   𝑋(𝑥)   𝑌(𝑦)

Proof of Theorem pofun
Dummy variables 𝑣 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfcsb1v 3853 . . . . . . 7 𝑥𝑣 / 𝑥𝑋
21nfel1 2922 . . . . . 6 𝑥𝑣 / 𝑥𝑋𝐵
3 csbeq1a 3842 . . . . . . 7 (𝑥 = 𝑣𝑋 = 𝑣 / 𝑥𝑋)
43eleq1d 2823 . . . . . 6 (𝑥 = 𝑣 → (𝑋𝐵𝑣 / 𝑥𝑋𝐵))
52, 4rspc 3539 . . . . 5 (𝑣𝐴 → (∀𝑥𝐴 𝑋𝐵𝑣 / 𝑥𝑋𝐵))
65impcom 407 . . . 4 ((∀𝑥𝐴 𝑋𝐵𝑣𝐴) → 𝑣 / 𝑥𝑋𝐵)
7 poirr 5506 . . . . 5 ((𝑅 Po 𝐵𝑣 / 𝑥𝑋𝐵) → ¬ 𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
8 df-br 5071 . . . . . 6 (𝑣𝑆𝑣 ↔ ⟨𝑣, 𝑣⟩ ∈ 𝑆)
9 pofun.1 . . . . . . 7 𝑆 = {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌}
109eleq2i 2830 . . . . . 6 (⟨𝑣, 𝑣⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑣⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
11 nfcv 2906 . . . . . . . 8 𝑥𝑅
12 nfcv 2906 . . . . . . . 8 𝑥𝑌
131, 11, 12nfbr 5117 . . . . . . 7 𝑥𝑣 / 𝑥𝑋𝑅𝑌
14 nfv 1918 . . . . . . 7 𝑦𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋
15 vex 3426 . . . . . . 7 𝑣 ∈ V
163breq1d 5080 . . . . . . 7 (𝑥 = 𝑣 → (𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑌))
17 vex 3426 . . . . . . . . . 10 𝑦 ∈ V
18 pofun.2 . . . . . . . . . 10 (𝑥 = 𝑦𝑋 = 𝑌)
1917, 18csbie 3864 . . . . . . . . 9 𝑦 / 𝑥𝑋 = 𝑌
20 csbeq1 3831 . . . . . . . . 9 (𝑦 = 𝑣𝑦 / 𝑥𝑋 = 𝑣 / 𝑥𝑋)
2119, 20eqtr3id 2793 . . . . . . . 8 (𝑦 = 𝑣𝑌 = 𝑣 / 𝑥𝑋)
2221breq2d 5082 . . . . . . 7 (𝑦 = 𝑣 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋))
2313, 14, 15, 15, 16, 22opelopabf 5451 . . . . . 6 (⟨𝑣, 𝑣⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
248, 10, 233bitri 296 . . . . 5 (𝑣𝑆𝑣𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
257, 24sylnibr 328 . . . 4 ((𝑅 Po 𝐵𝑣 / 𝑥𝑋𝐵) → ¬ 𝑣𝑆𝑣)
266, 25sylan2 592 . . 3 ((𝑅 Po 𝐵 ∧ (∀𝑥𝐴 𝑋𝐵𝑣𝐴)) → ¬ 𝑣𝑆𝑣)
2726anassrs 467 . 2 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ 𝑣𝐴) → ¬ 𝑣𝑆𝑣)
285com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑣𝐴𝑣 / 𝑥𝑋𝐵))
29 nfcsb1v 3853 . . . . . . . . 9 𝑥𝑤 / 𝑥𝑋
3029nfel1 2922 . . . . . . . 8 𝑥𝑤 / 𝑥𝑋𝐵
31 csbeq1a 3842 . . . . . . . . 9 (𝑥 = 𝑤𝑋 = 𝑤 / 𝑥𝑋)
3231eleq1d 2823 . . . . . . . 8 (𝑥 = 𝑤 → (𝑋𝐵𝑤 / 𝑥𝑋𝐵))
3330, 32rspc 3539 . . . . . . 7 (𝑤𝐴 → (∀𝑥𝐴 𝑋𝐵𝑤 / 𝑥𝑋𝐵))
3433com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑤𝐴𝑤 / 𝑥𝑋𝐵))
35 nfcsb1v 3853 . . . . . . . . 9 𝑥𝑧 / 𝑥𝑋
3635nfel1 2922 . . . . . . . 8 𝑥𝑧 / 𝑥𝑋𝐵
37 csbeq1a 3842 . . . . . . . . 9 (𝑥 = 𝑧𝑋 = 𝑧 / 𝑥𝑋)
3837eleq1d 2823 . . . . . . . 8 (𝑥 = 𝑧 → (𝑋𝐵𝑧 / 𝑥𝑋𝐵))
3936, 38rspc 3539 . . . . . . 7 (𝑧𝐴 → (∀𝑥𝐴 𝑋𝐵𝑧 / 𝑥𝑋𝐵))
4039com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑧𝐴𝑧 / 𝑥𝑋𝐵))
4128, 34, 403anim123d 1441 . . . . 5 (∀𝑥𝐴 𝑋𝐵 → ((𝑣𝐴𝑤𝐴𝑧𝐴) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)))
4241imp 406 . . . 4 ((∀𝑥𝐴 𝑋𝐵 ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵))
4342adantll 710 . . 3 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵))
44 potr 5507 . . . . 5 ((𝑅 Po 𝐵 ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋) → 𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
45 df-br 5071 . . . . . . 7 (𝑣𝑆𝑤 ↔ ⟨𝑣, 𝑤⟩ ∈ 𝑆)
469eleq2i 2830 . . . . . . 7 (⟨𝑣, 𝑤⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
47 nfv 1918 . . . . . . . 8 𝑦𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋
48 vex 3426 . . . . . . . 8 𝑤 ∈ V
49 csbeq1 3831 . . . . . . . . . 10 (𝑦 = 𝑤𝑦 / 𝑥𝑋 = 𝑤 / 𝑥𝑋)
5019, 49eqtr3id 2793 . . . . . . . . 9 (𝑦 = 𝑤𝑌 = 𝑤 / 𝑥𝑋)
5150breq2d 5082 . . . . . . . 8 (𝑦 = 𝑤 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋))
5213, 47, 15, 48, 16, 51opelopabf 5451 . . . . . . 7 (⟨𝑣, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋)
5345, 46, 523bitri 296 . . . . . 6 (𝑣𝑆𝑤𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋)
54 df-br 5071 . . . . . . 7 (𝑤𝑆𝑧 ↔ ⟨𝑤, 𝑧⟩ ∈ 𝑆)
559eleq2i 2830 . . . . . . 7 (⟨𝑤, 𝑧⟩ ∈ 𝑆 ↔ ⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
5629, 11, 12nfbr 5117 . . . . . . . 8 𝑥𝑤 / 𝑥𝑋𝑅𝑌
57 nfv 1918 . . . . . . . 8 𝑦𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋
58 vex 3426 . . . . . . . 8 𝑧 ∈ V
5931breq1d 5080 . . . . . . . 8 (𝑥 = 𝑤 → (𝑋𝑅𝑌𝑤 / 𝑥𝑋𝑅𝑌))
60 csbeq1 3831 . . . . . . . . . 10 (𝑦 = 𝑧𝑦 / 𝑥𝑋 = 𝑧 / 𝑥𝑋)
6119, 60eqtr3id 2793 . . . . . . . . 9 (𝑦 = 𝑧𝑌 = 𝑧 / 𝑥𝑋)
6261breq2d 5082 . . . . . . . 8 (𝑦 = 𝑧 → (𝑤 / 𝑥𝑋𝑅𝑌𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
6356, 57, 48, 58, 59, 62opelopabf 5451 . . . . . . 7 (⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
6454, 55, 633bitri 296 . . . . . 6 (𝑤𝑆𝑧𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
6553, 64anbi12i 626 . . . . 5 ((𝑣𝑆𝑤𝑤𝑆𝑧) ↔ (𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
66 df-br 5071 . . . . . 6 (𝑣𝑆𝑧 ↔ ⟨𝑣, 𝑧⟩ ∈ 𝑆)
679eleq2i 2830 . . . . . 6 (⟨𝑣, 𝑧⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
68 nfv 1918 . . . . . . 7 𝑦𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋
6961breq2d 5082 . . . . . . 7 (𝑦 = 𝑧 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
7013, 68, 15, 58, 16, 69opelopabf 5451 . . . . . 6 (⟨𝑣, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
7166, 67, 703bitri 296 . . . . 5 (𝑣𝑆𝑧𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
7244, 65, 713imtr4g 295 . . . 4 ((𝑅 Po 𝐵 ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7372adantlr 711 . . 3 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7443, 73syldan 590 . 2 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7527, 74ispod 5503 1 ((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) → 𝑆 Po 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  csb 3828  cop 4564   class class class wbr 5070  {copab 5132   Po wpo 5492
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-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  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-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-po 5494
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator