Skip to content

test: for is_prop bug in the kernel - #14847

Merged
leodemoura merged 1 commit into
masterfrom
kernel_test_is_prop
Aug 19, 2026
Merged

leodemoura merged 1 commit into
masterfrom
kernel_test_is_prop

Conversation

@leodemoura

Copy link
Copy Markdown
Member

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.

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.
@leodemoura leodemoura changed the title test: for is_prop bug in kernel test: for is_prop bug in the kernel Aug 19, 2026
@leodemoura
leodemoura enabled auto-merge August 19, 2026 22:33
@leodemoura
leodemoura added this pull request to the merge queue Aug 19, 2026
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Aug 19, 2026
@mathlib-lean-pr-testing

Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 01fe11016b49e852a896f62b1590f1a763c7b145 --onto dec70ee4980b571229f784a33d72b421ede3b1d5. You can force Mathlib CI using the force-mathlib-ci label. (2026-08-19 23:05:55)

@leanprover-bot

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 01fe11016b49e852a896f62b1590f1a763c7b145 --onto 3fc29d37a70f8fd904ebab848557c12383543008. You can force reference manual CI using the force-manual-ci label. (2026-08-19 23:05:57)

Merged via the queue into master with commit 403bfc9 Aug 19, 2026
27 checks passed
kim-em pushed a commit that referenced this pull request Aug 21, 2026
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.

(cherry picked from commit 403bfc9)
kim-em pushed a commit that referenced this pull request Aug 21, 2026
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.

(cherry picked from commit 403bfc9)
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-other toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants