Exact expanded PA statement
forall p. (~(p = 1) /\ forall a b. p = a * b -> a = 1 \/ b = 1) -> ~(p = 2) -> exists h. p = 2 * h + 1Structural proof guide
Generated structural guide
Every prime other than two is odd.
Use the direct prerequisites parity_cases as previously established PA formulas.
The proof proceeds by case analysis (4), intermediate claims (1), equality transport (1), certified simplification (1).
Referenced ingredients
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Linked names are exact direct references. This Stable checked-use theorem is independently kernel-checked when replayed.
- 0001
intro p - 0002
intro hp - 0003
intro hne - 0004
cases hp - 0005
specialize parity_cases p - 0006
cases parity_cases - 0007
cases parity_cases_witness - 0008
have hfac : 2 = 1 \/ x = 1 - 0009
specialize hp_right 2 - 0010
specialize hp_right x - 0011
apply hp_right - 0012
exact parity_cases_witness_left - 0013
cases hfac - 0014
exfalso - 0015
apply PA1 - 0016
apply PA2 - 0017
exact hfac_left - 0018
exfalso - 0019
apply hne - 0020
trans 2 * x - 0021
exact parity_cases_witness_left - 0022
rewrite hfac_right - 0023
simp - 0024
exists x - 0025
exact parity_cases_witness_right