lean4-htt/src/Lean
Leonardo de Moura 5f38a483f2 fix: congr tactic
`MVarId.congr?` and `MVarId.hcongr?` should return `none` if an
exception is thrown while applying congruence theorem.

`MVarId.hcongr?` should try `eq_of_heq` before trying to apply
`hcongr` theorem.

closes #1787

BTW: Lean 4 `congr` tactic is applying `assumption`. Lean 3 version does not.
2022-10-28 08:00:04 -07:00
..
Compiler chore: zero startup time specExtension 2022-10-27 09:54:04 -07:00
Data feat: avoid modulo in HashMap and HashSet 2022-10-27 18:54:56 -07:00
Elab feat: improve apply error message when root term elaboration is postponed 2022-10-26 17:15:24 -07:00
Linter feat: add linter.deprecated option to silence deprecation warnings 2022-10-23 21:11:57 +02:00
Meta fix: congr tactic 2022-10-28 08:00:04 -07:00
Parser fix: missed a file from #1771 2022-10-27 11:14:13 -07:00
ParserCompiler feat: hovers & name resolution in registerCombinatorAttribute 2022-10-23 09:30:38 +02:00
PrettyPrinter refactor: instantiateTypeLevelParams in Lean 2022-10-24 12:23:13 -07:00
Server fix: hoverableInfoAt? in presence of canonical syntax 2022-10-25 12:23:13 +02:00
Util feat: add commitWhenSomeNoEx? 2022-10-28 07:51:41 -07:00
Widget chore: snake-case attributes (part 2) 2022-10-19 09:28:08 -07:00
Attributes.lean chore: snake-case attributes (part 2) 2022-10-19 09:28:08 -07:00
AuxRecursor.lean feat: automatic extension names 2022-10-06 17:19:30 -07:00
Class.lean feat: automatic extension names 2022-10-06 17:19:30 -07:00
Compiler.lean refactor: new LCNF frontend 2022-08-24 11:40:37 -07:00
CoreM.lean refactor: instantiateTypeLevelParams in Lean 2022-10-24 12:23:13 -07:00
Data.lean chore: split Lean.Data.Name and NameMap 2022-09-15 14:02:38 -07:00
Declaration.lean fix: catch kernel exceptions in Kernel.{isDefEq, whnf} 2022-10-20 05:38:29 -07:00
DeclarationRange.lean feat: automatic extension names 2022-10-06 17:19:30 -07:00
DocString.lean feat: automatic extension names 2022-10-06 17:19:30 -07:00
Elab.lean feat: add @[inheritDoc] attribute 2022-08-16 18:31:55 -07:00
Environment.lean chore: hoist out error generation code 2022-10-27 18:26:38 -07:00
Eval.lean doc: some doc strings 2022-07-30 21:18:50 -07:00
Exception.lean fix: catch kernel exceptions in Kernel.{isDefEq, whnf} 2022-10-20 05:38:29 -07:00
Expr.lean fix: preserve sharing in instantiateLevelParams 2022-10-24 12:23:13 -07:00
HeadIndex.lean doc: some doc strings 2022-07-30 21:18:50 -07:00
Hygiene.lean perf: improve Unhygienic.run code 2022-10-12 19:36:05 -07:00
ImportingFlag.lean doc: some doc strings 2022-07-30 21:18:50 -07:00
InternalExceptionId.lean doc: some doc strings 2022-07-30 21:18:50 -07:00
KeyedDeclsAttribute.lean chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
LazyInitExtension.lean chore: remove arbitrary 2022-01-15 12:14:27 -08:00
Level.lean refactor: Level.instantiateParams => Level.substParams, add Level.instantiateParams 2022-10-24 19:49:57 -07:00
Linter.lean feat: add linter.deprecated option to silence deprecation warnings 2022-10-23 21:11:57 +02:00
LoadDynlib.lean feat: replace constant with opaque 2022-06-14 17:02:59 -07:00
LocalContext.lean feat: add implementation-detail hypotheses 2022-10-11 17:24:35 -07:00
Log.lean chore: remove obsolete trace functions 2022-08-15 08:55:25 -07:00
Message.lean doc: apply suggestions from code review 2022-09-27 11:37:49 -07:00
Meta.lean feat: add evalTerm and Meta.evalExpr 2022-06-28 19:14:40 -07:00
MetavarContext.lean chore: snake-case attributes (part 2) 2022-10-19 09:28:08 -07:00
Modifiers.lean feat: automatic extension names 2022-10-06 17:19:30 -07:00
MonadEnv.lean refactor: move compileDecl, compileDecls, and addDecl to CoreM 2022-09-21 18:09:19 -07:00
Parser.lean feat: use withoutPosition consistently 2022-10-24 12:51:32 -07:00
ParserCompiler.lean chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
PrettyPrinter.lean chore: snake-case attributes (part 2) 2022-10-19 09:28:08 -07:00
ProjFns.lean feat: automatic extension names 2022-10-06 17:19:30 -07:00
ReducibilityAttrs.lean feat: automatic extension names 2022-10-06 17:19:30 -07:00
ResolveName.lean fix: fixes #1780 2022-10-26 07:46:38 -07:00
Runtime.lean feat: replace constant with opaque 2022-06-14 17:02:59 -07:00
ScopedEnvExtension.lean chore: snake-case attributes (part 2) 2022-10-19 09:28:08 -07:00
Server.lean feat: CodeActionProvider 2022-10-20 11:20:42 -07:00
Structure.lean feat: automatic extension names 2022-10-06 17:19:30 -07:00
SubExpr.lean chore: move Std.* data structures to Lean.* 2022-09-26 05:46:04 -07:00
Syntax.lean feat: add (canonical := true) option in Syntax 2022-09-27 22:09:54 +02:00
ToExpr.lean feat: new ToExpr Name 2022-09-29 17:27:45 -07:00
Util.lean chore: move ShareCommon to Init / Lean 2022-08-30 07:51:43 -07:00
Widget.lean feat: user widgets 2022-07-25 08:01:27 -07:00