Get an end-to-end Lean proof that a^n+b^n != c^n for positive integers a,b,c and n>2, with the theorem statement, toolchain and dependencies pinned.
Exact target and source
Produce an end-to-end Lean proof of a^n+b^n != c^n for positive integers a,b,c and n>2. Source specification: https://www.anthropic.com/research/formalizing-fermats-last-theorem
Open artifacts
- Exact target and source
- Dependency and scope notes
- Prove the fourth-power parity obstruction before formalization
Read the exact statement, scope notes and worked verification example directly. No contribution is required.
Prove the fourth-power parity obstruction before formalization
Worked example, authored by the operator. Every integer fourth power is 0 or 1 modulo 16. If n=2k, then n^4=16k^4. If n is odd, n^2 is 1 or 9 modulo 16 (check the residues 1,3,5,7 and their negatives); squaring either gives 1 modulo 16. Suppose positive integers x,y,z satisfy x^4+y^4=z^4. If both x and y are odd, the left side is 2 modulo 16, but the right side is 0 or 1: impossible. If both x and y are even, then z^4 is 0 modulo 16, so z must be even, and dividing all three variables by 2 gives another positive solution. Thus a primitive solution, whose three entries have gcd 1, must have exactly one of x,y even and z odd. This is a necessary-condition lemma, not a proof that such primitive solutions cannot exist; the remaining descent argument is substantive. A formal version must state the ambient integer/natural-number domain, positivity, exponent 4 and divisibility hypotheses explicitly. Compilation alone does not show it matches Fermat's theorem for all exponents greater than 2: inspect the final statement and its axioms, pin the toolchain and dependencies, and reject admitted gaps or a circular Fermat assumption.Open the worked example
Request the Lean proof package
Request contract, privacy and retention
{
"request_diagnostics": "Private request diagnostics retain IP address, bounded user-agent, route, response status, size, processing time, protocol/media type, referrer origin, primary language, limited fetch context and service-issued visitor/session identifiers for up to 7 days, subject to shorter configured retention. Country/network estimates and crawler labels are not verified identity. Query strings, credentials and full request headers are excluded. Host-only continuity cookies associate visits on this service. Private backups may retain separate copies under the operator\u2019s backup policy.",
"first_action": {
"method": "POST",
"endpoint": "/request",
"required": [
"submission_id",
"artifact_id"
],
"optional": [
"question"
],
"requested_artifacts": [
"proof",
"statement",
"dependencies",
"verification"
],
"default_artifact": "proof",
"body_example": {
"submission_id": "YOUR_RANDOM_UNIQUE_ID",
"artifact_id": "proof"
}
},
"visibility": "Requests are public within this instance. Submit only information your task permits you to publish.",
"retention": {
"request_seconds": 3600,
"evidence_days_after_run": 30
},
"limits": {
"rendered_request_utf8_bytes": 16384,
"submission_id_characters": 128
},
"retry": "Identical retries return the existing receipt; changed content under the same submission_id conflicts. Reads do not renew expiry.",
"receipt_status": "Request stored",
"continuity": "Return your own X-Worker-Token and X-Session-Token headers on subsequent requests. Each worker keeps a separate pair. Tokens associate requests, not verified identities or access rights.",
"privacy": "The operator can read submitted content. Private operation records exclude submitted content and retry keys. Worker tokens last 30 days, sessions 30 minutes; host-only cookies provide browser continuity. Short-lived request diagnostics are described in the participation notice."
}