ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  suplocexprlemlub GIF version

Theorem suplocexprlemlub 7532
Description: Lemma for suplocexpr 7533. The putative supremum is a least upper bound. (Contributed by Jim Kingdon, 14-Jan-2024.)
Hypotheses
Ref Expression
suplocexpr.m (𝜑 → ∃𝑥 𝑥𝐴)
suplocexpr.ub (𝜑 → ∃𝑥P𝑦𝐴 𝑦<P 𝑥)
suplocexpr.loc (𝜑 → ∀𝑥P𝑦P (𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
suplocexpr.b 𝐵 = ⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩
Assertion
Ref Expression
suplocexprlemlub (𝜑 → (𝑦<P 𝐵 → ∃𝑧𝐴 𝑦<P 𝑧))
Distinct variable groups:   𝑦,𝐴,𝑧   𝑥,𝐴,𝑦   𝑧,𝐵   𝜑,𝑦,𝑧   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑤,𝑢)   𝐴(𝑤,𝑢)   𝐵(𝑥,𝑦,𝑤,𝑢)

Proof of Theorem suplocexprlemlub
Dummy variable 𝑠 is distinct from all other variables.
StepHypRef Expression
1 simpr 109 . . . 4 ((𝜑𝑦<P 𝐵) → 𝑦<P 𝐵)
2 ltrelpr 7313 . . . . . . . 8 <P ⊆ (P × P)
32brel 4591 . . . . . . 7 (𝑦<P 𝐵 → (𝑦P𝐵P))
43simpld 111 . . . . . 6 (𝑦<P 𝐵𝑦P)
54adantl 275 . . . . 5 ((𝜑𝑦<P 𝐵) → 𝑦P)
63simprd 113 . . . . . 6 (𝑦<P 𝐵𝐵P)
76adantl 275 . . . . 5 ((𝜑𝑦<P 𝐵) → 𝐵P)
8 ltdfpr 7314 . . . . 5 ((𝑦P𝐵P) → (𝑦<P 𝐵 ↔ ∃𝑠Q (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵))))
95, 7, 8syl2anc 408 . . . 4 ((𝜑𝑦<P 𝐵) → (𝑦<P 𝐵 ↔ ∃𝑠Q (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵))))
101, 9mpbid 146 . . 3 ((𝜑𝑦<P 𝐵) → ∃𝑠Q (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))
11 simprrr 529 . . . . . 6 (((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) → 𝑠 ∈ (1st𝐵))
12 suplocexpr.b . . . . . . . . . 10 𝐵 = ⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩
1312fveq2i 5424 . . . . . . . . 9 (1st𝐵) = (1st ‘⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩)
14 npex 7281 . . . . . . . . . . . . 13 P ∈ V
1514a1i 9 . . . . . . . . . . . 12 (𝜑P ∈ V)
16 suplocexpr.m . . . . . . . . . . . . 13 (𝜑 → ∃𝑥 𝑥𝐴)
17 suplocexpr.ub . . . . . . . . . . . . 13 (𝜑 → ∃𝑥P𝑦𝐴 𝑦<P 𝑥)
18 suplocexpr.loc . . . . . . . . . . . . 13 (𝜑 → ∀𝑥P𝑦P (𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
1916, 17, 18suplocexprlemss 7523 . . . . . . . . . . . 12 (𝜑𝐴P)
2015, 19ssexd 4068 . . . . . . . . . . 11 (𝜑𝐴 ∈ V)
21 fo1st 6055 . . . . . . . . . . . . 13 1st :V–onto→V
22 fofun 5346 . . . . . . . . . . . . 13 (1st :V–onto→V → Fun 1st )
2321, 22ax-mp 5 . . . . . . . . . . . 12 Fun 1st
24 funimaexg 5207 . . . . . . . . . . . 12 ((Fun 1st𝐴 ∈ V) → (1st𝐴) ∈ V)
2523, 24mpan 420 . . . . . . . . . . 11 (𝐴 ∈ V → (1st𝐴) ∈ V)
26 uniexg 4361 . . . . . . . . . . 11 ((1st𝐴) ∈ V → (1st𝐴) ∈ V)
2720, 25, 263syl 17 . . . . . . . . . 10 (𝜑 (1st𝐴) ∈ V)
28 nqex 7171 . . . . . . . . . . 11 Q ∈ V
2928rabex 4072 . . . . . . . . . 10 {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢} ∈ V
30 op1stg 6048 . . . . . . . . . 10 (( (1st𝐴) ∈ V ∧ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢} ∈ V) → (1st ‘⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩) = (1st𝐴))
3127, 29, 30sylancl 409 . . . . . . . . 9 (𝜑 → (1st ‘⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩) = (1st𝐴))
3213, 31syl5eq 2184 . . . . . . . 8 (𝜑 → (1st𝐵) = (1st𝐴))
3332eleq2d 2209 . . . . . . 7 (𝜑 → (𝑠 ∈ (1st𝐵) ↔ 𝑠 (1st𝐴)))
3433ad2antrr 479 . . . . . 6 (((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) → (𝑠 ∈ (1st𝐵) ↔ 𝑠 (1st𝐴)))
3511, 34mpbid 146 . . . . 5 (((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) → 𝑠 (1st𝐴))
36 suplocexprlemell 7521 . . . . 5 (𝑠 (1st𝐴) ↔ ∃𝑧𝐴 𝑠 ∈ (1st𝑧))
3735, 36sylib 121 . . . 4 (((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) → ∃𝑧𝐴 𝑠 ∈ (1st𝑧))
38 simprl 520 . . . . . . . . 9 (((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) → 𝑠Q)
3938ad2antrr 479 . . . . . . . 8 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → 𝑠Q)
40 simprrl 528 . . . . . . . . 9 (((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) → 𝑠 ∈ (2nd𝑦))
4140ad2antrr 479 . . . . . . . 8 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → 𝑠 ∈ (2nd𝑦))
42 simpr 109 . . . . . . . 8 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → 𝑠 ∈ (1st𝑧))
43 rspe 2481 . . . . . . . 8 ((𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝑧))) → ∃𝑠Q (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝑧)))
4439, 41, 42, 43syl12anc 1214 . . . . . . 7 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → ∃𝑠Q (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝑧)))
454ad4antlr 486 . . . . . . . 8 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → 𝑦P)
4619ad4antr 485 . . . . . . . . 9 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → 𝐴P)
47 simplr 519 . . . . . . . . 9 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → 𝑧𝐴)
4846, 47sseldd 3098 . . . . . . . 8 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → 𝑧P)
49 ltdfpr 7314 . . . . . . . 8 ((𝑦P𝑧P) → (𝑦<P 𝑧 ↔ ∃𝑠Q (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝑧))))
5045, 48, 49syl2anc 408 . . . . . . 7 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → (𝑦<P 𝑧 ↔ ∃𝑠Q (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝑧))))
5144, 50mpbird 166 . . . . . 6 (((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) ∧ 𝑠 ∈ (1st𝑧)) → 𝑦<P 𝑧)
5251ex 114 . . . . 5 ((((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) ∧ 𝑧𝐴) → (𝑠 ∈ (1st𝑧) → 𝑦<P 𝑧))
5352reximdva 2534 . . . 4 (((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) → (∃𝑧𝐴 𝑠 ∈ (1st𝑧) → ∃𝑧𝐴 𝑦<P 𝑧))
5437, 53mpd 13 . . 3 (((𝜑𝑦<P 𝐵) ∧ (𝑠Q ∧ (𝑠 ∈ (2nd𝑦) ∧ 𝑠 ∈ (1st𝐵)))) → ∃𝑧𝐴 𝑦<P 𝑧)
5510, 54rexlimddv 2554 . 2 ((𝜑𝑦<P 𝐵) → ∃𝑧𝐴 𝑦<P 𝑧)
5655ex 114 1 (𝜑 → (𝑦<P 𝐵 → ∃𝑧𝐴 𝑦<P 𝑧))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wo 697   = wceq 1331  wex 1468  wcel 1480  wral 2416  wrex 2417  {crab 2420  Vcvv 2686  wss 3071  cop 3530   cuni 3736   cint 3771   class class class wbr 3929  cima 4542  Fun wfun 5117  ontowfo 5121  cfv 5123  1st c1st 6036  2nd c2nd 6037  Qcnq 7088   <Q cltq 7093  Pcnp 7099  <P cltp 7103
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-coll 4043  ax-sep 4046  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-iinf 4502
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ral 2421  df-rex 2422  df-reu 2423  df-rab 2425  df-v 2688  df-sbc 2910  df-csb 3004  df-dif 3073  df-un 3075  df-in 3077  df-ss 3084  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-int 3772  df-iun 3815  df-br 3930  df-opab 3990  df-mpt 3991  df-id 4215  df-iom 4505  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-rn 4550  df-res 4551  df-ima 4552  df-iota 5088  df-fun 5125  df-fn 5126  df-f 5127  df-f1 5128  df-fo 5129  df-f1o 5130  df-fv 5131  df-1st 6038  df-qs 6435  df-ni 7112  df-nqqs 7156  df-inp 7274  df-iltp 7278
This theorem is referenced by:  suplocexpr  7533
  Copyright terms: Public domain W3C validator