Metamath Proof Explorer


Definition df-fppr

Description: Define the function that maps a positive integer to the set ofFermat pseudoprimes to the base of this positive integer. Since Fermat pseudoprimes shall be composite (positive) integers, they must be nonprime integers greater than or equal to 4 (we cannot use x e. NN /\ x e/ Prime because x = 1 would fulfil this requirement, but should not be regarded as "composite" integer). (Contributed by AV, 29-May-2023)

Ref Expression
Assertion df-fppr FPPr = n x 4 | x x n x 1 1

Detailed syntax breakdown

Step Hyp Ref Expression
0 cfppr class FPPr
1 vn setvar n
2 cn class
3 vx setvar x
4 cuz class
5 c4 class 4
6 5 4 cfv class 4
7 3 cv setvar x
8 cprime class
9 7 8 wnel wff x
10 cdvds class
11 1 cv setvar n
12 cexp class ^
13 cmin class
14 c1 class 1
15 7 14 13 co class x 1
16 11 15 12 co class n x 1
17 16 14 13 co class n x 1 1
18 7 17 10 wbr wff x n x 1 1
19 9 18 wa wff x x n x 1 1
20 19 3 6 crab class x 4 | x x n x 1 1
21 1 2 20 cmpt class n x 4 | x x n x 1 1
22 0 21 wceq wff FPPr = n x 4 | x x n x 1 1