# Lemma: soundness of the sieve

Status: proved in writing; the program is not published here

## Shelf

Curiosities / Erdős problems

Proved in writing: a full written proof; not yet checked in Lean. · rerun: logs-only (program not published)

## Byline

Sonny

## How sure

proved in writing; the program is not published here · rerun: logs-only (program not published) · no part marked open · Every result here is preliminary. No one outside this project has refereed it yet.

## What is shown

The C sieve that produced the logs for $n$ above $10^8$ works on $n = r + Mj$. For each of the $2205$ classes and each $k \le 64$ it removes every prime power $p^e \le n$ with $p \le 65536$ from $n - k$ exactly, so the exponent of every such $p$ is exact. What is left, the cofactor $c$, has only prime factors above $65536$. It is prime when it is below $65536^2$, and a deterministic Miller-Rabin test decides it otherwise (the base sets of Sorenson and Webster are deterministic far beyond $10^{14}$). Lemma 1 of the chapter then gives a lower bound on $\tau(n-k)$, and discarding $n$ when that bound exceeds $k + 2$ can never discard a true solution.

stated. The chapter gives the argument; it rests on how the sieve program behaves and on the cited primality-test base sets, and the program is not shipped.

## Status, part by part

stated. The chapter gives the argument; it rests on how the sieve program behaves and on the cited primality-test base sets, and the program is not shipped.

## Five-minute check

5-minute check: compare the fingerprints of the book's files with its published list (recipe steps 2 to 4, https://gocheckyourself.org/data/recipes/erdos-problems-REPLICATE.md). Expected: PowerShell prints a line "19 OK, 0 not OK". bash prints every line that is not OK, then "19 OK". A match shows that your files are exactly the files the list names. What the files say is tested by the other steps of this recipe. For this result the evidence is logs: a match checks that you have the published logs, not the search that wrote them.

## Credit

no separate credit given in the book for this lemma; the deterministic Miller-Rabin base sets are those of Sorenson and Webster (2015), and the test is Miller (1976) and Rabin (1980), per the credits page. This is Lemma 4 of the problem 647 chapter.

## Evidence

- document: https://gocheckyourself.org/data/files/erdos-problems/chapters/03-erdos-647.md (sha256 fc0c849db4fbcc6b30d209b01724f895f58c8b68d711a3b043de6ef1cf94c6da)

## Receipt

Receipt 1 files, each with its SHA-256 fingerprint

- document [chapters/03-erdos-647.md](https://gocheckyourself.org/data/files/erdos-problems/chapters/03-erdos-647.md): sha256 fc0c849db4fbcc6b30d209b01724f895f58c8b68d711a3b043de6ef1cf94c6da

## Short address

gocheckyourself.org/r/127/ (https://gocheckyourself.org/r/127/)

## How to check this

- [The check guide](https://gocheckyourself.org/read/erdos-problems/experts/#ch-verify)
- [The book at the experts level (full text)](https://gocheckyourself.org/read/erdos-problems/experts/)
- [Files and certificates](https://gocheckyourself.org/data/files/erdos-problems/): [CITATION.cff](https://gocheckyourself.org/data/files/erdos-problems/CITATION.cff)

Id: erdos/result-10
Page: https://gocheckyourself.org/result/erdos/result-10/
Record: https://gocheckyourself.org/result/erdos/result-10/index.json
