leanprover / leanprover/lean4

Potential kernel problem

Open
#8,390 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P-low
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

Hi Folks

I'm trying to get familiar with the Lean proof assistant.

https://github.com/perlindgren/lean_vips/tree/kernel-err

(so the kernel-err branch)
theorem prog_sum

The proof errors out with:

(kernel) application type mismatch
  Eq.trans
    (congrArg (fun x => x.snd + 4#32 &&& 4026531840#32 ||| 12#32)
       ...

I tried with 4.18. 4.19. 4.20.0-rc2 and .rc5, under Manjaro x86, and additionally 4.20.0-rc5, under Macos (aarch64 Macbook-pro M4), same problem.

Best regards
Per

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the kernel-err branch and LeanVips/Basic.lean at the linked theorem prog_sum around line 131, then reproduce the reported kernel application type mismatch on a supported Lean version. Compare the behavior across the versions and platforms mentioned; done means establishing a minimal, confirmed kernel issue or documenting why the proof failure is expected.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.