lean4-htt/tests/elab/issue11665.lean
Jason Yuen 3770b3dcb8
chore: fix spelling errors (#13274)
This PR fixed typos:

```
pip install codespell --upgrade
codespell --summary --ignore-words-list enew,forin,fro,happend,hge,ihs,iterm,spred --skip stage0 --check-filenames
codespell --summary --ignore-words-list enew,forin,fro,happend,hge,ihs,iterm,spred --skip stage0 --check-filenames --regex '[A-Z][a-z]*'
codespell --summary --ignore-words-list enew,forin,fro,happend,hge,ihs,iterm,spred --skip stage0 --check-filenames --regex "\b[a-z']*"
```
2026-04-04 07:34:34 +00:00

13 lines
393 B
Text

opaque opq : Nat → Nat
/-- A particular tricky inductive type -/
inductive T : Nat → Type where
| mk3 n : T (n + 1)
| mk4 n : T (opq n) -- Removing this constructor makes the issue go away
def test1 : (n : Nat) → T n → Unit
| Nat.succ _, T.mk3 _ => ()
| _, _ => ()
def eqns := @test1.match_1.eq_1 -- used to fail
def congreqns := @test1.match_1.congr_eq_1 -- used to fail