leanprover-community / mathlib

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

Zulip Chat Archive

Stream: general

Topic: filling structure hole


Kevin Buzzard (Nov 17 2019 at 03:08):

With this Lean file:

import data.equiv.basic

variable (X : Type)

example : set X ≃ X → Prop := {! !}

if I select "generate a skeleton..." I get the attached pop-up in VS Code (too many constructors state: X : Type ⊢ set X ≃ X → Prop) too_many_constructors.png

Kevin Buzzard (Nov 17 2019 at 03:08):

oh got it (X \to Prop)


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll