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

Theorem prslem 17543
Description: Lemma for prsref 17544 and prstr 17545. (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 17542 . . 3 (𝐾 ∈ Proset ↔ (𝐾 ∈ V ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
43simprbi 499 . 2 (𝐾 ∈ Proset → ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))
5 breq12 5073 . . . . 5 ((𝑥 = 𝑋𝑥 = 𝑋) → (𝑥 𝑥𝑋 𝑋))
65anidms 569 . . . 4 (𝑥 = 𝑋 → (𝑥 𝑥𝑋 𝑋))
7 breq1 5071 . . . . . 6 (𝑥 = 𝑋 → (𝑥 𝑦𝑋 𝑦))
87anbi1d 631 . . . . 5 (𝑥 = 𝑋 → ((𝑥 𝑦𝑦 𝑧) ↔ (𝑋 𝑦𝑦 𝑧)))
9 breq1 5071 . . . . 5 (𝑥 = 𝑋 → (𝑥 𝑧𝑋 𝑧))
108, 9imbi12d 347 . . . 4 (𝑥 = 𝑋 → (((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧) ↔ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧)))
116, 10anbi12d 632 . . 3 (𝑥 = 𝑋 → ((𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧))))
12 breq2 5072 . . . . . 6 (𝑦 = 𝑌 → (𝑋 𝑦𝑋 𝑌))
13 breq1 5071 . . . . . 6 (𝑦 = 𝑌 → (𝑦 𝑧𝑌 𝑧))
1412, 13anbi12d 632 . . . . 5 (𝑦 = 𝑌 → ((𝑋 𝑦𝑦 𝑧) ↔ (𝑋 𝑌𝑌 𝑧)))
1514imbi1d 344 . . . 4 (𝑦 = 𝑌 → (((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧) ↔ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧)))
1615anbi2d 630 . . 3 (𝑦 = 𝑌 → ((𝑋 𝑋 ∧ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧))))
17 breq2 5072 . . . . . 6 (𝑧 = 𝑍 → (𝑌 𝑧𝑌 𝑍))
1817anbi2d 630 . . . . 5 (𝑧 = 𝑍 → ((𝑋 𝑌𝑌 𝑧) ↔ (𝑋 𝑌𝑌 𝑍)))
19 breq2 5072 . . . . 5 (𝑧 = 𝑍 → (𝑋 𝑧𝑋 𝑍))
2018, 19imbi12d 347 . . . 4 (𝑧 = 𝑍 → (((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧) ↔ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍)))
2120anbi2d 630 . . 3 (𝑧 = 𝑍 → ((𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍))))
2211, 16, 21rspc3v 3638 . 2 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) → (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍))))
234, 22mpan9 509 1 ((𝐾 ∈ Proset ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  wral 3140  Vcvv 3496   class class class wbr 5068  cfv 6357  Basecbs 16485  lecple 16574   Proset cproset 17538
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-nul 5212
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-iota 6316  df-fv 6365  df-proset 17540
This theorem is referenced by:  prsref  17544  prstr  17545
  Copyright terms: Public domain W3C validator