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

Theorem caucvgprlemcanl 6742
 Description: Lemma for cauappcvgprlemladdrl 6755. Cancelling a term from both sides. (Contributed by Jim Kingdon, 15-Aug-2020.)
Hypotheses
Ref Expression
caucvgprlemcanl.l (𝜑𝐿P)
caucvgprlemcanl.s (𝜑𝑆Q)
caucvgprlemcanl.r (𝜑𝑅Q)
caucvgprlemcanl.q (𝜑𝑄Q)
Assertion
Ref Expression
caucvgprlemcanl (𝜑 → ((𝑅 +Q 𝑄) ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩)) ↔ 𝑅 ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩))))
Distinct variable groups:   𝑄,𝑙,𝑢   𝑅,𝑙,𝑢   𝑆,𝑙,𝑢
Allowed substitution hints:   𝜑(𝑢,𝑙)   𝐿(𝑢,𝑙)

Proof of Theorem caucvgprlemcanl
Dummy variables 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ltaprg 6717 . . . 4 ((𝑓P𝑔PP) → (𝑓<P 𝑔 ↔ ( +P 𝑓)<P ( +P 𝑔)))
21adantl 262 . . 3 ((𝜑 ∧ (𝑓P𝑔PP)) → (𝑓<P 𝑔 ↔ ( +P 𝑓)<P ( +P 𝑔)))
3 caucvgprlemcanl.r . . . 4 (𝜑𝑅Q)
4 nqprlu 6645 . . . 4 (𝑅Q → ⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ ∈ P)
53, 4syl 14 . . 3 (𝜑 → ⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ ∈ P)
6 caucvgprlemcanl.l . . . 4 (𝜑𝐿P)
7 caucvgprlemcanl.s . . . . 5 (𝜑𝑆Q)
8 nqprlu 6645 . . . . 5 (𝑆Q → ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ ∈ P)
97, 8syl 14 . . . 4 (𝜑 → ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ ∈ P)
10 addclpr 6635 . . . 4 ((𝐿P ∧ ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ ∈ P) → (𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) ∈ P)
116, 9, 10syl2anc 391 . . 3 (𝜑 → (𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) ∈ P)
12 caucvgprlemcanl.q . . . 4 (𝜑𝑄Q)
13 nqprlu 6645 . . . 4 (𝑄Q → ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩ ∈ P)
1412, 13syl 14 . . 3 (𝜑 → ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩ ∈ P)
15 addcomprg 6676 . . . 4 ((𝑓P𝑔P) → (𝑓 +P 𝑔) = (𝑔 +P 𝑓))
1615adantl 262 . . 3 ((𝜑 ∧ (𝑓P𝑔P)) → (𝑓 +P 𝑔) = (𝑔 +P 𝑓))
172, 5, 11, 14, 16caovord2d 5670 . 2 (𝜑 → (⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩<P (𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) ↔ (⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)<P ((𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)))
18 nqprl 6649 . . 3 ((𝑅Q ∧ (𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) ∈ P) → (𝑅 ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩)) ↔ ⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩<P (𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩)))
193, 11, 18syl2anc 391 . 2 (𝜑 → (𝑅 ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩)) ↔ ⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩<P (𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩)))
20 addnqpr 6659 . . . . 5 ((𝑅Q𝑄Q) → ⟨{𝑙𝑙 <Q (𝑅 +Q 𝑄)}, {𝑢 ∣ (𝑅 +Q 𝑄) <Q 𝑢}⟩ = (⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩))
213, 12, 20syl2anc 391 . . . 4 (𝜑 → ⟨{𝑙𝑙 <Q (𝑅 +Q 𝑄)}, {𝑢 ∣ (𝑅 +Q 𝑄) <Q 𝑢}⟩ = (⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩))
22 addnqpr 6659 . . . . . 6 ((𝑆Q𝑄Q) → ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩ = (⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩))
237, 12, 22syl2anc 391 . . . . 5 (𝜑 → ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩ = (⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩))
2423oveq2d 5528 . . . 4 (𝜑 → (𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩) = (𝐿 +P (⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)))
2521, 24breq12d 3777 . . 3 (𝜑 → (⟨{𝑙𝑙 <Q (𝑅 +Q 𝑄)}, {𝑢 ∣ (𝑅 +Q 𝑄) <Q 𝑢}⟩<P (𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩) ↔ (⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)<P (𝐿 +P (⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩))))
26 addclnq 6473 . . . . 5 ((𝑅Q𝑄Q) → (𝑅 +Q 𝑄) ∈ Q)
273, 12, 26syl2anc 391 . . . 4 (𝜑 → (𝑅 +Q 𝑄) ∈ Q)
28 addclnq 6473 . . . . . . 7 ((𝑆Q𝑄Q) → (𝑆 +Q 𝑄) ∈ Q)
297, 12, 28syl2anc 391 . . . . . 6 (𝜑 → (𝑆 +Q 𝑄) ∈ Q)
30 nqprlu 6645 . . . . . 6 ((𝑆 +Q 𝑄) ∈ Q → ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩ ∈ P)
3129, 30syl 14 . . . . 5 (𝜑 → ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩ ∈ P)
32 addclpr 6635 . . . . 5 ((𝐿P ∧ ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩ ∈ P) → (𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩) ∈ P)
336, 31, 32syl2anc 391 . . . 4 (𝜑 → (𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩) ∈ P)
34 nqprl 6649 . . . 4 (((𝑅 +Q 𝑄) ∈ Q ∧ (𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩) ∈ P) → ((𝑅 +Q 𝑄) ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩)) ↔ ⟨{𝑙𝑙 <Q (𝑅 +Q 𝑄)}, {𝑢 ∣ (𝑅 +Q 𝑄) <Q 𝑢}⟩<P (𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩)))
3527, 33, 34syl2anc 391 . . 3 (𝜑 → ((𝑅 +Q 𝑄) ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩)) ↔ ⟨{𝑙𝑙 <Q (𝑅 +Q 𝑄)}, {𝑢 ∣ (𝑅 +Q 𝑄) <Q 𝑢}⟩<P (𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩)))
36 addassprg 6677 . . . . 5 ((𝐿P ∧ ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ ∈ P ∧ ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩ ∈ P) → ((𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩) = (𝐿 +P (⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)))
376, 9, 14, 36syl3anc 1135 . . . 4 (𝜑 → ((𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩) = (𝐿 +P (⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)))
3837breq2d 3776 . . 3 (𝜑 → ((⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)<P ((𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩) ↔ (⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)<P (𝐿 +P (⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩))))
3925, 35, 383bitr4d 209 . 2 (𝜑 → ((𝑅 +Q 𝑄) ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩)) ↔ (⟨{𝑙𝑙 <Q 𝑅}, {𝑢𝑅 <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)<P ((𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩) +P ⟨{𝑙𝑙 <Q 𝑄}, {𝑢𝑄 <Q 𝑢}⟩)))
4017, 19, 393bitr4rd 210 1 (𝜑 → ((𝑅 +Q 𝑄) ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q (𝑆 +Q 𝑄)}, {𝑢 ∣ (𝑆 +Q 𝑄) <Q 𝑢}⟩)) ↔ 𝑅 ∈ (1st ‘(𝐿 +P ⟨{𝑙𝑙 <Q 𝑆}, {𝑢𝑆 <Q 𝑢}⟩))))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 97   ↔ wb 98   ∧ w3a 885   = wceq 1243   ∈ wcel 1393  {cab 2026  ⟨cop 3378   class class class wbr 3764  ‘cfv 4902  (class class class)co 5512  1st c1st 5765  Qcnq 6378   +Q cplq 6380
 Copyright terms: Public domain W3C validator