Repository navigation
test: for is_prop bug in the kernel - #14847
Merged
Merged
Conversation
This PR adds another test for the `is_prop` bug in the kernel. The exploit was submitted by Daniel Selsam (OpenAI) and was generated using OpenAI's internal models.
is_prop bug in kernelis_prop bug in the kernel
leodemoura
enabled auto-merge
August 19, 2026 22:33
|
Mathlib CI status (docs):
|
Collaborator
|
Reference manual CI status:
|
kim-em
pushed a commit
that referenced
this pull request
Aug 21, 2026
kim-em
pushed a commit
that referenced
this pull request
Aug 21, 2026
nomeata
added a commit
to leanprover/lean-kernel-arena
that referenced
this pull request
Aug 21, 2026
…152) The same `Prop` that carries a `Type` field — `Issue.Owner : ∀ (h : GateP), resultSort h`, where `resultSort h` K-reduces to `Prop` for a variable `h` and stays stuck for the closed `gateWitness : GateQ` — but the field is recovered through the `Prop`-only recursor, an `Acc.rec` large elimination and a `propext` transport rather than through a projection, so a guard on projections alone does not catch it. Proof irrelevance identifies `Owner.mk gateWitness Empty` with `Owner.mk gateWitness Unit`, and `Empty` becomes inhabited; the proof uses `propext` and no other axiom. Fixed, like proj-of-subst-prop, by leanprover/lean4#14807. The exploit is by Daniel Selsam (OpenAI), generated with OpenAI's internal models, and is the regression test from leanprover/lean4#14847. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013aD597ZqUV1XrMPdveoaKt Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds another test for the
is_propbug in the kernel.The exploit was submitted by Daniel Selsam (OpenAI) and was generated using OpenAI's internal models.