lean4-htt/src/Lean/Elab/Tactic
Kyle Miller f771dea78b
fix: make sure app elaborator eta feature does not result in capturable variables (#10377)
This PR fixes an issue where the "eta feature" in the app elaborator,
which is invoked when positional arguments are skipped due to named
arguments, results in variables that can be captured by those named
arguments. Now the temporary local variables that implement this feature
get fresh names. The names used for the closed lambda expression still
use the original parameter names.

Closes #6373
2025-09-14 20:19:50 +00:00
..
BVDecide chore: error messages consistency (#10143) 2025-08-26 17:55:43 +00:00
Conv fix: make rw collect only new goals, occurs check (#10306) 2025-09-14 04:44:55 +00:00
Do chore: split Std.Do.SPred.Notation in preparation for meta semantics restrictions (#10358) 2025-09-12 11:09:26 +00:00
Omega chore: move omega internals to a namespace (#10243) 2025-09-04 06:32:02 +00:00
AsAuxLemma.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Basic.lean refactor: update built-in tactic error messages (#9633) 2025-07-31 14:16:57 +00:00
BoolToPropSimps.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
BuiltinTactic.lean fix: make rw collect only new goals, occurs check (#10306) 2025-09-14 04:44:55 +00:00
BVDecide.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Calc.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Change.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Classical.lean fix: add infotree context to classical tactic (#10332) 2025-09-12 16:30:44 +00:00
Config.lean chore: error messages consistency (#10143) 2025-08-26 17:55:43 +00:00
Congr.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Conv.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Delta.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
DiscrTreeKey.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Do.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Doc.lean feat: docstrings with Verso syntax (#10307) 2025-09-10 07:03:57 +00:00
ElabTerm.lean fix: make sure app elaborator eta feature does not result in capturable variables (#10377) 2025-09-14 20:19:50 +00:00
ExposeNames.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Ext.lean refactor: update built-in tactic error messages (#9633) 2025-07-31 14:16:57 +00:00
FalseOrByContra.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Generalize.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Grind.lean fix: further exporting control (#10261) 2025-09-10 09:14:11 +00:00
Guard.lean refactor: update built-in tactic error messages (#9633) 2025-07-31 14:16:57 +00:00
Induction.lean chore: error messages consistency (#10143) 2025-08-26 17:55:43 +00:00
Injection.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Lets.lean feat: deprecate .toCtorIdx for .ctorIdx (#10113) 2025-08-25 14:32:05 +00:00
LibrarySearch.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Location.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Match.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Meta.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Monotonicity.lean refactor: update built-in tactic error messages (#9633) 2025-07-31 14:16:57 +00:00
NormCast.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Omega.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
RCases.lean feat: tactic info per intro hypothesis, rfl pattern (#9942) 2025-08-18 13:55:06 +00:00
Repeat.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Rewrite.lean fix: make rw collect only new goals, occurs check (#10306) 2025-09-14 04:44:55 +00:00
Rewrites.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Rfl.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Show.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
ShowTerm.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Simp.lean chore: use ofConstName in error messages (#10121) 2025-08-25 23:20:36 +00:00
Simpa.lean feat: intermediate tactic info on simpa (#10309) 2025-09-09 20:24:27 +00:00
SimpArith.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Simproc.lean refactor: update built-in tactic error messages (#9633) 2025-07-31 14:16:57 +00:00
SimpTrace.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
SolveByElim.lean refactor: update built-in tactic error messages (#9633) 2025-07-31 14:16:57 +00:00
Split.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Symm.lean refactor: update built-in tactic error messages (#9633) 2025-07-31 14:16:57 +00:00
TreeTacAttr.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Try.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Unfold.lean refactor: update built-in tactic error messages (#9633) 2025-07-31 14:16:57 +00:00