Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedPipeline-generatedprecheck pass
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Exact rational interval coding of the block AB

Facts & Assumptions

Given: Alphabet order A,B,C, rational frequencies (qA,qB,qC)=(3,2,1) with Q=6, maximum and fixed frame length N=n=2, and input block AB.

[F1]

Exact finite-register arithmetic coding for rational block sources: At symbol xt, the update is L←L+WcxtQn−t and W←Wqxt; the output uses the largest u with 2uW≤Qn, then s=u+2 and k=⌊2s(2L+W)/(2Qn)⌋.

[F2]

The rational finite-register arithmetic code is prefix-free and lossless: The finite decoder returns exactly the encoded block.

[F3]

Finite discrete sources and product blocks: The block law is the product of the one-symbol probabilities.

Example

With p=(1/2,1/3,1/6) and a length-two frame, the interval for AB should be [1/4,5/12). The emitted codeword is 0101, whose dyadic cell is strictly inside that interval.

The diagram uses horizontal position for the real coordinate on [0,1). The upper bar is the source interval for AB; the lower bar is the dyadic cell represented by 0101. It illustrates the exact rational comparisons below but is not used as proof.

101=43=85=121=21I(AB)=[1=4;5=12)J(0101)=[5=16;3=8)

Verification

1.1F1F3givenalgebra

For the first symbol A, cA=0, so the update from (L,W)=(0,1) gives (0,3). For the second symbol B, cB=qA=3 and Qn−2=1, so (L,W)=(0+3⋅3,3⋅2)=(9,6). With D=Qn=36, the source interval is [9/36,15/36)=[1/4,5/12); its width 6/36=1/6 equals pApB by [F3].

1.2F1givenalgebra

Since 22⋅6=24≤36<48=23⋅6, the largest admissible u is 2 and the payload length is s=4. The midpoint is (2⋅9+6)/(2⋅36)=1/3, hence k=⌊16/3⌋=5 and its four-bit representation is 0101. Also B=6 because 25<36≤26, so the emitted four-bit word obeys the configured B+2 limit.

2.1F2step 1.1step 1.2algebra∎

The dyadic cell of 0101 is [5/16,6/16)=[5/16,3/8). Exact comparisons give 1/4=4/16<5/16 and 3/8=9/24<10/24=5/12, so this cell is inside [1/4,5/12). By [F2], the decoder returns AB uniquely.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

12 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources