Documentation

CslibFrontier.Computability.Complexity.RealAlgebraic.CoordinateFingerprintWitness

Fixed-width coordinate fingerprint witnesses #

For each coordinate, a framed list of binary naturals records the modulus offset, modular-power parameter, and target in that order. The low bit of the target encodes its sign. The frame permits padding to one width. Binary addressing and bounded decoding work on every word. Every tuple of admissible choices has a word of that width.

Adapted from the fingerprint part of ChoiceTupleEncoding, ChoiceTupleNative and ChoiceTupleCompleteness in lean-canny at 970f28a5ecefc1327402ade16c068aa4b1b2c183. The deformation coefficient index is selected by the coordinate evaluator, so the witness here carries fingerprint entries only.

One coordinate's modular-power fingerprint and signed target.

  • modulus : ℕ

    Modulus for the modular powers.

  • parameter : ℕ

    Base of the modular powers.

  • target : ℤ

    Signed value of the fingerprint to select.

The common decoded-modulus bound for coordinate polynomials of degree at most D.

The admissible ranges for a fingerprint of a polynomial of degree at most D.

@[reducible, inline]

The framed binary list, followed by an arbitrary padding suffix.

Decode the fingerprint for coordinate i, using zero for absent entries. The modulus lies in the admissible range even when the word or the coordinate address is out of range.

The decoded fingerprint is bounded for every word and binary coordinate address.

Bit width of a padded fingerprint tuple for n coordinates of degree bound D.

Every admissible coordinate fingerprint tuple has a witness at the prescribed width.