Step-by-step derivation
S001 · implies
Before
source roles = [qf-mod31-martdeep-affine-stability, [domain, initial, operation, scale, shift, terminal]]
After
derived = [martdeep-affine-stability, Exact_finite_martingale_construction]
Conditions: none
THIS source uses LOCAL-hyphen operations with exact keys/domain.Keep source field order and numeric/Boolean/string roles;integer rational texts omit/1.Original questions,English,MKOs,ASTs and statuses remain unchanged.
Step identifiers and dependencies
Rule: R66_EXACT_source_bank_keys_local_operation_domain · Uses: G001
S002 · calculation
Before
Affine ORIGINAL terminal sum := sum(7, 9, 8, 8)
After
Affine ORIGINAL terminal sum = 32
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Affine ORIGINAL initial times outcome count := mul(8, 4)
After
Affine ORIGINAL initial times outcome count = 32
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · implies
Before
source roles = [8, [7, 9, 8, 8], 32, 32]
After
derived = [Yes]
Conditions: none
FIRST qualify the COMPLETE nonempty equiprobable terminal mean=initial,with trivial F0 and terminal-revealing F1.A transformed mean alone cannot repair a failed original process.
Step identifiers and dependencies
Rule: Martingale_AFFINE_original_mean_premise_before_transform · Uses: G001, S003
S005 · calculation
Before
Affine ORIGINAL scale times initial := mul(-2, 8)
After
Affine ORIGINAL scale times initial = -16
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Affine ORIGINAL scaled initial plus fixed shift := sum(-16, 23)
After
Affine ORIGINAL scaled initial plus fixed shift = 7
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
Affine ORIGINAL terminal product0 := mul(-2, 7)
After
Affine ORIGINAL terminal product0 = -14
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Affine ORIGINAL transformed terminal0 := sum(-14, 23)
After
Affine ORIGINAL transformed terminal0 = 9
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Affine ORIGINAL terminal product1 := mul(-2, 9)
After
Affine ORIGINAL terminal product1 = -18
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
Affine ORIGINAL transformed terminal1 := sum(-18, 23)
After
Affine ORIGINAL transformed terminal1 = 5
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
Affine ORIGINAL terminal product2 := mul(-2, 8)
After
Affine ORIGINAL terminal product2 = -16
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
Affine ORIGINAL transformed terminal2 := sum(-16, 23)
After
Affine ORIGINAL transformed terminal2 = 7
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Affine ORIGINAL terminal product3 := mul(-2, 8)
After
Affine ORIGINAL terminal product3 = -16
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Affine ORIGINAL transformed terminal3 := sum(-16, 23)
After
Affine ORIGINAL transformed terminal3 = 7
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Affine ORIGINAL transformed sum := sum(9, 5, 7, 7)
After
Affine ORIGINAL transformed sum = 28
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Affine ORIGINAL transformed initial times count := mul(7, 4)
After
Affine ORIGINAL transformed initial times count = 28
Conditions: none
Calculate exactly from THIS step’s ORIGINAL ordered operands.Retain the SOURCE rational pre-reduction envelope separately;do not use floating values or silently widen a different bank.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · implies
Before
source roles = [-2, 23, 8, [7, 9, 8, 8]]
After
derived = [7, [9, 5, 7, 7], Yes]
Conditions: none
Apply the SAME fixed scale/shift at both times.Under the SAME filtration,conditional-expectation linearity preserves the martingale.Zero or negative scale is allowed;time-dependent/random coefficients are not supplied.Derived integers are not recapped at the RAW million bound.
Step identifiers and dependencies
Rule: Martingale_FIXED_same_filtration_affine_linearity · Uses: G001, S016
Result
(8, [7, 9, 8, 8], -2, 23, 7, [9, 5, 7, 7], Yes, affine_transform_preserves_same_filtration_martingale)
The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.