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

Definition df-iplp 7847
Description: Define addition on positive reals. From Section 11.2.1 of [HoTT], p. (varies). We write this definition to closely resemble the definition in HoTT although some of the conditions are redundant (for example, 𝑟 ∈ (1st ‘𝑥) implies 𝑟 ∈ Q) and can be simplified as shown at genpdf 7887.

This is a "temporary" set used in the construction of complex numbers, and is intended to be used only by the construction. (Contributed by Jim Kingdon, 26-Sep-2019.)

Assertion
Ref Expression
df-iplp +P = (𝑥 ∈ P, 𝑦 ∈ P ↦ ⟨{𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (1st ‘𝑥) ∧ 𝑠 ∈ (1st ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}, {𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (2nd ‘𝑥) ∧ 𝑠 ∈ (2nd ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}⟩)
Distinct variable group:   𝑥,𝑦,𝑞,𝑟,𝑠

Detailed syntax breakdown of Definition df-iplp
StepHypRef Expression
1 cpp 7672 . 2 class +P
2 vx . . 3 setvar 𝑥
3 vy . . 3 setvar 𝑦
4 cnp 7670 . . 3 class P
5 vr . . . . . . . . . 10 setvar 𝑟
65cv 1401 . . . . . . . . 9 class 𝑟
72cv 1401 . . . . . . . . . 10 class 𝑥
8 c1st 6380 . . . . . . . . . 10 class 1st
97, 8cfv 5384 . . . . . . . . 9 class (1st ‘𝑥)
106, 9wcel 2209 . . . . . . . 8 wff 𝑟 ∈ (1st ‘𝑥)
11 vs . . . . . . . . . 10 setvar 𝑠
1211cv 1401 . . . . . . . . 9 class 𝑠
133cv 1401 . . . . . . . . . 10 class 𝑦
1413, 8cfv 5384 . . . . . . . . 9 class (1st ‘𝑦)
1512, 14wcel 2209 . . . . . . . 8 wff 𝑠 ∈ (1st ‘𝑦)
16 vq . . . . . . . . . 10 setvar 𝑞
1716cv 1401 . . . . . . . . 9 class 𝑞
18 cplq 7661 . . . . . . . . . 10 class +Q
196, 12, 18co 6092 . . . . . . . . 9 class (𝑟 +Q 𝑠)
2017, 19wceq 1402 . . . . . . . 8 wff 𝑞 = (𝑟 +Q 𝑠)
2110, 15, 20w3a 1009 . . . . . . 7 wff (𝑟 ∈ (1st ‘𝑥) ∧ 𝑠 ∈ (1st ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))
22 cnq 7659 . . . . . . 7 class Q
2321, 11, 22wrex 2529 . . . . . 6 wff ∃𝑠 ∈ Q (𝑟 ∈ (1st ‘𝑥) ∧ 𝑠 ∈ (1st ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))
2423, 5, 22wrex 2529 . . . . 5 wff ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (1st ‘𝑥) ∧ 𝑠 ∈ (1st ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))
2524, 16, 22crab 2532 . . . 4 class {𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (1st ‘𝑥) ∧ 𝑠 ∈ (1st ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}
26 c2nd 6381 . . . . . . . . . 10 class 2nd
277, 26cfv 5384 . . . . . . . . 9 class (2nd ‘𝑥)
286, 27wcel 2209 . . . . . . . 8 wff 𝑟 ∈ (2nd ‘𝑥)
2913, 26cfv 5384 . . . . . . . . 9 class (2nd ‘𝑦)
3012, 29wcel 2209 . . . . . . . 8 wff 𝑠 ∈ (2nd ‘𝑦)
3128, 30, 20w3a 1009 . . . . . . 7 wff (𝑟 ∈ (2nd ‘𝑥) ∧ 𝑠 ∈ (2nd ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))
3231, 11, 22wrex 2529 . . . . . 6 wff ∃𝑠 ∈ Q (𝑟 ∈ (2nd ‘𝑥) ∧ 𝑠 ∈ (2nd ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))
3332, 5, 22wrex 2529 . . . . 5 wff ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (2nd ‘𝑥) ∧ 𝑠 ∈ (2nd ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))
3433, 16, 22crab 2532 . . . 4 class {𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (2nd ‘𝑥) ∧ 𝑠 ∈ (2nd ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}
3525, 34cop 3712 . . 3 class ⟨{𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (1st ‘𝑥) ∧ 𝑠 ∈ (1st ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}, {𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (2nd ‘𝑥) ∧ 𝑠 ∈ (2nd ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}⟩
362, 3, 4, 4, 35cmpo 6094 . 2 class (𝑥 ∈ P, 𝑦 ∈ P ↦ ⟨{𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (1st ‘𝑥) ∧ 𝑠 ∈ (1st ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}, {𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (2nd ‘𝑥) ∧ 𝑠 ∈ (2nd ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}⟩)
371, 36wceq 1402 1 wff +P = (𝑥 ∈ P, 𝑦 ∈ P ↦ ⟨{𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (1st ‘𝑥) ∧ 𝑠 ∈ (1st ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}, {𝑞 ∈ Q ∣ ∃𝑟 ∈ Q ∃𝑠 ∈ Q (𝑟 ∈ (2nd ‘𝑥) ∧ 𝑠 ∈ (2nd ‘𝑦) ∧ 𝑞 = (𝑟 +Q 𝑠))}⟩)
Colors of variables:    wff set class
This definition is used by:  addnqprl  7908  addnqpru  7909  addclpr  7916  plpvlu  7917  dmplp  7919  addnqprlemrl  7936  addnqprlemru  7937  addassprg  7958  distrlem1prl  7961  distrlem1pru  7962  distrlem4prl  7963  distrlem4pru  7964  distrlem5prl  7965  distrlem5pru  7966  ltaddpr  7976  ltexprlemfl  7988  ltexprlemrl  7989  ltexprlemfu  7990  ltexprlemru  7991  addcanprleml  7993  addcanprlemu  7994  cauappcvgprlemladdfu  8033  cauappcvgprlemladdfl  8034  caucvgprlemladdfu  8056
  Copyright terms: Public domain W3C validator