Shared canonical integer codes · nearest square quotient · strict norm decrease

Constructive Gaussian Euclidean division

Construct actual Gaussian quotient and remainder codes for every nonzero divisor, using witnessed signed rounding and the genuine norm a²+b².

93 kernel- and Lean-verified Alpha-closed theorems · 21 conservative definitions · 25 notation dependencies

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable

Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.

114 items
GI0001 natural_mul_swap_right_tail

A checked adjacent natural-product permutation supplies small ordinary-tactic polynomial calculations for both quadratic integer rings.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0002 signed_integer_floor_exists

Every signed pair admits an actual floor quotient and strict remainder for every nonzero natural divisor; one ordinary natural division suffices.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0003 signed_integer_floor_quotient_transport

Replacing a quotient pair by any equal integer preserves the exact floor equation and the same strict remainder.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0004 signed_integer_canonical_floor_exists

The constructed floor quotient has an actual canonical historic signed-integer code, with its normalized decoder witnesses.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0005 signed_code_floor_exists

Every canonical signed integer has a canonical floor quotient and a witnessed strict natural remainder for every positive divisor.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0006 gaussian_signed_square_exists

Construct the actual natural square of every represented integer from its witnessed absolute difference.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0007 gaussian_signed_square_functional

The actual nonnegative square of a signed pair is unique by cancellative natural arithmetic.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0008 gaussian_signed_square_negated

Negating an arbitrary signed representative leaves its actual square unchanged.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0009 gaussian_signed_square_integer_transport

Squaring respects equality of represented integers, not equality of positive and negative components.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI000A gaussian_signed_product_square_positive

The positive square block of an actual signed product expands into its two positive convolution blocks.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI000B gaussian_signed_product_square_negative

The negative square block of an actual signed product expands into the two negative convolution blocks.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI000D gaussian_signed_square_product

The actual square of a signed product is the product of its two actual natural squares.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0012 gaussian_signed_norm_exists

Every signed Gaussian coordinate pair has a constructed actual nonnegative squared norm.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0013 gaussian_signed_norm_functional

The squared Gaussian norm is functional across every possible square-witness choice.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0014 gaussian_signed_product_interchange_positive

Actual signed-product positive components permit interchange of the first two factors, by ordinary semiring certificates.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0015 gaussian_signed_product_interchange_negative

Actual signed-product negative components permit interchange of the first two factors, by ordinary semiring certificates.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0016 gaussian_signed_product_commutative

The two actual signed product components are commutative, before any quotient normalization.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0017 gaussian_signed_product_shuffle

Four actual signed factors admit the exact middle-factor interchange, assembled from checked associative and commutative components.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0019 gaussian_signed_square_lagrange

Lagrange cancellation for two signed squared coordinates, with exact cross-product equations and all four actual scalar squares.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI001A gaussian_signed_norm_product

The actual squared Gaussian norm is multiplicative for arbitrary signed representatives, by checked two-coordinate Lagrange cancellation.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI001B gaussian_signed_norm_integer_transport

The actual Gaussian norm is invariant under equality of both represented integer coordinates.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI001C gaussian_signed_norm_conjugate

Complex conjugation preserves the actual squared Gaussian norm, for every signed representative.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI001D gaussian_signed_square_zero_iff

A genuine natural signed square is zero exactly when the represented integer is zero.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI001E gaussian_signed_norm_nonzero

Every nonzero represented Gaussian integer has an actually positive natural norm.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI001F gaussian_signed_square_scaled

Scaling a genuine signed pair by any natural multiplies its actual square by the scalar square, including zero.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0020 gaussian_product_associate_real_positive

Exact real positive component associativity for the actual four-component Gaussian product.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0021 gaussian_product_associate_real_negative

Exact real negative component associativity for the actual four-component Gaussian product.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0028 gaussian_product_associate

The actual Gaussian product is associative in represented integer coordinates.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0029 gaussian_product_difference

The actual Gaussian product distributes over subtraction in represented integer coordinates.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI002A gaussian_equal_reflexive

Represented Gaussian integer equality is reflexive.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI002B gaussian_equal_symmetric

Represented Gaussian integer equality is symmetric.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI002C gaussian_equal_transitive

Represented Gaussian integer equality is transitive by actual signed cross-sum cancellation.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI002D gaussian_product_integer_congruence

The actual Gaussian multiplication preserves equality of represented integers in both operands.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI002E gaussian_difference_integer_congruence

Actual Gaussian subtraction preserves integer representative equivalence in both operands.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI002F gaussian_signed_norm_balance

An actual Gaussian norm is exactly the difference of its positive-square and negative-cross blocks.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0030 gaussian_conjugate_product_is_norm

