lean4-htt/src
Kyle Miller 3bd2a7419d
fix: have app unexpanders be considered before field notation (#4071)
On
[Zulip](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Notation.20in.20namespace.20not.20showing.20in.20pp/near/437016468),
Peter Nelson reported that notations that could be pretty printed with
generalized field notation did not pretty print using the intended
notation.

This PR makes it so that app unexpanders are considered before
generalized field notation. The complexity before was that we wanted to
do parent projection collapse, and since we did the collapse before
pretty printing that argument, it meant it wasn't possible to do app
unexpanders when there was a field notation candidate. The new solution
is to collapse parent projections only when actually considering field
notation, which can be done because we can safely strip off projection
syntax in an expression-directed way.
2024-05-05 22:44:01 +00:00
..
bin feat: Web Assembly Build (#2599) 2023-10-04 09:04:20 +02:00
cmake
include/lean perf: faster Nat.repr implementation in C (#3876) 2024-04-17 18:11:05 +00:00
Init fix: rfl tactic error messsage when there are no goals (#4067) 2024-05-05 10:42:41 +00:00
initialize chore: fix more typos in comments 2023-10-08 14:37:34 -07:00
kernel fix: mismatch between TheoremVal in Lean and C++ (#4035) 2024-04-30 18:10:20 +00:00
lake feat: lake: require doc comments (#4057) 2024-05-03 01:08:18 +00:00
Lean fix: have app unexpanders be considered before field notation (#4071) 2024-05-05 22:44:01 +00:00
library chore: restore #4006 (#4038) 2024-04-30 23:06:50 +00:00
runtime feat: IO.Process.get/setCurrentDir (#4036) 2024-05-02 13:49:10 +00:00
shell fix: do not dllexport symbols in core static libraries (#3601) 2024-03-15 11:58:34 +00:00
util chore: move trace.cpp to kernel (#4014) 2024-04-28 17:24:48 +00:00
CMakeLists.txt chore: begin development cycle for v4.9.0 (#4058) 2024-05-03 03:20:29 +00:00
config.h.in
githash.h.in
Init.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
lean-toolchain doc: VS Code dev setup (#2961) 2023-11-30 08:35:03 +00:00
Lean.lean feat: reserved names (#3675) 2024-03-15 00:33:22 +00:00
lean.mk.in fix: do not dllexport symbols in core static libraries (#3601) 2024-03-15 11:58:34 +00:00
Leanc.lean fix: do not dllexport symbols in core static libraries (#3601) 2024-03-15 11:58:34 +00:00
stdlib.make.in fix: do not dllexport symbols in core static libraries (#3601) 2024-03-15 11:58:34 +00:00
stdlib_flags.h chore: update domain 2023-09-20 15:13:27 -07:00
version.h.in feat: System.Platform.target (#3207) 2024-01-24 12:11:00 +00:00