Step-by-step derivation
S001 · implies
Before
source roles = [qf-mod50-graddeep-negative-direction, [domain, gradient, operation]]
After
derived = [graddeep-negative-direction, Exact_gradient_vector_density]
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 · implies
Before
source roles = [negative direction ORIGINAL gradient raw coordinate0, 100000000, 21, 1]
After
derived = [[21, 1], 21]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S001
S003 · calculation
Before
negative direction ORIGINAL gradient raw coordinate0 ORIGINAL numerator over denominator := div(21, 1)
After
negative direction ORIGINAL gradient raw coordinate0 ORIGINAL numerator over denominator = 21
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 = [negative direction ORIGINAL gradient raw coordinate1, 100000000, -21, 1]
After
derived = [[-21, 1], -21]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S003
S005 · calculation
Before
negative direction ORIGINAL gradient raw coordinate1 ORIGINAL numerator over denominator := div(-21, 1)
After
negative direction ORIGINAL gradient raw coordinate1 ORIGINAL numerator over denominator = -21
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 · implies
Before
source roles = [negative direction ORIGINAL gradient, [21, -21]]
After
derived = [[21, -21]]
Conditions: none
Validate EVERY raw vector component,nonemptiness and required length BEFORE use.Keep ORIGINAL coordinate order,including cells not ultimately selected.
Step identifiers and dependencies
Rule: R66_VECTOR_ALL_original_order_typed_nonempty · Uses: G001, S005
S007 · implies
Before
source roles = [Negative gradient coordinate0 SOURCE naive mul, 100000000, -21, 1]
After
derived = [[-21, 1], -21]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S006
S008 · calculation
Before
Negative gradient coordinate0 SOURCE naive mul ORIGINAL numerator over denominator := div(-21, 1)
After
Negative gradient coordinate0 SOURCE naive mul ORIGINAL numerator over denominator = -21
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
Negative gradient coordinate0 ORIGINAL rational mul := mul(-1, 21)
After
Negative gradient coordinate0 ORIGINAL rational mul = -21
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 · implies
Before
source roles = [Negative gradient coordinate1 SOURCE naive mul, 100000000, 21, 1]
After
derived = [[21, 1], 21]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S009
S011 · calculation
Before
Negative gradient coordinate1 SOURCE naive mul ORIGINAL numerator over denominator := div(21, 1)
After
Negative gradient coordinate1 SOURCE naive mul ORIGINAL numerator over denominator = 21
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
Negative gradient coordinate1 ORIGINAL rational mul := mul(-1, -21)
After
Negative gradient coordinate1 ORIGINAL rational mul = 21
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 · implies
Before
source roles = [negative direction inner product product0 SOURCE naive mul, 100000000, -441, 1]
After
derived = [[-441, 1], -441]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S012
S014 · calculation
Before
negative direction inner product product0 SOURCE naive mul ORIGINAL numerator over denominator := div(-441, 1)
After
negative direction inner product product0 SOURCE naive mul ORIGINAL numerator over denominator = -441
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
negative direction inner product product0 ORIGINAL rational mul := mul(21, -21)
After
negative direction inner product product0 ORIGINAL rational mul = -441
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 · implies
Before
source roles = [negative direction inner product prefix0 SOURCE naive sum, 100000000, -441, 1]
After
derived = [[-441, 1], -441]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S015
S017 · calculation
Before
negative direction inner product prefix0 SOURCE naive sum ORIGINAL numerator over denominator := div(-441, 1)
After
negative direction inner product prefix0 SOURCE naive sum ORIGINAL numerator over denominator = -441
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, S016
S018 · calculation
Before
negative direction inner product prefix0 ORIGINAL rational sum := sum(0, -441)
After
negative direction inner product prefix0 ORIGINAL rational sum = -441
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, S017
S019 · implies
Before
source roles = [negative direction inner product product1 SOURCE naive mul, 100000000, -441, 1]
After
derived = [[-441, 1], -441]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S018
S020 · calculation
Before
negative direction inner product product1 SOURCE naive mul ORIGINAL numerator over denominator := div(-441, 1)
After
negative direction inner product product1 SOURCE naive mul ORIGINAL numerator over denominator = -441
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, S019
S021 · calculation
Before
negative direction inner product product1 ORIGINAL rational mul := mul(-21, 21)
After
negative direction inner product product1 ORIGINAL rational mul = -441
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, S020
S022 · implies
Before
source roles = [negative direction inner product prefix1 SOURCE naive sum, 100000000, -882, 1]
After
derived = [[-882, 1], -882]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S021
S023 · calculation
Before
negative direction inner product prefix1 SOURCE naive sum ORIGINAL numerator over denominator := div(-882, 1)
After
negative direction inner product prefix1 SOURCE naive sum ORIGINAL numerator over denominator = -882
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, S022
S024 · calculation
Before
negative direction inner product prefix1 ORIGINAL rational sum := sum(-441, -441)
After
negative direction inner product prefix1 ORIGINAL rational sum = -882
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, S023
S025 · implies
Before
source roles = [negative direction inner product, [21, -21], [-21, 21]]
After
derived = [-882]
Conditions: none
Multiply EVERY aligned pair,then accumulate from0 in SOURCE order.Check every pre-reduction intermediate;the final value alone or a reordered sum cannot bypass a failing prefix.
Step identifiers and dependencies
Rule: R66_DOT_complete_ordered_terms_and_source_prefixes · Uses: G001, S024
S026 · implies
Before
source roles = [negative direction norm squared product0 SOURCE naive mul, 100000000, 441, 1]
After
derived = [[441, 1], 441]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S025
S027 · calculation
Before
negative direction norm squared product0 SOURCE naive mul ORIGINAL numerator over denominator := div(441, 1)
After
negative direction norm squared product0 SOURCE naive mul ORIGINAL numerator over denominator = 441
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, S026
S028 · calculation
Before
negative direction norm squared product0 ORIGINAL rational mul := mul(21, 21)
After
negative direction norm squared product0 ORIGINAL rational mul = 441
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, S027
S029 · implies
Before
source roles = [negative direction norm squared prefix0 SOURCE naive sum, 100000000, 441, 1]
After
derived = [[441, 1], 441]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S028
S030 · calculation
Before
negative direction norm squared prefix0 SOURCE naive sum ORIGINAL numerator over denominator := div(441, 1)
After
negative direction norm squared prefix0 SOURCE naive sum ORIGINAL numerator over denominator = 441
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, S029
S031 · calculation
Before
negative direction norm squared prefix0 ORIGINAL rational sum := sum(0, 441)
After
negative direction norm squared prefix0 ORIGINAL rational sum = 441
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, S030
S032 · implies
Before
source roles = [negative direction norm squared product1 SOURCE naive mul, 100000000, 441, 1]
After
derived = [[441, 1], 441]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S031
S033 · calculation
Before
negative direction norm squared product1 SOURCE naive mul ORIGINAL numerator over denominator := div(441, 1)
After
negative direction norm squared product1 SOURCE naive mul ORIGINAL numerator over denominator = 441
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, S032
S034 · calculation
Before
negative direction norm squared product1 ORIGINAL rational mul := mul(-21, -21)
After
negative direction norm squared product1 ORIGINAL rational mul = 441
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, S033
S035 · implies
Before
source roles = [negative direction norm squared prefix1 SOURCE naive sum, 100000000, 882, 1]
After
derived = [[882, 1], 882]
Conditions: none
Bound the SOURCE PRE-reduction numerator/denominator and require a nonzero denominator BEFORE sign/gcd normalization.MOD50 uses100million with NAIVE operations,not prior cross-cancellation;this Wave4 mean uses one million.Out-of-envelope is a source-slice hold,not mathematical falsity.
Step identifiers and dependencies
Rule: R66_SOURCE_PREreduction_components_then_sign_gcd · Uses: G001, S034
S036 · calculation
Before
negative direction norm squared prefix1 SOURCE naive sum ORIGINAL numerator over denominator := div(882, 1)
After
negative direction norm squared prefix1 SOURCE naive sum ORIGINAL numerator over denominator = 882
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, S035
S037 · calculation
Before
negative direction norm squared prefix1 ORIGINAL rational sum := sum(441, 441)
After
negative direction norm squared prefix1 ORIGINAL rational sum = 882
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, S036
S038 · implies
Before
source roles = [negative direction norm squared, [21, -21], [21, -21]]
After
derived = [882]
Conditions: none
Multiply EVERY aligned pair,then accumulate from0 in SOURCE order.Check every pre-reduction intermediate;the final value alone or a reordered sum cannot bypass a failing prefix.
Step identifiers and dependencies
Rule: R66_DOT_complete_ordered_terms_and_source_prefixes · Uses: G001, S037
S039 · implies
Before
source roles = [[21, -21]]
After
derived = [[-21, 21], -882, 882, Yes]
Conditions: none
A NONZERO gradient has positive squared norm.The UNNORMALIZED direction−gradient gives inner product−norm²<0.Differentiability supports a first-order descent direction,not descent for every positive finite step.
Step identifiers and dependencies
Rule: Gradient_NEGATIVE_direction_NONZERO_first_order_NOT_finite_step · Uses: G001, S038