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

Theorem pofun 5461
Description: A function preserves a partial order relation. (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 3815 . . . . . . 7 𝑥𝑣 / 𝑥𝑋
21nfel1 2915 . . . . . 6 𝑥𝑣 / 𝑥𝑋𝐵
3 csbeq1a 3805 . . . . . . 7 (𝑥 = 𝑣𝑋 = 𝑣 / 𝑥𝑋)
43eleq1d 2817 . . . . . 6 (𝑥 = 𝑣 → (𝑋𝐵𝑣 / 𝑥𝑋𝐵))
52, 4rspc 3515 . . . . 5 (𝑣𝐴 → (∀𝑥𝐴 𝑋𝐵𝑣 / 𝑥𝑋𝐵))
65impcom 411 . . . 4 ((∀𝑥𝐴 𝑋𝐵𝑣𝐴) → 𝑣 / 𝑥𝑋𝐵)
7 poirr 5455 . . . . 5 ((𝑅 Po 𝐵𝑣 / 𝑥𝑋𝐵) → ¬ 𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
8 df-br 5032 . . . . . 6 (𝑣𝑆𝑣 ↔ ⟨𝑣, 𝑣⟩ ∈ 𝑆)
9 pofun.1 . . . . . . 7 𝑆 = {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌}
109eleq2i 2824 . . . . . 6 (⟨𝑣, 𝑣⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑣⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
11 nfcv 2899 . . . . . . . 8 𝑥𝑅
12 nfcv 2899 . . . . . . . 8 𝑥𝑌
131, 11, 12nfbr 5078 . . . . . . 7 𝑥𝑣 / 𝑥𝑋𝑅𝑌
14 nfv 1920 . . . . . . 7 𝑦𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋
15 vex 3402 . . . . . . 7 𝑣 ∈ V
163breq1d 5041 . . . . . . 7 (𝑥 = 𝑣 → (𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑌))
17 vex 3402 . . . . . . . . . 10 𝑦 ∈ V
18 pofun.2 . . . . . . . . . 10 (𝑥 = 𝑦𝑋 = 𝑌)
1917, 18csbie 3826 . . . . . . . . 9 𝑦 / 𝑥𝑋 = 𝑌
20 csbeq1 3794 . . . . . . . . 9 (𝑦 = 𝑣𝑦 / 𝑥𝑋 = 𝑣 / 𝑥𝑋)
2119, 20eqtr3id 2787 . . . . . . . 8 (𝑦 = 𝑣𝑌 = 𝑣 / 𝑥𝑋)
2221breq2d 5043 . . . . . . 7 (𝑦 = 𝑣 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋))
2313, 14, 15, 15, 16, 22opelopabf 5401 . . . . . 6 (⟨𝑣, 𝑣⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
248, 10, 233bitri 300 . . . . 5 (𝑣𝑆𝑣𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
257, 24sylnibr 332 . . . 4 ((𝑅 Po 𝐵𝑣 / 𝑥𝑋𝐵) → ¬ 𝑣𝑆𝑣)
266, 25sylan2 596 . . 3 ((𝑅 Po 𝐵 ∧ (∀𝑥𝐴 𝑋𝐵𝑣𝐴)) → ¬ 𝑣𝑆𝑣)
2726anassrs 471 . 2 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ 𝑣𝐴) → ¬ 𝑣𝑆𝑣)
285com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑣𝐴𝑣 / 𝑥𝑋𝐵))
29 nfcsb1v 3815 . . . . . . . . 9 𝑥𝑤 / 𝑥𝑋
3029nfel1 2915 . . . . . . . 8 𝑥𝑤 / 𝑥𝑋𝐵
31 csbeq1a 3805 . . . . . . . . 9 (𝑥 = 𝑤𝑋 = 𝑤 / 𝑥𝑋)
3231eleq1d 2817 . . . . . . . 8 (𝑥 = 𝑤 → (𝑋𝐵𝑤 / 𝑥𝑋𝐵))
3330, 32rspc 3515 . . . . . . 7 (𝑤𝐴 → (∀𝑥𝐴 𝑋𝐵𝑤 / 𝑥𝑋𝐵))
3433com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑤𝐴𝑤 / 𝑥𝑋𝐵))
35 nfcsb1v 3815 . . . . . . . . 9 𝑥𝑧 / 𝑥𝑋
3635nfel1 2915 . . . . . . . 8 𝑥𝑧 / 𝑥𝑋𝐵
37 csbeq1a 3805 . . . . . . . . 9 (𝑥 = 𝑧𝑋 = 𝑧 / 𝑥𝑋)
3837eleq1d 2817 . . . . . . . 8 (𝑥 = 𝑧 → (𝑋𝐵𝑧 / 𝑥𝑋𝐵))
3936, 38rspc 3515 . . . . . . 7 (𝑧𝐴 → (∀𝑥𝐴 𝑋𝐵𝑧 / 𝑥𝑋𝐵))
4039com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑧𝐴𝑧 / 𝑥𝑋𝐵))
4128, 34, 403anim123d 1444 . . . . 5 (∀𝑥𝐴 𝑋𝐵 → ((𝑣𝐴𝑤𝐴𝑧𝐴) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)))
4241imp 410 . . . 4 ((∀𝑥𝐴 𝑋𝐵 ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵))
4342adantll 714 . . 3 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵))
44 potr 5456 . . . . 5 ((𝑅 Po 𝐵 ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋) → 𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
45 df-br 5032 . . . . . . 7 (𝑣𝑆𝑤 ↔ ⟨𝑣, 𝑤⟩ ∈ 𝑆)
469eleq2i 2824 . . . . . . 7 (⟨𝑣, 𝑤⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
47 nfv 1920 . . . . . . . 8 𝑦𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋
48 vex 3402 . . . . . . . 8 𝑤 ∈ V
49 csbeq1 3794 . . . . . . . . . 10 (𝑦 = 𝑤𝑦 / 𝑥𝑋 = 𝑤 / 𝑥𝑋)
5019, 49eqtr3id 2787 . . . . . . . . 9 (𝑦 = 𝑤𝑌 = 𝑤 / 𝑥𝑋)
5150breq2d 5043 . . . . . . . 8 (𝑦 = 𝑤 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋))
5213, 47, 15, 48, 16, 51opelopabf 5401 . . . . . . 7 (⟨𝑣, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋)
5345, 46, 523bitri 300 . . . . . 6 (𝑣𝑆𝑤𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋)
54 df-br 5032 . . . . . . 7 (𝑤𝑆𝑧 ↔ ⟨𝑤, 𝑧⟩ ∈ 𝑆)
559eleq2i 2824 . . . . . . 7 (⟨𝑤, 𝑧⟩ ∈ 𝑆 ↔ ⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
5629, 11, 12nfbr 5078 . . . . . . . 8 𝑥𝑤 / 𝑥𝑋𝑅𝑌
57 nfv 1920 . . . . . . . 8 𝑦𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋
58 vex 3402 . . . . . . . 8 𝑧 ∈ V
5931breq1d 5041 . . . . . . . 8 (𝑥 = 𝑤 → (𝑋𝑅𝑌𝑤 / 𝑥𝑋𝑅𝑌))
60 csbeq1 3794 . . . . . . . . . 10 (𝑦 = 𝑧𝑦 / 𝑥𝑋 = 𝑧 / 𝑥𝑋)
6119, 60eqtr3id 2787 . . . . . . . . 9 (𝑦 = 𝑧𝑌 = 𝑧 / 𝑥𝑋)
6261breq2d 5043 . . . . . . . 8 (𝑦 = 𝑧 → (𝑤 / 𝑥𝑋𝑅𝑌𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
6356, 57, 48, 58, 59, 62opelopabf 5401 . . . . . . 7 (⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
6454, 55, 633bitri 300 . . . . . 6 (𝑤𝑆𝑧𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
6553, 64anbi12i 630 . . . . 5 ((𝑣𝑆𝑤𝑤𝑆𝑧) ↔ (𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
66 df-br 5032 . . . . . 6 (𝑣𝑆𝑧 ↔ ⟨𝑣, 𝑧⟩ ∈ 𝑆)
679eleq2i 2824 . . . . . 6 (⟨𝑣, 𝑧⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
68 nfv 1920 . . . . . . 7 𝑦𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋
6961breq2d 5043 . . . . . . 7 (𝑦 = 𝑧 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
7013, 68, 15, 58, 16, 69opelopabf 5401 . . . . . 6 (⟨𝑣, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
7166, 67, 703bitri 300 . . . . 5 (𝑣𝑆𝑧𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
7244, 65, 713imtr4g 299 . . . 4 ((𝑅 Po 𝐵 ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7372adantlr 715 . . 3 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7443, 73syldan 594 . 2 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7527, 74ispod 5452 1 ((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) → 𝑆 Po 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  w3a 1088   = wceq 1542  wcel 2113  wral 3053  csb 3791  cop 4523   class class class wbr 5031  {copab 5093   Po wpo 5441
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1916  ax-6 1974  ax-7 2019  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2161  ax-12 2178  ax-ext 2710  ax-sep 5168  ax-nul 5175  ax-pr 5297
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2074  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-v 3400  df-sbc 3683  df-csb 3792  df-dif 3847  df-un 3849  df-nul 4213  df-if 4416  df-sn 4518  df-pr 4520  df-op 4524  df-br 5032  df-opab 5094  df-po 5443
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator