Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
Exact expanded PA statement
forall a b. (exists k. k + S a = b) -> ~ (exists k. k + b = a)Structural proof guide
Generated structural guide
A strict inequality excludes the reverse weak inequality.
This root lemma is proved directly from the PA rules and the hypotheses introduced by its statement.
The proof proceeds by structural induction (1), case analysis (2), intermediate claims (1), equality transport (5).
Referenced ingredients
Proof neighborhood
Direct dependencies
Direct dependents
PA0063 prime_bounded_nonzero_mod_inverse PA0072 gauss_half_range_signed_choices PA0082 prime_positive_bounded_product_coprime PA0089 bounded_nonzero_not_divides PA008B prime_mul_index_map_exists_up_to PA008K prime_range_product_coprime PA009C prime_scaled_inverse_unique PA00AG prime_bounded_square_one_cases PA00D8 distinct_odd_prime_half_products_ne PA00D9 distinct_odd_prime_half_cell_oriented PA00DN prime_nondivisor_bounded_scaled_remainder_nonzero PA00DR odd_half_division_quotient_bounded PA00DS nonzero_remainder_division_positive_multiple_threshold PA00DX eisenstein_initial_segment_bit_count_functionalFormal 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.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
01Establish hbadL1–2
02Induction on zL3–12
03Fix variables and assumptionsL13–14
04Use earlier factsL15–18
05Calculate and transport equalitiesL19–20
06Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact hz
07Fix variables and assumptionsL22–25
08Separate the logical casesL26–27
09Use earlier factsL28–31
10Calculate and transport equalitiesL32–33
11Use earlier factsL34–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L34
exact hba_witness
Original exact command ledger · 34 lines
- 0001
have hbad : forall z u v. ~(z = u + (v + S z)) - 0002
intro z - 0003
induction z - 0004
intro u - 0005
intro v - 0006
intro hz - 0007
apply PA1 - 0008
symm - 0009
rewrite PA4 at hz - 0010
rewrite PA4 at hz - 0011
exact hz - 0012
intro u - 0013
intro v - 0014
intro hz - 0015
specialize IH u - 0016
specialize IH v - 0017
apply IH - 0018
apply PA2 - 0019
rewrite PA4 at hz - 0020
rewrite PA4 at hz - 0021
exact hz - 0022
intro a - 0023
intro b - 0024
intro hab - 0025
intro hba - 0026
cases hab - 0027
cases hba - 0028
specialize hbad a - 0029
specialize hbad x1 - 0030
specialize hbad x - 0031
apply hbad - 0032
symm - 0033
rewrite <- hab_witness at hba_witness - 0034
exact hba_witness