Exact expanded PA statement
forall m n. (exists psc_even_even_sum. m + n = 2 * psc_even_even_sum) -> ((((exists psc_even_even_m. m = 2 * psc_even_even_m) /\ (exists psc_even_even_n. n = 2 * psc_even_even_n)) \/ ((exists psc_odd_odd_m. m = 2 * psc_odd_odd_m + 1) /\ (exists psc_odd_odd_n. n = 2 * psc_odd_odd_n + 1))))Structural proof guide
Generated structural guide
An even sum has summands of the same parity.
Use the direct prerequisites parity_cases, even_add_odd, odd_add_even, even_not_odd as previously established PA formulas.
The proof proceeds by case analysis (5), intermediate claims (4).
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 Alpha-v16 checked-use theorem is independently kernel-checked when replayed; it is not a Stable theorem.
- 0001
intro m - 0002
intro n - 0003
intro hsum - 0004
have hm : exists a. m = 2 * a \/ m = 2 * a + 1 - 0005
specialize parity_cases m - 0006
exact parity_cases - 0007
have hn : exists b. n = 2 * b \/ n = 2 * b + 1 - 0008
specialize parity_cases n - 0009
exact parity_cases - 0010
cases hm - 0011
cases hn - 0012
cases hm_witness - 0013
cases hn_witness - 0014
left - 0015
split - 0016
exists x - 0017
exact hm_witness_left - 0018
exists x1 - 0019
exact hn_witness_left - 0020
exfalso - 0021
have hodd : exists c. m + n = 2 * c + 1 - 0022
specialize even_add_odd m - 0023
specialize even_add_odd n - 0024
apply even_add_odd - 0025
exists x - 0026
exact hm_witness_left - 0027
exists x1 - 0028
exact hn_witness_right - 0029
specialize even_not_odd (m + n) - 0030
apply even_not_odd - 0031
exact hsum - 0032
exact hodd - 0033
cases hn_witness - 0034
exfalso - 0035
have hodd : exists c. m + n = 2 * c + 1 - 0036
specialize odd_add_even m - 0037
specialize odd_add_even n - 0038
apply odd_add_even - 0039
exists x - 0040
exact hm_witness_right - 0041
exists x1 - 0042
exact hn_witness_left - 0043
specialize even_not_odd (m + n) - 0044
apply even_not_odd - 0045
exact hsum - 0046
exact hodd - 0047
right - 0048
split - 0049
exists x - 0050
exact hm_witness_right - 0051
exists x1 - 0052
exact hn_witness_right