Metamath Proof Explorer


Theorem ppisval2

Description: The set of primes less than A expressed using a finite set of integers. (Contributed by Mario Carneiro, 22-Sep-2014)

Ref Expression
Assertion ppisval2 A 2 M 0 A = M A

Proof

Step Hyp Ref Expression
1 ppisval A 0 A = 2 A
2 1 adantr A 2 M 0 A = 2 A
3 fzss1 2 M 2 A M A
4 3 adantl A 2 M 2 A M A
5 4 ssrind A 2 M 2 A M A
6 elin x M A x M A x
7 6 bilani A 2 M x M A x M A x
8 7 simprd A 2 M x M A x
9 prmuz2 x x 2
10 8 9 syl A 2 M x M A x 2
11 7 simpld A 2 M x M A x M A
12 elfzuz3 x M A A x
13 11 12 syl A 2 M x M A A x
14 elfzuzb x 2 A x 2 A x
15 10 13 14 sylanbrc A 2 M x M A x 2 A
16 15 8 elind A 2 M x M A x 2 A
17 5 16 eqelssd A 2 M 2 A = M A
18 2 17 eqtrd A 2 M 0 A = M A