lean-ja / lean-ja/lean-by-example

invalid universe level エラー

Open
#564 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.