Step-by-step derivation
S001 · implies
Before
n=3≥0; multiplication commutes
After
group the finite product by the number of y choices
Conditions: none
Choose x or y in each factor and group by the number of y choices; count coefficients as integers first.
Step identifiers and dependencies
Rule: commutative_product · Uses: G001
S002 · calculation
Before
x+y := sum(0, -1)
After
x+y = -1
Conditions: none
First calculate the sum directly.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · implies
Before
(x+y)^n: (-1)^3
After
(x+y)^n = -1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S002
S004 · implies
Before
choose 0 positions out of 3
After
C(3,0)=6/(1·6)=1
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S003
S005 · implies
Before
x^3: (0)^3
After
x^3 = 0
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S004
S006 · implies
Before
y^0: (-1)^0
After
y^0 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S005
S007 · calculation
Before
C·x power (k=0) := mul(1, 0)
After
C·x power (k=0) = 0
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
term[0] := mul(0, 1)
After
term[0] = 0
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · implies
Before
choose 1 positions out of 3
After
C(3,1)=6/(1·2)=3
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S008
S010 · implies
Before
x^2: (0)^2
After
x^2 = 0
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S009
S011 · implies
Before
y^1: (-1)^1
After
y^1 = -1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S010
S012 · calculation
Before
C·x power (k=1) := mul(3, 0)
After
C·x power (k=1) = 0
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
term[1] := mul(0, -1)
After
term[1] = 0
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · implies
Before
choose 2 positions out of 3
After
C(3,2)=6/(2·1)=3
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S013
S015 · implies
Before
x^1: (0)^1
After
x^1 = 0
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S014
S016 · implies
Before
y^2: (-1)^2
After
y^2 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S015
S017 · calculation
Before
C·x power (k=2) := mul(3, 0)
After
C·x power (k=2) = 0
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
term[2] := mul(0, 1)
After
term[2] = 0
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · implies
Before
choose 3 positions out of 3
After
C(3,3)=6/(6·1)=1
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S018
S020 · implies
Before
x^0: (0)^0
After
x^0 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S019
S021 · implies
Before
y^3: (-1)^3
After
y^3 = -1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S020
S022 · calculation
Before
C·x power (k=3) := mul(1, 1)
After
C·x power (k=3) = 1
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
term[3] := mul(1, -1)
After
term[3] = -1
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
expanded sum := sum(0, 0, 0, -1)
After
expanded sum = -1
Conditions: none
Sum every displayed k term, not merely the endpoints.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · implies
Before
direct=-1; expanded=-1
After
identity holds: Yes
Conditions: none
The two calculation paths agree on this finite instance of the identity.
Step identifiers and dependencies
Rule: finite_expansion_evaluation · Uses: G001, S024