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(0, 2, 1, 1)
After
Affine ORIGINAL terminal sum = 4
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(1, 4)
After
Affine ORIGINAL initial times outcome count = 4
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 = [1, [0, 2, 1, 1], 4, 4]
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(1, 1)
After
Affine ORIGINAL scale times initial = 1
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(1, 16)
After
Affine ORIGINAL scaled initial plus fixed shift = 17
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(1, 0)
After
Affine ORIGINAL terminal product0 = 0
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(0, 16)
After
Affine ORIGINAL transformed terminal0 = 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, S007
S009 · calculation
Before
Affine ORIGINAL terminal product1 := mul(1, 2)
After
Affine ORIGINAL terminal product1 = 2
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(2, 16)
After
Affine ORIGINAL transformed terminal1 = 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, S009
S011 · calculation
Before
Affine ORIGINAL terminal product2 := mul(1, 1)
After
Affine ORIGINAL terminal product2 = 1
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(1, 16)
After
Affine ORIGINAL transformed terminal2 = 17
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(1, 1)
After
Affine ORIGINAL terminal product3 = 1
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(1, 16)
After
Affine ORIGINAL transformed terminal3 = 17
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(16, 18, 17, 17)
After
Affine ORIGINAL transformed sum = 68
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(17, 4)
After
Affine ORIGINAL transformed initial times count = 68
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 = [1, 16, 1, [0, 2, 1, 1]]
After
derived = [17, [16, 18, 17, 17], 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
(1, [0, 2, 1, 1], 1, 16, 17, [16, 18, 17, 17], Yes, affine_transform_preserves_same_filtration_martingale)
The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.