Metamath Proof Explorer


Definition df-rqp

Description: There is a unique element of ( ZZ ^m ( 0 ... ( p - 1 ) ) ) ~Qp -equivalent to any element of ( ZZ ^m ZZ ) , if the sequences are zero for sufficiently large negative values; this function selects that element. (Contributed by Mario Carneiro, 2-Dec-2014)

Ref Expression
Assertion df-rqp ⊢ /ℚp = p ∈ ℙ ⟼ ~ℚp ∩ ⦋ f ∈ ℤ ℤ | ∃ x ∈ ran ⁡ ℤ ≥ f -1 ℤ ∖ 0 ⊆ x / y⦌ y × y ∩ ℤ 0 … p − 1

Detailed syntax breakdown

Step Hyp Ref Expression
0 crqp class /ℚp
1 vp setvar p
2 cprime class ℙ
3 ceqp class ~ℚp
4 vf setvar f
5 cz class ℤ
6 cmap class ↑ 𝑚
7 5 5 6 co class ℤ ℤ
8 vx setvar x
9 cuz class ℤ ≥
10 9 crn class ran ⁡ ℤ ≥
11 4 cv setvar f
12 11 ccnv class f -1
13 cc0 class 0
14 13 csn class 0
15 5 14 cdif class ℤ ∖ 0
16 12 15 cima class f -1 ℤ ∖ 0
17 8 cv setvar x
18 16 17 wss wff f -1 ℤ ∖ 0 ⊆ x
19 18 8 10 wrex wff ∃ x ∈ ran ⁡ ℤ ≥ f -1 ℤ ∖ 0 ⊆ x
20 19 4 7 crab class f ∈ ℤ ℤ | ∃ x ∈ ran ⁡ ℤ ≥ f -1 ℤ ∖ 0 ⊆ x
21 vy setvar y
22 21 cv setvar y
23 cfz class …
24 1 cv setvar p
25 cmin class −
26 c1 class 1
27 24 26 25 co class p − 1
28 13 27 23 co class 0 … p − 1
29 5 28 6 co class ℤ 0 … p − 1
30 22 29 cin class y ∩ ℤ 0 … p − 1
31 22 30 cxp class y × y ∩ ℤ 0 … p − 1
32 21 20 31 csb class ⦋ f ∈ ℤ ℤ | ∃ x ∈ ran ⁡ ℤ ≥ f -1 ℤ ∖ 0 ⊆ x / y⦌ y × y ∩ ℤ 0 … p − 1
33 3 32 cin class ~ℚp ∩ ⦋ f ∈ ℤ ℤ | ∃ x ∈ ran ⁡ ℤ ≥ f -1 ℤ ∖ 0 ⊆ x / y⦌ y × y ∩ ℤ 0 … p − 1
34 1 2 33 cmpt class p ∈ ℙ ⟼ ~ℚp ∩ ⦋ f ∈ ℤ ℤ | ∃ x ∈ ran ⁡ ℤ ≥ f -1 ℤ ∖ 0 ⊆ x / y⦌ y × y ∩ ℤ 0 … p − 1
35 0 34 wceq wff /ℚp = p ∈ ℙ ⟼ ~ℚp ∩ ⦋ f ∈ ℤ ℤ | ∃ x ∈ ran ⁡ ℤ ≥ f -1 ℤ ∖ 0 ⊆ x / y⦌ y × y ∩ ℤ 0 … p − 1