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

Theorem ispos 17556
Description: The predicate "is a poset." (Contributed by NM, 18-Oct-2012.) (Revised by Mario Carneiro, 4-Nov-2013.)
Hypotheses
Ref Expression
ispos.b 𝐵 = (Base‘𝐾)
ispos.l = (le‘𝐾)
Assertion
Ref Expression
ispos (𝐾 ∈ Poset ↔ (𝐾 ∈ V ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥, ,𝑦,𝑧
Allowed substitution hints:   𝐾(𝑥,𝑦,𝑧)

Proof of Theorem ispos
Dummy variables 𝑝 𝑏 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6669 . . . . . . 7 (𝑝 = 𝐾 → (Base‘𝑝) = (Base‘𝐾))
2 ispos.b . . . . . . 7 𝐵 = (Base‘𝐾)
31, 2syl6eqr 2874 . . . . . 6 (𝑝 = 𝐾 → (Base‘𝑝) = 𝐵)
43eqeq2d 2832 . . . . 5 (𝑝 = 𝐾 → (𝑏 = (Base‘𝑝) ↔ 𝑏 = 𝐵))
5 fveq2 6669 . . . . . . 7 (𝑝 = 𝐾 → (le‘𝑝) = (le‘𝐾))
6 ispos.l . . . . . . 7 = (le‘𝐾)
75, 6syl6eqr 2874 . . . . . 6 (𝑝 = 𝐾 → (le‘𝑝) = )
87eqeq2d 2832 . . . . 5 (𝑝 = 𝐾 → (𝑟 = (le‘𝑝) ↔ 𝑟 = ))
94, 83anbi12d 1433 . . . 4 (𝑝 = 𝐾 → ((𝑏 = (Base‘𝑝) ∧ 𝑟 = (le‘𝑝) ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧))) ↔ (𝑏 = 𝐵𝑟 = ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)))))
1092exbidv 1921 . . 3 (𝑝 = 𝐾 → (∃𝑏𝑟(𝑏 = (Base‘𝑝) ∧ 𝑟 = (le‘𝑝) ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧))) ↔ ∃𝑏𝑟(𝑏 = 𝐵𝑟 = ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)))))
11 df-poset 17555 . . 3 Poset = {𝑝 ∣ ∃𝑏𝑟(𝑏 = (Base‘𝑝) ∧ 𝑟 = (le‘𝑝) ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)))}
1210, 11elab4g 3670 . 2 (𝐾 ∈ Poset ↔ (𝐾 ∈ V ∧ ∃𝑏𝑟(𝑏 = 𝐵𝑟 = ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)))))
132fvexi 6683 . . . 4 𝐵 ∈ V
146fvexi 6683 . . . 4 ∈ V
15 raleq 3405 . . . . . 6 (𝑏 = 𝐵 → (∀𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)) ↔ ∀𝑧𝐵 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧))))
1615raleqbi1dv 3403 . . . . 5 (𝑏 = 𝐵 → (∀𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)) ↔ ∀𝑦𝐵𝑧𝐵 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧))))
1716raleqbi1dv 3403 . . . 4 (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧))))
18 breq 5067 . . . . . . 7 (𝑟 = → (𝑥𝑟𝑥𝑥 𝑥))
19 breq 5067 . . . . . . . . 9 (𝑟 = → (𝑥𝑟𝑦𝑥 𝑦))
20 breq 5067 . . . . . . . . 9 (𝑟 = → (𝑦𝑟𝑥𝑦 𝑥))
2119, 20anbi12d 632 . . . . . . . 8 (𝑟 = → ((𝑥𝑟𝑦𝑦𝑟𝑥) ↔ (𝑥 𝑦𝑦 𝑥)))
2221imbi1d 344 . . . . . . 7 (𝑟 = → (((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ↔ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦)))
23 breq 5067 . . . . . . . . 9 (𝑟 = → (𝑦𝑟𝑧𝑦 𝑧))
2419, 23anbi12d 632 . . . . . . . 8 (𝑟 = → ((𝑥𝑟𝑦𝑦𝑟𝑧) ↔ (𝑥 𝑦𝑦 𝑧)))
25 breq 5067 . . . . . . . 8 (𝑟 = → (𝑥𝑟𝑧𝑥 𝑧))
2624, 25imbi12d 347 . . . . . . 7 (𝑟 = → (((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))
2718, 22, 263anbi123d 1432 . . . . . 6 (𝑟 = → ((𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)) ↔ (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
2827ralbidv 3197 . . . . 5 (𝑟 = → (∀𝑧𝐵 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)) ↔ ∀𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
29282ralbidv 3199 . . . 4 (𝑟 = → (∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
3013, 14, 17, 29ceqsex2v 3544 . . 3 (∃𝑏𝑟(𝑏 = 𝐵𝑟 = ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧))) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))
3130anbi2i 624 . 2 ((𝐾 ∈ V ∧ ∃𝑏𝑟(𝑏 = 𝐵𝑟 = ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑥 ∧ ((𝑥𝑟𝑦𝑦𝑟𝑥) → 𝑥 = 𝑦) ∧ ((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)))) ↔ (𝐾 ∈ V ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
3212, 31bitri 277 1 (𝐾 ∈ Poset ↔ (𝐾 ∈ V ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1533  wex 1776  wcel 2110  wral 3138  Vcvv 3494   class class class wbr 5065  cfv 6354  Basecbs 16482  lecple 16571  Posetcpo 17549
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 5209
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 4567  df-pr 4569  df-op 4573  df-uni 4838  df-br 5066  df-iota 6313  df-fv 6362  df-poset 17555
This theorem is referenced by:  ispos2  17557  posi  17559  0pos  17563  isposd  17564  isposi  17565  pospropd  17743  resspos  30646
  Copyright terms: Public domain W3C validator