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

Theorem isposd 17681
Description: Properties that determine a poset (implicit structure version). (Contributed by Mario Carneiro, 29-Apr-2014.) (Revised by AV, 26-Apr-2024.)
Hypotheses
Ref Expression
isposd.k (𝜑𝐾𝑉)
isposd.b (𝜑𝐵 = (Base‘𝐾))
isposd.l (𝜑 = (le‘𝐾))
isposd.1 ((𝜑𝑥𝐵) → 𝑥 𝑥)
isposd.2 ((𝜑𝑥𝐵𝑦𝐵) → ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦))
isposd.3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵𝑧𝐵)) → ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))
Assertion
Ref Expression
isposd (𝜑𝐾 ∈ Poset)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥,𝐾,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧
Allowed substitution hints:   (𝑥,𝑦,𝑧)   𝑉(𝑥,𝑦,𝑧)

Proof of Theorem isposd
StepHypRef Expression
1 isposd.k . . . 4 (𝜑𝐾𝑉)
21elexd 3418 . . 3 (𝜑𝐾 ∈ V)
3 isposd.1 . . . . . . . 8 ((𝜑𝑥𝐵) → 𝑥 𝑥)
43adantrr 717 . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → 𝑥 𝑥)
54adantr 484 . . . . . 6 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑧𝐵) → 𝑥 𝑥)
6 isposd.2 . . . . . . . 8 ((𝜑𝑥𝐵𝑦𝐵) → ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦))
763expb 1121 . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦))
87adantr 484 . . . . . 6 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑧𝐵) → ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦))
9 isposd.3 . . . . . . . 8 ((𝜑 ∧ (𝑥𝐵𝑦𝐵𝑧𝐵)) → ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))
1093exp2 1355 . . . . . . 7 (𝜑 → (𝑥𝐵 → (𝑦𝐵 → (𝑧𝐵 → ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))))
1110imp42 430 . . . . . 6 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑧𝐵) → ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))
125, 8, 113jca 1129 . . . . 5 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑧𝐵) → (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))
1312ralrimiva 3096 . . . 4 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → ∀𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))
1413ralrimivva 3103 . . 3 (𝜑 → ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)))
15 isposd.b . . . . 5 (𝜑𝐵 = (Base‘𝐾))
16 isposd.l . . . . . . . . 9 (𝜑 = (le‘𝐾))
1716breqd 5041 . . . . . . . 8 (𝜑 → (𝑥 𝑥𝑥(le‘𝐾)𝑥))
1816breqd 5041 . . . . . . . . . 10 (𝜑 → (𝑥 𝑦𝑥(le‘𝐾)𝑦))
1916breqd 5041 . . . . . . . . . 10 (𝜑 → (𝑦 𝑥𝑦(le‘𝐾)𝑥))
2018, 19anbi12d 634 . . . . . . . . 9 (𝜑 → ((𝑥 𝑦𝑦 𝑥) ↔ (𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥)))
2120imbi1d 345 . . . . . . . 8 (𝜑 → (((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ↔ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥) → 𝑥 = 𝑦)))
2216breqd 5041 . . . . . . . . . 10 (𝜑 → (𝑦 𝑧𝑦(le‘𝐾)𝑧))
2318, 22anbi12d 634 . . . . . . . . 9 (𝜑 → ((𝑥 𝑦𝑦 𝑧) ↔ (𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧)))
2416breqd 5041 . . . . . . . . 9 (𝜑 → (𝑥 𝑧𝑥(le‘𝐾)𝑧))
2523, 24imbi12d 348 . . . . . . . 8 (𝜑 → (((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧) ↔ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧) → 𝑥(le‘𝐾)𝑧)))
2617, 21, 253anbi123d 1437 . . . . . . 7 (𝜑 → ((𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) ↔ (𝑥(le‘𝐾)𝑥 ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥) → 𝑥 = 𝑦) ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧) → 𝑥(le‘𝐾)𝑧))))
2715, 26raleqbidv 3304 . . . . . 6 (𝜑 → (∀𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) ↔ ∀𝑧 ∈ (Base‘𝐾)(𝑥(le‘𝐾)𝑥 ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥) → 𝑥 = 𝑦) ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧) → 𝑥(le‘𝐾)𝑧))))
2815, 27raleqbidv 3304 . . . . 5 (𝜑 → (∀𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) ↔ ∀𝑦 ∈ (Base‘𝐾)∀𝑧 ∈ (Base‘𝐾)(𝑥(le‘𝐾)𝑥 ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥) → 𝑥 = 𝑦) ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧) → 𝑥(le‘𝐾)𝑧))))
2915, 28raleqbidv 3304 . . . 4 (𝜑 → (∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)) ↔ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)∀𝑧 ∈ (Base‘𝐾)(𝑥(le‘𝐾)𝑥 ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥) → 𝑥 = 𝑦) ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧) → 𝑥(le‘𝐾)𝑧))))
3029anbi2d 632 . . 3 (𝜑 → ((𝐾 ∈ V ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑥 ∧ ((𝑥 𝑦𝑦 𝑥) → 𝑥 = 𝑦) ∧ ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))) ↔ (𝐾 ∈ V ∧ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)∀𝑧 ∈ (Base‘𝐾)(𝑥(le‘𝐾)𝑥 ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥) → 𝑥 = 𝑦) ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧) → 𝑥(le‘𝐾)𝑧)))))
312, 14, 30mpbi2and 712 . 2 (𝜑 → (𝐾 ∈ V ∧ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)∀𝑧 ∈ (Base‘𝐾)(𝑥(le‘𝐾)𝑥 ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥) → 𝑥 = 𝑦) ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧) → 𝑥(le‘𝐾)𝑧))))
32 eqid 2738 . . 3 (Base‘𝐾) = (Base‘𝐾)
33 eqid 2738 . . 3 (le‘𝐾) = (le‘𝐾)
3432, 33ispos 17673 . 2 (𝐾 ∈ Poset ↔ (𝐾 ∈ V ∧ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)∀𝑧 ∈ (Base‘𝐾)(𝑥(le‘𝐾)𝑥 ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑥) → 𝑥 = 𝑦) ∧ ((𝑥(le‘𝐾)𝑦𝑦(le‘𝐾)𝑧) → 𝑥(le‘𝐾)𝑧))))
3531, 34sylibr 237 1 (𝜑𝐾 ∈ Poset)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1088   = wceq 1542  wcel 2114  wral 3053  Vcvv 3398   class class class wbr 5030  cfv 6339  Basecbs 16586  lecple 16675  Posetcpo 17666
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-nul 5174
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-ral 3058  df-rex 3059  df-v 3400  df-sbc 3681  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-br 5031  df-iota 6297  df-fv 6347  df-poset 17672
This theorem is referenced by:  pospo  17699  odupos  17861  ipopos  17886  zntoslem  20375
  Copyright terms: Public domain W3C validator