Confusing error using lseq
- Dominant language
- F*
- Stars
- 15
- Forks
- 1
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 49
Description
It took over an hour to find the reason for this error.
Commit 3cd25cf: [`Kuiper.Poly.GEMM.TensorCore2D.fst` line 218](https://github.com/mtzguido/kuiper/blob/3cd25cff37e845fba3406b2f1e3e4731cbff73f6/src/lib/poly/gemm/Kuiper.Poly.GEMM.TensorCore2D.fst#L218) fails with a confusing error.
The reason is the type `lseq` of `emAFrags` in line 181. (The refined type is erased when pulled into the context.)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with src/lib/poly/gemm/Kuiper.Poly.GEMM.TensorCore2D.fst at lines 181 and 218 in commit 3cd25cf. Inspect how the lseq type of emAFrags is represented when the refined type is pulled into context, then reproduce the failure. Done should make this error explain the relevant type issue instead of requiring extensive investigation.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100