Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  ltexprlem6 Structured version   Visualization version   GIF version

Theorem ltexprlem6 9901
 Description: Lemma for Proposition 9-3.5(iv) of [Gleason] p. 123. (Contributed by NM, 8-Apr-1996.) (Revised by Mario Carneiro, 12-Jun-2013.) (New usage is discouraged.)
Hypothesis
Ref Expression
ltexprlem.1 𝐶 = {𝑥 ∣ ∃𝑦𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵)}
Assertion
Ref Expression
ltexprlem6 (((𝐴P𝐵P) ∧ 𝐴𝐵) → (𝐴 +P 𝐶) ⊆ 𝐵)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶
Allowed substitution hint:   𝐶(𝑦)

Proof of Theorem ltexprlem6
Dummy variables 𝑧 𝑤 𝑣 𝑓 𝑔 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ltexprlem.1 . . . . . 6 𝐶 = {𝑥 ∣ ∃𝑦𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵)}
21ltexprlem5 9900 . . . . 5 ((𝐵P𝐴𝐵) → 𝐶P)
3 df-plp 9843 . . . . . 6 +P = (𝑧P, 𝑦P ↦ {𝑓 ∣ ∃𝑔𝑧𝑦 𝑓 = (𝑔 +Q )})
4 addclnq 9805 . . . . . 6 ((𝑔QQ) → (𝑔 +Q ) ∈ Q)
53, 4genpelv 9860 . . . . 5 ((𝐴P𝐶P) → (𝑧 ∈ (𝐴 +P 𝐶) ↔ ∃𝑤𝐴𝑥𝐶 𝑧 = (𝑤 +Q 𝑥)))
62, 5sylan2 490 . . . 4 ((𝐴P ∧ (𝐵P𝐴𝐵)) → (𝑧 ∈ (𝐴 +P 𝐶) ↔ ∃𝑤𝐴𝑥𝐶 𝑧 = (𝑤 +Q 𝑥)))
71abeq2i 2764 . . . . . . . . . . . 12 (𝑥𝐶 ↔ ∃𝑦𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵))
8 elprnq 9851 . . . . . . . . . . . . . . . . . . 19 ((𝐵P ∧ (𝑦 +Q 𝑥) ∈ 𝐵) → (𝑦 +Q 𝑥) ∈ Q)
9 addnqf 9808 . . . . . . . . . . . . . . . . . . . . . 22 +Q :(Q × Q)⟶Q
109fdmi 6090 . . . . . . . . . . . . . . . . . . . . 21 dom +Q = (Q × Q)
11 0nnq 9784 . . . . . . . . . . . . . . . . . . . . 21 ¬ ∅ ∈ Q
1210, 11ndmovrcl 6862 . . . . . . . . . . . . . . . . . . . 20 ((𝑦 +Q 𝑥) ∈ Q → (𝑦Q𝑥Q))
1312simpld 474 . . . . . . . . . . . . . . . . . . 19 ((𝑦 +Q 𝑥) ∈ Q𝑦Q)
148, 13syl 17 . . . . . . . . . . . . . . . . . 18 ((𝐵P ∧ (𝑦 +Q 𝑥) ∈ 𝐵) → 𝑦Q)
15 prub 9854 . . . . . . . . . . . . . . . . . 18 (((𝐴P𝑤𝐴) ∧ 𝑦Q) → (¬ 𝑦𝐴𝑤 <Q 𝑦))
1614, 15sylan2 490 . . . . . . . . . . . . . . . . 17 (((𝐴P𝑤𝐴) ∧ (𝐵P ∧ (𝑦 +Q 𝑥) ∈ 𝐵)) → (¬ 𝑦𝐴𝑤 <Q 𝑦))
1712simprd 478 . . . . . . . . . . . . . . . . . . . 20 ((𝑦 +Q 𝑥) ∈ Q𝑥Q)
18 vex 3234 . . . . . . . . . . . . . . . . . . . . 21 𝑤 ∈ V
19 vex 3234 . . . . . . . . . . . . . . . . . . . . 21 𝑦 ∈ V
20 ltanq 9831 . . . . . . . . . . . . . . . . . . . . 21 (𝑢Q → (𝑧 <Q 𝑣 ↔ (𝑢 +Q 𝑧) <Q (𝑢 +Q 𝑣)))
21 vex 3234 . . . . . . . . . . . . . . . . . . . . 21 𝑥 ∈ V
22 addcomnq 9811 . . . . . . . . . . . . . . . . . . . . 21 (𝑧 +Q 𝑣) = (𝑣 +Q 𝑧)
2318, 19, 20, 21, 22caovord2 6888 . . . . . . . . . . . . . . . . . . . 20 (𝑥Q → (𝑤 <Q 𝑦 ↔ (𝑤 +Q 𝑥) <Q (𝑦 +Q 𝑥)))
248, 17, 233syl 18 . . . . . . . . . . . . . . . . . . 19 ((𝐵P ∧ (𝑦 +Q 𝑥) ∈ 𝐵) → (𝑤 <Q 𝑦 ↔ (𝑤 +Q 𝑥) <Q (𝑦 +Q 𝑥)))
25 prcdnq 9853 . . . . . . . . . . . . . . . . . . 19 ((𝐵P ∧ (𝑦 +Q 𝑥) ∈ 𝐵) → ((𝑤 +Q 𝑥) <Q (𝑦 +Q 𝑥) → (𝑤 +Q 𝑥) ∈ 𝐵))
2624, 25sylbid 230 . . . . . . . . . . . . . . . . . 18 ((𝐵P ∧ (𝑦 +Q 𝑥) ∈ 𝐵) → (𝑤 <Q 𝑦 → (𝑤 +Q 𝑥) ∈ 𝐵))
2726adantl 481 . . . . . . . . . . . . . . . . 17 (((𝐴P𝑤𝐴) ∧ (𝐵P ∧ (𝑦 +Q 𝑥) ∈ 𝐵)) → (𝑤 <Q 𝑦 → (𝑤 +Q 𝑥) ∈ 𝐵))
2816, 27syld 47 . . . . . . . . . . . . . . . 16 (((𝐴P𝑤𝐴) ∧ (𝐵P ∧ (𝑦 +Q 𝑥) ∈ 𝐵)) → (¬ 𝑦𝐴 → (𝑤 +Q 𝑥) ∈ 𝐵))
2928exp32 630 . . . . . . . . . . . . . . 15 ((𝐴P𝑤𝐴) → (𝐵P → ((𝑦 +Q 𝑥) ∈ 𝐵 → (¬ 𝑦𝐴 → (𝑤 +Q 𝑥) ∈ 𝐵))))
3029com34 91 . . . . . . . . . . . . . 14 ((𝐴P𝑤𝐴) → (𝐵P → (¬ 𝑦𝐴 → ((𝑦 +Q 𝑥) ∈ 𝐵 → (𝑤 +Q 𝑥) ∈ 𝐵))))
3130imp4b 612 . . . . . . . . . . . . 13 (((𝐴P𝑤𝐴) ∧ 𝐵P) → ((¬ 𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵) → (𝑤 +Q 𝑥) ∈ 𝐵))
3231exlimdv 1901 . . . . . . . . . . . 12 (((𝐴P𝑤𝐴) ∧ 𝐵P) → (∃𝑦𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵) → (𝑤 +Q 𝑥) ∈ 𝐵))
337, 32syl5bi 232 . . . . . . . . . . 11 (((𝐴P𝑤𝐴) ∧ 𝐵P) → (𝑥𝐶 → (𝑤 +Q 𝑥) ∈ 𝐵))
3433exp31 629 . . . . . . . . . 10 (𝐴P → (𝑤𝐴 → (𝐵P → (𝑥𝐶 → (𝑤 +Q 𝑥) ∈ 𝐵))))
3534com23 86 . . . . . . . . 9 (𝐴P → (𝐵P → (𝑤𝐴 → (𝑥𝐶 → (𝑤 +Q 𝑥) ∈ 𝐵))))
3635imp43 620 . . . . . . . 8 (((𝐴P𝐵P) ∧ (𝑤𝐴𝑥𝐶)) → (𝑤 +Q 𝑥) ∈ 𝐵)
37 eleq1 2718 . . . . . . . . 9 (𝑧 = (𝑤 +Q 𝑥) → (𝑧𝐵 ↔ (𝑤 +Q 𝑥) ∈ 𝐵))
3837biimparc 503 . . . . . . . 8 (((𝑤 +Q 𝑥) ∈ 𝐵𝑧 = (𝑤 +Q 𝑥)) → 𝑧𝐵)
3936, 38sylan 487 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝑤𝐴𝑥𝐶)) ∧ 𝑧 = (𝑤 +Q 𝑥)) → 𝑧𝐵)
4039exp31 629 . . . . . 6 ((𝐴P𝐵P) → ((𝑤𝐴𝑥𝐶) → (𝑧 = (𝑤 +Q 𝑥) → 𝑧𝐵)))
4140rexlimdvv 3066 . . . . 5 ((𝐴P𝐵P) → (∃𝑤𝐴𝑥𝐶 𝑧 = (𝑤 +Q 𝑥) → 𝑧𝐵))
4241adantrr 753 . . . 4 ((𝐴P ∧ (𝐵P𝐴𝐵)) → (∃𝑤𝐴𝑥𝐶 𝑧 = (𝑤 +Q 𝑥) → 𝑧𝐵))
436, 42sylbid 230 . . 3 ((𝐴P ∧ (𝐵P𝐴𝐵)) → (𝑧 ∈ (𝐴 +P 𝐶) → 𝑧𝐵))
4443ssrdv 3642 . 2 ((𝐴P ∧ (𝐵P𝐴𝐵)) → (𝐴 +P 𝐶) ⊆ 𝐵)
4544anassrs 681 1 (((𝐴P𝐵P) ∧ 𝐴𝐵) → (𝐴 +P 𝐶) ⊆ 𝐵)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 196   ∧ wa 383   = wceq 1523  ∃wex 1744   ∈ wcel 2030  {cab 2637  ∃wrex 2942   ⊆ wss 3607   ⊊ wpss 3608   class class class wbr 4685   × cxp 5141  (class class class)co 6690  Qcnq 9712   +Q cplq 9715
 Copyright terms: Public domain W3C validator