Multiplication by the genuine complex conjugate produces the actual natural norm with zero imaginary coordinate.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0031 gaussian_natural_scalar_product

Gaussian multiplication by a natural real scalar is actual coordinatewise natural scaling.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0032 gaussian_adjoint_product_is_norm_scale

The actual conjugate times a Gaussian product equals the genuine norm-scaled second factor.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0033 gaussian_residual_conjugate_identity

For the actual residual a-bq, multiplication by the conjugate divisor gives exactly the rounded numerator error a*conjugate(b)-N(b)q.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0034 gaussian_difference_reconstructs_dividend

Adding a Gaussian subtrahend to its actual signed residual reconstructs the dividend in both integer coordinates.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0035 gaussian_nonzero_natural_positive

Every nonzero natural has an explicit strict-positive gap witness.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0036 gaussian_double_square_strict

Twice the square of a positive natural is strictly smaller than the square of its double.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0037 gaussian_half_double_square_strict

For every positive modulus, any half-size magnitude has twice-square strictly below the full modulus square, including magnitude zero.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0038 gaussian_two_half_squares_strict

The sum of two genuinely half-bounded coordinate squares is strictly below the positive modulus square; no parity or positive-remainder assumption is needed.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0039 gaussian_nearest_signed_quotient_exists

Construct an actual nearest signed quotient, signed error, and half-bounded magnitude from one floor division and the checked centered natural remainder constructor.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI003A gaussian_signed_euclidean_division_exists

Construct a genuine Gaussian quotient and remainder with exact a=bq+r and strict norm decrease for every nonzero divisor; neither quotients nor a remainder bound are assumed.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI003C gaussian_signed_balance_same_code

Two signed pairs represented by the same historic canonical integer code are genuinely equal integers.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI003D gaussian_decode_from_signed_codes

Pair two actual normalized signed-integer codes into their genuine canonical natural Gaussian coordinate code.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI003E gaussian_decode_functional

A canonical Gaussian coordinate code has exactly one normalized four-component signed decoding.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI003F gaussian_representation_exists

Every pair of arbitrary represented integers has an actually constructed canonical natural Gaussian code.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0040 gaussian_representation_functional

The canonical Gaussian natural code representing two specified integer differences is unique.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0041 gaussian_representation_integer_transport

A canonical Gaussian coordinate code is invariant under arbitrary equal signed representatives.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0042 gaussian_representation_equal

Any two signed representatives of the same canonical Gaussian natural code denote the same Gaussian integer.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0043 gaussian_representation_decode

Every possibly overlapping signed representation yields actual unique normalized decoder coordinates of the same canonical code.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0044 gaussian_decode_representation

Every normalized Gaussian decoding also represents its two actual integer coordinates.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0045 gaussian_representation_is_gaussian

A genuinely represented pair always belongs to the canonical signed-coordinate Gaussian carrier.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0046 gaussian_pair_zero_codes

The zero canonical pair code has exactly zero real and imaginary signed codes.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0047 gaussian_representation_zero_iff

A canonical signed-coordinate pair is zero exactly when both represented integer differences vanish, even for overlapping raw representatives.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0048 gaussian_decode_zero_iff

The unchanged normalized signed-coordinate decoding detects the zero pair code in both directions.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0049 gaussian_signed_add_of_balances

Actual arbitrary signed-pair add contribution balances construct the unchanged historic canonical signed-add graph.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI004A gaussian_signed_add_to_balance

The unchanged historic signed-add graph has the exact arbitrary-representative contribution balance; this proves the converse rather than an unproved notation alias.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI004B gaussian_signed_mul_of_balances

Actual arbitrary signed-pair mul contribution balances construct the unchanged historic canonical signed-mul graph.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI004C gaussian_signed_mul_to_balance

The unchanged historic signed-mul graph has the exact arbitrary-representative contribution balance; this proves the converse rather than an unproved notation alias.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI004D gaussian_norm_of_representation

An actual represented pair and its actual squared modulus construct the canonical Gaussian norm graph.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI004E gaussian_norm_for_representation

The canonical norm is the actual squared modulus of every equal signed representative, not merely its selected witness.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI004F gaussian_norm_exists

Construct the actual natural squared norm of every canonical Gaussian integer, with zero and units included.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0050 gaussian_norm_functional

The actual canonical Gaussian squared norm is unique across all arbitrary signed representatives.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0051 gaussian_norm_exists_unique

Every canonical Gaussian integer has one genuinely constructed and uniquely determined natural squared norm.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0052 gaussian_sum_integer_congruence

Actual complex addition respects represented integer equality in both coordinates and both inputs.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0053 gaussian_add_of_representations

Actual signed-coordinate add representatives construct the canonical Gaussian operation graph.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0054 gaussian_add_for_representations

