File size: 920 Bytes
d3791e3
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# Prove a fact about divisibility and residues

Prove that for every integer \(n\), the number \(42\) divides \(n^7 - n\). Prove it first for each prime factor of \(42\), then combine.

## What to do

`Solution.lean` in the working directory states 4 theorems in Lean 4 with Mathlib, with `sorry` in place of each proof. Replace every `sorry` with a proof.

- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.
- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.
- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.
- The reward is the share of the 4 theorems that are proved. If the file does not compile the reward is 0, so leave `sorry` on a theorem you cannot finish rather than a broken proof.