Exact expanded PA statement
forall a b. (exists k. k + a = b) \/ exists k. k + S b = aStructural proof guide
Generated structural guide
Any two naturals satisfy weak order in one direction or strict order in the other.
This root lemma is proved directly from the PA rules and the hypotheses introduced by its statement.
The proof proceeds by structural induction (2), case analysis (3), equality transport (2).
Referenced ingredients
none
Proof neighborhood
Direct dependencies
none
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
induction a - 0002
intro b - 0003
left - 0004
exists b - 0005
apply PA3 - 0006
induction b - 0007
right - 0008
exists a - 0009
trans S (a + 0) - 0010
apply PA4 - 0011
congr - 0012
apply PA3 - 0013
specialize IH b - 0014
cases IH - 0015
left - 0016
cases IH_left - 0017
exists x - 0018
rewrite PA4 - 0019
congr - 0020
exact IH_left_witness - 0021
right - 0022
cases IH_right - 0023
exists x - 0024
rewrite PA4 - 0025
congr - 0026
exact IH_right_witness