Skip to content

Fix constDF case in Stratified induction - #15

Open
heathsanchez wants to merge 1 commit into
digama0:masterfrom
heathsanchez:sorrydb-fix-stratified-constdf-typed
Open

Fix constDF case in Stratified induction#15
heathsanchez wants to merge 1 commit into
digama0:masterfrom
heathsanchez:sorrydb-fix-stratified-constdf-typed

Conversation

@heathsanchez

Copy link
Copy Markdown

Summary

This removes one sorry in Lean4Lean/Experimental/Stratified.lean, in the constDF case of IsDefEq.induction1.

This is the typed/stratified analogue of #14. The proof binds the recursive induction hypotheses explicitly in the constDF case pattern and uses the Γ-level induction hypothesis in reverse through hdf.

A first attempt with an explicit universe argument failed because it over-constrained the type index. Letting Lean infer the .defeq universe argument resolves the index.

Verification

Checked locally:

lake build Lean4Lean.Experimental.Stratified
lake build

Both passed.

Note: the repository still contains unrelated existing sorrys in other files; this PR only removes the target sorry in Stratified.lean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants