Description: The prime gap theorem: for each positive integer there are (at least) two successive primes with a difference ("gap") at least as big as the given integer. (Contributed by AV, 13-Aug-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | prmgap | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | id | |
|
2 | facmapnn | |
|
3 | 2 | a1i | |
4 | prmgaplem2 | |
|
5 | eqidd | |
|
6 | fveq2 | |
|
7 | 6 | adantl | |
8 | simpl | |
|
9 | fvexd | |
|
10 | 5 7 8 9 | fvmptd | |
11 | 10 | oveq1d | |
12 | 11 | oveq1d | |
13 | 4 12 | breqtrrd | |
14 | 13 | ralrimiva | |
15 | 1 3 14 | prmgaplem8 | |
16 | 15 | rgen | |