Repository navigation
tests: add rec-of-subst-prop, a second variant of proj-of-subst-prop - #152
Merged
Merged
Conversation
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
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.
The same
Propthat carries aTypefield —Issue.Owner : ∀ (h : GateP), resultSort h, whereresultSort hK-reduces toPropfor a variablehandstays stuck for the closed
gateWitness : GateQ— but the field is recoveredthrough the
Prop-only recursor, anAcc.reclarge elimination and apropexttransport rather than through a projection, so a guard on projections alone does
not catch it. Proof irrelevance identifies
Owner.mk gateWitness EmptywithOwner.mk gateWitness Unit, andEmptybecomes inhabited; the proof usespropextand 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