Step-by-step derivation
S001 · implies
Before
n=16≥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(-1, 1)
After
x+y = 0
Conditions: none
First calculate the sum directly.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · implies
Before
(x+y)^n: (0)^16
After
(x+y)^n = 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, S002
S004 · implies
Before
choose 0 positions out of 16
After
C(16,0)=20922789888000/(1·20922789888000)=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^16: (-1)^16
After
x^16 = 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, 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, 1)
After
C·x power (k=0) = 1
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(1, 1)
After
term[0] = 1
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 16
After
C(16,1)=20922789888000/(1·1307674368000)=16
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^15: (-1)^15
After
x^15 = -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, 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(16, -1)
After
C·x power (k=1) = -16
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(-16, 1)
After
term[1] = -16
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 16
After
C(16,2)=20922789888000/(2·87178291200)=120
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^14: (-1)^14
After
x^14 = 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, 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(120, 1)
After
C·x power (k=2) = 120
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(120, 1)
After
term[2] = 120
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 16
After
C(16,3)=20922789888000/(6·6227020800)=560
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^13: (-1)^13
After
x^13 = -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(560, -1)
After
C·x power (k=3) = -560
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(-560, 1)
After
term[3] = -560
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 · implies
Before
choose 4 positions out of 16
After
C(16,4)=20922789888000/(24·479001600)=1820
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, S023
S025 · implies
Before
x^12: (-1)^12
After
x^12 = 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, S024
S026 · implies
Before
y^4: (1)^4
After
y^4 = 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, S025
S027 · calculation
Before
C·x power (k=4) := mul(1820, 1)
After
C·x power (k=4) = 1820
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S026
S028 · calculation
Before
term[4] := mul(1820, 1)
After
term[4] = 1820
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · implies
Before
choose 5 positions out of 16
After
C(16,5)=20922789888000/(120·39916800)=4368
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, S028
S030 · implies
Before
x^11: (-1)^11
After
x^11 = -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, S029
S031 · implies
Before
y^5: (1)^5
After
y^5 = 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, S030
S032 · calculation
Before
C·x power (k=5) := mul(4368, -1)
After
C·x power (k=5) = -4368
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · calculation
Before
term[5] := mul(-4368, 1)
After
term[5] = -4368
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S032
S034 · implies
Before
choose 6 positions out of 16
After
C(16,6)=20922789888000/(720·3628800)=8008
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, S033
S035 · implies
Before
x^10: (-1)^10
After
x^10 = 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, S034
S036 · implies
Before
y^6: (1)^6
After
y^6 = 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, S035
S037 · calculation
Before
C·x power (k=6) := mul(8008, 1)
After
C·x power (k=6) = 8008
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S036
S038 · calculation
Before
term[6] := mul(8008, 1)
After
term[6] = 8008
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S037
S039 · implies
Before
choose 7 positions out of 16
After
C(16,7)=20922789888000/(5040·362880)=11440
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, S038
S040 · implies
Before
x^9: (-1)^9
After
x^9 = -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, S039
S041 · implies
Before
y^7: (1)^7
After
y^7 = 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, S040
S042 · calculation
Before
C·x power (k=7) := mul(11440, -1)
After
C·x power (k=7) = -11440
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S041
S043 · calculation
Before
term[7] := mul(-11440, 1)
After
term[7] = -11440
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S042
S044 · implies
Before
choose 8 positions out of 16
After
C(16,8)=20922789888000/(40320·40320)=12870
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, S043
S045 · implies
Before
x^8: (-1)^8
After
x^8 = 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, S044
S046 · implies
Before
y^8: (1)^8
After
y^8 = 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, S045
S047 · calculation
Before
C·x power (k=8) := mul(12870, 1)
After
C·x power (k=8) = 12870
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · calculation
Before
term[8] := mul(12870, 1)
After
term[8] = 12870
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S047
S049 · implies
Before
choose 9 positions out of 16
After
C(16,9)=20922789888000/(362880·5040)=11440
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, S048
S050 · implies
Before
x^7: (-1)^7
After
x^7 = -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, S049
S051 · implies
Before
y^9: (1)^9
After
y^9 = 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, S050
S052 · calculation
Before
C·x power (k=9) := mul(11440, -1)
After
C·x power (k=9) = -11440
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S051
S053 · calculation
Before
term[9] := mul(-11440, 1)
After
term[9] = -11440
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S052
S054 · implies
Before
choose 10 positions out of 16
After
C(16,10)=20922789888000/(3628800·720)=8008
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, S053
S055 · implies
Before
x^6: (-1)^6
After
x^6 = 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, S054
S056 · implies
Before
y^10: (1)^10
After
y^10 = 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, S055
S057 · calculation
Before
C·x power (k=10) := mul(8008, 1)
After
C·x power (k=10) = 8008
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S056
S058 · calculation
Before
term[10] := mul(8008, 1)
After
term[10] = 8008
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S057
S059 · implies
Before
choose 11 positions out of 16
After
C(16,11)=20922789888000/(39916800·120)=4368
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, S058
S060 · implies
Before
x^5: (-1)^5
After
x^5 = -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, S059
S061 · implies
Before
y^11: (1)^11
After
y^11 = 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, S060
S062 · calculation
Before
C·x power (k=11) := mul(4368, -1)
After
C·x power (k=11) = -4368
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S061
S063 · calculation
Before
term[11] := mul(-4368, 1)
After
term[11] = -4368
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S062
S064 · implies
Before
choose 12 positions out of 16
After
C(16,12)=20922789888000/(479001600·24)=1820
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, S063
S065 · implies
Before
x^4: (-1)^4
After
x^4 = 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, S064
S066 · implies
Before
y^12: (1)^12
After
y^12 = 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, S065
S067 · calculation
Before
C·x power (k=12) := mul(1820, 1)
After
C·x power (k=12) = 1820
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S066
S068 · calculation
Before
term[12] := mul(1820, 1)
After
term[12] = 1820
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S067
S069 · implies
Before
choose 13 positions out of 16
After
C(16,13)=20922789888000/(6227020800·6)=560
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, S068
S070 · implies
Before
x^3: (-1)^3
After
x^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, S069
S071 · implies
Before
y^13: (1)^13
After
y^13 = 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, S070
S072 · calculation
Before
C·x power (k=13) := mul(560, -1)
After
C·x power (k=13) = -560
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S071
S073 · calculation
Before
term[13] := mul(-560, 1)
After
term[13] = -560
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S072
S074 · implies
Before
choose 14 positions out of 16
After
C(16,14)=20922789888000/(87178291200·2)=120
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, S073
S075 · implies
Before
x^2: (-1)^2
After
x^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, S074
S076 · implies
Before
y^14: (1)^14
After
y^14 = 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, S075
S077 · calculation
Before
C·x power (k=14) := mul(120, 1)
After
C·x power (k=14) = 120
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S076
S078 · calculation
Before
term[14] := mul(120, 1)
After
term[14] = 120
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S077
S079 · implies
Before
choose 15 positions out of 16
After
C(16,15)=20922789888000/(1307674368000·1)=16
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, S078
S080 · implies
Before
x^1: (-1)^1
After
x^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, S079
S081 · implies
Before
y^15: (1)^15
After
y^15 = 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, S080
S082 · calculation
Before
C·x power (k=15) := mul(16, -1)
After
C·x power (k=15) = -16
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S081
S083 · calculation
Before
term[15] := mul(-16, 1)
After
term[15] = -16
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S082
S084 · implies
Before
choose 16 positions out of 16
After
C(16,16)=20922789888000/(20922789888000·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, S083
S085 · implies
Before
x^0: (-1)^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, S084
S086 · implies
Before
y^16: (1)^16
After
y^16 = 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, S085
S087 · calculation
Before
C·x power (k=16) := mul(1, 1)
After
C·x power (k=16) = 1
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S086
S088 · calculation
Before
term[16] := mul(1, 1)
After
term[16] = 1
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S087
S089 · calculation
Before
expanded sum := sum(1, -16, 120, -560, 1820, -4368, 8008, -11440, 12870, -11440, 8008, -4368, 1820, -560, 120, -16, 1)
After
expanded sum = 0
Conditions: none
Sum every displayed k term, not merely the endpoints.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S088
S090 · implies
Before
direct=0; expanded=0
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, S089