Step-by-step derivation
S001 · implies
Before
source roles = [qf-factorial-successor-recurrence, no-domain-field, successor_recurrence, no-form-field]
After
derived = [[exact_integer_STRING]]
Conditions: none
Check THIS bank interface:BASE equations use form/domain;BASE events/complement have no operation;factorials have no domain.ext18 uses local hyphens,other legacy operations underscores.Do not force every answer into a tuple or fraction.
Step identifiers and dependencies
Rule: R62_EXACT_source_keys_domain_operation_form_AND_output_types · Uses: G001
S002 · calculation
Before
Factorial requested n ORIGINAL factorial factor2 := mul(1, 2)
After
Factorial requested n ORIGINAL factorial factor2 = 2
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Factorial requested n ORIGINAL factorial factor3 := mul(2, 3)
After
Factorial requested n ORIGINAL factorial factor3 = 6
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Factorial requested n ORIGINAL factorial factor4 := mul(6, 4)
After
Factorial requested n ORIGINAL factorial factor4 = 24
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Factorial requested n ORIGINAL factorial factor5 := mul(24, 5)
After
Factorial requested n ORIGINAL factorial factor5 = 120
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Factorial requested n ORIGINAL factorial factor6 := mul(120, 6)
After
Factorial requested n ORIGINAL factorial factor6 = 720
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
Factorial requested n ORIGINAL factorial factor7 := mul(720, 7)
After
Factorial requested n ORIGINAL factorial factor7 = 5040
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Factorial requested n ORIGINAL factorial factor8 := mul(5040, 8)
After
Factorial requested n ORIGINAL factorial factor8 = 40320
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · implies
Before
source roles = [Factorial requested n, 8]
After
derived = [40320]
Conditions: none
Factorial multiplies the COMPLETE2..n factors;at n0/1 the empty product is1.Use arbitrary-precision integers,not Number/scientific notation or another family n64 cap.
Step identifiers and dependencies
Rule: Factorial_COMPLETE_product_EMPTY0and1_are1_not_input_n64_cap · Uses: G001, S008
S010 · implies
Before
source roles = [8, 40320]
After
derived = [40320]
Conditions: none
Recompute the WHOLE n! and compare the GIVEN decimal STRING first;do not treat an unchecked hint as an answer oracle.Require the exact string,retaining every digit.
Step identifiers and dependencies
Rule: Factorial_GIVEN_nfactorial_STRING_verified_not_assumed · Uses: G001, S009
S011 · calculation
Before
Factorial ORIGINAL successor index n plus1 := sum(8, 1)
After
Factorial ORIGINAL successor index n plus1 = 9
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
Factorial ORIGINAL successor factor times verified n factorial := mul(9, 40320)
After
Factorial ORIGINAL successor factor times verified n factorial = 362880
Conditions: none
Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · implies
Before
source roles = [8, 40320, 9]
After
derived = [362880]
Conditions: none
AFTER verifying n!,apply(n+1)!=(n+1)n! by one exact multiplication.At n0 this gives1!=1,not0;do not exchange n!and(n+1)!.
Step identifiers and dependencies
Rule: Factorial_SUCCESSOR_recurrence_uses_verified_nfactorial · Uses: G001, S012