DEV-MODE auth (username + password, local only) ยท GitHub live mode
PProofGardenLean Judge
โ† Nat add zero

Submission cmpgy89f

by aliceยท5/22/2026, 2:21:59 PM
Accepted๐ŸŒฑ +5 Seeds awarded
Proof body (as submitted)
lemma helper (n : Nat) : n + 0 = n := Nat.add_zero n
theorem answer (n : Nat) : n + 0 = n := helper n
proof_body_hash: 8909d528b93d0b1a39e75c3e6558558920a60747b01020c8ea2070a2b54f0a5a
Generated Lean file

What the judge actually compiles

-- AUTO-GENERATED by ProofGarden Lean Judge. Do not edit by hand.
-- Challenge: C0001
-- Submission: cmpgy89ff00019ge4qa0lxyh2

import ProofGarden.Challenges.C0001.Statement
import Mathlib

namespace ProofGarden.Challenges.C0001.Submissions.Submission_cmpgy89ff00019ge4qa0lxyh2

-- โ”Œโ”€โ”€ USER SUBMISSION BODY (verbatim) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
lemma helper (n : Nat) : n + 0 = n := Nat.add_zero n
theorem answer (n : Nat) : n + 0 = n := helper n
-- โ””โ”€โ”€ USER SUBMISSION BODY END โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

/-- App-appended type check. Refuses to compile unless
    `answer` has type `โˆ€ (n : Nat), n + 0 = n`. -/
def solution_target : โˆ€ (n : Nat), n + 0 = n := answer

#print axioms solution_target

end ProofGarden.Challenges.C0001.Submissions.Submission_cmpgy89ff00019ge4qa0lxyh2
file_hash (recomputed): 05d7ee322b66d8014a6cdf100806f4b1f9ccf6e244b5bac79ff123bc43f9406c โœ“ matches stored hash
GitHub
Branchsubmission/cmpgy89ff00019ge4qa0lxyh2
Commit SHA1d6e421fbe965ed063d52760a1fccc71764d350f
Workflow runhttps://github.com/ryendo/proofgarden-judge/actions/runs/26290319633
PR #โ€”