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

Theorem pofun 4975
 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 3515 . . . . . . 7 𝑥𝑣 / 𝑥𝑋
21nfel1 2765 . . . . . 6 𝑥𝑣 / 𝑥𝑋𝐵
3 csbeq1a 3508 . . . . . . 7 (𝑥 = 𝑣𝑋 = 𝑣 / 𝑥𝑋)
43eleq1d 2672 . . . . . 6 (𝑥 = 𝑣 → (𝑋𝐵𝑣 / 𝑥𝑋𝐵))
52, 4rspc 3276 . . . . 5 (𝑣𝐴 → (∀𝑥𝐴 𝑋𝐵𝑣 / 𝑥𝑋𝐵))
65impcom 445 . . . 4 ((∀𝑥𝐴 𝑋𝐵𝑣𝐴) → 𝑣 / 𝑥𝑋𝐵)
7 poirr 4970 . . . . 5 ((𝑅 Po 𝐵𝑣 / 𝑥𝑋𝐵) → ¬ 𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
8 df-br 4584 . . . . . 6 (𝑣𝑆𝑣 ↔ ⟨𝑣, 𝑣⟩ ∈ 𝑆)
9 pofun.1 . . . . . . 7 𝑆 = {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌}
109eleq2i 2680 . . . . . 6 (⟨𝑣, 𝑣⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑣⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
11 nfcv 2751 . . . . . . . 8 𝑥𝑅
12 nfcv 2751 . . . . . . . 8 𝑥𝑌
131, 11, 12nfbr 4629 . . . . . . 7 𝑥𝑣 / 𝑥𝑋𝑅𝑌
14 nfv 1830 . . . . . . 7 𝑦𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋
15 vex 3176 . . . . . . 7 𝑣 ∈ V
163breq1d 4593 . . . . . . 7 (𝑥 = 𝑣 → (𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑌))
17 vex 3176 . . . . . . . . . 10 𝑦 ∈ V
18 pofun.2 . . . . . . . . . 10 (𝑥 = 𝑦𝑋 = 𝑌)
1917, 18csbie 3525 . . . . . . . . 9 𝑦 / 𝑥𝑋 = 𝑌
20 csbeq1 3502 . . . . . . . . 9 (𝑦 = 𝑣𝑦 / 𝑥𝑋 = 𝑣 / 𝑥𝑋)
2119, 20syl5eqr 2658 . . . . . . . 8 (𝑦 = 𝑣𝑌 = 𝑣 / 𝑥𝑋)
2221breq2d 4595 . . . . . . 7 (𝑦 = 𝑣 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋))
2313, 14, 15, 15, 16, 22opelopabf 4925 . . . . . 6 (⟨𝑣, 𝑣⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
248, 10, 233bitri 285 . . . . 5 (𝑣𝑆𝑣𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
257, 24sylnibr 318 . . . 4 ((𝑅 Po 𝐵𝑣 / 𝑥𝑋𝐵) → ¬ 𝑣𝑆𝑣)
266, 25sylan2 490 . . 3 ((𝑅 Po 𝐵 ∧ (∀𝑥𝐴 𝑋𝐵𝑣𝐴)) → ¬ 𝑣𝑆𝑣)
2726anassrs 678 . 2 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ 𝑣𝐴) → ¬ 𝑣𝑆𝑣)
285com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑣𝐴𝑣 / 𝑥𝑋𝐵))
29 nfcsb1v 3515 . . . . . . . . 9 𝑥𝑤 / 𝑥𝑋
3029nfel1 2765 . . . . . . . 8 𝑥𝑤 / 𝑥𝑋𝐵
31 csbeq1a 3508 . . . . . . . . 9 (𝑥 = 𝑤𝑋 = 𝑤 / 𝑥𝑋)
3231eleq1d 2672 . . . . . . . 8 (𝑥 = 𝑤 → (𝑋𝐵𝑤 / 𝑥𝑋𝐵))
3330, 32rspc 3276 . . . . . . 7 (𝑤𝐴 → (∀𝑥𝐴 𝑋𝐵𝑤 / 𝑥𝑋𝐵))
3433com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑤𝐴𝑤 / 𝑥𝑋𝐵))
35 nfcsb1v 3515 . . . . . . . . 9 𝑥𝑧 / 𝑥𝑋
3635nfel1 2765 . . . . . . . 8 𝑥𝑧 / 𝑥𝑋𝐵
37 csbeq1a 3508 . . . . . . . . 9 (𝑥 = 𝑧𝑋 = 𝑧 / 𝑥𝑋)
3837eleq1d 2672 . . . . . . . 8 (𝑥 = 𝑧 → (𝑋𝐵𝑧 / 𝑥𝑋𝐵))
3936, 38rspc 3276 . . . . . . 7 (𝑧𝐴 → (∀𝑥𝐴 𝑋𝐵𝑧 / 𝑥𝑋𝐵))
4039com12 32 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑧𝐴𝑧 / 𝑥𝑋𝐵))
4128, 34, 403anim123d 1398 . . . . 5 (∀𝑥𝐴 𝑋𝐵 → ((𝑣𝐴𝑤𝐴𝑧𝐴) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)))
4241imp 444 . . . 4 ((∀𝑥𝐴 𝑋𝐵 ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵))
4342adantll 746 . . 3 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵))
44 potr 4971 . . . . 5 ((𝑅 Po 𝐵 ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋) → 𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
45 df-br 4584 . . . . . . 7 (𝑣𝑆𝑤 ↔ ⟨𝑣, 𝑤⟩ ∈ 𝑆)
469eleq2i 2680 . . . . . . 7 (⟨𝑣, 𝑤⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
47 nfv 1830 . . . . . . . 8 𝑦𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋
48 vex 3176 . . . . . . . 8 𝑤 ∈ V
49 csbeq1 3502 . . . . . . . . . 10 (𝑦 = 𝑤𝑦 / 𝑥𝑋 = 𝑤 / 𝑥𝑋)
5019, 49syl5eqr 2658 . . . . . . . . 9 (𝑦 = 𝑤𝑌 = 𝑤 / 𝑥𝑋)
5150breq2d 4595 . . . . . . . 8 (𝑦 = 𝑤 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋))
5213, 47, 15, 48, 16, 51opelopabf 4925 . . . . . . 7 (⟨𝑣, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋)
5345, 46, 523bitri 285 . . . . . 6 (𝑣𝑆𝑤𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋)
54 df-br 4584 . . . . . . 7 (𝑤𝑆𝑧 ↔ ⟨𝑤, 𝑧⟩ ∈ 𝑆)
559eleq2i 2680 . . . . . . 7 (⟨𝑤, 𝑧⟩ ∈ 𝑆 ↔ ⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
5629, 11, 12nfbr 4629 . . . . . . . 8 𝑥𝑤 / 𝑥𝑋𝑅𝑌
57 nfv 1830 . . . . . . . 8 𝑦𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋
58 vex 3176 . . . . . . . 8 𝑧 ∈ V
5931breq1d 4593 . . . . . . . 8 (𝑥 = 𝑤 → (𝑋𝑅𝑌𝑤 / 𝑥𝑋𝑅𝑌))
60 csbeq1 3502 . . . . . . . . . 10 (𝑦 = 𝑧𝑦 / 𝑥𝑋 = 𝑧 / 𝑥𝑋)
6119, 60syl5eqr 2658 . . . . . . . . 9 (𝑦 = 𝑧𝑌 = 𝑧 / 𝑥𝑋)
6261breq2d 4595 . . . . . . . 8 (𝑦 = 𝑧 → (𝑤 / 𝑥𝑋𝑅𝑌𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
6356, 57, 48, 58, 59, 62opelopabf 4925 . . . . . . 7 (⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
6454, 55, 633bitri 285 . . . . . 6 (𝑤𝑆𝑧𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
6553, 64anbi12i 729 . . . . 5 ((𝑣𝑆𝑤𝑤𝑆𝑧) ↔ (𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
66 df-br 4584 . . . . . 6 (𝑣𝑆𝑧 ↔ ⟨𝑣, 𝑧⟩ ∈ 𝑆)
679eleq2i 2680 . . . . . 6 (⟨𝑣, 𝑧⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
68 nfv 1830 . . . . . . 7 𝑦𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋
6961breq2d 4595 . . . . . . 7 (𝑦 = 𝑧 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
7013, 68, 15, 58, 16, 69opelopabf 4925 . . . . . 6 (⟨𝑣, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
7166, 67, 703bitri 285 . . . . 5 (𝑣𝑆𝑧𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
7244, 65, 713imtr4g 284 . . . 4 ((𝑅 Po 𝐵 ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7372adantlr 747 . . 3 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7443, 73syldan 486 . 2 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7527, 74ispod 4967 1 ((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) → 𝑆 Po 𝐴)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977  ∀wral 2896  ⦋csb 3499  ⟨cop 4131   class class class wbr 4583  {copab 4642   Po wpo 4957 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-br 4584  df-opab 4644  df-po 4959 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator