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

Theorem suplocexprlemrl 7777
Description: Lemma for suplocexpr 7785. The lower cut of the putative supremum is rounded. (Contributed by Jim Kingdon, 9-Jan-2024.)
Hypotheses
Ref Expression
suplocexpr.m (𝜑 → ∃𝑥 𝑥𝐴)
suplocexpr.ub (𝜑 → ∃𝑥P𝑦𝐴 𝑦<P 𝑥)
suplocexpr.loc (𝜑 → ∀𝑥P𝑦P (𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
Assertion
Ref Expression
suplocexprlemrl (𝜑 → ∀𝑞Q (𝑞 (1st𝐴) ↔ ∃𝑟Q (𝑞 <Q 𝑟𝑟 (1st𝐴))))
Distinct variable groups:   𝐴,𝑟   𝑥,𝐴,𝑦   𝜑,𝑞,𝑟   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑧)   𝐴(𝑧,𝑞)

Proof of Theorem suplocexprlemrl
Dummy variable 𝑠 is distinct from all other variables.
StepHypRef Expression
1 suplocexprlemell 7773 . . . . . . 7 (𝑞 (1st𝐴) ↔ ∃𝑠𝐴 𝑞 ∈ (1st𝑠))
21biimpi 120 . . . . . 6 (𝑞 (1st𝐴) → ∃𝑠𝐴 𝑞 ∈ (1st𝑠))
32adantl 277 . . . . 5 (((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) → ∃𝑠𝐴 𝑞 ∈ (1st𝑠))
4 suplocexpr.m . . . . . . . . . . 11 (𝜑 → ∃𝑥 𝑥𝐴)
5 suplocexpr.ub . . . . . . . . . . 11 (𝜑 → ∃𝑥P𝑦𝐴 𝑦<P 𝑥)
6 suplocexpr.loc . . . . . . . . . . 11 (𝜑 → ∀𝑥P𝑦P (𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
74, 5, 6suplocexprlemss 7775 . . . . . . . . . 10 (𝜑𝐴P)
87ad3antrrr 492 . . . . . . . . 9 ((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) → 𝐴P)
9 simprl 529 . . . . . . . . 9 ((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) → 𝑠𝐴)
108, 9sseldd 3180 . . . . . . . 8 ((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) → 𝑠P)
11 prop 7535 . . . . . . . 8 (𝑠P → ⟨(1st𝑠), (2nd𝑠)⟩ ∈ P)
1210, 11syl 14 . . . . . . 7 ((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) → ⟨(1st𝑠), (2nd𝑠)⟩ ∈ P)
13 simprr 531 . . . . . . 7 ((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) → 𝑞 ∈ (1st𝑠))
14 prnmaxl 7548 . . . . . . 7 ((⟨(1st𝑠), (2nd𝑠)⟩ ∈ P𝑞 ∈ (1st𝑠)) → ∃𝑟 ∈ (1st𝑠)𝑞 <Q 𝑟)
1512, 13, 14syl2anc 411 . . . . . 6 ((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) → ∃𝑟 ∈ (1st𝑠)𝑞 <Q 𝑟)
16 ltrelnq 7425 . . . . . . . . 9 <Q ⊆ (Q × Q)
1716brel 4711 . . . . . . . 8 (𝑞 <Q 𝑟 → (𝑞Q𝑟Q))
1817simprd 114 . . . . . . 7 (𝑞 <Q 𝑟𝑟Q)
1918ad2antll 491 . . . . . 6 (((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) ∧ (𝑟 ∈ (1st𝑠) ∧ 𝑞 <Q 𝑟)) → 𝑟Q)
20 simprr 531 . . . . . . 7 (((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) ∧ (𝑟 ∈ (1st𝑠) ∧ 𝑞 <Q 𝑟)) → 𝑞 <Q 𝑟)
21 simplrl 535 . . . . . . . . 9 (((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) ∧ (𝑟 ∈ (1st𝑠) ∧ 𝑞 <Q 𝑟)) → 𝑠𝐴)
22 simprl 529 . . . . . . . . 9 (((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) ∧ (𝑟 ∈ (1st𝑠) ∧ 𝑞 <Q 𝑟)) → 𝑟 ∈ (1st𝑠))
23 rspe 2543 . . . . . . . . 9 ((𝑠𝐴𝑟 ∈ (1st𝑠)) → ∃𝑠𝐴 𝑟 ∈ (1st𝑠))
2421, 22, 23syl2anc 411 . . . . . . . 8 (((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) ∧ (𝑟 ∈ (1st𝑠) ∧ 𝑞 <Q 𝑟)) → ∃𝑠𝐴 𝑟 ∈ (1st𝑠))
25 suplocexprlemell 7773 . . . . . . . 8 (𝑟 (1st𝐴) ↔ ∃𝑠𝐴 𝑟 ∈ (1st𝑠))
2624, 25sylibr 134 . . . . . . 7 (((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) ∧ (𝑟 ∈ (1st𝑠) ∧ 𝑞 <Q 𝑟)) → 𝑟 (1st𝐴))
2720, 26jca 306 . . . . . 6 (((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) ∧ (𝑟 ∈ (1st𝑠) ∧ 𝑞 <Q 𝑟)) → (𝑞 <Q 𝑟𝑟 (1st𝐴)))
2815, 19, 27reximssdv 2598 . . . . 5 ((((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) ∧ (𝑠𝐴𝑞 ∈ (1st𝑠))) → ∃𝑟Q (𝑞 <Q 𝑟𝑟 (1st𝐴)))
293, 28rexlimddv 2616 . . . 4 (((𝜑𝑞Q) ∧ 𝑞 (1st𝐴)) → ∃𝑟Q (𝑞 <Q 𝑟𝑟 (1st𝐴)))
3029ex 115 . . 3 ((𝜑𝑞Q) → (𝑞 (1st𝐴) → ∃𝑟Q (𝑞 <Q 𝑟𝑟 (1st𝐴))))
31 simprr 531 . . . . . . 7 (((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) → 𝑟 (1st𝐴))
3231, 25sylib 122 . . . . . 6 (((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) → ∃𝑠𝐴 𝑟 ∈ (1st𝑠))
33 simprl 529 . . . . . . . . 9 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → 𝑠𝐴)
34 simplrl 535 . . . . . . . . . 10 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → 𝑞 <Q 𝑟)
357ad3antrrr 492 . . . . . . . . . . . . 13 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → 𝐴P)
3635, 33sseldd 3180 . . . . . . . . . . . 12 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → 𝑠P)
3736, 11syl 14 . . . . . . . . . . 11 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → ⟨(1st𝑠), (2nd𝑠)⟩ ∈ P)
38 simprr 531 . . . . . . . . . . 11 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → 𝑟 ∈ (1st𝑠))
39 prcdnql 7544 . . . . . . . . . . 11 ((⟨(1st𝑠), (2nd𝑠)⟩ ∈ P𝑟 ∈ (1st𝑠)) → (𝑞 <Q 𝑟𝑞 ∈ (1st𝑠)))
4037, 38, 39syl2anc 411 . . . . . . . . . 10 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → (𝑞 <Q 𝑟𝑞 ∈ (1st𝑠)))
4134, 40mpd 13 . . . . . . . . 9 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → 𝑞 ∈ (1st𝑠))
42 19.8a 1601 . . . . . . . . 9 ((𝑠𝐴𝑞 ∈ (1st𝑠)) → ∃𝑠(𝑠𝐴𝑞 ∈ (1st𝑠)))
4333, 41, 42syl2anc 411 . . . . . . . 8 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → ∃𝑠(𝑠𝐴𝑞 ∈ (1st𝑠)))
44 df-rex 2478 . . . . . . . 8 (∃𝑠𝐴 𝑞 ∈ (1st𝑠) ↔ ∃𝑠(𝑠𝐴𝑞 ∈ (1st𝑠)))
4543, 44sylibr 134 . . . . . . 7 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → ∃𝑠𝐴 𝑞 ∈ (1st𝑠))
4645, 1sylibr 134 . . . . . 6 ((((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) ∧ (𝑠𝐴𝑟 ∈ (1st𝑠))) → 𝑞 (1st𝐴))
4732, 46rexlimddv 2616 . . . . 5 (((𝜑𝑞Q) ∧ (𝑞 <Q 𝑟𝑟 (1st𝐴))) → 𝑞 (1st𝐴))
4847ex 115 . . . 4 ((𝜑𝑞Q) → ((𝑞 <Q 𝑟𝑟 (1st𝐴)) → 𝑞 (1st𝐴)))
4948rexlimdvw 2615 . . 3 ((𝜑𝑞Q) → (∃𝑟Q (𝑞 <Q 𝑟𝑟 (1st𝐴)) → 𝑞 (1st𝐴)))
5030, 49impbid 129 . 2 ((𝜑𝑞Q) → (𝑞 (1st𝐴) ↔ ∃𝑟Q (𝑞 <Q 𝑟𝑟 (1st𝐴))))
5150ralrimiva 2567 1 (𝜑 → ∀𝑞Q (𝑞 (1st𝐴) ↔ ∃𝑟Q (𝑞 <Q 𝑟𝑟 (1st𝐴))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  wo 709  wex 1503  wcel 2164  wral 2472  wrex 2473  wss 3153  cop 3621   cuni 3835   class class class wbr 4029  cima 4662  cfv 5254  1st c1st 6191  2nd c2nd 6192  Qcnq 7340   <Q cltq 7345  Pcnp 7351  <P cltp 7355
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-coll 4144  ax-sep 4147  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-iinf 4620
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ral 2477  df-rex 2478  df-reu 2479  df-rab 2481  df-v 2762  df-sbc 2986  df-csb 3081  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-iun 3914  df-br 4030  df-opab 4091  df-mpt 4092  df-id 4324  df-iom 4623  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-rn 4670  df-res 4671  df-ima 4672  df-iota 5215  df-fun 5256  df-fn 5257  df-f 5258  df-f1 5259  df-fo 5260  df-f1o 5261  df-fv 5262  df-1st 6193  df-2nd 6194  df-qs 6593  df-ni 7364  df-nqqs 7408  df-ltnqqs 7413  df-inp 7526  df-iltp 7530
This theorem is referenced by:  suplocexprlemex  7782
  Copyright terms: Public domain W3C validator