The canonical Gaussian add graph agrees with actual arithmetic on every chosen integer representative.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0055 gaussian_add_exists

Construct an actual canonical Gaussian add output for every pair of valid canonical Gaussian inputs.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0056 gaussian_add_functional

Actual Gaussian add has one literal canonical natural output code, independent of all representative choices.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0057 gaussian_multiply_of_representations

Actual signed-coordinate multiply representatives construct the canonical Gaussian operation graph.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0058 gaussian_multiply_for_representations

The canonical Gaussian multiply graph agrees with actual arithmetic on every chosen integer representative.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI0059 gaussian_multiply_exists

Construct an actual canonical Gaussian multiply output for every pair of valid canonical Gaussian inputs.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI005A gaussian_multiply_functional

Actual Gaussian multiply has one literal canonical natural output code, independent of all representative choices.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI005B gaussian_norm_multiply

The actual squared norm of a canonical Gaussian product equals the product of its actual natural squared norms.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI005C gaussian_division_remainder_of_representations

The actual arbitrary signed-coordinate equation a=bq+r yields the genuine canonical Gaussian multiplication-and-addition graph.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
GI005D gaussian_euclidean_division_exists

Full constructive Gaussian Euclidean division: every canonical dividend and nonzero canonical divisor produce actual canonical quotient and remainder codes satisfying a=bq+r and strict decrease of their actual squared norms.

Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
PD0002 Lt(a,b)

Witness-defined strict order on natural numbers.

Conservative definition · notation layer 0
ND0155 SignedFloor(p,n,m,q,t,r)

The genuine signed floor equation (p−n)=m·(q−t)+r and strict natural remainder bound r<m.

Conservative definition · notation layer 1
ND0142 SignedDecode(z,p,n)

The original canonical integer code: even 2p denotes p, and odd 2k+1 denotes −(k+1). The decoded positive and negative parts are normalized.

Conservative definition · notation layer 0
ND0156 SignedCodeFloor(a,m,q,r)

Actual canonical signed input and quotient codes satisfy the very same floor equation with remainder r<m.

Conservative definition · notation layer 2
ND0157 SignedDifferenceSquare(p,n,s)

The natural value s of the integer square (p−n)², expressed as a subtraction-free balanced equality.

Conservative definition · notation layer 0
ND0159 ZPairDecode(z,ap,an,bp,bn)

The shared injective code of two original canonical signed integers, with their normalized coordinate decoders. Both quadratic integer rings use this same carrier.

Conservative definition · notation layer 1
ND0160 ZPairValid(z)

The natural z actually encodes a pair of signed integers; not every natural is assumed to be a valid pair code.

Conservative definition · notation layer 2
ND0143 SignedBalance(z,p,n)

The original canonical code z represents the integer difference p−n; these supplied components need not be normalized.

Conservative definition · notation layer 1
ND0161 ZPairRep(z,ap,an,bp,bn)

The shared pair code represents the two supplied signed differences, with arbitrary nonnormalized representatives allowed.

Conservative definition · notation layer 2
PD0001 Le(a,b)

Witness-defined non-strict order on natural numbers.

Conservative definition · notation layer 0
ND0164 GNorm(z,n)

The actual norm a²+b² of the shared canonical pair code representing the Gaussian integer a+bi.

Conservative definition · notation layer 3
ND0165 ZPairAdd(a,b,c)

Actual coordinatewise integer addition in the shared signed-pair carrier. Both quadratic integer rings use this identical additive relation.

Conservative definition · notation layer 3
ND0166 GMul(a,b,c)

Actual Gaussian multiplication: (a+bi)(c+di)=(ac−bd)+(ad+bc)i, with canonical pair-code outputs.

Conservative definition · notation layer 3
ND0167 GDivRem(a,b,q,r)

The exact canonical-code equation a=bq+r, using an actual Gaussian product code and the shared addition graph. No norm bound is included here.

Conservative definition · notation layer 4
ND0168 GEuclideanDivision(a,b,q,r,U,V)

Valid quotient and remainder codes satisfy the genuine Gaussian equation a=bq+r and have actual norms U=N(r), V=N(b) with U<V.

Conservative definition · notation layer 5
ND0144 SignedAdd(a,b,c)

Actual addition of original canonical signed codes, witnessed by their decoders and balanced equality.

Conservative definition · notation layer 1
ND0145 SignedMul(a,b,c)

Actual multiplication of original canonical signed codes; opposite-sign products remain on the negative side of the balance.

Conservative definition · notation layer 1
ND0146 SignedNegate(a,b)

Canonical signed negation swaps the positive and negative decoded parts.

Conservative definition · notation layer 1

Only proof arrows are theorem dependencies. Definition arrows are hygienic abbreviations of exact first-order formulas and introduce no axiom or kernel symbol.