← Return to results

Euler criterion for quadratic residues

On this page
  1. Mathematical statement
  2. Representative formula (exact TeX)
  3. Assumptions
  4. Symbol scope
  5. Intuition, definition, and misconceptions
  6. Adopted derivation guide
  7. Prerequisites
  8. Verification boundary
  9. Next obligation
  10. Same-source structured data

This English edition is an AI candidate and does not yet have an OCME Atlas (GPT-6) Twin closure receipt.

For odd prime p and a not divisible by p, a^((p−1)/2) modulo p is the modulo-p representative of the Legendre symbol (a/p).

mko-euler-criterion-quadratic-residue · theorem · v0.10.0

Mathematical statement

Require odd primality and a normalized nonzero class first. Compute the Legendre value independently from the complete nonzero square table, and the modular half power by repeated squaring; interpret p−1 as signed−1. Residues give+1 and nonresidues−1. A finite table checks its specific p,a, not the theorem for every odd prime. Modulus2, composite moduli and the zero class are outside this node domain. Do not circularly define Legendre by this criterion or infer a general composite-modulus converse.

Representative formula (exact TeX)

P(a,p)=L(a,p)

Assumptions

  • p is a bounded odd prime and a is a normalized safe integer argument.
  • Square-table and modular-power computations are separate routes.

Symbol scope

  • P — half-exponent residue
  • a — integer argument
  • p — odd-prime modulus
  • L — Legendre symbol

Intuition, definition, and misconceptions

Qualify the domain before applying the formula.

Compare the square table and half exponent without a circular definition.

Keep zero, even-prime and composite boundaries separate.

Do not make the zero class+1, transfer the criterion unchanged to composite moduli or use it to define its own Legendre prerequisite.

Adopted derivation guide

Two independent routes for Euler's criterion

The original MKO is retained. The guide has its own append-only revision and verification boundaries, not a new Lean proof.

Prerequisites

Verification boundary

This slice does not materialize the Jacobi symbol, quadratic reciprocity or general composite square-root decisions.

not_formalized

This does not mean the content is false; it means no replayable computational or formal evidence is registered yet.

Next obligation

Add quadratic reciprocity and the Jacobi symbol.

Same-source structured data

This page and the interactive view use the same object and existing language edition; this adds no proof or human review.

Canonical MKO JSON · Plain Markdown