Exact expanded PA statement
forall a b c. ~(a = 0) -> a * b = a * c -> b = cStructural proof guide
A nonzero common left factor can be cancelled.
Direct prerequisites: mul_eq_zero, mul_ne_zero, add_right_cancel, succ_ne_zero. The authored body proceeds by structural induction (2), case analysis (1), intermediate claims (2), equality transport (4).
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 a - 0002
induction b - 0003
intro c - 0004
intro ha - 0005
intro h - 0006
have hz : a * c = 0 - 0007
symm - 0008
rewrite PA5 at h - 0009
exact h - 0010
have factors : a = 0 \/ c = 0 - 0011
specialize mul_eq_zero a - 0012
specialize mul_eq_zero c - 0013
apply mul_eq_zero - 0014
exact hz - 0015
cases factors - 0016
exfalso - 0017
apply ha - 0018
exact factors_left - 0019
symm - 0020
exact factors_right - 0021
intro c - 0022
induction c - 0023
intro ha - 0024
intro h - 0025
exfalso - 0026
specialize mul_ne_zero a - 0027
specialize mul_ne_zero (S b) - 0028
apply mul_ne_zero - 0029
exact ha - 0030
specialize succ_ne_zero b - 0031
exact succ_ne_zero - 0032
rewrite PA5 at h - 0033
exact h - 0034
intro ha - 0035
intro h - 0036
congr - 0037
apply IH - 0038
exact ha - 0039
apply add_right_cancel - 0040
rewrite PA6 at h - 0041
rewrite PA6 at h - 0042
exact h