ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  pofun GIF version

Theorem pofun 4297
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 3082 . . . . . . 7 𝑥𝑣 / 𝑥𝑋
21nfel1 2323 . . . . . 6 𝑥𝑣 / 𝑥𝑋𝐵
3 csbeq1a 3058 . . . . . . 7 (𝑥 = 𝑣𝑋 = 𝑣 / 𝑥𝑋)
43eleq1d 2239 . . . . . 6 (𝑥 = 𝑣 → (𝑋𝐵𝑣 / 𝑥𝑋𝐵))
52, 4rspc 2828 . . . . 5 (𝑣𝐴 → (∀𝑥𝐴 𝑋𝐵𝑣 / 𝑥𝑋𝐵))
65impcom 124 . . . 4 ((∀𝑥𝐴 𝑋𝐵𝑣𝐴) → 𝑣 / 𝑥𝑋𝐵)
7 poirr 4292 . . . . 5 ((𝑅 Po 𝐵𝑣 / 𝑥𝑋𝐵) → ¬ 𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
8 df-br 3990 . . . . . 6 (𝑣𝑆𝑣 ↔ ⟨𝑣, 𝑣⟩ ∈ 𝑆)
9 pofun.1 . . . . . . 7 𝑆 = {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌}
109eleq2i 2237 . . . . . 6 (⟨𝑣, 𝑣⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑣⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
11 nfcv 2312 . . . . . . . 8 𝑥𝑅
12 nfcv 2312 . . . . . . . 8 𝑥𝑌
131, 11, 12nfbr 4035 . . . . . . 7 𝑥𝑣 / 𝑥𝑋𝑅𝑌
14 nfv 1521 . . . . . . 7 𝑦𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋
15 vex 2733 . . . . . . 7 𝑣 ∈ V
163breq1d 3999 . . . . . . 7 (𝑥 = 𝑣 → (𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑌))
17 vex 2733 . . . . . . . . . 10 𝑦 ∈ V
18 pofun.2 . . . . . . . . . 10 (𝑥 = 𝑦𝑋 = 𝑌)
1917, 12, 18csbief 3093 . . . . . . . . 9 𝑦 / 𝑥𝑋 = 𝑌
20 csbeq1 3052 . . . . . . . . 9 (𝑦 = 𝑣𝑦 / 𝑥𝑋 = 𝑣 / 𝑥𝑋)
2119, 20eqtr3id 2217 . . . . . . . 8 (𝑦 = 𝑣𝑌 = 𝑣 / 𝑥𝑋)
2221breq2d 4001 . . . . . . 7 (𝑦 = 𝑣 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋))
2313, 14, 15, 15, 16, 22opelopabf 4259 . . . . . 6 (⟨𝑣, 𝑣⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
248, 10, 233bitri 205 . . . . 5 (𝑣𝑆𝑣𝑣 / 𝑥𝑋𝑅𝑣 / 𝑥𝑋)
257, 24sylnibr 672 . . . 4 ((𝑅 Po 𝐵𝑣 / 𝑥𝑋𝐵) → ¬ 𝑣𝑆𝑣)
266, 25sylan2 284 . . 3 ((𝑅 Po 𝐵 ∧ (∀𝑥𝐴 𝑋𝐵𝑣𝐴)) → ¬ 𝑣𝑆𝑣)
2726anassrs 398 . 2 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ 𝑣𝐴) → ¬ 𝑣𝑆𝑣)
285com12 30 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑣𝐴𝑣 / 𝑥𝑋𝐵))
29 nfcsb1v 3082 . . . . . . . . 9 𝑥𝑤 / 𝑥𝑋
3029nfel1 2323 . . . . . . . 8 𝑥𝑤 / 𝑥𝑋𝐵
31 csbeq1a 3058 . . . . . . . . 9 (𝑥 = 𝑤𝑋 = 𝑤 / 𝑥𝑋)
3231eleq1d 2239 . . . . . . . 8 (𝑥 = 𝑤 → (𝑋𝐵𝑤 / 𝑥𝑋𝐵))
3330, 32rspc 2828 . . . . . . 7 (𝑤𝐴 → (∀𝑥𝐴 𝑋𝐵𝑤 / 𝑥𝑋𝐵))
3433com12 30 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑤𝐴𝑤 / 𝑥𝑋𝐵))
35 nfcsb1v 3082 . . . . . . . . 9 𝑥𝑧 / 𝑥𝑋
3635nfel1 2323 . . . . . . . 8 𝑥𝑧 / 𝑥𝑋𝐵
37 csbeq1a 3058 . . . . . . . . 9 (𝑥 = 𝑧𝑋 = 𝑧 / 𝑥𝑋)
3837eleq1d 2239 . . . . . . . 8 (𝑥 = 𝑧 → (𝑋𝐵𝑧 / 𝑥𝑋𝐵))
3936, 38rspc 2828 . . . . . . 7 (𝑧𝐴 → (∀𝑥𝐴 𝑋𝐵𝑧 / 𝑥𝑋𝐵))
4039com12 30 . . . . . 6 (∀𝑥𝐴 𝑋𝐵 → (𝑧𝐴𝑧 / 𝑥𝑋𝐵))
4128, 34, 403anim123d 1314 . . . . 5 (∀𝑥𝐴 𝑋𝐵 → ((𝑣𝐴𝑤𝐴𝑧𝐴) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)))
4241imp 123 . . . 4 ((∀𝑥𝐴 𝑋𝐵 ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵))
4342adantll 473 . . 3 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵))
44 potr 4293 . . . . 5 ((𝑅 Po 𝐵 ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋) → 𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
45 df-br 3990 . . . . . . 7 (𝑣𝑆𝑤 ↔ ⟨𝑣, 𝑤⟩ ∈ 𝑆)
469eleq2i 2237 . . . . . . 7 (⟨𝑣, 𝑤⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
47 nfv 1521 . . . . . . . 8 𝑦𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋
48 vex 2733 . . . . . . . 8 𝑤 ∈ V
49 csbeq1 3052 . . . . . . . . . 10 (𝑦 = 𝑤𝑦 / 𝑥𝑋 = 𝑤 / 𝑥𝑋)
5019, 49eqtr3id 2217 . . . . . . . . 9 (𝑦 = 𝑤𝑌 = 𝑤 / 𝑥𝑋)
5150breq2d 4001 . . . . . . . 8 (𝑦 = 𝑤 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋))
5213, 47, 15, 48, 16, 51opelopabf 4259 . . . . . . 7 (⟨𝑣, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋)
5345, 46, 523bitri 205 . . . . . 6 (𝑣𝑆𝑤𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋)
54 df-br 3990 . . . . . . 7 (𝑤𝑆𝑧 ↔ ⟨𝑤, 𝑧⟩ ∈ 𝑆)
559eleq2i 2237 . . . . . . 7 (⟨𝑤, 𝑧⟩ ∈ 𝑆 ↔ ⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
5629, 11, 12nfbr 4035 . . . . . . . 8 𝑥𝑤 / 𝑥𝑋𝑅𝑌
57 nfv 1521 . . . . . . . 8 𝑦𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋
58 vex 2733 . . . . . . . 8 𝑧 ∈ V
5931breq1d 3999 . . . . . . . 8 (𝑥 = 𝑤 → (𝑋𝑅𝑌𝑤 / 𝑥𝑋𝑅𝑌))
60 csbeq1 3052 . . . . . . . . . 10 (𝑦 = 𝑧𝑦 / 𝑥𝑋 = 𝑧 / 𝑥𝑋)
6119, 60eqtr3id 2217 . . . . . . . . 9 (𝑦 = 𝑧𝑌 = 𝑧 / 𝑥𝑋)
6261breq2d 4001 . . . . . . . 8 (𝑦 = 𝑧 → (𝑤 / 𝑥𝑋𝑅𝑌𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
6356, 57, 48, 58, 59, 62opelopabf 4259 . . . . . . 7 (⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
6454, 55, 633bitri 205 . . . . . 6 (𝑤𝑆𝑧𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
6553, 64anbi12i 457 . . . . 5 ((𝑣𝑆𝑤𝑤𝑆𝑧) ↔ (𝑣 / 𝑥𝑋𝑅𝑤 / 𝑥𝑋𝑤 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
66 df-br 3990 . . . . . 6 (𝑣𝑆𝑧 ↔ ⟨𝑣, 𝑧⟩ ∈ 𝑆)
679eleq2i 2237 . . . . . 6 (⟨𝑣, 𝑧⟩ ∈ 𝑆 ↔ ⟨𝑣, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌})
68 nfv 1521 . . . . . . 7 𝑦𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋
6961breq2d 4001 . . . . . . 7 (𝑦 = 𝑧 → (𝑣 / 𝑥𝑋𝑅𝑌𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋))
7013, 68, 15, 58, 16, 69opelopabf 4259 . . . . . 6 (⟨𝑣, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑋𝑅𝑌} ↔ 𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
7166, 67, 703bitri 205 . . . . 5 (𝑣𝑆𝑧𝑣 / 𝑥𝑋𝑅𝑧 / 𝑥𝑋)
7244, 65, 713imtr4g 204 . . . 4 ((𝑅 Po 𝐵 ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7372adantlr 474 . . 3 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣 / 𝑥𝑋𝐵𝑤 / 𝑥𝑋𝐵𝑧 / 𝑥𝑋𝐵)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7443, 73syldan 280 . 2 (((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) ∧ (𝑣𝐴𝑤𝐴𝑧𝐴)) → ((𝑣𝑆𝑤𝑤𝑆𝑧) → 𝑣𝑆𝑧))
7527, 74ispod 4289 1 ((𝑅 Po 𝐵 ∧ ∀𝑥𝐴 𝑋𝐵) → 𝑆 Po 𝐴)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  w3a 973   = wceq 1348  wcel 2141  wral 2448  csb 3049  cop 3586   class class class wbr 3989  {copab 4049   Po wpo 4279
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-sbc 2956  df-csb 3050  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-br 3990  df-opab 4051  df-po 4281
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator