Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

add instructions for clang, use markdown format #1

Merged
merged 1 commit into from
Jul 18, 2013

Conversation

soonhokong
Copy link
Contributor

No description provided.

@soonhokong soonhokong closed this Jul 18, 2013
@soonhokong soonhokong reopened this Jul 18, 2013
leodemoura added a commit that referenced this pull request Jul 18, 2013
add instructions for clang, use markdown format
@leodemoura leodemoura merged commit a7e97c4 into leanprover:master Jul 18, 2013
soonhokong added a commit that referenced this pull request Nov 17, 2013
leodemoura added a commit that referenced this pull request Dec 15, 2013
…lift_free_vars in the elaborator, it will minimize the number of local_entries needed

The modifications started at commit 1852c86 made a big difference. For example, before these changes test tests/lean/implicit7.lean generated complicated constraints such as:

[x : Type; a : ?M::29[inst:1 ?M::0[lift:0:1]] x] ⊢ Pi B : Type, (Pi _ : x, (Pi _ : (?M::35[inst:0 #0, inst:1 #2, inst:2 #4, inst:3 #6, inst:5 #5, inst:6 #7, inst:7 #9, inst:9 #9, inst:10 #11, inst:13 ?M::0[lift:0:13]] x a B _), (?M::36[inst:1 #1, inst:2 #3, inst:3 #5, inst:4 #7, inst:6 #6, inst:7 #8, inst:8 #10, inst:10 #10, inst:11 #12, inst:14 ?M::0[lift:0:14]] x a B _ _))) ≈
?M::22 x a

After the changes, only very simple constraints are generated. The most complicated one is:

[] ⊢ Pi a : ?M::0, (Pi B : Type, (Pi _ : ?M::0, (Pi _ : B, ?M::0))) ≈ Pi x : ?M::17, ?M::18

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
leodemoura added a commit that referenced this pull request Dec 21, 2013
…of homogeneous/heterogeneous equality

For homogeneous equality, arg #1 is the Type of the lhs/rhs.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
leodemoura referenced this pull request in leodemoura/lean Oct 21, 2014
…n displaying `OVERLOAD` information

We need that otherwise the Lean emacs mode will display useless overload
information such as:

            [+] int.add : ℤ → ℤ → ℤ
            overloaded with #1 + #0, #1 + #0

Note that this only became an issue after we implemented the new pretty printer
khoek pushed a commit to khoek/klean that referenced this pull request Apr 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants