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

Theorem suplocexprlemloc 7683
Description: Lemma for suplocexpr 7687. The putative supremum is located. (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
suplocexprlemloc (𝜑 → ∀𝑞Q𝑟Q (𝑞 <Q 𝑟 → (𝑞 (1st𝐴) ∨ 𝑟 ∈ (2nd𝐵))))
Distinct variable groups:   𝑢,𝐴,𝑧,𝑤   𝑥,𝐴,𝑦,𝑢,𝑧   𝑢,𝑞,𝑧,𝑤   𝑥,𝑞,𝑦,𝜑   𝜑,𝑟,𝑤,𝑞   𝜑,𝑧,𝑥,𝑦   𝑢,𝑟
Allowed substitution hints:   𝜑(𝑢)   𝐴(𝑟,𝑞)   𝐵(𝑥,𝑦,𝑧,𝑤,𝑢,𝑟,𝑞)

Proof of Theorem suplocexprlemloc
Dummy variables 𝑠 𝑡 𝑣 𝑙 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 109 . . . . 5 (((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) → 𝑞 <Q 𝑟)
2 ltbtwnnqq 7377 . . . . 5 (𝑞 <Q 𝑟 ↔ ∃𝑣Q (𝑞 <Q 𝑣𝑣 <Q 𝑟))
31, 2sylib 121 . . . 4 (((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) → ∃𝑣Q (𝑞 <Q 𝑣𝑣 <Q 𝑟))
4 simplll 528 . . . . . . 7 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → 𝜑)
5 simprl 526 . . . . . . . 8 ((𝜑 ∧ (𝑞Q𝑟Q)) → 𝑞Q)
65ad2antrr 485 . . . . . . 7 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → 𝑞Q)
7 simprl 526 . . . . . . 7 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → 𝑣Q)
84, 6, 7jca32 308 . . . . . 6 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → (𝜑 ∧ (𝑞Q𝑣Q)))
9 simprrl 534 . . . . . 6 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → 𝑞 <Q 𝑣)
10 ltnqpri 7556 . . . . . . . . 9 (𝑞 <Q 𝑣 → ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩)
1110adantl 275 . . . . . . . 8 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩)
12 breq2 3993 . . . . . . . . . 10 (𝑦 = ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ → (⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑦 ↔ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩))
13 breq2 3993 . . . . . . . . . . . 12 (𝑦 = ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ → (𝑧<P 𝑦𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩))
1413ralbidv 2470 . . . . . . . . . . 11 (𝑦 = ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ → (∀𝑧𝐴 𝑧<P 𝑦 ↔ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩))
1514orbi2d 785 . . . . . . . . . 10 (𝑦 = ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ → ((∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦) ↔ (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩)))
1612, 15imbi12d 233 . . . . . . . . 9 (𝑦 = ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ → ((⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑦 → (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)) ↔ (⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ → (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩))))
17 breq1 3992 . . . . . . . . . . . 12 (𝑥 = ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ → (𝑥<P 𝑦 ↔ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑦))
18 breq1 3992 . . . . . . . . . . . . . 14 (𝑥 = ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ → (𝑥<P 𝑧 ↔ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧))
1918rexbidv 2471 . . . . . . . . . . . . 13 (𝑥 = ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ → (∃𝑧𝐴 𝑥<P 𝑧 ↔ ∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧))
2019orbi1d 786 . . . . . . . . . . . 12 (𝑥 = ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ → ((∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦) ↔ (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
2117, 20imbi12d 233 . . . . . . . . . . 11 (𝑥 = ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ → ((𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)) ↔ (⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑦 → (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦))))
2221ralbidv 2470 . . . . . . . . . 10 (𝑥 = ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ → (∀𝑦P (𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)) ↔ ∀𝑦P (⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑦 → (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦))))
23 suplocexpr.loc . . . . . . . . . . 11 (𝜑 → ∀𝑥P𝑦P (𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
2423ad2antrr 485 . . . . . . . . . 10 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → ∀𝑥P𝑦P (𝑥<P 𝑦 → (∃𝑧𝐴 𝑥<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
25 simplrl 530 . . . . . . . . . . 11 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → 𝑞Q)
26 nqprlu 7509 . . . . . . . . . . 11 (𝑞Q → ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ ∈ P)
2725, 26syl 14 . . . . . . . . . 10 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ ∈ P)
2822, 24, 27rspcdva 2839 . . . . . . . . 9 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → ∀𝑦P (⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑦 → (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P 𝑦)))
29 simplrr 531 . . . . . . . . . 10 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → 𝑣Q)
30 nqprlu 7509 . . . . . . . . . 10 (𝑣Q → ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ ∈ P)
3129, 30syl 14 . . . . . . . . 9 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ ∈ P)
3216, 28, 31rspcdva 2839 . . . . . . . 8 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → (⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ → (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩)))
3311, 32mpd 13 . . . . . . 7 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩))
34 simpr 109 . . . . . . . . . . . 12 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧)
3527ad2antrr 485 . . . . . . . . . . . . 13 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ ∈ P)
36 suplocexpr.m . . . . . . . . . . . . . . . 16 (𝜑 → ∃𝑥 𝑥𝐴)
37 suplocexpr.ub . . . . . . . . . . . . . . . 16 (𝜑 → ∃𝑥P𝑦𝐴 𝑦<P 𝑥)
3836, 37, 23suplocexprlemss 7677 . . . . . . . . . . . . . . 15 (𝜑𝐴P)
3938ad4antr 491 . . . . . . . . . . . . . 14 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → 𝐴P)
40 simplr 525 . . . . . . . . . . . . . 14 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → 𝑧𝐴)
4139, 40sseldd 3148 . . . . . . . . . . . . 13 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → 𝑧P)
42 ltdfpr 7468 . . . . . . . . . . . . 13 ((⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩ ∈ P𝑧P) → (⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ↔ ∃𝑤Q (𝑤 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩) ∧ 𝑤 ∈ (1st𝑧))))
4335, 41, 42syl2anc 409 . . . . . . . . . . . 12 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → (⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ↔ ∃𝑤Q (𝑤 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩) ∧ 𝑤 ∈ (1st𝑧))))
4434, 43mpbid 146 . . . . . . . . . . 11 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → ∃𝑤Q (𝑤 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩) ∧ 𝑤 ∈ (1st𝑧)))
45 vex 2733 . . . . . . . . . . . . . 14 𝑤 ∈ V
46 breq2 3993 . . . . . . . . . . . . . 14 (𝑢 = 𝑤 → (𝑞 <Q 𝑢𝑞 <Q 𝑤))
47 ltnqex 7511 . . . . . . . . . . . . . . 15 {𝑙𝑙 <Q 𝑞} ∈ V
48 gtnqex 7512 . . . . . . . . . . . . . . 15 {𝑢𝑞 <Q 𝑢} ∈ V
4947, 48op2nd 6126 . . . . . . . . . . . . . 14 (2nd ‘⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩) = {𝑢𝑞 <Q 𝑢}
5045, 46, 49elab2 2878 . . . . . . . . . . . . 13 (𝑤 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩) ↔ 𝑞 <Q 𝑤)
5150anbi1i 455 . . . . . . . . . . . 12 ((𝑤 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩) ∧ 𝑤 ∈ (1st𝑧)) ↔ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))
5251rexbii 2477 . . . . . . . . . . 11 (∃𝑤Q (𝑤 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩) ∧ 𝑤 ∈ (1st𝑧)) ↔ ∃𝑤Q (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))
5344, 52sylib 121 . . . . . . . . . 10 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → ∃𝑤Q (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))
54 simpllr 529 . . . . . . . . . . . . . 14 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → 𝑧𝐴)
55 simprrl 534 . . . . . . . . . . . . . . 15 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → 𝑞 <Q 𝑤)
5641adantr 274 . . . . . . . . . . . . . . . . 17 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → 𝑧P)
57 prop 7437 . . . . . . . . . . . . . . . . 17 (𝑧P → ⟨(1st𝑧), (2nd𝑧)⟩ ∈ P)
5856, 57syl 14 . . . . . . . . . . . . . . . 16 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → ⟨(1st𝑧), (2nd𝑧)⟩ ∈ P)
59 simprrr 535 . . . . . . . . . . . . . . . 16 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → 𝑤 ∈ (1st𝑧))
60 prcdnql 7446 . . . . . . . . . . . . . . . 16 ((⟨(1st𝑧), (2nd𝑧)⟩ ∈ P𝑤 ∈ (1st𝑧)) → (𝑞 <Q 𝑤𝑞 ∈ (1st𝑧)))
6158, 59, 60syl2anc 409 . . . . . . . . . . . . . . 15 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → (𝑞 <Q 𝑤𝑞 ∈ (1st𝑧)))
6255, 61mpd 13 . . . . . . . . . . . . . 14 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → 𝑞 ∈ (1st𝑧))
6354, 62jca 304 . . . . . . . . . . . . 13 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → (𝑧𝐴𝑞 ∈ (1st𝑧)))
646319.8ad 1584 . . . . . . . . . . . 12 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → ∃𝑧(𝑧𝐴𝑞 ∈ (1st𝑧)))
65 df-rex 2454 . . . . . . . . . . . 12 (∃𝑧𝐴 𝑞 ∈ (1st𝑧) ↔ ∃𝑧(𝑧𝐴𝑞 ∈ (1st𝑧)))
6664, 65sylibr 133 . . . . . . . . . . 11 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → ∃𝑧𝐴 𝑞 ∈ (1st𝑧))
67 suplocexprlemell 7675 . . . . . . . . . . 11 (𝑞 (1st𝐴) ↔ ∃𝑧𝐴 𝑞 ∈ (1st𝑧))
6866, 67sylibr 133 . . . . . . . . . 10 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) ∧ (𝑤Q ∧ (𝑞 <Q 𝑤𝑤 ∈ (1st𝑧)))) → 𝑞 (1st𝐴))
6953, 68rexlimddv 2592 . . . . . . . . 9 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ 𝑧𝐴) ∧ ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧) → 𝑞 (1st𝐴))
7069rexlimdva2 2590 . . . . . . . 8 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → (∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧𝑞 (1st𝐴)))
71 fo2nd 6137 . . . . . . . . . . . . . . 15 2nd :V–onto→V
72 fofun 5421 . . . . . . . . . . . . . . 15 (2nd :V–onto→V → Fun 2nd )
7371, 72ax-mp 5 . . . . . . . . . . . . . 14 Fun 2nd
74 fvelima 5548 . . . . . . . . . . . . . 14 ((Fun 2nd𝑠 ∈ (2nd𝐴)) → ∃𝑡𝐴 (2nd𝑡) = 𝑠)
7573, 74mpan 422 . . . . . . . . . . . . 13 (𝑠 ∈ (2nd𝐴) → ∃𝑡𝐴 (2nd𝑡) = 𝑠)
7675adantl 275 . . . . . . . . . . . 12 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) → ∃𝑡𝐴 (2nd𝑡) = 𝑠)
77 breq1 3992 . . . . . . . . . . . . . . 15 (𝑧 = 𝑡 → (𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ ↔ 𝑡<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩))
78 simpllr 529 . . . . . . . . . . . . . . 15 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩)
79 simprl 526 . . . . . . . . . . . . . . 15 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → 𝑡𝐴)
8077, 78, 79rspcdva 2839 . . . . . . . . . . . . . 14 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → 𝑡<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩)
8129ad3antrrr 489 . . . . . . . . . . . . . . 15 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → 𝑣Q)
8238ad5antr 493 . . . . . . . . . . . . . . . 16 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → 𝐴P)
8382, 79sseldd 3148 . . . . . . . . . . . . . . 15 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → 𝑡P)
84 nqpru 7514 . . . . . . . . . . . . . . 15 ((𝑣Q𝑡P) → (𝑣 ∈ (2nd𝑡) ↔ 𝑡<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩))
8581, 83, 84syl2anc 409 . . . . . . . . . . . . . 14 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → (𝑣 ∈ (2nd𝑡) ↔ 𝑡<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩))
8680, 85mpbird 166 . . . . . . . . . . . . 13 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → 𝑣 ∈ (2nd𝑡))
87 simprr 527 . . . . . . . . . . . . 13 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → (2nd𝑡) = 𝑠)
8886, 87eleqtrd 2249 . . . . . . . . . . . 12 ((((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) ∧ (𝑡𝐴 ∧ (2nd𝑡) = 𝑠)) → 𝑣𝑠)
8976, 88rexlimddv 2592 . . . . . . . . . . 11 (((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) ∧ 𝑠 ∈ (2nd𝐴)) → 𝑣𝑠)
9089ralrimiva 2543 . . . . . . . . . 10 ((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) → ∀𝑠 ∈ (2nd𝐴)𝑣𝑠)
91 vex 2733 . . . . . . . . . . 11 𝑣 ∈ V
9291elint2 3838 . . . . . . . . . 10 (𝑣 (2nd𝐴) ↔ ∀𝑠 ∈ (2nd𝐴)𝑣𝑠)
9390, 92sylibr 133 . . . . . . . . 9 ((((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) ∧ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) → 𝑣 (2nd𝐴))
9493ex 114 . . . . . . . 8 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → (∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩ → 𝑣 (2nd𝐴)))
9570, 94orim12d 781 . . . . . . 7 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → ((∃𝑧𝐴 ⟨{𝑙𝑙 <Q 𝑞}, {𝑢𝑞 <Q 𝑢}⟩<P 𝑧 ∨ ∀𝑧𝐴 𝑧<P ⟨{𝑙𝑙 <Q 𝑣}, {𝑢𝑣 <Q 𝑢}⟩) → (𝑞 (1st𝐴) ∨ 𝑣 (2nd𝐴))))
9633, 95mpd 13 . . . . . 6 (((𝜑 ∧ (𝑞Q𝑣Q)) ∧ 𝑞 <Q 𝑣) → (𝑞 (1st𝐴) ∨ 𝑣 (2nd𝐴)))
978, 9, 96syl2anc 409 . . . . 5 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → (𝑞 (1st𝐴) ∨ 𝑣 (2nd𝐴)))
98 breq2 3993 . . . . . . . . . 10 (𝑢 = 𝑟 → (𝑤 <Q 𝑢𝑤 <Q 𝑟))
9998rexbidv 2471 . . . . . . . . 9 (𝑢 = 𝑟 → (∃𝑤 (2nd𝐴)𝑤 <Q 𝑢 ↔ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟))
100 simprr 527 . . . . . . . . . 10 ((𝜑 ∧ (𝑞Q𝑟Q)) → 𝑟Q)
101100ad3antrrr 489 . . . . . . . . 9 (((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) ∧ 𝑣 (2nd𝐴)) → 𝑟Q)
102 simpr 109 . . . . . . . . . 10 (((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) ∧ 𝑣 (2nd𝐴)) → 𝑣 (2nd𝐴))
103 simprrr 535 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → 𝑣 <Q 𝑟)
104103adantr 274 . . . . . . . . . 10 (((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) ∧ 𝑣 (2nd𝐴)) → 𝑣 <Q 𝑟)
105 breq1 3992 . . . . . . . . . . 11 (𝑤 = 𝑣 → (𝑤 <Q 𝑟𝑣 <Q 𝑟))
106105rspcev 2834 . . . . . . . . . 10 ((𝑣 (2nd𝐴) ∧ 𝑣 <Q 𝑟) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟)
107102, 104, 106syl2anc 409 . . . . . . . . 9 (((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) ∧ 𝑣 (2nd𝐴)) → ∃𝑤 (2nd𝐴)𝑤 <Q 𝑟)
10899, 101, 107elrabd 2888 . . . . . . . 8 (((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) ∧ 𝑣 (2nd𝐴)) → 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
109 suplocexpr.b . . . . . . . . . . . 12 𝐵 = ⟨ (1st𝐴), {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}⟩
110109suplocexprlem2b 7676 . . . . . . . . . . 11 (𝐴P → (2nd𝐵) = {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
11138, 110syl 14 . . . . . . . . . 10 (𝜑 → (2nd𝐵) = {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢})
112111eleq2d 2240 . . . . . . . . 9 (𝜑 → (𝑟 ∈ (2nd𝐵) ↔ 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
113112ad4antr 491 . . . . . . . 8 (((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) ∧ 𝑣 (2nd𝐴)) → (𝑟 ∈ (2nd𝐵) ↔ 𝑟 ∈ {𝑢Q ∣ ∃𝑤 (2nd𝐴)𝑤 <Q 𝑢}))
114108, 113mpbird 166 . . . . . . 7 (((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) ∧ 𝑣 (2nd𝐴)) → 𝑟 ∈ (2nd𝐵))
115114ex 114 . . . . . 6 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → (𝑣 (2nd𝐴) → 𝑟 ∈ (2nd𝐵)))
116115orim2d 783 . . . . 5 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → ((𝑞 (1st𝐴) ∨ 𝑣 (2nd𝐴)) → (𝑞 (1st𝐴) ∨ 𝑟 ∈ (2nd𝐵))))
11797, 116mpd 13 . . . 4 ((((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) ∧ (𝑣Q ∧ (𝑞 <Q 𝑣𝑣 <Q 𝑟))) → (𝑞 (1st𝐴) ∨ 𝑟 ∈ (2nd𝐵)))
1183, 117rexlimddv 2592 . . 3 (((𝜑 ∧ (𝑞Q𝑟Q)) ∧ 𝑞 <Q 𝑟) → (𝑞 (1st𝐴) ∨ 𝑟 ∈ (2nd𝐵)))
119118ex 114 . 2 ((𝜑 ∧ (𝑞Q𝑟Q)) → (𝑞 <Q 𝑟 → (𝑞 (1st𝐴) ∨ 𝑟 ∈ (2nd𝐵))))
120119ralrimivva 2552 1 (𝜑 → ∀𝑞Q𝑟Q (𝑞 <Q 𝑟 → (𝑞 (1st𝐴) ∨ 𝑟 ∈ (2nd𝐵))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wo 703   = wceq 1348  wex 1485  wcel 2141  {cab 2156  wral 2448  wrex 2449  {crab 2452  Vcvv 2730  wss 3121  cop 3586   cuni 3796   cint 3831   class class class wbr 3989  cima 4614  Fun wfun 5192  ontowfo 5196  cfv 5198  1st c1st 6117  2nd c2nd 6118  Qcnq 7242   <Q cltq 7247  Pcnp 7253  <P cltp 7257
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-eprel 4274  df-id 4278  df-po 4281  df-iso 4282  df-iord 4351  df-on 4353  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-irdg 6349  df-1o 6395  df-oadd 6399  df-omul 6400  df-er 6513  df-ec 6515  df-qs 6519  df-ni 7266  df-pli 7267  df-mi 7268  df-lti 7269  df-plpq 7306  df-mpq 7307  df-enq 7309  df-nqqs 7310  df-plqqs 7311  df-mqqs 7312  df-1nqqs 7313  df-rq 7314  df-ltnqqs 7315  df-inp 7428  df-iltp 7432
This theorem is referenced by:  suplocexprlemex  7684
  Copyright terms: Public domain W3C validator