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

Theorem ltexprlem7 10027
 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
ltexprlem7 (((𝐴P𝐵P) ∧ 𝐴𝐵) → 𝐵 ⊆ (𝐴 +P 𝐶))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶
Allowed substitution hint:   𝐶(𝑦)

Proof of Theorem ltexprlem7
Dummy variables 𝑧 𝑤 𝑣 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ltexprlem.1 . . . . . . . 8 𝐶 = {𝑥 ∣ ∃𝑦𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵)}
21ltexprlem5 10025 . . . . . . 7 ((𝐵P𝐴𝐵) → 𝐶P)
3 ltaddpr 10019 . . . . . . . . . . . . . 14 ((𝐴P𝐶P) → 𝐴<P (𝐴 +P 𝐶))
4 addclpr 10003 . . . . . . . . . . . . . . 15 ((𝐴P𝐶P) → (𝐴 +P 𝐶) ∈ P)
5 ltprord 10015 . . . . . . . . . . . . . . 15 ((𝐴P ∧ (𝐴 +P 𝐶) ∈ P) → (𝐴<P (𝐴 +P 𝐶) ↔ 𝐴 ⊊ (𝐴 +P 𝐶)))
64, 5syldan 488 . . . . . . . . . . . . . 14 ((𝐴P𝐶P) → (𝐴<P (𝐴 +P 𝐶) ↔ 𝐴 ⊊ (𝐴 +P 𝐶)))
73, 6mpbid 222 . . . . . . . . . . . . 13 ((𝐴P𝐶P) → 𝐴 ⊊ (𝐴 +P 𝐶))
87pssssd 3834 . . . . . . . . . . . 12 ((𝐴P𝐶P) → 𝐴 ⊆ (𝐴 +P 𝐶))
98sseld 3731 . . . . . . . . . . 11 ((𝐴P𝐶P) → (𝑤𝐴𝑤 ∈ (𝐴 +P 𝐶)))
1092a1d 26 . . . . . . . . . 10 ((𝐴P𝐶P) → (𝐵P → (𝑤𝐵 → (𝑤𝐴𝑤 ∈ (𝐴 +P 𝐶)))))
1110com4r 94 . . . . . . . . 9 (𝑤𝐴 → ((𝐴P𝐶P) → (𝐵P → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶)))))
1211expd 451 . . . . . . . 8 (𝑤𝐴 → (𝐴P → (𝐶P → (𝐵P → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶))))))
13 prnmadd 9982 . . . . . . . . . . . 12 ((𝐵P𝑤𝐵) → ∃𝑣(𝑤 +Q 𝑣) ∈ 𝐵)
1413ex 449 . . . . . . . . . . 11 (𝐵P → (𝑤𝐵 → ∃𝑣(𝑤 +Q 𝑣) ∈ 𝐵))
15 elprnq 9976 . . . . . . . . . . . . . . . 16 ((𝐵P ∧ (𝑤 +Q 𝑣) ∈ 𝐵) → (𝑤 +Q 𝑣) ∈ Q)
16 addnqf 9933 . . . . . . . . . . . . . . . . . 18 +Q :(Q × Q)⟶Q
1716fdmi 6201 . . . . . . . . . . . . . . . . 17 dom +Q = (Q × Q)
18 0nnq 9909 . . . . . . . . . . . . . . . . 17 ¬ ∅ ∈ Q
1917, 18ndmovrcl 6973 . . . . . . . . . . . . . . . 16 ((𝑤 +Q 𝑣) ∈ Q → (𝑤Q𝑣Q))
2015, 19syl 17 . . . . . . . . . . . . . . 15 ((𝐵P ∧ (𝑤 +Q 𝑣) ∈ 𝐵) → (𝑤Q𝑣Q))
2120simpld 477 . . . . . . . . . . . . . 14 ((𝐵P ∧ (𝑤 +Q 𝑣) ∈ 𝐵) → 𝑤Q)
22 vex 3331 . . . . . . . . . . . . . . . . . . 19 𝑣 ∈ V
2322prlem934 10018 . . . . . . . . . . . . . . . . . 18 (𝐴P → ∃𝑧𝐴 ¬ (𝑧 +Q 𝑣) ∈ 𝐴)
2423adantr 472 . . . . . . . . . . . . . . . . 17 ((𝐴P𝐶P) → ∃𝑧𝐴 ¬ (𝑧 +Q 𝑣) ∈ 𝐴)
25 prub 9979 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴P𝑧𝐴) ∧ 𝑤Q) → (¬ 𝑤𝐴𝑧 <Q 𝑤))
26 ltexnq 9960 . . . . . . . . . . . . . . . . . . . . . 22 (𝑤Q → (𝑧 <Q 𝑤 ↔ ∃𝑥(𝑧 +Q 𝑥) = 𝑤))
2726adantl 473 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴P𝑧𝐴) ∧ 𝑤Q) → (𝑧 <Q 𝑤 ↔ ∃𝑥(𝑧 +Q 𝑥) = 𝑤))
2825, 27sylibd 229 . . . . . . . . . . . . . . . . . . . 20 (((𝐴P𝑧𝐴) ∧ 𝑤Q) → (¬ 𝑤𝐴 → ∃𝑥(𝑧 +Q 𝑥) = 𝑤))
2928ex 449 . . . . . . . . . . . . . . . . . . 19 ((𝐴P𝑧𝐴) → (𝑤Q → (¬ 𝑤𝐴 → ∃𝑥(𝑧 +Q 𝑥) = 𝑤)))
3029ad2ant2r 800 . . . . . . . . . . . . . . . . . 18 (((𝐴P𝐶P) ∧ (𝑧𝐴 ∧ ¬ (𝑧 +Q 𝑣) ∈ 𝐴)) → (𝑤Q → (¬ 𝑤𝐴 → ∃𝑥(𝑧 +Q 𝑥) = 𝑤)))
31 vex 3331 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 𝑧 ∈ V
32 vex 3331 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 𝑥 ∈ V
33 addcomnq 9936 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑓 +Q 𝑔) = (𝑔 +Q 𝑓)
34 addassnq 9943 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝑓 +Q 𝑔) +Q ) = (𝑓 +Q (𝑔 +Q ))
3531, 22, 32, 33, 34caov32 7014 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑧 +Q 𝑣) +Q 𝑥) = ((𝑧 +Q 𝑥) +Q 𝑣)
36 oveq1 6808 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑧 +Q 𝑥) = 𝑤 → ((𝑧 +Q 𝑥) +Q 𝑣) = (𝑤 +Q 𝑣))
3735, 36syl5eq 2794 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑧 +Q 𝑥) = 𝑤 → ((𝑧 +Q 𝑣) +Q 𝑥) = (𝑤 +Q 𝑣))
3837eleq1d 2812 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑧 +Q 𝑥) = 𝑤 → (((𝑧 +Q 𝑣) +Q 𝑥) ∈ 𝐵 ↔ (𝑤 +Q 𝑣) ∈ 𝐵))
3938biimpar 503 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝑧 +Q 𝑥) = 𝑤 ∧ (𝑤 +Q 𝑣) ∈ 𝐵) → ((𝑧 +Q 𝑣) +Q 𝑥) ∈ 𝐵)
40 ovex 6829 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑧 +Q 𝑣) ∈ V
41 eleq1 2815 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑦 = (𝑧 +Q 𝑣) → (𝑦𝐴 ↔ (𝑧 +Q 𝑣) ∈ 𝐴))
4241notbid 307 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑦 = (𝑧 +Q 𝑣) → (¬ 𝑦𝐴 ↔ ¬ (𝑧 +Q 𝑣) ∈ 𝐴))
43 oveq1 6808 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑦 = (𝑧 +Q 𝑣) → (𝑦 +Q 𝑥) = ((𝑧 +Q 𝑣) +Q 𝑥))
4443eleq1d 2812 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑦 = (𝑧 +Q 𝑣) → ((𝑦 +Q 𝑥) ∈ 𝐵 ↔ ((𝑧 +Q 𝑣) +Q 𝑥) ∈ 𝐵))
4542, 44anbi12d 749 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑦 = (𝑧 +Q 𝑣) → ((¬ 𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵) ↔ (¬ (𝑧 +Q 𝑣) ∈ 𝐴 ∧ ((𝑧 +Q 𝑣) +Q 𝑥) ∈ 𝐵)))
4640, 45spcev 3428 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((¬ (𝑧 +Q 𝑣) ∈ 𝐴 ∧ ((𝑧 +Q 𝑣) +Q 𝑥) ∈ 𝐵) → ∃𝑦𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵))
471abeq2i 2861 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑥𝐶 ↔ ∃𝑦𝑦𝐴 ∧ (𝑦 +Q 𝑥) ∈ 𝐵))
4846, 47sylibr 224 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((¬ (𝑧 +Q 𝑣) ∈ 𝐴 ∧ ((𝑧 +Q 𝑣) +Q 𝑥) ∈ 𝐵) → 𝑥𝐶)
4939, 48sylan2 492 . . . . . . . . . . . . . . . . . . . . . . . 24 ((¬ (𝑧 +Q 𝑣) ∈ 𝐴 ∧ ((𝑧 +Q 𝑥) = 𝑤 ∧ (𝑤 +Q 𝑣) ∈ 𝐵)) → 𝑥𝐶)
50 df-plp 9968 . . . . . . . . . . . . . . . . . . . . . . . . 25 +P = (𝑥P, 𝑤P ↦ {𝑧 ∣ ∃𝑓𝑥𝑣𝑤 𝑧 = (𝑓 +Q 𝑣)})
51 addclnq 9930 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑓Q𝑣Q) → (𝑓 +Q 𝑣) ∈ Q)
5250, 51genpprecl 9986 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴P𝐶P) → ((𝑧𝐴𝑥𝐶) → (𝑧 +Q 𝑥) ∈ (𝐴 +P 𝐶)))
5349, 52sylan2i 690 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴P𝐶P) → ((𝑧𝐴 ∧ (¬ (𝑧 +Q 𝑣) ∈ 𝐴 ∧ ((𝑧 +Q 𝑥) = 𝑤 ∧ (𝑤 +Q 𝑣) ∈ 𝐵))) → (𝑧 +Q 𝑥) ∈ (𝐴 +P 𝐶)))
5453exp4d 638 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴P𝐶P) → (𝑧𝐴 → (¬ (𝑧 +Q 𝑣) ∈ 𝐴 → (((𝑧 +Q 𝑥) = 𝑤 ∧ (𝑤 +Q 𝑣) ∈ 𝐵) → (𝑧 +Q 𝑥) ∈ (𝐴 +P 𝐶)))))
5554imp42 621 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴P𝐶P) ∧ (𝑧𝐴 ∧ ¬ (𝑧 +Q 𝑣) ∈ 𝐴)) ∧ ((𝑧 +Q 𝑥) = 𝑤 ∧ (𝑤 +Q 𝑣) ∈ 𝐵)) → (𝑧 +Q 𝑥) ∈ (𝐴 +P 𝐶))
56 eleq1 2815 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 +Q 𝑥) = 𝑤 → ((𝑧 +Q 𝑥) ∈ (𝐴 +P 𝐶) ↔ 𝑤 ∈ (𝐴 +P 𝐶)))
5756ad2antrl 766 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴P𝐶P) ∧ (𝑧𝐴 ∧ ¬ (𝑧 +Q 𝑣) ∈ 𝐴)) ∧ ((𝑧 +Q 𝑥) = 𝑤 ∧ (𝑤 +Q 𝑣) ∈ 𝐵)) → ((𝑧 +Q 𝑥) ∈ (𝐴 +P 𝐶) ↔ 𝑤 ∈ (𝐴 +P 𝐶)))
5855, 57mpbid 222 . . . . . . . . . . . . . . . . . . . 20 ((((𝐴P𝐶P) ∧ (𝑧𝐴 ∧ ¬ (𝑧 +Q 𝑣) ∈ 𝐴)) ∧ ((𝑧 +Q 𝑥) = 𝑤 ∧ (𝑤 +Q 𝑣) ∈ 𝐵)) → 𝑤 ∈ (𝐴 +P 𝐶))
5958exp32 632 . . . . . . . . . . . . . . . . . . 19 (((𝐴P𝐶P) ∧ (𝑧𝐴 ∧ ¬ (𝑧 +Q 𝑣) ∈ 𝐴)) → ((𝑧 +Q 𝑥) = 𝑤 → ((𝑤 +Q 𝑣) ∈ 𝐵𝑤 ∈ (𝐴 +P 𝐶))))
6059exlimdv 1998 . . . . . . . . . . . . . . . . . 18 (((𝐴P𝐶P) ∧ (𝑧𝐴 ∧ ¬ (𝑧 +Q 𝑣) ∈ 𝐴)) → (∃𝑥(𝑧 +Q 𝑥) = 𝑤 → ((𝑤 +Q 𝑣) ∈ 𝐵𝑤 ∈ (𝐴 +P 𝐶))))
6130, 60syl6d 75 . . . . . . . . . . . . . . . . 17 (((𝐴P𝐶P) ∧ (𝑧𝐴 ∧ ¬ (𝑧 +Q 𝑣) ∈ 𝐴)) → (𝑤Q → (¬ 𝑤𝐴 → ((𝑤 +Q 𝑣) ∈ 𝐵𝑤 ∈ (𝐴 +P 𝐶)))))
6224, 61rexlimddv 3161 . . . . . . . . . . . . . . . 16 ((𝐴P𝐶P) → (𝑤Q → (¬ 𝑤𝐴 → ((𝑤 +Q 𝑣) ∈ 𝐵𝑤 ∈ (𝐴 +P 𝐶)))))
6362com14 96 . . . . . . . . . . . . . . 15 ((𝑤 +Q 𝑣) ∈ 𝐵 → (𝑤Q → (¬ 𝑤𝐴 → ((𝐴P𝐶P) → 𝑤 ∈ (𝐴 +P 𝐶)))))
6463adantl 473 . . . . . . . . . . . . . 14 ((𝐵P ∧ (𝑤 +Q 𝑣) ∈ 𝐵) → (𝑤Q → (¬ 𝑤𝐴 → ((𝐴P𝐶P) → 𝑤 ∈ (𝐴 +P 𝐶)))))
6521, 64mpd 15 . . . . . . . . . . . . 13 ((𝐵P ∧ (𝑤 +Q 𝑣) ∈ 𝐵) → (¬ 𝑤𝐴 → ((𝐴P𝐶P) → 𝑤 ∈ (𝐴 +P 𝐶))))
6665ex 449 . . . . . . . . . . . 12 (𝐵P → ((𝑤 +Q 𝑣) ∈ 𝐵 → (¬ 𝑤𝐴 → ((𝐴P𝐶P) → 𝑤 ∈ (𝐴 +P 𝐶)))))
6766exlimdv 1998 . . . . . . . . . . 11 (𝐵P → (∃𝑣(𝑤 +Q 𝑣) ∈ 𝐵 → (¬ 𝑤𝐴 → ((𝐴P𝐶P) → 𝑤 ∈ (𝐴 +P 𝐶)))))
6814, 67syld 47 . . . . . . . . . 10 (𝐵P → (𝑤𝐵 → (¬ 𝑤𝐴 → ((𝐴P𝐶P) → 𝑤 ∈ (𝐴 +P 𝐶)))))
6968com4t 93 . . . . . . . . 9 𝑤𝐴 → ((𝐴P𝐶P) → (𝐵P → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶)))))
7069expd 451 . . . . . . . 8 𝑤𝐴 → (𝐴P → (𝐶P → (𝐵P → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶))))))
7112, 70pm2.61i 176 . . . . . . 7 (𝐴P → (𝐶P → (𝐵P → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶)))))
722, 71syl5 34 . . . . . 6 (𝐴P → ((𝐵P𝐴𝐵) → (𝐵P → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶)))))
7372expd 451 . . . . 5 (𝐴P → (𝐵P → (𝐴𝐵 → (𝐵P → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶))))))
7473com34 91 . . . 4 (𝐴P → (𝐵P → (𝐵P → (𝐴𝐵 → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶))))))
7574pm2.43d 53 . . 3 (𝐴P → (𝐵P → (𝐴𝐵 → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶)))))
7675imp31 447 . 2 (((𝐴P𝐵P) ∧ 𝐴𝐵) → (𝑤𝐵𝑤 ∈ (𝐴 +P 𝐶)))
7776ssrdv 3738 1 (((𝐴P𝐵P) ∧ 𝐴𝐵) → 𝐵 ⊆ (𝐴 +P 𝐶))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 196   ∧ wa 383   = wceq 1620  ∃wex 1841   ∈ wcel 2127  {cab 2734  ∃wrex 3039   ⊆ wss 3703   ⊊ wpss 3704   class class class wbr 4792   × cxp 5252  (class class class)co 6801  Qcnq 9837   +Q cplq 9840
 Copyright terms: Public domain W3C validator