Build the idea in three steps
- Every integer is even or odd: even when division by two leaves remainder 0, odd otherwise. No integer satisfies both at once.
- Sorting a question into even and odd cases is one of the standard moves of number problems. FLT itself starts this way: the exponent case p = 2 behaves differently from all the rest.
- A prime different from two is always odd. The package field pp records that p is prime, hp5 records that p ≥ 5, and the lemma hp_odd combines them: p is odd.
A small example
Among 2, 3, 4 and 5, the even numbers are 2 and 4; only 2 is both prime and even. The prime exponent 2 is the even prime exception. The package’s hp5 condition restricts this part of the proof to primes at least 5.