Prime-plus-at-most-two-primes representation vocabulary #
This foundational module defines the second-summand predicate and proves its
literal characterization. It does not import any sieve implementation.
The unconditional theorem is exposed by Goldbach.
The retained internal name Semiprime means at most two prime factors here;
Mathlib's Nat.IsSemiprime means exactly two. The public theorem avoids that
terminological ambiguity by stating the disjunction explicitly.
An integer at least two with at most two prime factors, counted with multiplicity.
Equations
- MathlibNt.ChensTheorem.Semiprime n = (n ≥ 2 ∧ Nat.IsAtMostAlmostPrime 2 n)
Instances For
A prime has at most two prime factors.
The internal predicate excludes zero and one.
Mathlib's exactly-two-factor predicate implies the at-most-two-factor predicate.