lean4-htt/tests/lean/interactive
Kim Morrison 9e241a4087
fix: revert "split ngen on async elab" (#12148)
This PR reverts #12000, which introduced a regression where `simp`
incorrectly rejects valid rewrites for perm lemmas.

The issue is that `NameGenerator.mkChild` creates names that don't
maintain the ordering assumption used by `acLt` for perm lemma
decisions. For example, after the change:
- Child generator creates names like `_uniq.102.2`
- Parent continues with `_uniq.7`
- But `Name.lt (.num (.num `_uniq 102) 2) (.num `_uniq 7)` is true

This causes fvars created later (in async tasks) to compare as smaller
than fvars created earlier, breaking the assumption that later fvars
compare greater according to `Name.lt`.

Fixes #12136.

🤖 Prepared with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 03:18:24 +00:00
..
projects test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
533.lean
533.lean.expected.out fix: revert "split ngen on async elab" (#12148) 2026-01-25 03:18:24 +00:00
863.lean
863.lean.expected.out
1018unknowMVarIssue.lean
1018unknowMVarIssue.lean.expected.out
1031.lean
1031.lean.expected.out
1265.lean
1265.lean.expected.out feat: hexnum parser (#10716) 2025-10-08 21:12:03 +00:00
1403.lean
1403.lean.expected.out
1525.lean
1525.lean.expected.out
1659.lean
1659.lean.expected.out
2058.lean
2058.lean.expected.out
2881.lean
2881.lean.expected.out
4078.lean
4078.lean.expected.out
4880.lean
4880.lean.expected.out feat: improve error message in the case of type class synthesis failure (#11245) 2025-11-21 21:24:27 +00:00
5659.lean
5659.lean.expected.out
6594.lean
6594.lean.expected.out
amb.lean
amb.lean.expected.out
anonHyp.lean
anonHyp.lean.expected.out
autoBoundIssue.lean
autoBoundIssue.lean.expected.out
builtinCodeactions.lean
builtinCodeactions.lean.expected.out feat: "try this" messages with support for interactivity (#10524) 2025-10-13 13:39:03 +00:00
cancellation.lean
cancellation.lean.expected.out
catHover.lean
catHover.lean.expected.out
codeaction.lean
codeaction.lean.expected.out
codeActions.lean
codeActions.lean.expected.out
compHeader.lean
compHeader.lean.expected.out fix: revert "split ngen on async elab" (#12148) 2026-01-25 03:18:24 +00:00
completion.lean
completion.lean.expected.out
completion2.lean
completion2.lean.expected.out
completion3.lean
completion3.lean.expected.out
completion4.lean
completion4.lean.expected.out
completion5.lean
completion5.lean.expected.out
completion6.lean
completion6.lean.expected.out
completion7.lean
completion7.lean.expected.out
completionAtPrint.lean
completionAtPrint.lean.expected.out
completionBracketedDot.lean
completionBracketedDot.lean.expected.out
completionCheck.lean
completionCheck.lean.expected.out
completionDanglingDot.lean
completionDanglingDot.lean.expected.out
completionDeprecation.lean
completionDeprecation.lean.expected.out
completionEndSection.lean feat: auto-completion for end names (#10660) 2025-10-08 11:12:05 +00:00
completionEndSection.lean.expected.out feat: auto-completion for end names (#10660) 2025-10-08 11:12:05 +00:00
completionEOF.lean
completionEOF.lean.expected.out
completionFallback.lean
completionFallback.lean.expected.out
completionFromExpectedType.lean
completionFromExpectedType.lean.expected.out
completionIStr.lean
completionIStr.lean.expected.out
completionOpenNamespaces.lean
completionOpenNamespaces.lean.expected.out
completionOption.lean
completionOption.lean.expected.out fix: pre-filter completion items mod ascii casing (#11140) 2025-11-11 14:11:05 +00:00
completionPrefixIssue.lean
completionPrefixIssue.lean.expected.out fix: revert "split ngen on async elab" (#12148) 2026-01-25 03:18:24 +00:00
completionPrivateTypes.lean
completionPrivateTypes.lean.expected.out
completionPrv.lean
completionPrv.lean.expected.out
completionStructureInstance.lean
completionStructureInstance.lean.expected.out
completionTactics.lean fix: make first token detection work in modules (#12047) 2026-01-20 11:12:05 +00:00
completionTactics.lean.expected.out fix: make first token detection work in modules (#12047) 2026-01-20 11:12:05 +00:00
compNamespace.lean
compNamespace.lean.expected.out
definition.lean
definition.lean.expected.out
Diff.lean
Diff.lean.expected.out test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
discrsIssue.lean
discrsIssue.lean.expected.out
docstringLinksExamples.lean
docstringLinksExamples.lean.expected.out
documentSymbols.lean
documentSymbols.lean.expected.out
dotIdCompletion.lean
dotIdCompletion.lean.expected.out
dottedIdentNotation.lean
dottedIdentNotation.lean.expected.out
editAfterError.lean
editAfterError.lean.expected.out
editCompletion.lean
editCompletion.lean.expected.out
errorExplanationInteractive.lean
errorExplanationInteractive.lean.expected.out refactor: move error explanation text to the manual (#11688) 2025-12-26 17:14:58 +00:00
expectedTypeAsGoal.lean
expectedTypeAsGoal.lean.expected.out
explicitAppInstHole.lean
explicitAppInstHole.lean.expected.out
findReferences.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
findReferences.lean.expected.out fix: unknown identifier minimization (#10797) 2025-10-15 19:25:27 +00:00
foldingRange.lean
foldingRange.lean.expected.out
ghostGoals.lean
ghostGoals.lean.expected.out
goalEOF.lean
goalEOF.lean.expected.out
goalIssue.lean
goalIssue.lean.expected.out
goalsAccomplished.lean
goalsAccomplished.lean.expected.out
goTo.lean feat: allow go-to-projection to look through reducible definitions (#12004) 2026-01-15 16:05:35 +00:00
goTo.lean.expected.out feat: allow go-to-projection to look through reducible definitions (#12004) 2026-01-15 16:05:35 +00:00
goTo2.lean
goTo2.lean.expected.out
guardMsgsCodeAction.lean
guardMsgsCodeAction.lean.expected.out
haveInfo.lean
haveInfo.lean.expected.out
highlight.lean
highlight.lean.expected.out
highlightMatches.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
highlightMatches.lean.expected.out
hover.lean fix: hovers and docstrings for (co)inductive types (#10738) 2025-10-15 09:32:11 +00:00
hover.lean.expected.out fix: hovers and docstrings for (co)inductive types (#10738) 2025-10-15 09:32:11 +00:00
hoverAt.lean
hoverAt.lean.expected.out
hoverBinderUnderscore.lean
hoverBinderUnderscore.lean.expected.out
hoverDot.lean
hoverDot.lean.expected.out
hoverException.lean
hoverException.lean.expected.out
hoverMatch.lean
hoverMatch.lean.expected.out
hoverTacticExt.lean
hoverTacticExt.lean.expected.out
importCompletion.lean
importCompletion.lean.expected.out
incomingCallHierarchy.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
incomingCallHierarchy.lean.expected.out fix: unknown identifier minimization (#10797) 2025-10-15 19:25:27 +00:00
incomingCallHierarchyWhere.lean fix: getParentDeclName? inside where inside public def (#12119) 2026-01-23 17:32:05 +00:00
incomingCallHierarchyWhere.lean.expected.out fix: getParentDeclName? inside where inside public def (#12119) 2026-01-23 17:32:05 +00:00
incrementalCombinator.lean fix: stuck "Missing alternative name" with incremental processing (#10848) 2025-10-20 08:00:48 +00:00
incrementalCombinator.lean.expected.out chore: use backticks for sorry in diagnostic messages (#11608) 2025-12-15 14:30:21 +00:00
incrementalCommand.lean chore: use backticks for sorry in diagnostic messages (#11608) 2025-12-15 14:30:21 +00:00
incrementalCommand.lean.expected.out
incrementalInduction.lean
incrementalInduction.lean.expected.out
incrementalMutual.lean
incrementalMutual.lean.expected.out
incrementalTactic.lean
incrementalTactic.lean.expected.out
infoIssues.lean
infoIssues.lean.expected.out
inlayHints.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
inlayHints.lean.expected.out chore: use backticks for sorry in diagnostic messages (#11608) 2025-12-15 14:30:21 +00:00
interactiveDiagnostics.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
interactiveDiagnostics.lean.expected.out chore: use backticks for sorry in diagnostic messages (#11608) 2025-12-15 14:30:21 +00:00
interactiveGoalGoToLoc.lean
interactiveGoalGoToLoc.lean.expected.out
interactiveGoalPopups.lean
interactiveGoalPopups.lean.expected.out test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
interactiveTermGoals.lean
interactiveTermGoals.lean.expected.out test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
interactiveTraces.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
interactiveTraces.lean.expected.out
internalNamesIssue.lean
internalNamesIssue.lean.expected.out
inWordCompletion.lean
inWordCompletion.lean.expected.out
isRflParallel.lean
isRflParallel.lean.expected.out
issue4527.lean
issue4527.lean.expected.out
issue5021.lean
issue5021.lean.expected.out
issue5597.lean
issue5597.lean.expected.out
jumpMutual.lean
jumpMutual.lean.expected.out
keywordCompletion.lean
keywordCompletion.lean.expected.out
lean3HoverIssue.lean
lean3HoverIssue.lean.expected.out
macroGoalIssue.lean
macroGoalIssue.lean.expected.out
match.lean
match.lean.expected.out
matchPatternHover.lean
matchPatternHover.lean.expected.out
matchStxCompletion.lean
matchStxCompletion.lean.expected.out
moduleHierarchyImports.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
moduleHierarchyImports.lean.expected.out
outgoingCallHierarchy.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
outgoingCallHierarchy.lean.expected.out fix: unknown identifier minimization (#10797) 2025-10-15 19:25:27 +00:00
partialNamespace.lean
partialNamespace.lean.expected.out
plainGoal.lean
plainGoal.lean.expected.out
plainTermGoal.lean
plainTermGoal.lean.expected.out
ppShowLetValues.lean
ppShowLetValues.lean.expected.out
rename.lean
rename.lean.expected.out
run.lean
rwElabConst.lean
rwElabConst.lean.expected.out
semanticTokens.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
semanticTokens.lean.expected.out
semanticTokensVersoDocs.lean fix: Verso docstring semantic highlighting fixes (#10662) 2025-10-10 11:57:02 +00:00
semanticTokensVersoDocs.lean.expected.out fix: Verso docstring semantic highlighting fixes (#10662) 2025-10-10 11:57:02 +00:00
signatureHelp.lean
signatureHelp.lean.expected.out
stdOutput.lean
stdOutput.lean.expected.out
strInterpSynthError.lean
strInterpSynthError.lean.expected.out feat: improve error message in the case of type class synthesis failure (#11245) 2025-11-21 21:24:27 +00:00
structInstFieldHints.lean
structInstFieldHints.lean.expected.out feat: "try this" messages with support for interactivity (#10524) 2025-10-13 13:39:03 +00:00
structNameParentProj.lean
structNameParentProj.lean.expected.out
tacticInduction.lean
tacticInduction.lean.expected.out
terminationBySuggestion.lean
terminationBySuggestion.lean.expected.out feat: "try this" messages with support for interactivity (#10524) 2025-10-13 13:39:03 +00:00
test_single.sh
travellingCompletions.lean
travellingCompletions.lean.expected.out
tryThisCodeAction.lean
tryThisCodeAction.lean.expected.out feat: "try this" messages with support for interactivity (#10524) 2025-10-13 13:39:03 +00:00
unknownIdentifierCodeActions.lean feat: unknown identifier code action and the module system (#11164) 2025-12-12 21:19:34 +00:00
unknownIdentifierCodeActions.lean.expected.out fix: set data? field in all unknown identifier code actions (#12046) 2026-01-20 10:03:29 +00:00
unterminatedDocComment.lean
unterminatedDocComment.lean.expected.out
userWidget.lean
userWidget.lean.expected.out
workspaceSymbols.lean test: fix test flakiness (#10680) 2025-10-08 13:33:56 +00:00
workspaceSymbols.lean.expected.out fix: unknown identifier minimization (#10797) 2025-10-15 19:25:27 +00:00