Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,8 @@ bun run math bootstrap-lean-eval --help
| `freeze-retrieval` | 冻结允许检索的本地源码语料 |
| `summarize` | 汇总保存的实验记录 |

`search-lean --query` 和数学库目录支持直接粘贴单个 Lean 名称,例如 `_root_.Matrix.det_mul` 或 `#check @Set.mem_union`。

`search-lean --goal` 会匹配方向相反的等式和等价命题。结果中的 `"application": "symm"`
表示可尝试用 `exact (定理名 实参).symm`,具体实参和前提由 Lean 检查。

Expand Down
72 changes: 70 additions & 2 deletions scripts/mathematics/benchmarkTheoremSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { mathDigest, readMathText } from '../../src/math/mathRuntimeIo';

type Declaration = { qualifiedName: string; sourceModule: string };
type QueryCase = {
group: 'zh' | 'en' | 'ranking' | 'control' | 'negative' | 'generatedName';
group: 'zh' | 'en' | 'ranking' | 'control' | 'negative' | 'generatedName' | 'leanReference';
query: string;
expected?: Declaration;
};
Expand All @@ -25,6 +25,9 @@ const concepts = [
['Finset.card_union_add_card_inter', 'Mathlib.Data.Finset.Card',
'有限集的并集与交集的基数相加等于两集合的基数之和',
'for two finite sets the cardinality of the union plus that of the intersection equals the sum of their cardinalities'],
['Finset.card_inter_add_card_union', 'Mathlib.Data.Finset.Card',
'有限集的交集与并集的基数相加等于两集合的基数之和',
'for two finite sets the cardinality of the intersection plus that of the union equals the sum of their cardinalities'],
['MeasureTheory.integral_add', 'Mathlib.MeasureTheory.Integral.Bochner.Basic',
'两个可积函数的和的积分等于它们各自的积分相加', 'the integral of the sum of two integrable functions is the sum of their integrals'],
['Int.gcd_eq_gcd_ab', 'Mathlib.Data.Int.GCD',
Expand All @@ -38,13 +41,29 @@ const concepts = [
] as const;

export const theoremSearchCases: readonly QueryCase[] = [
...[
['_root_.Set.mem_union', 'Set.mem_union', 'Mathlib.Data.Set.Basic'],
['_root_.Matrix.det_mul', 'Matrix.det_mul', 'Mathlib.LinearAlgebra.Matrix.Determinant.Basic'],
['_root_.norm_add_le', 'norm_add_le', 'Mathlib.Analysis.Normed.Group.Basic'],
["_root_.Real.sqrt_mul'", "Real.sqrt_mul'", 'Mathlib.Analysis.Real.Sqrt'],
['#check Real.exp_log', 'Real.exp_log', 'Mathlib.Analysis.SpecialFunctions.Log.Basic'],
['#check @Set.inter_union_distrib_left', 'Set.inter_union_distrib_left', 'Mathlib.Data.Set.Basic'],
['@Finset.sum_add_distrib', 'Finset.sum_add_distrib', 'Mathlib.Algebra.BigOperators.Group.Finset.Basic'],
["Real.sqrt_mul'", "Real.sqrt_mul'", 'Mathlib.Analysis.Real.Sqrt'],
].map(([query, qualifiedName, sourceModule]): QueryCase => ({ group: 'leanReference', query, expected: { qualifiedName, sourceModule } })),
...concepts.flatMap(([qualifiedName, sourceModule, zh, en]): QueryCase[] => {
const expected = { qualifiedName, sourceModule };
return [{ group: 'zh', query: zh, expected }, { group: 'en', query: en, expected }];
}),
...[
['the closure of a set equals the set if and only if the set is closed', 'closure_eq_iff_isClosed', 'Mathlib.Topology.Closure'],
['转置矩阵的行列式等于原矩阵的行列式', 'Matrix.det_transpose', 'Mathlib.LinearAlgebra.Matrix.Determinant.Basic'],
['两个有限集的交集包含于第一个有限集', 'Finset.inter_subset_left', 'Mathlib.Data.Finset.Lattice.Basic'],
['两个有限集的交集包含于第二个有限集', 'Finset.inter_subset_right', 'Mathlib.Data.Finset.Lattice.Basic'],
['the first finite set is a subset of the union of the two finite sets', 'Finset.subset_union_left', 'Mathlib.Data.Finset.Lattice.Basic'],
['the second finite set is a subset of the union of the two finite sets', 'Finset.subset_union_right', 'Mathlib.Data.Finset.Lattice.Basic'],
['the intersection of two sets is contained in the second set', 'Set.inter_subset_right', 'Mathlib.Data.Set.Basic'],
['第一个集合包含于两个集合的并集', 'Set.subset_union_left', 'Mathlib.Data.Set.Basic'],
['两个可积函数的差的积分等于各自积分的差', 'MeasureTheory.integral_sub', 'Mathlib.MeasureTheory.Integral.Bochner.Basic'],
['if two integrable functions are ordered almost everywhere then their integrals are ordered',
'MeasureTheory.integral_mono_ae', 'Mathlib.MeasureTheory.Integral.Bochner.Basic'],
Expand All @@ -64,6 +83,44 @@ export const theoremSearchCases: readonly QueryCase[] = [

export const theoremSearchGoalCases: readonly GoalCase[] = [
...[
["a b : Set α\n⊢ (a ∪ b) = (b ∪ a)","Set.union_comm","Mathlib.Data.Set.Basic"],
["a b : Set α\n⊢ (a ∩ b) = b ∩ a","Set.inter_comm","Mathlib.Data.Set.Basic"],
["a b : Set α\n⊢ (a ∩ b) ⊆ (a)","Set.inter_subset_left","Mathlib.Data.Set.Basic"],
["a b : Set α\n⊢ (b) ⊆ (a ∪ b)","Set.subset_union_right","Mathlib.Data.Set.Basic"],
["x y : ℝ\n⊢ (|x * y|) = (|x| * |y|)","abs_mul","Mathlib.Algebra.Order.Ring.Abs"],
['x y : ℝ\n⊢ |x * y| = |x| * |y|', 'abs_mul', 'Mathlib.Algebra.Order.Ring.Abs'],
['x y : ℝ\n⊢ abs (x * y) = abs x * abs y', 'abs_mul', 'Mathlib.Algebra.Order.Ring.Abs'],
['x y : ℝ\n⊢ abs (x / y) = |x| / |y|', 'abs_div', 'Mathlib.Algebra.Order.Field.Basic'],
['x y : ℝ\n⊢ abs (x ^ 2) = x ^ 2', 'abs_sq', 'Mathlib.Algebra.Order.Ring.Abs'],
['x y : ℝ\n⊢ |x| * |y| = abs (x * y)', 'abs_mul', 'Mathlib.Algebra.Order.Ring.Abs'],
["x : ℝ\n⊢ (Real.log ∘ Real.exp) x = x", "Real.log_exp", "Mathlib.Analysis.SpecialFunctions.Log.Basic"],
["x : ℝ\nh : 0 < x\n⊢ (Real.exp ∘ Real.log) x = x", "Real.exp_log", "Mathlib.Analysis.SpecialFunctions.Log.Basic"],
["x : ℝ\n⊢ (Real.tan ∘ Real.arctan) x = x", "Real.tan_arctan", "Mathlib.Analysis.SpecialFunctions.Trigonometric.Arctan"],
["x : ℝ\nh₁ : -1 ≤ x\nh₂ : x ≤ 1\n⊢ (Real.sin ∘ Real.arcsin) x = x", "Real.sin_arcsin", "Mathlib.Analysis.SpecialFunctions.Trigonometric.Inverse"],
["x : ℝ\n⊢ (Real.sinh ∘ Real.arsinh) x = x", "Real.sinh_arsinh", "Mathlib.Analysis.SpecialFunctions.Arsinh"],
["x y : ℝ\nh : 0 < x + y\n⊢ x + y = (Real.exp ∘ Real.log) (x + y)", "Real.exp_log", "Mathlib.Analysis.SpecialFunctions.Log.Basic"],
["α β : Type\nφ : α → β\np q : Set β\n⊢ φ ⁻¹' (p ∪ q) = φ ⁻¹' p ∪ φ ⁻¹' q", 'Set.preimage_union', 'Mathlib.Data.Set.Image'],
["α β : Type\nφ : α → β\np q : Set β\n⊢ Set.preimage φ (p ∪ q) = Set.preimage φ p ∪ Set.preimage φ q", 'Set.preimage_union', 'Mathlib.Data.Set.Image'],
["α β : Type\nφ : α → β\np q : Set β\n⊢ Set.preimage φ (p ∩ q) = Set.preimage φ p ∩ Set.preimage φ q", 'Set.preimage_inter', 'Mathlib.Data.Set.Image'],
["α β : Type\nφ : α → β\n⊢ Set.preimage φ ∅ = ∅", 'Set.preimage_empty', 'Mathlib.Data.Set.Image'],
["α β : Type\nφ : α → β\ns t : Set α\n⊢ Set.image φ (s ∪ t) = Set.image φ s ∪ Set.image φ t", 'Set.image_union', 'Mathlib.Data.Set.Image'],
["α β : Type\nφ : α → β\ns t : Set α\n⊢ Set.image φ (s ∩ t) ⊆ φ '' s ∩ φ '' t", 'Set.image_inter_subset', 'Mathlib.Data.Set.Image'],
["α β : Type\nφ : α → β\ns : Set α\nt : Set β\n⊢ Set.image φ s ⊆ t ↔ s ⊆ Set.preimage φ t", 'Set.image_subset_iff', 'Mathlib.Data.Set.Image'],
["α β : Type\nφ : α → β\n⊢ φ '' ∅ = ∅", 'Set.image_empty', 'Mathlib.Data.Set.Image'],
["α : Type u\nA B : Set α\nx : α\n⊢ x ∈ Aᶜ ↔ x ∉ A", "Set.mem_compl_iff", "Mathlib.Data.Set.Operations"],
["α : Type u\nA B : Set α\nx : α\n⊢ (A ∪ B)ᶜ = Aᶜ ∩ Bᶜ", "Set.compl_union", "Mathlib.Order.BooleanAlgebra.Set"],
["α : Type u\nA B : Set α\nx : α\n⊢ (A ∩ B)ᶜ = Aᶜ ∪ Bᶜ", "Set.compl_inter", "Mathlib.Order.BooleanAlgebra.Set"],
["α : Type u\nA B : Set α\nx : α\n⊢ Aᶜ ⊆ Bᶜ ↔ B ⊆ A", "Set.compl_subset_compl", "Mathlib.Order.BooleanAlgebra.Set"],
["α : Type u\ninst : Fintype α\ninst₂ : DecidableEq α\nA B : Finset α\nx : α\n⊢ x ∈ Aᶜ ↔ x ∉ A", "Finset.mem_compl", "Mathlib.Data.Finset.BooleanAlgebra"],
["α : Type u\ninst : Fintype α\ninst₂ : DecidableEq α\nA B : Finset α\nx : α\n⊢ (A ∪ B)ᶜ = Aᶜ ∩ Bᶜ", "Finset.compl_union", "Mathlib.Data.Finset.BooleanAlgebra"],
["α : Type u\ninst : Fintype α\ninst₂ : DecidableEq α\nA B : Finset α\nx : α\n⊢ (A ∩ B)ᶜ = Aᶜ ∪ Bᶜ", "Finset.compl_inter", "Mathlib.Data.Finset.BooleanAlgebra"],
["α : Type u\ninst : Fintype α\ninst₂ : DecidableEq α\nA B : Finset α\nx : α\n⊢ Aᶜ ⊆ Bᶜ ↔ B ⊆ A", "Finset.compl_subset_compl", "Mathlib.Data.Finset.BooleanAlgebra"],
["α : Type u\nx : α\nu v : Set α\n⊢ x ∈ u \\ v ↔ x ∈ u ∧ x ∉ v", "Set.mem_sdiff", "Mathlib.Data.Set.Operations"],
["α : Type u\nx : α\nu v : Set α\n⊢ u \\ u = ∅", "Set.sdiff_self", "Mathlib.Order.BooleanAlgebra.Set"],
["α : Type u\nx : α\nu v : Set α\n⊢ u \\ ∅ = u", "Set.sdiff_empty", "Mathlib.Order.BooleanAlgebra.Set"],
["α : Type u\ninst : DecidableEq α\nx : α\nu v : Finset α\n⊢ x ∈ u \\ v ↔ x ∈ u ∧ x ∉ v", "Finset.mem_sdiff", "Mathlib.Data.Finset.SDiff"],
["α : Type u\ninst : DecidableEq α\nx : α\nu v : Finset α\n⊢ u \\ u = ∅", "Finset.sdiff_self", "Mathlib.Data.Finset.SDiff"],
["α : Type u\ninst : DecidableEq α\nx : α\nu v : Finset α\n⊢ u \\ ∅ = u", "Finset.sdiff_empty", "Mathlib.Data.Finset.SDiff"],
['α : Type u\ninst : MeasurableSpace α\ns t : Set α\nμ : MeasureTheory.Measure α\n⊢ μ (s ∪ t) ≤ μ s + μ t',
'MeasureTheory.measure_union_le', 'Mathlib.MeasureTheory.OuterMeasure.Basic'],
['E : Type u\ninst : SeminormedAddCommGroup E\ninst_1 : InnerProductSpace ℝ E\nx y : E\n⊢ ‖⟪x, y⟫‖ ≤ ‖x‖ * ‖y‖',
Expand Down Expand Up @@ -116,6 +173,12 @@ export const theoremSearchGeneratedNameCases: readonly QueryCase[] = theoremSear
}));

export const theoremSearchOrderGoalCases: readonly GoalCase[] = [
["α : Type u\ns t : Set α\n⊢ s ∪ t ⊇ s", "Set.subset_union_left", "Mathlib.Data.Set.Basic"],
["α : Type u\ns t : Set α\n⊢ t ⊇ s ∩ t", "Set.inter_subset_right", "Mathlib.Data.Set.Basic"],
["α : Type u\ns t : Set α\na : α\nh : a ∉ s\n⊢ insert a s ⊃ s", "Set.ssubset_insert", "Mathlib.Data.Set.Insert"],
["α : Type u\ninst : DecidableEq α\ns t : Finset α\n⊢ s ∪ t ⊇ s", "Finset.subset_union_left", "Mathlib.Data.Finset.Lattice.Basic"],
["α : Type u\ninst : DecidableEq α\ns t : Finset α\n⊢ t ⊇ s ∩ t", "Finset.inter_subset_right", "Mathlib.Data.Finset.Lattice.Basic"],
["α : Type u\ninst : DecidableEq α\ns t : Finset α\na : α\nh : a ∉ s\n⊢ insert a s ⊃ s", "Finset.ssubset_insert", "Mathlib.Data.Finset.Insert"],
['E : Type u\ninst : SeminormedAddGroup E\nx : E\n⊢ ‖x‖ ≥ 0',
'norm_nonneg', 'Mathlib.Analysis.Normed.Group.Basic'],
['x : ℝ\n⊢ √x >= 0', 'Real.sqrt_nonneg', 'Mathlib.Analysis.Real.Sqrt'],
Expand Down Expand Up @@ -148,6 +211,11 @@ export const theoremSearchSpecializedGoalCases: readonly GoalCase[] = [

// The same conclusion can have separate lemmas for different available premises.
export const theoremSearchSpecializedPremiseCases: readonly GoalCase[] = [
['x y : ℝ\nh : -1 > x + y\n⊢ 0 < Real.log (x + y)', 'Real.log_pos_of_lt_neg_one', 'Mathlib.Analysis.SpecialFunctions.Log.Basic'],
['x y : ℝ\nh : 0 > x + y ∧ x + y > -1\n⊢ Real.log (x + y) < 0', 'Real.log_neg_of_lt_zero', 'Mathlib.Analysis.SpecialFunctions.Log.Basic'],
['x : ℝ\nh : 1 > x ∧ x > 0\n⊢ Real.log x < 0', 'Real.log_neg', 'Mathlib.Analysis.SpecialFunctions.Log.Basic'],
['a b c : ℝ\nh : b + c ≥ 0\n⊢ √(a * (b + c)) = √a * √(b + c)', "Real.sqrt_mul'", 'Mathlib.Analysis.Real.Sqrt'],
['a b c : ℝ\nh : b + c ≥ 0\n⊢ √(a / (b + c)) = √a / √(b + c)', "Real.sqrt_div'", 'Mathlib.Analysis.Real.Sqrt'],
['x y : ℝ\nh : x + y < -1\n⊢ 0 < Real.log (x + y)', 'Real.log_pos_of_lt_neg_one', 'Mathlib.Analysis.SpecialFunctions.Log.Basic'],
['x y : ℝ\nh : 1 < x + y\n⊢ 0 < Real.log (x + y)', 'Real.log_pos', 'Mathlib.Analysis.SpecialFunctions.Log.Basic'],
['x y : ℝ\nh₀ : x + y < 0\nh₁ : -1 < x + y\n⊢ Real.log (x + y) < 0', 'Real.log_neg_of_lt_zero', 'Mathlib.Analysis.SpecialFunctions.Log.Basic'],
Expand Down Expand Up @@ -195,7 +263,7 @@ function run(workspace: string, corpusPath: string) {
const { queries: [result] } = searchMathRetrievalCorpusBatch(workspace, corpus, [''], 3, test.goal);
cases.push(scoreCase(test, result!));
}
const groups = ['zh', 'en', 'ranking', 'control', 'goal', 'algebraGoal', 'generatedName', 'generatedGoal',
const groups = ['zh', 'en', 'ranking', 'control', 'leanReference', 'goal', 'algebraGoal', 'generatedName', 'generatedGoal',
'orderGoal', 'specializedGoal', 'specializedPremise', 'symmetricGoal'] as const;
const summary = Object.fromEntries(groups.map(group => {
const items = cases.filter(item => item.group === group && item.expected);
Expand Down
7 changes: 5 additions & 2 deletions src/math/frozenLibraryQuery.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { leanLookupReference } from './leanSyntax';

const chinese = /\p{Script=Han}/u;
const words = new Intl.Segmenter('zh', { granularity: 'word' });
const filler = new Set([
Expand Down Expand Up @@ -35,11 +37,12 @@ export function frozenLibraryQuery(query: string) {
|| naturalTerms.length === 1 && chinese.test(query) && !chinese.test(naturalTerms[0]!)
);

const identifier = query.trim().toLowerCase().replace(/^_root_\./u, '');
const reference = leanLookupReference(query);
const identifier = reference?.name.toLowerCase();

return (searchable: string, name: string, prepared?: () => FrozenLibrarySearchWords): number => {
const qualified = name.toLowerCase(), shortName = qualified.split('.').at(-1);
if (identifier === qualified || identifier === shortName
if (identifier === qualified || (!reference?.rooted && identifier === shortName)
|| (useNatural && naturalTerms.length === 1 && naturalTerms[0] === shortName)) return 3;
const lower = searchable.toLowerCase();
if (literalWords.every(term => lower.includes(term))) return 2;
Expand Down
27 changes: 22 additions & 5 deletions src/math/leanGoalPremises.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { isSimpleLeanName, leanConclusionTokens, leanSurfaceTokens, leanTopLevelTokenIndexes } from './leanSyntax';
import { isSimpleLeanName, leanConclusionTokens, leanSurfaceTokens, leanTopLevelTokenIndexes, reversedLeanComparisons } from './leanSyntax';

type ConclusionLocals = ReadonlyMap<string, string>;
type Substitution = ReadonlyMap<string, readonly string[]>;
const comparisons = new Set(['=', '≠', '<', '≤', '>', '≥', '∈', '∉', '⊆', '∣']);
const comparisons = new Set(['=', '≠', '<', '≤', '∈', '∉', '⊆', '⊂', '∣', ...reversedLeanComparisons.keys()]);
// These tokens can extend the scope of an operand past a following infix operator.
const scopeTokens = new Set(['→', '->', '↔', '<->', '∨', '∀', 'forall', '∃', 'exists', '∃!', 'fun', 'λ', 'let', 'if', 'match', 'by', 'show', ':', ',']);

function unwrap(tokens: string[]): string[] {
while (tokens[0] === '(' && tokens.at(-1) === ')' && leanTopLevelTokenIndexes(tokens).length === 2)
Expand Down Expand Up @@ -49,10 +51,12 @@ function premiseKey(premise: string[], locals: ConclusionLocals, substitution?:
if (binder === -1) {
const top = leanTopLevelTokenIndexes(pattern);
const operators = top.filter(index => comparisons.has(pattern[index]));
if (operators.length === 1 && !top.some(index => ['→', '↔', '<->', '∧', '∨', '¬', ','].includes(pattern[index]))) {
if (operators.length === 1 && !top.some(index => scopeTokens.has(pattern[index]) || ['∧', '¬'].includes(pattern[index]))) {
const index = operators[0];
const left = unwrap(pattern.slice(0, index));
const right = unwrap(pattern.slice(index + 1));
const reverse = reversedLeanComparisons.get(pattern[index]);
if (reverse) return [...right, reverse, ...left].join(' ');
return [...left, pattern[index], ...right].join(' ');
}
}
Expand All @@ -67,8 +71,21 @@ export function goalPremiseKeys(context: string, locals: ConclusionLocals) {
const names = declaration[1].split(/\s+/u);
if (names.some(name => locals.has(name))) continue;
const type = context.slice(declaration.index + declaration[0].length, declarations[index + 1]?.index);
const key = premiseKey(leanSurfaceTokens(type), locals);
if (key) keys.add(key);
// Keep the whole hypothesis as well as facts obtainable by And.left / And.right.
const pending = [leanSurfaceTokens(type)];
while (pending.length) {
const tokens = unwrap(pending.pop()!);
const key = premiseKey(tokens, locals);
if (key) keys.add(key);
const top = leanTopLevelTokenIndexes(tokens);
if (top.some(i => scopeTokens.has(tokens[i]))) continue;
let start = 0;
for (const i of top) if (tokens[i] === '∧') {
pending.push(tokens.slice(start, i));
start = i + 1;
}
if (start) pending.push(tokens.slice(start));
}
}
return keys;
}
Expand Down
14 changes: 13 additions & 1 deletion src/math/leanSyntax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
export const isSimpleLeanName = (value: unknown): value is string => typeof value === 'string' &&
/^[\p{L}_][\p{L}\p{M}\p{N}_'?!]*(?:\.[\p{L}_][\p{L}\p{M}\p{N}_'?!]*)*$/u.test(value);

/** Recognize a single pasted declaration reference, without interpreting Lean expressions. */
export function leanLookupReference(query: string) {
const reference = query.trim().replace(/^#check\s+/u, '').replace(/^@/u, '');
if (!isSimpleLeanName(reference)) return undefined;
const rooted = reference.startsWith('_root_.');
return { name: rooted ? reference.slice(7) : reference, rooted };
}

/** Ordinary qualified names explicitly written in prose; preserve first mention and normalize root prefixes. */
export function qualifiedLeanReferences(text: string): string[] {
return [...new Set([...text.matchAll(/(?<![\p{L}\p{M}\p{N}_'?!\.])[\p{L}_][\p{L}\p{M}\p{N}_'?!]*(?:\.[\p{L}_][\p{L}\p{M}\p{N}_'?!]*)+/gu)]
Expand Down Expand Up @@ -32,9 +40,13 @@ export function maskLeanComments(source: string): string {
return maskLeanText(source, false);
}

/** Equivalent comparison spelling when the two operands exchange places. */
export const reversedLeanComparisons = new Map([['>', '<'], ['≥', '≤'], ['>=', '≤'], ['⊇', '⊆'], ['⊃', '⊂']]);

/** Tokens used for ranking printed Lean types. */
export const leanSurfaceTokens = (value: string): string[] =>
value.match(/[\p{L}_][\p{L}\p{M}\p{N}_'.]*|\d+|<->|->|<=|>=|\S/gu) ?? [];
// Unicode classifies ᶜ as a letter, but Mathlib uses it as a postfix operator.
value.replaceAll('ᶜ', ' ᶜ ').match(/[\p{L}_][\p{L}\p{M}\p{N}_'.]*|\d+|⁻¹'|''|<->|->|<=|>=|\S/gu) ?? [];

export function leanTopLevelTokenIndexes(tokens: readonly string[]): number[] {
const indexes: number[] = [];
Expand Down
Loading
Loading