birgermoell's picture
Add files using upload-large-folder tool
d3791e3 verified
|
Raw History Blame Contribute Delete
920 Bytes

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.