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

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

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 16930 . . 3 (𝐾 ∈ Preset ↔ (𝐾 ∈ V ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
43simprbi 480 . 2 (𝐾 ∈ Preset → ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))
5 breq12 4658 . . . . 5 ((𝑥 = 𝑋𝑥 = 𝑋) → (𝑥 𝑥𝑋 𝑋))
65anidms 677 . . . 4 (𝑥 = 𝑋 → (𝑥 𝑥𝑋 𝑋))
7 breq1 4656 . . . . . 6 (𝑥 = 𝑋 → (𝑥 𝑦𝑋 𝑦))
87anbi1d 741 . . . . 5 (𝑥 = 𝑋 → ((𝑥 𝑦𝑦 𝑧) ↔ (𝑋 𝑦𝑦 𝑧)))
9 breq1 4656 . . . . 5 (𝑥 = 𝑋 → (𝑥 𝑧𝑋 𝑧))
108, 9imbi12d 334 . . . 4 (𝑥 = 𝑋 → (((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧) ↔ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧)))
116, 10anbi12d 747 . . 3 (𝑥 = 𝑋 → ((𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧))))
12 breq2 4657 . . . . . 6 (𝑦 = 𝑌 → (𝑋 𝑦𝑋 𝑌))
13 breq1 4656 . . . . . 6 (𝑦 = 𝑌 → (𝑦 𝑧𝑌 𝑧))
1412, 13anbi12d 747 . . . . 5 (𝑦 = 𝑌 → ((𝑋 𝑦𝑦 𝑧) ↔ (𝑋 𝑌𝑌 𝑧)))
1514imbi1d 331 . . . 4 (𝑦 = 𝑌 → (((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧) ↔ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧)))
1615anbi2d 740 . . 3 (𝑦 = 𝑌 → ((𝑋 𝑋 ∧ ((𝑋 𝑦𝑦 𝑧) → 𝑋 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧))))
17 breq2 4657 . . . . . 6 (𝑧 = 𝑍 → (𝑌 𝑧𝑌 𝑍))
1817anbi2d 740 . . . . 5 (𝑧 = 𝑍 → ((𝑋 𝑌𝑌 𝑧) ↔ (𝑋 𝑌𝑌 𝑍)))
19 breq2 4657 . . . . 5 (𝑧 = 𝑍 → (𝑋 𝑧𝑋 𝑍))
2018, 19imbi12d 334 . . . 4 (𝑧 = 𝑍 → (((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧) ↔ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍)))
2120anbi2d 740 . . 3 (𝑧 = 𝑍 → ((𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑧) → 𝑋 𝑧)) ↔ (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍))))
2211, 16, 21rspc3v 3325 . 2 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) → (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍))))
234, 22mpan9 486 1 ((𝐾 ∈ Preset ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 𝑋 ∧ ((𝑋 𝑌𝑌 𝑍) → 𝑋 𝑍)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1037   = wceq 1483  wcel 1990  wral 2912  Vcvv 3200   class class class wbr 4653  cfv 5888  Basecbs 15857  lecple 15948   Preset cpreset 16926
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-nul 4789
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-iota 5851  df-fv 5896  df-preset 16928
This theorem is referenced by:  prsref  16932  prstr  16933
  Copyright terms: Public domain W3C validator