Euler's theorem for units — Exact Proof Explorer

Public research checkpoint, not admitted to Alpha or Stable. Alpha v30 remains 3222 checked-use theorems; Stable remains 432. The on-demand Alpha Lean service does not yet expose these checkpoint theorems; their independently checked literal bundles and unchanged sources are available below.

Follow the constructed multiplier permutation, the weighted finite product, and the count-prefix induction to an actual power congruent to one.

32 theorem bodies · 91 proof edges · 1203 tactic lines · 8 layers

Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable

32 theorems
01234567
EU0001 · euler_coprime_mod_transport

Balanced congruence transports actual common-divisor coprimality, even at modulus zero or one.

layer 0 · 31 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0002 · euler_multiplier_coprime_iff

Multiplication by a coprime multiplier preserves and reflects precisely the unit predicate used by Phi.

layer 1 · 38 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0004 · euler_modular_unit_coprime

An actual bounded inverse implies the frozen common-divisor coprimality graph.

layer 0 · 11 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0005 · euler_coprime_modular_unit

Above modulus one, coprimality constructs the blueprint's actual bounded inverse without assuming it.

layer 0 · 15 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0006 · euler_multiplier_residue_exists

Actual Euclidean division constructs a canonical residue of every multiplied index, including index zero.

layer 0 · 27 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0007 · euler_multiplier_prefix_empty

The empty multiplier prefix has no residue obligations.

layer 0 · 13 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0008 · euler_multiplier_prefix_extend

Append the actual next canonical residue, preserving every earlier decoded multiplier value.

layer 0 · 49 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0009 · euler_multiplier_prefix_exists

HA induction builds the complete beta-coded multiplier prefix; no map or bijection is supplied as a premise.

layer 1 · 35 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU000A · euler_multiplier_prefix_entry

Every decoded map entry, not just its construction witness, has the required bound and balanced congruence.

layer 0 · 28 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU000B · euler_multiplier_prefix_bounded_injective

Coprime modular cancellation makes the genuinely constructed full multiplier map a bounded injection.

layer 1 · 78 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU000C · euler_multiplier_prefix_permutation

The multiplier map has actual bounded, injective, and surjective prefix evidence, not an assumed permutation label.

layer 2 · 27 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU000D · euler_multiplier_permutation_exists

Every coprime multiplier at every positive modulus constructs a genuine canonical finite permutation, including modulus one.

layer 3 · 24 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU000E · euler_unit_product_factor_exists

Construct the actual weighted factor by the independent decidable coprimality predicate.

layer 0 · 17 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU000F · euler_unit_product_factor_unit_value

At a genuine unit index the weighted factor is the index itself.

layer 0 · 12 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0010 · euler_unit_product_factor_nonunit_value

A nonunit index contributes exactly one, not a zero or an assumed cancellable residue.

layer 0 · 12 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0011 · euler_unit_product_factor_coprime

Every weighted factor is coprime to the modulus, including the modulus-one zero factor.

layer 0 · 12 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0012 · euler_unit_product_prefix_empty

The empty weighted-factor prefix is valid for any beta codes.

layer 0 · 12 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0013 · euler_unit_product_prefix_extend

Actually append the independently chosen next factor while preserving every earlier factor.

layer 0 · 47 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0014 · euler_unit_product_prefix_exists

HA induction constructs all coprime-weighted factors; their list is never an endpoint assumption.

layer 1 · 23 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0015 · euler_unit_product_prefix_drop_last

Restrict an actual weighted-factor prefix to its predecessor interval.

layer 0 · 13 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0016 · euler_unit_product_prefix_entry

The weighted-factor choice holds for every actual decoded entry, independently of beta encoding.

layer 0 · 27 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0017 · euler_unit_product_coprime

The entire actual unit-weighted product is coprime to m; this is the proved cancellation premise.

layer 1 · 65 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0018 · euler_unit_factor_scaled_congruence

A unit index contributes exactly one multiplier factor under the actual residue permutation.

layer 2 · 38 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0019 · euler_nonunit_factor_unchanged_congruence

A nonunit index and its image both contribute one, so neither adds to the exponent.

layer 2 · 42 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU001A · euler_unit_scaled_prefix_drop_last

Restrict the independently specified unit-scaled action to its predecessor prefix.

layer 0 · 24 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU001B · euler_unit_product_reindex_scale

Actual beta composition along the multiplier permutation scales precisely the factors counted by Phi.

layer 3 · 86 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU001D · euler_coprime_weighted_product_cancel

Cancel the proved coprime finite product in a balanced congruence, including the valid modulus-one case.

layer 0 · 23 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU001E · euler_unit_count_product_balance

Induction on the actual independently counted zero-based unit prefix proves the exact power/product congruence; no Euler conclusion or unit-count oracle is a premise.

layer 1 · 208 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU001F · euler_coprime_totient_power_value

For every positive modulus and any actual Phi and Pow values, construct all finite permutation/product witnesses and prove the Euler congruence by coprime cancellation.

layer 4 · 111 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0020 · euler_coprime_totient_power

Construct the actual exponentiation witness for Euler's theorem at every positive modulus, without supplying a power, factor list, or permutation.

layer 5 · 23 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0021 · euler_modular_unit_totient_power

The exact actual-inverse Unit graph suffices for a constructed Euler power; no prime-modulus restriction is introduced.

layer 6 · 20 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
EU0022 · euler_theorem_for_units

Full exact G014: m>1 and a genuinely witnessed modular unit and independently counted Phi imply an actual Pow witness congruent to one.

layer 7 · 12 lines · Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable

Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable. All prerequisite bodies are checked in the literal complete bundle.