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

Theorem suplocexprlemru 7527
Description: Lemma for suplocexpr 7533. 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 7523 . . . . . . . . . . 11 (𝜑𝐴P)
5 suplocexpr.b . . . . . . . . . . . 12 𝐵 = ⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩
65suplocexprlem2b 7522 . . . . . . . . . . 11 (𝐴P → (2nd𝐵) = {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
74, 6syl 14 . . . . . . . . . 10 (𝜑 → (2nd𝐵) = {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
87eleq2d 2209 . . . . . . . . 9 (𝜑 → (𝑟 ∈ (2nd𝐵) ↔ 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
98adantr 274 . . . . . . . 8 ((𝜑𝑟Q) → (𝑟 ∈ (2nd𝐵) ↔ 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
109biimpa 294 . . . . . . 7 (((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) → 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
11 breq2 3933 . . . . . . . . 9 (𝑢 = 𝑟 → (𝑤 <Q 𝑢𝑤 <Q 𝑟))
1211rexbidv 2438 . . . . . . . 8 (𝑢 = 𝑟 → (∃𝑤 (2nd𝐴)𝑤 <Q 𝑢 ↔ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
1312elrab 2840 . . . . . . 7 (𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢} ↔ (𝑟Q ∧ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
1410, 13sylib 121 . . . . . 6 (((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) → (𝑟Q ∧ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
1514simprd 113 . . . . 5 (((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟)
16 ltbtwnnqq 7223 . . . . . . . 8 (𝑤 <Q 𝑟 ↔ ∃𝑞Q (𝑤 <Q 𝑞𝑞 <Q 𝑟))
1716biimpi 119 . . . . . . 7 (𝑤 <Q 𝑟 → ∃𝑞Q (𝑤 <Q 𝑞𝑞 <Q 𝑟))
1817ad2antll 482 . . . . . 6 ((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) → ∃𝑞Q (𝑤 <Q 𝑞𝑞 <Q 𝑟))
19 simprr 521 . . . . . . . . 9 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑞 <Q 𝑟)
20 breq2 3933 . . . . . . . . . . . 12 (𝑢 = 𝑞 → (𝑤 <Q 𝑢𝑤 <Q 𝑞))
2120rexbidv 2438 . . . . . . . . . . 11 (𝑢 = 𝑞 → (∃𝑤 (2nd𝐴)𝑤 <Q 𝑢 ↔ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞))
22 simplr 519 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑞Q)
23 simprl 520 . . . . . . . . . . . . . 14 ((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) → 𝑤 (2nd𝐴))
2423ad2antrr 479 . . . . . . . . . . . . 13 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑤 (2nd𝐴))
25 simprl 520 . . . . . . . . . . . . 13 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑤 <Q 𝑞)
2624, 25jca 304 . . . . . . . . . . . 12 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑞))
27 rspe 2481 . . . . . . . . . . . 12 ((𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑞) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞)
2826, 27syl 14 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞)
2921, 22, 28elrabd 2842 . . . . . . . . . 10 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
307eleq2d 2209 . . . . . . . . . . 11 (𝜑 → (𝑞 ∈ (2nd𝐵) ↔ 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
3130ad5antr 487 . . . . . . . . . 10 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → (𝑞 ∈ (2nd𝐵) ↔ 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
3229, 31mpbird 166 . . . . . . . . 9 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → 𝑞 ∈ (2nd𝐵))
3319, 32jca 304 . . . . . . . 8 ((((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) ∧ (𝑤 <Q 𝑞𝑞 <Q 𝑟)) → (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵)))
3433ex 114 . . . . . . 7 (((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) ∧ 𝑞Q) → ((𝑤 <Q 𝑞𝑞 <Q 𝑟) → (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
3534reximdva 2534 . . . . . 6 ((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) → (∃𝑞Q (𝑤 <Q 𝑞𝑞 <Q 𝑟) → ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
3618, 35mpd 13 . . . . 5 ((((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) ∧ (𝑤 (2nd𝐴) ∧ 𝑤 <Q 𝑟)) → ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵)))
3715, 36rexlimddv 2554 . . . 4 (((𝜑𝑟Q) ∧ 𝑟 ∈ (2nd𝐵)) → ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵)))
3837ex 114 . . 3 ((𝜑𝑟Q) → (𝑟 ∈ (2nd𝐵) → ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
39 simpllr 523 . . . . . 6 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑟Q)
40 simprr 521 . . . . . . . . . 10 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑞 ∈ (2nd𝐵))
4130ad3antrrr 483 . . . . . . . . . 10 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → (𝑞 ∈ (2nd𝐵) ↔ 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
4240, 41mpbid 146 . . . . . . . . 9 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
4321elrab 2840 . . . . . . . . 9 (𝑞 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢} ↔ (𝑞Q ∧ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞))
4442, 43sylib 121 . . . . . . . 8 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → (𝑞Q ∧ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞))
4544simprd 113 . . . . . . 7 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑞)
46 simpr 109 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑤 <Q 𝑞)
47 simprl 520 . . . . . . . . . . . 12 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑞 <Q 𝑟)
4847ad2antrr 479 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑞 <Q 𝑟)
4946, 48jca 304 . . . . . . . . . 10 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → (𝑤 <Q 𝑞𝑞 <Q 𝑟))
50 ltrelnq 7173 . . . . . . . . . . . . . 14 <Q ⊆ (Q × Q)
5150brel 4591 . . . . . . . . . . . . 13 (𝑤 <Q 𝑞 → (𝑤Q𝑞Q))
5251simpld 111 . . . . . . . . . . . 12 (𝑤 <Q 𝑞𝑤Q)
5352adantl 275 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑤Q)
54 simp-4r 531 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑞Q)
5539ad2antrr 479 . . . . . . . . . . 11 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑟Q)
56 ltsonq 7206 . . . . . . . . . . . 12 <Q Or Q
57 sotr 4240 . . . . . . . . . . . 12 (( <Q Or Q ∧ (𝑤Q𝑞Q𝑟Q)) → ((𝑤 <Q 𝑞𝑞 <Q 𝑟) → 𝑤 <Q 𝑟))
5856, 57mpan 420 . . . . . . . . . . 11 ((𝑤Q𝑞Q𝑟Q) → ((𝑤 <Q 𝑞𝑞 <Q 𝑟) → 𝑤 <Q 𝑟))
5953, 54, 55, 58syl3anc 1216 . . . . . . . . . 10 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → ((𝑤 <Q 𝑞𝑞 <Q 𝑟) → 𝑤 <Q 𝑟))
6049, 59mpd 13 . . . . . . . . 9 ((((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) ∧ 𝑤 <Q 𝑞) → 𝑤 <Q 𝑟)
6160ex 114 . . . . . . . 8 (((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) ∧ 𝑤 (2nd𝐴)) → (𝑤 <Q 𝑞𝑤 <Q 𝑟))
6261reximdva 2534 . . . . . . 7 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → (∃𝑤 (2nd𝐴)𝑤 <Q 𝑞 → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
6345, 62mpd 13 . . . . . 6 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟)
6412, 39, 63elrabd 2842 . . . . 5 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
658ad3antrrr 483 . . . . 5 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → (𝑟 ∈ (2nd𝐵) ↔ 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
6664, 65mpbird 166 . . . 4 ((((𝜑𝑟Q) ∧ 𝑞Q) ∧ (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))) → 𝑟 ∈ (2nd𝐵))
6766rexlimdva2 2552 . . 3 ((𝜑𝑟Q) → (∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵)) → 𝑟 ∈ (2nd𝐵)))
6838, 67impbid 128 . 2 ((𝜑𝑟Q) → (𝑟 ∈ (2nd𝐵) ↔ ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
6968ralrimiva 2505 1 (𝜑 → ∀𝑟Q (𝑟 ∈ (2nd𝐵) ↔ ∃𝑞Q (𝑞 <Q 𝑟𝑞 ∈ (2nd𝐵))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wo 697  w3a 962   = wceq 1331  wex 1468  wcel 1480  wral 2416  wrex 2417  {crab 2420  wss 3071  cop 3530   cuni 3736   cint 3771   class class class wbr 3929   Or wor 4217  cima 4542  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-nul 4054  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-setind 4452  ax-iinf 4502
This theorem depends on definitions:  df-bi 116  df-dc 820  df-3or 963  df-3an 964  df-tru 1334  df-fal 1337  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-ne 2309  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-nul 3364  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-tr 4027  df-eprel 4211  df-id 4215  df-po 4218  df-iso 4219  df-iord 4288  df-on 4290  df-suc 4293  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-ov 5777  df-oprab 5778  df-mpo 5779  df-1st 6038  df-2nd 6039  df-recs 6202  df-irdg 6267  df-1o 6313  df-oadd 6317  df-omul 6318  df-er 6429  df-ec 6431  df-qs 6435  df-ni 7112  df-pli 7113  df-mi 7114  df-lti 7115  df-plpq 7152  df-mpq 7153  df-enq 7155  df-nqqs 7156  df-plqqs 7157  df-mqqs 7158  df-1nqqs 7159  df-rq 7160  df-ltnqqs 7161  df-inp 7274  df-iltp 7278
This theorem is referenced by:  suplocexprlemex  7530
  Copyright terms: Public domain W3C validator