Exact expanded PA statement
forall n. ~(n = 0) -> ~(n = 1) -> ((~(n = 1) /\ forall a b. n = a * b -> a = 1 \/ b = 1) \/ exists c d. ((~(c = 1) /\ ~(d = 1)) /\ n = c * d))Structural proof guide
Every nonzero nonunit natural is constructively prime or has a nontrivial factor pair.
Direct prerequisites: divisor_le_nonzero, factor_search_up_to. The authored body proceeds by case analysis (6), intermediate claims (1).
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are hypotheses of this body receipt. The focused endpoint audits separately check the complete empty-context certificates.
- 0001
intro n - 0002
intro hn0 - 0003
intro hn1 - 0004
specialize factor_search_up_to n - 0005
specialize factor_search_up_to n - 0006
have hsearch : (forall c d. (exists k. k + c = n) -> n = c * d -> c = 1 \/ d = 1) \/ exists c d. ((((exists k. k + c = n) /\ ~(c = 1)) /\ ~(d = 1)) /\ n = c * d) - 0007
apply factor_search_up_to - 0008
exact hn0 - 0009
cases hsearch - 0010
left - 0011
split - 0012
exact hn1 - 0013
intro c - 0014
intro d - 0015
intro hfac - 0016
specialize hsearch_left c - 0017
specialize hsearch_left d - 0018
apply hsearch_left - 0019
specialize divisor_le_nonzero c - 0020
specialize divisor_le_nonzero n - 0021
apply divisor_le_nonzero - 0022
exact hn0 - 0023
exists d - 0024
exact hfac - 0025
exact hfac - 0026
right - 0027
cases hsearch_right - 0028
cases hsearch_right_witness - 0029
cases hsearch_right_witness_witness - 0030
cases hsearch_right_witness_witness_left - 0031
cases hsearch_right_witness_witness_left_left - 0032
exists x - 0033
exists x1 - 0034
split - 0035
split - 0036
exact hsearch_right_witness_witness_left_left_right - 0037
exact hsearch_right_witness_witness_left_right - 0038
exact hsearch_right_witness_witness_right