Complete beta-coded traces · Horner power invariants · unique modular output

Constructive binary modular execution and power correctness

Nineteen independently checked constructive theorems build complete square-and-multiply traces for any supplied valid beta-coded digit prefix, prove the exact Horner/exponent power invariant, and give a unique result.

19 kernel- and Lean-verified Alpha-closed theorems · 20 conservative definitions · 27 notation dependencies

Alpha v34 checked-use · first admitted v22 · 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.

39 items
BE0001 binary_digit_prefix_empty

Every empty beta-coded prefix is constructively a valid binary digit sequence.

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

Every valid successor-length binary digit prefix has a valid predecessor prefix.

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

Every nonempty valid beta-coded binary prefix has a genuine final zero-or-one digit.

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

There is a real beta code whose initial square-and-multiply accumulator is one.

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

Every actual modular square-and-multiply transition explicitly carries a binary digit.

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

For every guarded modulus, the actual initial accumulator one is the canonical zeroth power.

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

One exact binary zero transition preserves the witnessed canonical power invariant.

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

One exact binary one transition preserves the witnessed canonical power invariant.

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

Every actual zero-or-one modular transition preserves the matching binary-prefix power.

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

Append one genuine beta-coded binary digit and canonical modular transition while preserving every previous execution state.

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

Natural induction constructs a complete genuine beta-coded square-and-multiply trace for every supplied valid finite binary digit prefix.

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

Every guarded valid coded binary digit prefix has a genuine witnessed modular execution and decoded terminal result.

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

The terminal accumulator of any actual empty binary execution is exactly one.

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

Every nonempty actual binary execution decomposes into its exact valid predecessor and final modular transition.

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

A valid final Horner digit yields the exact exponent decomposition e=2h+d.

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

Every genuine coded square-and-multiply execution is the canonical modular power of the exact base-two Horner exponent represented by its digit prefix.

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

Every valid beta-coded binary prefix has a witnessed Horner exponent, complete actual modular execution, and independently proved canonical power invariant.

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

Any two complete actual coded square-and-multiply executions of the same guarded binary prefix have identical terminal residues.

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

Every supplied valid beta-coded binary prefix has exactly one genuine guarded square-and-multiply execution result.

Alpha v34 checked-use · first admitted v22 · independently kernel and Lean verified; not Stable
ND0001 Beta(b,c,i,x)

Exact hygienic Gödel-beta extraction; a signature-identical alias of checked BetaAt.

Conservative definition · notation layer 0
PD0002 Lt(a,b)

Witness-defined strict order on natural numbers.

Conservative definition · notation layer 0
PD0008 ModEq(m,a,b)

Balanced-natural congruence modulo m.

Conservative definition · notation layer 0
ND0026 BinaryModularStep(m,u,a,b,r)

One exact binary square or square-and-multiply transition with a genuinely canonical reduced output.

Conservative definition · notation layer 2
ND0035 BinaryExecutionTrace(d,s,a,m,n,h,t)

A complete beta-coded accumulator history starting at one and preserving the checked square-and-multiply transition at every digit.

Conservative definition · notation layer 3
ND0002 Horner(b,c,x,ell,z)

A complete beta-coded natural-polynomial Horner trace with an explicitly witnessed terminal value.

Conservative definition · notation layer 1
PD0013 BetaAt(b,c,i,x)

x is the bounded beta-decoded value at index i.

Conservative definition · notation layer 0
PD0014 Product(b,c,l,z)

z is the product of a beta-coded prefix of length l.

Conservative definition · notation layer 1
PD0019 Repeat(b,c,a,l)

The decoded prefix repeats a for l positions.

Conservative definition · notation layer 1
PD0020 Pow(a,e,z)

z is the relational e-th power of a.

Conservative definition · notation layer 2
ND0027 BinaryModularPower(a,e,m,r)

The exact canonical natural residue of the existing beta-coded exponentiation relation Pow(a,e,z).

Conservative definition · notation layer 3
ND0021 BinaryModulus(m)

The exact constructive nontrivial-modulus guard 1<m.

Conservative definition · notation layer 1
ND0028 PowTwo(e,p)

The exact existing constructive exponentiation relation Pow(2,e,p).

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

Witness-defined non-strict order on natural numbers.

Conservative definition · notation layer 0
ND0030 BitLen(n,ell)

The unique binary length, with BitLen(0,1) and positive bounds 2^(ell-1)≤n<2^ell.

Conservative definition · notation layer 4

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