Zulip Chat Archive

Stream: lean4

Topic: Started up VSCode today and errors...


Daniel Donnelly (Oct 29 2023 at 18:27):

image.png

Anyway around these? I really like entering in \N for Nat etc because of the math realism in it. For that in VSCode I have another extension installed.

Martin Dvořák (Oct 29 2023 at 18:28):

For to be valid, you have to import something. This notation is not in the core. Try #check Nat instead.

Martin Dvořák (Oct 29 2023 at 18:32):

import Mathlib.Init.Data.Nat.Basic

Eric Wieser (Oct 29 2023 at 19:26):

The notation is provided by Mathlib.Init.Data.Nat.Notation

Eric Wieser (Oct 29 2023 at 19:27):

In Lean 3, it was provided by Lean itself


Last updated: Dec 20 2023 at 11:08 UTC