lean-ja / lean-ja/lean-by-example
invalid universe level エラー
Open
Nobody has claimed this yet.
データ型
メモ
- Dominant language
- Lean
- Stars
- 188
- Forks
- 15
- Avg merge
- 9h 8m
- Merged PRs (30d)
- 6
Description
namespace MyProp
inductive «Prop» : Type 0 where
| True : «Prop»
/-
invalid universe level in constructor 'MyProp.Prop.imp', parameter 'a' has type
Type
at universe level
2
it must be smaller than or equal to the inductive datatype universe level
1
-/
| imp (a : Type) : «Prop»
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides only a Lean code snippet and compiler error, with no repository file, test, or expected change named. Start by locating the corresponding example in this Lean-by-example repository and reproducing the snippet; done requires an agreed correction or explanation for the invalid universe level.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100