leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: lean4

Topic: kernel error in inductive


Jovan Gerbscheid (Oct 27 2025 at 14:13):

I ran into the following strange bug:

structure A (α : Type) where
  private mk :: val : α

inductive B where
| b : A B → B
/-
(kernel) constant has already been declared '_private.«external:file:///MathlibDemo/MathlibDemo.lean».0.A.mk'
-/

Mac Malone (Oct 27 2025 at 14:25):

This is lean4#10789. Feel free to upvote that issue!


Last updated: Dec 20 2025 at 21:32 UTC

Theme Simple by wildflame © 2016 Powered by jekyll