Exact expanded PA statement
forall s. exists k. k + S (s * s) = S s * S sStructural proof guide
Every square is strictly below the next natural square.
Direct prerequisites: le_succ_self, mul_le_mul_right, succ_ne_zero, mul_lt_mul_succ_left_nonzero, lt_of_le_of_lt. The authored body proceeds by intermediate claims (2).
Proof neighborhood
Direct dependencies
BT000X le_succ_self BT001M mul_le_mul_right BT000C succ_ne_zero BT001N mul_lt_mul_succ_left_nonzero BT001E lt_of_le_of_ltDirect 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 s - 0002
have hleft : exists k. k + s * s = S s * s - 0003
apply mul_le_mul_right - 0004
apply le_succ_self - 0005
have hright : exists k. k + S (S s * s) = S s * S s - 0006
apply mul_lt_mul_succ_left_nonzero - 0007
intro hz - 0008
specialize succ_ne_zero s - 0009
apply succ_ne_zero - 0010
exact hz - 0011
specialize lt_of_le_of_lt (s * s) - 0012
specialize lt_of_le_of_lt (S s * s) - 0013
specialize lt_of_le_of_lt (S s * S s) - 0014
apply lt_of_le_of_lt - 0015
exact hleft - 0016
exact hright