IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.IntegerOrder
Defines the internal order on signed orbits (and thus integers) from signed-orbit comparison and balanced length, independent of any verifier display. Supplies reflexivity, transitivity, balanced antisymmetry, totality, and trichotomy, plus exclusive/exhaustive sign flags. Downstream ratio-orbit and divisibility layers import it as the native ≤ bridge. Structure is a compact order-theory package over the IntegerRational substrate.
claimOn signed orbits (the internal model of integers), a comparison $\leq$ is defined from signed-orbit order and balanced length. It is reflexive, transitive, antisymmetric on balanced representatives, total, and satisfies trichotomy. Sign flags for nonnegative and negative are mutually exclusive and exhaustive, with $0 \leq n$ iff the nonnegative flag holds and $n < 0$ iff the negative flag holds.
background
Primitive Recognition Calculus builds integers and rationals from orbits and signed orbits rather than from a pre-given $\mathbb{Z}$. The upstream module IntegerRational supplies that substrate: signed orbits with a balanced-length presentation and a bridge to ordinary integer comparison when needed.
This module installs the internal order selector on that substrate. The doc-comment is explicit: comparison is taken from signed-orbit order and balanced length, not from the verifier's integer display. That keeps the foundation choice-free and display-independent while still recovering the usual order facts.
Sibling lemmas package the standard order axioms (reflexivity, transitivity, balanced antisymmetry, totality, trichotomy) and the Boolean sign-flag calculus (exclusive, exhaustive, and the zero-threshold characterizations).
proof idea
Definition-and-lemmas module over the IntegerRational import. Order is selected from signed-orbit comparison plus balanced length; the listed siblings then discharge the classical order and sign-flag identities relative to that selector. No single deep theorem: a short suite of elementary order and flag lemmas that later modules quote as the native $\leq$ bridge (including the purified SignedOrbit.le_iff_toInt_le path used downstream).
why it matters in Recognition Science
Feeds the Grow layer that builds ratio-orbit order and arithmetic. Downstream importers include RatioOrbitLeReflTotal (cross-multiplication order leQ via signed orbits of $p.num\cdot q.den$ and $q.num\cdot p.den$), RatioOrbitLeTransAntisymm (transitivity of that delta-native order, routed through the signed-orbit bridge and Int cancellation), RatioOrbitLeNeg, RatioOrbitLtTrichotomy, RatioOrbitMulPos, RatioOrbitDenseMediant, IntegerDivisibility, and EtaCompletionM0a.
Without a display-independent integer order, the cross-multiplication order on ratio orbits and the later density/mediant and divisibility arguments have no native comparison to stand on. In the Recognition stack this is foundation plumbing under the forcing chain, not a T5–T8 landmark itself, but it is required infrastructure for any later quantitative comparison on the phi-ladder or mass formulas that routes through rational orbits.
scope and limits
- Does not define rationals or ratio-orbit order; those live in downstream Grow modules.
- Does not derive order from verifier integer display; comparison is signed-orbit native.
- Does not prove density, mediants, or divisibility; only the integer-order substrate.
- Does not address J-cost, RCL, or T5–T8 forcing; pure order infrastructure.
- Antisymmetry is stated in the balanced-representative sense, not raw orbit equality.
used by (21)
-
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.EtaCompletionM0a -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.IntegerDivisibility -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitDenseMediant -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitLeNeg -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitLeReflTotal -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitLeTransAntisymm -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitLtTrichotomy -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitMulPos -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitOrderAddMono -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitOrderMulNonneg -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.RatioOrbitZeroLtOne -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitLeCongrLeftOfBalancedChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitLeCongrOfBalancedChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitLeCongrRightOfBalancedChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitLeMulRightIffOfNonnegFlagOfNotBalancedZeroChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitLeOfProductRightFactorIffOfBalancedChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitLeProductRightFactorIffOfBalancedChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitMulBalancedZeroOfBalancedZeroRightChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitNonnegFlagMulOfOrbitRightOfNeZeroChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Grow.SignedOrbitZeroLeIffNonnegFlagChoiceFree -
IndisputableMonolith.Foundation.PrimitiveRecognitionCalculus.Kernel
depends on (1)
declarations in this module (443)
-
theorem
le_refl -
theorem
le_trans -
theorem
le_antisymm_balanced -
theorem
le_total -
theorem
trichotomy -
theorem
negativeFlag_eq_true_iff_nonnegFlag_eq_false -
theorem
negativeFlag_eq_false_iff_nonnegFlag_eq_true -
theorem
signFlags_exclusive -
theorem
signFlags_exhaustive -
theorem
zero_le_iff_nonnegFlag -
theorem
lt_zero_iff_negativeFlag -
theorem
zero_lt_iff_nonnegFlag_and_not_balanced_zero -
theorem
nonnegFlag_eq_of_balanced -
theorem
negativeFlag_eq_of_balanced -
theorem
nonneg_iff_of_balanced -
theorem
add_congr_of_balanced -
theorem
negate_congr_of_balanced -
theorem
sub_congr_of_balanced -
theorem
sub_congr_of_balanced_left -
theorem
sub_congr_of_balanced_right -
theorem
nonnegFlag_sub_eq_of_balanced_left -
theorem
nonnegFlag_sub_eq_of_balanced_right -
theorem
negativeFlag_sub_eq_of_balanced_left -
theorem
negativeFlag_sub_eq_of_balanced_right -
theorem
nonnegFlag_sub_eq_of_balanced -
theorem
negativeFlag_sub_eq_of_balanced -
theorem
scaleByNat_congr_of_balanced -
theorem
scaleByNat_balanced_zero_of_balanced_zero -
theorem
mul_ofOrbit_balanced_scaleByNat -
theorem
ofOrbit_mul_balanced_scaleByNat -
theorem
abs_mul -
theorem
mul_balanced_zero_iff -
theorem
mul_not_balanced_zero_iff -
theorem
balanced_mul_left_iff_of_not_balanced_zero -
theorem
balanced_mul_right_iff_of_not_balanced_zero -
theorem
le_mul_left_iff_of_nonnegFlag_of_not_balanced_zero -
theorem
lt_mul_left_iff_of_nonnegFlag_of_not_balanced_zero -
theorem
le_mul_right_iff_of_nonnegFlag_of_not_balanced_zero -
theorem
lt_mul_right_iff_of_nonnegFlag_of_not_balanced_zero -
theorem
le_mul_left_iff_of_negativeFlag -
theorem
lt_mul_left_iff_of_negativeFlag -
theorem
le_mul_right_iff_of_negativeFlag -
theorem
lt_mul_right_iff_of_negativeFlag -
theorem
abs_mul_eq_zero_iff -
theorem
abs_mul_ne_zero_iff -
theorem
abs_mul_eq_zero_iff_balanced_zero -
theorem
abs_mul_ne_zero_iff_not_balanced_zero -
theorem
abs_scaleByNat -
theorem
abs_mul_ofOrbit_right -
theorem
abs_mul_ofOrbit_left -
theorem
mul_ofOrbit_right_balanced_zero_iff -
theorem
mul_ofOrbit_left_balanced_zero_iff -
theorem
mul_ofOrbit_right_not_balanced_zero_iff -
theorem
mul_ofOrbit_left_not_balanced_zero_iff -
theorem
nonnegFlag_scaleByNat_of_ne_zero -
theorem
negativeFlag_scaleByNat_of_ne_zero -
theorem
scaleByNat_balanced_zero_iff -
theorem
scaleByNat_not_balanced_zero_iff -
theorem
abs_scaleByNat_eq_zero_iff -
theorem
abs_scaleByNat_ne_zero_iff -
theorem
abs_mul_ofOrbit_right_eq_zero_iff -
theorem
abs_mul_ofOrbit_left_eq_zero_iff -
theorem
abs_mul_ofOrbit_right_ne_zero_iff -
theorem
abs_mul_ofOrbit_left_ne_zero_iff -
theorem
le_scaleByNat_of_le -
theorem
le_scaleByNat_iff_of_ne_zero -
theorem
lt_scaleByNat_iff_of_ne_zero -
theorem
balanced_scaleByNat_iff_of_ne_zero -
theorem
le_congr_left_of_balanced -
theorem
le_congr_right_of_balanced -
theorem
lt_congr_left_of_balanced -
theorem
lt_congr_right_of_balanced -
theorem
le_congr_of_balanced -
theorem
lt_congr_of_balanced -
def
cmp -
theorem
cmp_eq_lt_of_lt -
theorem
cmp_eq_eq_of_balanced -
theorem
cmp_eq_gt_of_gt -
theorem
cmp_eq_lt_iff -
theorem
cmp_eq_eq_iff