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

Theorem suplocexprlemru 7709
Description: Lemma for suplocexpr 7715. The upper 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 𝑦)))
suplocexpr.b 𝐵 = ⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩
Assertion
Ref Expression
suplocexprlemru (𝜑 → ∀𝑟Q (𝑟 ∈ (2nd𝐵) ↔ ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
Distinct variable groups:   𝐴,𝑞,𝑢   𝑥,𝐴,𝑦   𝐵,𝑞,𝑤   𝜑,𝑞,𝑟,𝑤   𝜑,𝑥,𝑦   𝑢,𝑟,𝑤
Allowed substitution hints:   𝜑(𝑧,𝑢)   𝐴(𝑧,𝑤,𝑟)   𝐵(𝑥,𝑦,𝑧,𝑢,𝑟)

Proof of Theorem suplocexprlemru
StepHypRef Expression
1 suplocexpr.m . . . . . . . . . . . 12 (𝜑 → ∃𝑥 𝑥𝐴)
2 suplocexpr.ub . . . . . . . . . . . 12 (𝜑 → ∃𝑥P𝑦𝐴 𝑦<P 𝑥)
3 suplocexpr.loc . . . . . . . . . . . 12 (𝜑 → ∀𝑥P𝑦P (𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
41, 2, 3suplocexprlemss 7705 . . . . . . . . . . 11 (𝜑𝐴P)
5 suplocexpr.b . . . . . . . . . . . 12 𝐵 = ⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩
65suplocexprlem2b 7704 . . . . . . . . . . 11 (𝐴P → (2nd𝐵) = {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
74, 6syl 14 . . . . . . . . . 10 (𝜑 → (2nd𝐵) = {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
87eleq2d 2247 . . . . . . . . 9 (𝜑 → (𝑟 ∈ (2nd𝐵) ↔ 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
98adantr 276 . . . . . . . 8 ((𝜑𝑟Q) → (𝑟 ∈ (2nd𝐵) ↔ 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
109biimpa 296 . . . . . . 7 (((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) → 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
11 breq2 4004 . . . . . . . . 9 (𝑢 = 𝑟 → (𝑤 <Q 𝑢𝑤 <Q 𝑟))
1211rexbidv 2478 . . . . . . . 8 (𝑢 = 𝑟 → (∃𝑤 (2nd𝐴)𝑤 <Q 𝑢 ↔ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
1312elrab 2893 . . . . . . 7 (𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢} ↔ (𝑟Q ∧ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
1410, 13sylib 122 . . . . . 6 (((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) → (𝑟Q ∧ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
1514simprd 114 . . . . 5 (((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟)
16 ltbtwnnqq 7405 . . . . . . . 8 (𝑤 <Q 𝑟 ↔ ∃𝑞Q (𝑤 <Q 𝑞𝑞 <Q 𝑟))
1716biimpi 120 . . . . . . 7 (𝑤 <Q 𝑟 → ∃𝑞Q (𝑤 <Q 𝑞𝑞 <Q 𝑟))
1817ad2antll 491 . . . . . 6 ((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) → ∃𝑞Q (𝑤 <Q 𝑞𝑞 <Q 𝑟))
19 simprr 531 . . . . . . . . 9 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑞 <Q 𝑟)
20 breq2 4004 . . . . . . . . . . . 12 (𝑢 = 𝑞 → (𝑤 <Q 𝑢𝑤 <Q 𝑞))
2120rexbidv 2478 . . . . . . . . . . 11 (𝑢 = 𝑞 → (∃𝑤 (2nd𝐴)𝑤 <Q 𝑢 ↔ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞))
22 simplr 528 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑞Q)
23 simprl 529 . . . . . . . . . . . . . 14 ((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) → 𝑤 (2nd𝐴))
2423ad2antrr 488 . . . . . . . . . . . . 13 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑤 (2nd𝐴))
25 simprl 529 . . . . . . . . . . . . 13 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑤 <Q 𝑞)
2624, 25jca 306 . . . . . . . . . . . 12 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑞))
27 rspe 2526 . . . . . . . . . . . 12 ((𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑞) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞)
2826, 27syl 14 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞)
2921, 22, 28elrabd 2895 . . . . . . . . . 10 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
307eleq2d 2247 . . . . . . . . . . 11 (𝜑 → (𝑞 ∈ (2nd𝐵) ↔ 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
3130ad5antr 496 . . . . . . . . . 10 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → (𝑞 ∈ (2nd𝐵) ↔ 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
3229, 31mpbird 167 . . . . . . . . 9 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑞 ∈ (2nd𝐵))
3319, 32jca 306 . . . . . . . 8 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵)))
3433ex 115 . . . . . . 7 (((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) → ((𝑤 <Q 𝑞𝑞 <Q 𝑟) → (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
3534reximdva 2579 . . . . . 6 ((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) → (∃𝑞Q (𝑤 <Q 𝑞𝑞 <Q 𝑟) → ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
3618, 35mpd 13 . . . . 5 ((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) → ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵)))
3715, 36rexlimddv 2599 . . . 4 (((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) → ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵)))
3837ex 115 . . 3 ((𝜑𝑟Q) → (𝑟 ∈ (2nd𝐵) → ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
39 simpllr 534 . . . . . 6 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑟Q)
40 simprr 531 . . . . . . . . . 10 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑞 ∈ (2nd𝐵))
4130ad3antrrr 492 . . . . . . . . . 10 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → (𝑞 ∈ (2nd𝐵) ↔ 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
4240, 41mpbid 147 . . . . . . . . 9 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
4321elrab 2893 . . . . . . . . 9 (𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢} ↔ (𝑞Q ∧ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞))
4442, 43sylib 122 . . . . . . . 8 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → (𝑞Q ∧ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞))
4544simprd 114 . . . . . . 7 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞)
46 simpr 110 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑤 <Q 𝑞)
47 simprl 529 . . . . . . . . . . . 12 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑞 <Q 𝑟)
4847ad2antrr 488 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑞 <Q 𝑟)
4946, 48jca 306 . . . . . . . . . 10 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → (𝑤 <Q 𝑞𝑞 <Q 𝑟))
50 ltrelnq 7355 . . . . . . . . . . . . . 14 <Q ⊆ (Q × Q)
5150brel 4675 . . . . . . . . . . . . 13 (𝑤 <Q 𝑞 → (𝑤Q𝑞Q))
5251simpld 112 . . . . . . . . . . . 12 (𝑤 <Q 𝑞𝑤Q)
5352adantl 277 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑤Q)
54 simp-4r 542 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑞Q)
5539ad2antrr 488 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑟Q)
56 ltsonq 7388 . . . . . . . . . . . 12 <Q Or Q
57 sotr 4315 . . . . . . . . . . . 12 (( <Q Or Q ∧ (𝑤Q𝑞Q𝑟Q)) → ((𝑤 <Q 𝑞𝑞 <Q 𝑟) → 𝑤 <Q 𝑟))
5856, 57mpan 424 . . . . . . . . . . 11 ((𝑤Q𝑞Q𝑟Q) → ((𝑤 <Q 𝑞𝑞 <Q 𝑟) → 𝑤 <Q 𝑟))
5953, 54, 55, 58syl3anc 1238 . . . . . . . . . 10 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → ((𝑤 <Q 𝑞𝑞 <Q 𝑟) → 𝑤 <Q 𝑟))
6049, 59mpd 13 . . . . . . . . 9 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑤 <Q 𝑟)
6160ex 115 . . . . . . . 8 (((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) → (𝑤 <Q 𝑞𝑤 <Q 𝑟))
6261reximdva 2579 . . . . . . 7 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → (∃𝑤 (2nd𝐴)𝑤 <Q 𝑞 → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
6345, 62mpd 13 . . . . . 6 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟)
6412, 39, 63elrabd 2895 . . . . 5 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
658ad3antrrr 492 . . . . 5 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → (𝑟 ∈ (2nd𝐵) ↔ 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
6664, 65mpbird 167 . . . 4 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑟 ∈ (2nd𝐵))
6766rexlimdva2 2597 . . 3 ((𝜑𝑟Q) → (∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵)) → 𝑟 ∈ (2nd𝐵)))
6838, 67impbid 129 . 2 ((𝜑𝑟Q) → (𝑟 ∈ (2nd𝐵) ↔ ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
6968ralrimiva 2550 1 (𝜑 → ∀𝑟Q (𝑟 ∈ (2nd𝐵) ↔ ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  wo 708  w3a 978   = wceq 1353  wex 1492  wcel 2148  wral 2455  wrex 2456  {crab 2459  wss 3129  cop 3594   cuni 3807   cint 3842   class class class wbr 4000   Or wor 4292  cima 4626  cfv 5212  1st c1st 6133  2nd c2nd 6134  Qcnq 7270   <Q cltq 7275  Pcnp 7281  <P cltp 7285
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 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-coll 4115  ax-sep 4118  ax-nul 4126  ax-pow 4171  ax-pr 4206  ax-un 4430  ax-setind 4533  ax-iinf 4584
This theorem depends on definitions:  df-bi 117  df-dc 835  df-3or 979  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-ral 2460  df-rex 2461  df-reu 2462  df-rab 2464  df-v 2739  df-sbc 2963  df-csb 3058  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-pw 3576  df-sn 3597  df-pr 3598  df-op 3600  df-uni 3808  df-int 3843  df-iun 3886  df-br 4001  df-opab 4062  df-mpt 4063  df-tr 4099  df-eprel 4286  df-id 4290  df-po 4293  df-iso 4294  df-iord 4363  df-on 4365  df-suc 4368  df-iom 4587  df-xp 4629  df-rel 4630  df-cnv 4631  df-co 4632  df-dm 4633  df-rn 4634  df-res 4635  df-ima 4636  df-iota 5174  df-fun 5214  df-fn 5215  df-f 5216  df-f1 5217  df-fo 5218  df-f1o 5219  df-fv 5220  df-ov 5872  df-oprab 5873  df-mpo 5874  df-1st 6135  df-2nd 6136  df-recs 6300  df-irdg 6365  df-1o 6411  df-oadd 6415  df-omul 6416  df-er 6529  df-ec 6531  df-qs 6535  df-ni 7294  df-pli 7295  df-mi 7296  df-lti 7297  df-plpq 7334  df-mpq 7335  df-enq 7337  df-nqqs 7338  df-plqqs 7339  df-mqqs 7340  df-1nqqs 7341  df-rq 7342  df-ltnqqs 7343  df-inp 7456  df-iltp 7460
This theorem is referenced by:  suplocexprlemex  7712
  Copyright terms: Public domain W3C validator