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

Theorem suplocexprlemlub 8092
Description: Lemma for suplocexpr 8093. 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 110 . . . 4 ((𝜑 ∧ 𝑦<P 𝐵) → 𝑦<P 𝐵)
2 ltrelpr 7873 . . . . . . . 8 <P ⊆ (P × P)
32brel 4827 . . . . . . 7 (𝑦<P 𝐵 → (𝑦 ∈ P ∧ 𝐵 ∈ P))
43simpld 112 . . . . . 6 (𝑦<P 𝐵 → 𝑦 ∈ P)
54adantl 277 . . . . 5 ((𝜑 ∧ 𝑦<P 𝐵) → 𝑦 ∈ P)
63simprd 114 . . . . . 6 (𝑦<P 𝐵 → 𝐵 ∈ P)
76adantl 277 . . . . 5 ((𝜑 ∧ 𝑦<P 𝐵) → 𝐵 ∈ P)
8 ltdfpr 7874 . . . . 5 ((𝑦 ∈ P ∧ 𝐵 ∈ P) → (𝑦<P 𝐵 ↔ ∃𝑠 ∈ Q (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵))))
95, 7, 8syl2anc 415 . . . 4 ((𝜑 ∧ 𝑦<P 𝐵) → (𝑦<P 𝐵 ↔ ∃𝑠 ∈ Q (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵))))
101, 9mpbid 147 . . 3 ((𝜑 ∧ 𝑦<P 𝐵) → ∃𝑠 ∈ Q (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))
11 simprrr 546 . . . . . 6 (((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) → 𝑠 ∈ (1st ‘𝐵))
12 suplocexpr.b . . . . . . . . . 10 𝐵 = ⟨∪ (1st “ 𝐴), {𝑢 ∈ Q ∣ ∃𝑤 ∈ ∩ (2nd “ 𝐴)𝑤 <Q 𝑢}⟩
1312fveq2i 5698 . . . . . . . . 9 (1st ‘𝐵) = (1st ‘⟨∪ (1st “ 𝐴), {𝑢 ∈ Q ∣ ∃𝑤 ∈ ∩ (2nd “ 𝐴)𝑤 <Q 𝑢}⟩)
14 npex 7841 . . . . . . . . . . . . 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 8083 . . . . . . . . . . . 12 (𝜑 → 𝐴 ⊆ P)
2015, 19ssexd 4273 . . . . . . . . . . 11 (𝜑 → 𝐴 ∈ V)
21 fo1st 6391 . . . . . . . . . . . . 13 1st :V–onto→V
22 fofun 5616 . . . . . . . . . . . . 13 (1st :V–onto→V → Fun 1st )
2321, 22ax-mp 5 . . . . . . . . . . . 12 Fun 1st
24 funimaexg 5465 . . . . . . . . . . . 12 ((Fun 1st ∧ 𝐴 ∈ V) → (1st “ 𝐴) ∈ V)
2523, 24mpan 428 . . . . . . . . . . 11 (𝐴 ∈ V → (1st “ 𝐴) ∈ V)
26 uniexg 4585 . . . . . . . . . . 11 ((1st “ 𝐴) ∈ V → ∪ (1st “ 𝐴) ∈ V)
2720, 25, 263syl 17 . . . . . . . . . 10 (𝜑 → ∪ (1st “ 𝐴) ∈ V)
28 nqex 7731 . . . . . . . . . . 11 Q ∈ V
2928rabex 4280 . . . . . . . . . 10 {𝑢 ∈ Q ∣ ∃𝑤 ∈ ∩ (2nd “ 𝐴)𝑤 <Q 𝑢} ∈ V
30 op1stg 6384 . . . . . . . . . 10 ((∪ (1st “ 𝐴) ∈ V ∧ {𝑢 ∈ Q ∣ ∃𝑤 ∈ ∩ (2nd “ 𝐴)𝑤 <Q 𝑢} ∈ V) → (1st ‘⟨∪ (1st “ 𝐴), {𝑢 ∈ Q ∣ ∃𝑤 ∈ ∩ (2nd “ 𝐴)𝑤 <Q 𝑢}⟩) = ∪ (1st “ 𝐴))
3127, 29, 30sylancl 417 . . . . . . . . 9 (𝜑 → (1st ‘⟨∪ (1st “ 𝐴), {𝑢 ∈ Q ∣ ∃𝑤 ∈ ∩ (2nd “ 𝐴)𝑤 <Q 𝑢}⟩) = ∪ (1st “ 𝐴))
3213, 31eqtrid 2283 . . . . . . . 8 (𝜑 → (1st ‘𝐵) = ∪ (1st “ 𝐴))
3332eleq2d 2308 . . . . . . 7 (𝜑 → (𝑠 ∈ (1st ‘𝐵) ↔ 𝑠 ∈ ∪ (1st “ 𝐴)))
3433ad2antrr 492 . . . . . 6 (((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) → (𝑠 ∈ (1st ‘𝐵) ↔ 𝑠 ∈ ∪ (1st “ 𝐴)))
3511, 34mpbid 147 . . . . 5 (((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) → 𝑠 ∈ ∪ (1st “ 𝐴))
36 suplocexprlemell 8081 . . . . 5 (𝑠 ∈ ∪ (1st “ 𝐴) ↔ ∃𝑧 ∈ 𝐴 𝑠 ∈ (1st ‘𝑧))
3735, 36sylib 122 . . . 4 (((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) → ∃𝑧 ∈ 𝐴 𝑠 ∈ (1st ‘𝑧))
38 simprl 535 . . . . . . . . 9 (((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) → 𝑠 ∈ Q)
3938ad2antrr 492 . . . . . . . 8 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → 𝑠 ∈ Q)
40 simprrl 545 . . . . . . . . 9 (((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) → 𝑠 ∈ (2nd ‘𝑦))
4140ad2antrr 492 . . . . . . . 8 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → 𝑠 ∈ (2nd ‘𝑦))
42 simpr 110 . . . . . . . 8 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → 𝑠 ∈ (1st ‘𝑧))
43 rspe 2599 . . . . . . . 8 ((𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝑧))) → ∃𝑠 ∈ Q (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝑧)))
4439, 41, 42, 43syl12anc 1276 . . . . . . 7 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → ∃𝑠 ∈ Q (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝑧)))
454ad4antlr 499 . . . . . . . 8 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → 𝑦 ∈ P)
4619ad4antr 498 . . . . . . . . 9 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → 𝐴 ⊆ P)
47 simplr 533 . . . . . . . . 9 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → 𝑧 ∈ 𝐴)
4846, 47sseldd 3249 . . . . . . . 8 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → 𝑧 ∈ P)
49 ltdfpr 7874 . . . . . . . 8 ((𝑦 ∈ P ∧ 𝑧 ∈ P) → (𝑦<P 𝑧 ↔ ∃𝑠 ∈ Q (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝑧))))
5045, 48, 49syl2anc 415 . . . . . . 7 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → (𝑦<P 𝑧 ↔ ∃𝑠 ∈ Q (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝑧))))
5144, 50mpbird 167 . . . . . 6 (((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) ∧ 𝑠 ∈ (1st ‘𝑧)) → 𝑦<P 𝑧)
5251ex 115 . . . . 5 ((((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) ∧ 𝑧 ∈ 𝐴) → (𝑠 ∈ (1st ‘𝑧) → 𝑦<P 𝑧))
5352reximdva 2652 . . . 4 (((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) → (∃𝑧 ∈ 𝐴 𝑠 ∈ (1st ‘𝑧) → ∃𝑧 ∈ 𝐴 𝑦<P 𝑧))
5437, 53mpd 13 . . 3 (((𝜑 ∧ 𝑦<P 𝐵) ∧ (𝑠 ∈ Q ∧ (𝑠 ∈ (2nd ‘𝑦) ∧ 𝑠 ∈ (1st ‘𝐵)))) → ∃𝑧 ∈ 𝐴 𝑦<P 𝑧)
5510, 54rexlimddv 2673 . 2 ((𝜑 ∧ 𝑦<P 𝐵) → ∃𝑧 ∈ 𝐴 𝑦<P 𝑧)
5655ex 115 1 (𝜑 → (𝑦<P 𝐵 → ∃𝑧 ∈ 𝐴 𝑦<P 𝑧))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   ∨ wo 720   = wceq 1402  ∃wex 1545   ∈ wcel 2209  ∀wral 2528  ∃wrex 2529  {crab 2532  Vcvv 2821   ⊆ wss 3220  ⟨cop 3712  ∪ cuni 3935  ∩ cint 3970   class class class wbr 4130   “ cima 4777  Fun wfun 5371  –onto→wfo 5375  ‘cfv 5377  1st c1st 6372  2nd c2nd 6373  Qcnq 7648   <Q cltq 7653  Pcnp 7659  <P cltp 7663
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4246  ax-sep 4249  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-iinf 4735
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-iom 4738  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-1st 6374  df-qs 6813  df-ni 7672  df-nqqs 7716  df-inp 7834  df-iltp 7838
This theorem is used by:  suplocexpr  8093
  Copyright terms: Public domain W3C validator