Skip to content

Improve theorem retrieval for Lean goals, references, and bilingual queries - #73

Merged
LikC1606 merged 1 commit into
mainfrom
codex/theorem-retrieval-followup
Nov 29, 2026
Merged

LikC1606 merged 1 commit into
mainfrom
codex/theorem-retrieval-followup

Conversation

@LikC1606

Copy link
Copy Markdown
Collaborator

Theorem search now recognizes pasted Lean references such as #check @_root_.Set.mem_union and aligns equivalent goal spellings for set operations, applied composition, absolute values, and grouped comparisons. For example, searching for (a ∪ b) = (b ∪ a) now returns Set.union_comm first. Chinese and English descriptions of sums and set inclusions distinguish operand order.

The pinned Mathlib benchmark covers 149 queries and goals: 146 expected declarations rank first, and all three negative controls return no matches. The CLI build and 277 focused retrieval, catalog, knowledge search, and web tests passed locally.

@LikC1606
LikC1606 merged commit 6ec0570 into main Nov 29, 2026
4 checks passed
@LikC1606
LikC1606 deleted the codex/theorem-retrieval-followup branch December 1, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant