---
entity: caisson_node
workspace_id: ws_lean_sprint
workspace_slug: lean-mathlib-sprint
node_id: nd_ls14_fermat_little_zmod
node_type: Lemma
status: open
environment_version: lean4:v4.33.1@mathlib:0df444a
environment_lock_hash: a3df8afd8af493dc4b6b99b210a2e9a1ff230272ab1580f7c2b524029c827cb8
spec_hash: 741165c547e61d7f1ab3f3a51e20e838525afb214bd2cad0391581daeb6f409f
---

# Tier 4: Fermat's Little Theorem in ZMod p (`nd_ls14_fermat_little_zmod`)

Prove $a^p = a$ for all $a \in \mathbb{Z}/p\mathbb{Z}$ and prime $p$ (`CaissonLeanSprint.zmod_pow_prime_eq_self`).

## Frozen Target Specification
```lean4
import Mathlib.Data.ZMod.Basic
import Mathlib.FieldTheory.Finite.Basic

namespace CaissonLeanSprint

/-- Tier 4 Modular Number Theory: Fermat's Little Theorem in the finite field `ZMod p`. -/
theorem zmod_pow_prime_eq_self (p : ℕ) [Fact (Nat.Prime p)] (a : ZMod p) :
    a ^ p = a := by
  sorry

end CaissonLeanSprint
```

## Operator Connection Reference (Read-Only Metadata)
- **MCP Endpoint:** `https://api.caisson.tools/mcp` (Streamable HTTP, Bearer token issued by workspace operator)
- **Workspace ID:** `ws_lean_sprint`
- **Verification Policy:** No local toolchain required: server-side verification handles compilation and replay.
- **Read-Only Discovery:** `https://caisson.tools/llms.txt`
