lean4-htt/src/Lean
Leonardo de Moura de5e039c83
fix: type class issues with maxSynthPendingDepth := 1 (#4119)
Summary:

- Take `synthPendingDepth` into account when caching TC results
- Add `maxSynthPendingDepth` option with default := 2.
- Add support for tracking `synthPending` failures when using
`set_option diagnostics true`

closes #2522
closes #3313
closes #3927

Identical to #4114  but with `maxSynthPendingDepth := 1`

closes #4114 

cc @semorrison
2024-05-14 03:03:32 +00:00
..
Compiler feat: propagate maxHeartbeats to kernel (#4113) 2024-05-09 17:44:19 +00:00
Data fix: generate deprecation warnings for dot notation (#3969) 2024-05-09 04:52:09 +00:00
Elab fix: type class issues with maxSynthPendingDepth := 1 (#4119) 2024-05-14 03:03:32 +00:00
Language fix: mainModuleName should use srcSearchPath (#4066) 2024-05-08 12:34:27 +00:00
Linter feat: improve @[deprecated] attr (#3968) 2024-04-23 17:00:32 +00:00
Meta fix: type class issues with maxSynthPendingDepth := 1 (#4119) 2024-05-14 03:03:32 +00:00
Parser feat: subst notation (heq ▸ h) tries both orientation (#4046) 2024-05-02 07:02:40 +00:00
ParserCompiler feat: reserved names (#3675) 2024-03-15 00:33:22 +00:00
PrettyPrinter fix: have app unexpanders be considered before field notation (#4071) 2024-05-05 22:44:01 +00:00
Server fix: mainModuleName should use srcSearchPath (#4066) 2024-05-08 12:34:27 +00:00
Util fix: revert "monadic generalization of FindExpr" (#4125) 2024-05-10 20:36:08 +00:00
Widget fix: show trace timings in infoview (#3985) 2024-04-24 15:55:27 +00:00
AddDecl.lean feat: propagate maxHeartbeats to kernel (#4113) 2024-05-09 17:44:19 +00:00
Attributes.lean feat: improve @[deprecated] attr (#3968) 2024-04-23 17:00:32 +00:00
AuxRecursor.lean chore: remove the coercion from String to Name (#3589) 2024-03-21 23:46:03 +00:00
BuiltinDocAttr.lean feat: @[builtin_doc] attribute (part 1) (#3953) 2024-04-19 12:21:10 +00:00
Class.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Compiler.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
CoreM.lean fix: type class issues with maxSynthPendingDepth := 1 (#4119) 2024-05-14 03:03:32 +00:00
Data.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Declaration.lean fix: mismatch between TheoremVal in Lean and C++ (#4035) 2024-04-30 18:10:20 +00:00
DeclarationRange.lean feat: snapshot trees and language processors (#3014) 2024-03-14 13:40:08 +00:00
DocString.lean fix: missing test at addDocString (#3823) 2024-04-02 02:29:14 +00:00
Elab.lean feat: macro expander for match_expr terms 2024-03-01 22:33:14 -08:00
Environment.lean feat: propagate maxHeartbeats to kernel (#4113) 2024-05-09 17:44:19 +00:00
Eval.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Exception.lean doc: fix typos (#3543) 2024-02-29 13:23:19 +00:00
Expr.lean feat: shorten auto-generated instance names (#3089) 2024-04-13 18:08:50 +00:00
HeadIndex.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Hygiene.lean chore: remove the coercion from String to Name (#3589) 2024-03-21 23:46:03 +00:00
ImportingFlag.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
InternalExceptionId.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
KeyedDeclsAttribute.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
LabelAttribute.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
LazyInitExtension.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Level.lean feat: make pp.mvars false pretty print universe mvars as _ (#3978) 2024-04-23 20:34:48 +00:00
Linter.lean chore: add missing copyright headers (#3411) 2024-02-20 01:49:55 +00:00
LoadDynlib.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
LocalContext.lean chore: upstream omega (#3367) 2024-02-19 00:19:55 +00:00
Log.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Message.lean feat: make Level -> MessageData coercion respect pp.mvars (#3980) 2024-04-24 14:23:42 +00:00
Meta.lean feat: improve set_option diagnostics true (#4031) 2024-04-30 05:07:03 +00:00
MetavarContext.lean doc: instantiateMVars (#3862) 2024-04-15 14:02:40 +00:00
Modifiers.lean fix: auto-completion bugs and performance (#3460) 2024-02-26 09:43:19 +00:00
MonadEnv.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Parser.lean chore: remove the coercion from String to Name (#3589) 2024-03-21 23:46:03 +00:00
ParserCompiler.lean refactor: Offset.lean and related files (#3614) 2024-03-05 19:40:15 -08:00
PrettyPrinter.lean feat: display diagnostic information at term and tactic set_option diagnostics true (#4048) 2024-05-01 22:47:57 +00:00
ProjFns.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
ReducibilityAttrs.lean feat: well-founded definitions irreducible by default (#4061) 2024-05-10 06:45:21 +00:00
Replay.lean feat: propagate maxHeartbeats to kernel (#4113) 2024-05-09 17:44:19 +00:00
ReservedNameAction.lean doc: crosslink {realize,resolve}GlobalName[NoOverload]?[WithInfo]?, (#3897) 2024-04-16 11:59:22 +00:00
ResolveName.lean chore: tidying up Lean.unresolveNameGlobal (#4091) 2024-05-10 22:37:34 +00:00
Runtime.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
ScopedEnvExtension.lean feat: flexible reducibility attributes 2024-04-29 05:46:11 +02:00
Server.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Structure.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
SubExpr.lean fix: use correct expr positions when delaborating match patterns (#4034) 2024-05-01 12:02:10 +00:00
Syntax.lean refactor: simplify some nomatch with nofun (#3564) 2024-03-02 20:43:31 +00:00
ToExpr.lean feat: support idents in auto tactics (#3328) 2024-05-03 04:37:07 +00:00
Util.lean chore: upstream exact? and apply? from Std (#3447) 2024-02-23 21:55:24 +00:00
Widget.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00