Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura fdadada3a9 fix(frontends/lean): fixes #1468
@kha I had to add yet another hack to fix this issue.

In notation declarations, names are resolved at notation declaration time.
So, users do not expect them to be resolved again at tactic execution time.

I addressed this problem by wrapping constants occurring in notation
declarations with a "frozen_name" annotation. This transformation is
only performed if m_in_quote is true.
Then resolve_names_fn at elaborator.cpp will not try to resolve the
names again.

This change broke two other modules. `-` notation for inverting
equations at `rw`, and `calc` expressions inside quotes.
The broke for the same reason. They were not expecting the constants
to be wrapped with an annotation.
2017-03-18 13:48:21 -07:00
bin chore(bin/lean-gdb): fix macro pretty-printing 2017-03-06 11:02:50 -08:00
doc chore(*): remove last remnants of mpfr 2017-02-24 21:42:58 +01:00
extras chore(extra/latex/*): update to changes in syntax 2017-01-03 11:22:04 -08:00
images chore(CMakeLists.txt): move Lean logo to make sure we can test leanemacs without installing Lean 2015-01-31 17:38:49 -08:00
library fix(frontends/lean): fixes #1468 2017-03-18 13:48:21 -07:00
old_library refactor(gitignore): remove old ignore entries 2016-12-10 08:42:39 -08:00
script chore(script/gen_constants_cpp): make it run from anywhere 2017-03-09 20:30:03 -08:00
src fix(frontends/lean): fixes #1468 2017-03-18 13:48:21 -07:00
tests fix(frontends/lean): fixes #1468 2017-03-18 13:48:21 -07:00
tmp feat(tmp/micro_lenses): experiment with van Laarhoven-style lens 2017-03-11 11:35:02 -08:00
.appveyor.yml chore(CMakeLists): bumped master branch to 3.1.1 2017-02-25 18:12:04 -08:00
.appveyor.yml.in chore(travis,appveyor): remove mpfr 2017-02-24 21:41:59 +01:00
.codecov.yml feat(.travis.yml): add codecov 2016-12-02 17:01:58 -08:00
.gitignore chore(.gitignore): ignore VSCode config file 2016-12-18 12:35:25 -08:00
.travis.yml chore(CMakeLists): bumped master branch to 3.1.1 2017-02-25 18:12:04 -08:00
.travis.yml.in chore(travis,appveyor): remove mpfr 2017-02-24 21:41:59 +01:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md chore(README.md): remove obsolete mpfr dependency 2017-02-24 21:39:30 +01:00

logo

LicenseWindowsLinux / macOSTest CoverageChat
Codecov Join the gitter chat

About

Requirements

Build Instructions

Miscellaneous