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

Theorem prslem 17535
Description: Lemma for prsref 17536 and prstr 17537. (Contributed by Mario Carneiro, 1-Feb-2015.)
Hypotheses
Ref Expression
isprs.b 𝐵 = (Base‘𝐾)
isprs.l = (le‘𝐾)
Assertion
Ref Expression
prslem ((𝐾 ∈ Proset ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍)))

Proof of Theorem prslem
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isprs.b . . . 4 𝐵 = (Base‘𝐾)
2 isprs.l . . . 4 = (le‘𝐾)
31, 2isprs 17534 . . 3 (𝐾 ∈ Proset ↔ (𝐾 ∈ V ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
43simprbi 499 . 2 (𝐾 ∈ Proset → ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))
5 breq12 5063 . . . . 5 ((𝑥 = 𝑋𝑥 = 𝑋) → (𝑥 𝑥𝑋 𝑋))
65anidms 569 . . . 4 (𝑥 = 𝑋 → (𝑥 𝑥𝑋 𝑋))
7 breq1 5061 . . . . . 6 (𝑥 = 𝑋 → (𝑥 𝑦𝑋 𝑦))
87anbi1d 631 . . . . 5 (𝑥 = 𝑋 → ((𝑥 𝑦𝑦 𝑧) ↔ (𝑋 𝑦𝑦 𝑧)))
9 breq1 5061 . . . . 5 (𝑥 = 𝑋 → (𝑥 𝑧𝑋 𝑧))
108, 9imbi12d 347 . . . 4 (𝑥 = 𝑋 → (((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧) ↔ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧)))
116, 10anbi12d 632 . . 3 (𝑥 = 𝑋 → ((𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧))))
12 breq2 5062 . . . . . 6 (𝑦 = 𝑌 → (𝑋 𝑦𝑋 𝑌))
13 breq1 5061 . . . . . 6 (𝑦 = 𝑌 → (𝑦 𝑧𝑌 𝑧))
1412, 13anbi12d 632 . . . . 5 (𝑦 = 𝑌 → ((𝑋 𝑦𝑦 𝑧) ↔ (𝑋 𝑌𝑌 𝑧)))
1514imbi1d 344 . . . 4 (𝑦 = 𝑌 → (((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧) ↔ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧)))
1615anbi2d 630 . . 3 (𝑦 = 𝑌 → ((𝑋 𝑋 ∧ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧))))
17 breq2 5062 . . . . . 6 (𝑧 = 𝑍 → (𝑌 𝑧𝑌 𝑍))
1817anbi2d 630 . . . . 5 (𝑧 = 𝑍 → ((𝑋 𝑌𝑌 𝑧) ↔ (𝑋 𝑌𝑌 𝑍)))
19 breq2 5062 . . . . 5 (𝑧 = 𝑍 → (𝑋 𝑧𝑋 𝑍))
2018, 19imbi12d 347 . . . 4 (𝑧 = 𝑍 → (((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧) ↔ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍)))
2120anbi2d 630 . . 3 (𝑧 = 𝑍 → ((𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍))))
2211, 16, 21rspc3v 3635 . 2 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) → (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍))))
234, 22mpan9 509 1 ((𝐾 ∈ Proset ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1533  wcel 2110  wral 3138  Vcvv 3494   class class class wbr 5058  cfv 6349  Basecbs 16477  lecple 16566   Proset cproset 17530
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-nul 5202
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-iota 6308  df-fv 6357  df-proset 17532
This theorem is referenced by:  prsref  17536  prstr  17537
  Copyright terms: Public domain W3C validator