Skip to content

🔰Lean4でスタンダードライブラリを無効化する方法はありますか? #33

Closed Answered by Seasawher
LumaKernel asked this question in Q&A
Discussion options

You must be logged in to vote

コメントありがとうございます

既存の定義との名前被りを避ける方法としては、namespace を使うのが一般的だと思います

数学系のためのlean勉強会でも、Tutorial という名前空間を開くことで名前被りを避けていました。
https://github.com/yuma-mizuno/lean-math-workshop/blob/master/Tutorial/Basic/Lecture4.lean#L7

おそらくこれが求められているものではないかなと思います

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by LumaKernel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants