Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
12
12
query
stringlengths
3
572
bucket
stringclasses
4 values
form
stringclasses
9 values
split
stringclasses
1 value
answers
listlengths
1
14
0004c4d3b4a9
if derivatives converge uniformly on an open set and the functions converge pointwise, the limit is frechet differentiable with the limit derivative
natural language
prose
test
[ { "name": "hasFDerivAt_of_tendstoUniformlyOn", "grade": 3 } ]
002f2cb9ccff
IsFractionRing ?K ?K
formal
formal
test
[ { "name": "IsFractionRing.idem", "grade": 3 }, { "name": "instIsFractionRing", "grade": 2 } ]
0056fe17bea9
hopf monoid object in a braided category, a bimonoid with an antipode
natural language
prose
test
[ { "name": "CategoryTheory.HopfObj", "grade": 3 }, { "name": "CategoryTheory.Hopf", "grade": 2 } ]
006023f426de
every natural number equals the sum of 2^i over a finite set of distinct exponents i (binary expansion)
real questions
question
test
[ { "name": "Finset.twoPowSum_toFinset_bitIndices", "grade": 3 }, { "name": "Nat.twoPowSum_bitIndices", "grade": 2 } ]
008744a28b5c
Equivalence between the product of two Euclidean spaces EuclideanSpace ℝ α × EuclideanSpace ℝ β and EuclideanSpace ℝ (α ⊕ β), e.g. for Fin n and Fin m
real questions
question
test
[ { "name": "Equiv.sumArrowEquivProdArrow", "grade": 3 }, { "name": "EuclideanSpace.sumEquivProd", "grade": 3 }, { "name": "ContinuousLinearEquiv.sumPiEquivProdPi", "grade": 2 }, { "name": "Equiv.prodPiEquivSumPi", "grade": 2 }, { "name": "Equiv.sumPiEquivProdPi", ...
009889de9557
Module.IsPrincipal R M <-> Submodule.IsPrincipal (Top.top : Submodule R M)
formal
formal
test
[ { "name": "Module.isPrincipal_def", "grade": 3 } ]
00a5208c2352
monotonicity of a SupBotHom: any morphism of SemilatSupCat preserves the order
real questions
question
test
[ { "name": "OrderHomClass.mono", "grade": 3 }, { "name": "Monotone.of_map_sup", "grade": 2 }, { "name": "SupHomClass.toOrderHomClass", "grade": 2 } ]
00bebf73bbd0
exponential Hermitian matrix Hermitian
names and keywords
keywords
test
[ { "name": "Matrix.IsHermitian.exp", "grade": 3 } ]
00f4cf0c80a9
PartitionOfUnity BumpCovering convert telescoping product WellOrderingRel
names and keywords
names+keywords
test
[ { "name": "BumpCovering.toPartitionOfUnity", "grade": 3 } ]
00f720d15be9
comparison using a less-than relation gives equal exactly when neither element is less than the other
natural language
prose
test
[ { "name": "cmpUsing_eq_eq", "grade": 3 } ]
01232adb9230
weight function values nontorsion scalar multiplication zero implies scalar zero module finsupp
names and keywords
keywords
test
[ { "name": "Finsupp.NonTorsionWeight", "grade": 3 }, { "name": "MvPolynomial.NonTorsionWeight", "grade": 2 } ]
015ceb51f9d3
Equivalence between functions out of a sigma type and dependent curried functions.
real questions
question
test
[ { "name": "Equiv.piCurry", "grade": 3 } ]
01639861c85a
Count integer tuples of length n with each coordinate between zero and A
real questions
question
test
[ { "name": "Behrend.card_box", "grade": 3 }, { "name": "Finset.card_pi", "grade": 2 }, { "name": "Pi.card_Iic", "grade": 2 } ]
0170744218c1
Function.Embedding into Option sending each element to its wrapped value
natural language
prose+names
test
[ { "name": "Function.Embedding.some", "grade": 3 } ]
0183e440a32b
T : Type u_1 N : Matroid T inst✝ : N✶.RankPos ⊢ ∃ C, N.IsCircuit C
formal
goal
test
[ { "name": "Matroid.exists_isCircuit", "grade": 3 } ]
01a63bab2ec5
?m • iInf ?t ≤ ⨅ i, ?m • ?t i
formal
formal
test
[ { "name": "smul_iInf_le", "grade": 3 } ]
01bc959537e6
the bracket of a Lie ideal with a LieSubmodule is bottom when the module satisfies LieModule.IsTrivial
natural language
prose+names
test
[ { "name": "LieSubmodule.trivial_lie_oper_zero", "grade": 3 } ]
01f2ca692489
Restrict a scheme morphism to open subsets U and V when f(U) is contained in V
real questions
question
test
[ { "name": "AlgebraicGeometry.Scheme.Hom.resLE", "grade": 3 } ]
01fbd774dd79
α : Type u_1 β : Type u_2 inst✝¹ : OmegaCompletePartialOrder α inst✝ : OmegaCompletePartialOrder β x : α g : α →𝒄 β ⊢ g.toOrderHom x = g x
formal
goal
test
[ { "name": "OmegaCompletePartialOrder.ContinuousHom.coe_apply", "grade": 3 }, { "name": "OmegaCompletePartialOrder.ContinuousHom.coe_toOrderHom", "grade": 2 }, { "name": "OmegaCompletePartialOrder.ContinuousHom.toOrderHom_eq_coe", "grade": 2 } ]
0216b7923de1
isomorphism between cycles of a short complex of abelian groups and AddMonoidHom.ker
natural language
prose+names
test
[ { "name": "CategoryTheory.ShortComplex.abCyclesIso", "grade": 3 } ]
0217957d6bad
bottom open empty set
names and keywords
keywords
test
[ { "name": "TopologicalSpace.Opens.coe_bot", "grade": 3 }, { "name": "TopologicalSpace.Opens.coe_eq_empty", "grade": 2 }, { "name": "TopologicalSpace.Opens.mk_empty", "grade": 2 } ]
022e56c7a3a5
Prove that 15 is not a prime power when decide fails to reduce
real questions
question
test
[ { "name": "Nat.not_isPrimePow_iff_nontrivial_of_two_le", "grade": 2 }, { "name": "isPrimePow_iff_unique_prime_dvd", "grade": 2 }, { "name": "isPrimePow_nat_iff_bounded", "grade": 2 }, { "name": "isPrimePow_nat_iff_bounded_log", "grade": 2 } ]
02425a86e073
List.head? underlying list nonempty vector equals vector head
names and keywords
names+keywords
test
[ { "name": "List.Vector.head?_toList", "grade": 3 } ]
025e7e84a9b7
(φ : M ≃[L] N).toHom.range = ⊤
formal
formal
test
[ { "name": "FirstOrder.Language.Equiv.toHom_range", "grade": 3 }, { "name": "FirstOrder.Language.Hom.range_eq_top", "grade": 2 } ]
026262e5de70
Complex.ofReal numeric literal cast real complex equals same literal
names and keywords
names+keywords
test
[ { "name": "Complex.ofReal_ofNat", "grade": 3 } ]
02b7a7f1537a
ofAdd_eq_top
names and keywords
name
test
[ { "name": "Multiplicative.ofAdd_eq_top", "grade": 3 } ]
02ebb8c58df7
inner product zero vector left argument
names and keywords
keywords
test
[ { "name": "inner_zero_left", "grade": 3 }, { "name": "InnerProductSpace.Core.inner_zero_left", "grade": 2 } ]
02f21caa4ab2
DFunLike.coe of a dependent if-then-else at x
natural language
prose+names
test
[ { "name": "DFunLike.dite_apply", "grade": 3 } ]
0313d0ca3827
a submonoid of a commutative monoid is closed under products indexed by a finite set
natural language
prose
test
[ { "name": "Submonoid.prod_mem", "grade": 3 } ]
031d56dfebd3
⊢ μ.vCompNaturality ν u ≫ P.map₂ δ ▷ μ.vCompApp ν y = μ.vCompApp ν x ◁ R.map₂ δ ≫ μ.vCompNaturality ν w
formal
goal
test
[ { "name": "CategoryTheory.Lax.LaxTrans.vComp_naturality_naturality", "grade": 3 } ]
034f5720c8d5
Stonean fully Faithful To Comp Haus
names and keywords
name
test
[ { "name": "Stonean.fullyFaithfulToCompHaus", "grade": 3 } ]
03845eab7ace
IsUniformInducing WithLp.toLp
names and keywords
names
test
[ { "name": "PiLp.isUniformInducing_toLp", "grade": 3 }, { "name": "WithLp.isUniformInducing_toLp", "grade": 3 } ]
03886d674405
relation composition graph function precomposition
names and keywords
keywords
test
[ { "name": "Relation.fun_eq_comp", "grade": 3 }, { "name": "Relation.comp_eq_fun", "grade": 2 } ]
0398b99f64aa
Bicategory.whiskerLeft of the inverse Bicategory.rightUnitor in terms of associator
natural language
prose+names
test
[ { "name": "CategoryTheory.Bicategory.whiskerLeft_rightUnitor_inv", "grade": 3 }, { "name": "CategoryTheory.Bicategory.whiskerLeft_rightUnitor_inv_assoc", "grade": 2 } ]
039a11fb47d8
free group equal words same reduction
names and keywords
keywords
test
[ { "name": "FreeGroup.reduce.sound", "grade": 3 }, { "name": "FreeGroup.Red.exact", "grade": 2 }, { "name": "FreeGroup.reduce.exact", "grade": 2 } ]
03abced993df
explicit restriction to a subtype of a finitely supported dependent function
natural language
prose
test
[ { "name": "DFinsupp.subtypeDomain_def", "grade": 3 }, { "name": "DFinsupp.subtypeDomain", "grade": 2 } ]
03d619bf6186
X : Type u_1 inst✝ : TopologicalSpace X A B : Set X hA : IsClosed A hB : IsClosed B ⊢ IsClosed (A ∪ B)
formal
goal
test
[ { "name": "IsClosed.union", "grade": 3 } ]
044089e7a8a1
the bitwise Nat.xor of two natural numbers is even exactly when both numbers have the same parity
natural language
prose+names
test
[ { "name": "Nat.even_xor", "grade": 3 } ]
0464e69454ff
Split a type into one distinguished element and an Option of all its other elements.
real questions
question
test
[ { "name": "Equiv.optionSubtypeNe", "grade": 3 }, { "name": "Equiv.optionSubtype", "grade": 2 }, { "name": "Equiv.sigmaEquivOptionOfInhabited", "grade": 2 } ]
0473d719dd66
Category of finite types whose morphisms are bijections, for defining combinatorial species.
real questions
question
test
[ { "name": "CategoryTheory.Core", "grade": 2 }, { "name": "FintypeCat", "grade": 2 } ]
049c9c4022c9
Class.congToClass EmptyCollection
names and keywords
names
test
[ { "name": "Class.congToClass_empty", "grade": 3 } ]
049f9e380e29
converting an IntermediateField to a subalgebra and back with Subalgebra.toIntermediateField returns the original field, using closure under inverses
natural language
prose+names
test
[ { "name": "toIntermediateField_toSubalgebra", "grade": 3 } ]
04ac40c08063
u v : ∀ i, γ i ⊢ hammingDist u v = hammingNorm (-u + v)
formal
goal
test
[ { "name": "hammingDist_eq_hammingNorm", "grade": 3 } ]
04cfdf68c05d
Set.InjOn (Behrend.map ?d) {x | ∀ i, x i < ?d}
formal
formal
test
[ { "name": "Behrend.map_injOn", "grade": 3 } ]
04e847b410d3
S : Type u_1 inst✝ : CommRing S m : ℤ ⊢ Polynomial.Chebyshev.U S (m + 1) = 2 * Polynomial.X * Polynomial.Chebyshev.U S m - Polynomial.Chebyshev.U S (m - 1)
formal
goal
test
[ { "name": "Polynomial.Chebyshev.U_add_one", "grade": 3 } ]
04fdf1797a30
(P : J ⥤ C) (U : C ⥤ D) (V : D ⥤ E) [PreservesLimit P (U ⋙ V)] [ReflectsLimit (P ⋙ U) V] : PreservesLimit P U
formal
formal
test
[ { "name": "CategoryTheory.Limits.preservesLimit_of_reflects_of_preserves", "grade": 3 } ]
05085b2fef26
(∀ x ∈ ?s, #(Finset.bipartiteAbove ?r ?t x) = ?m) → (∀ y ∈ ?t, #(Finset.bipartiteBelow ?r ?s y) = ?n) → #?s * ?m = #?t * ?n
formal
formal
test
[ { "name": "Finset.card_mul_eq_card_mul", "grade": 3 } ]
0541963ab68f
CategoryTheory.Limits.kernel inclusion morphism equalizer
names and keywords
names+keywords
test
[ { "name": "CategoryTheory.Limits.kernel.ι", "grade": 3 }, { "name": "CategoryTheory.Limits.equalizer_as_kernel", "grade": 2 } ]
0542ddfed258
coyoneda.obj colimit cocone universal property hom functor Type
names and keywords
names+keywords
test
[ { "name": "CategoryTheory.Coyoneda.colimitCoconeIsColimit", "grade": 3 } ]
054ee61a7645
if a function f monovaries with a function g and also with another function h, then f monovaries with their pointwise product, meaning whenever g times h increases, f does not decrease
natural language
prose
test
[ { "name": "Monovary.mul_right", "grade": 3 } ]
0568bbb7af90
Build the scalar tower from F through F(alpha^2) to F(alpha) using the inclusion of intermediate fields.
real questions
question
test
[ { "name": "IntermediateField.extendScalars", "grade": 2 } ]
056c8f35386d
finite configuration equal points lines degree bijection
names and keywords
keywords
test
[ { "name": "Configuration.HasLines.exists_bijective_of_card_eq", "grade": 3 } ]
05712f3cf155
Turn a strictly monotone equivalence between linear orders into an order isomorphism.
real questions
question
test
[ { "name": "Equiv.toOrderIso", "grade": 2 }, { "name": "StrictMono.orderIsoOfRightInverse", "grade": 2 }, { "name": "StrictMono.orderIsoOfSurjective", "grade": 2 } ]
05afd3d8744d
Equivalence between functions Fin m -> Fin n and a single Fin type representing all those functions.
real questions
question
test
[ { "name": "finFunctionFinEquiv", "grade": 3 } ]
05c90f105e4b
lower cover entropy as supremum of lower net entropy over a uniformity basis
natural language
prose
test
[ { "name": "Dynamics.coverEntropyInf_eq_iSup_basis_netEntropyInfEntourage", "grade": 3 } ]
05f5d7a473bc
forall (t : R), (WeierstrassCurve.ofJNe0Or1728 t).c₄ = t * (t - 1728) ^ 3
formal
formal
test
[ { "name": "WeierstrassCurve.ofJNe0Or1728_c₄", "grade": 3 } ]
05fa2ae7ee1f
the extent map from formal concepts to sets is StrictMono under the concept order
natural language
prose+names
test
[ { "name": "Concept.strictMono_extent", "grade": 3 } ]
060f03461265
VectorField.lieBracketWithin 𝕜 V₁ W₁ (s : Set E) x = VectorField.lieBracketWithin 𝕜 V W s x
formal
formal
test
[ { "name": "VectorField.lieBracketWithin_congr", "grade": 3 }, { "name": "Filter.EventuallyEq.lieBracketWithin_vectorField_eq_of_insert", "grade": 2 }, { "name": "Filter.EventuallyEq.lieBracketWithin_vectorField_eq_of_mem", "grade": 2 }, { "name": "VectorField.lieBracketWithin...
0614377b938a
canonical basis linearly independent
names and keywords
keywords
test
[ { "name": "Finsupp.linearIndependent_single_one", "grade": 3 }, { "name": "Module.Basis.ofVectorSpaceIndex.linearIndependent", "grade": 3 }, { "name": "Module.Basis.linearIndependent", "grade": 2 } ]
06219629738d
Find a theorem that a function tending to y at the neighborhood of x has f x = y in a T1 target.
real questions
question
test
[ { "name": "eq_of_tendsto_nhds", "grade": 3 } ]
06240d0de454
forall (e : Function.Embedding A B) (x y : A) (z : B), Function.Embedding.setValue e x z y = z <-> y = x
formal
formal
test
[ { "name": "Function.Embedding.setValue_eq_iff", "grade": 3 } ]
0637b9a6caf7
for a group G, the functor sending a representation to its inhomogeneous cochain complex is exact; or a criterion that a sequence of chain complexes is exact iff exact in each degree
real questions
question
test
[ { "name": "HomologicalComplex.exact_iff_degreewise_exact", "grade": 3 }, { "name": "HomologicalComplex.shortExact_iff_degreewise_shortExact", "grade": 3 }, { "name": "groupCohomology.map_cochainsFunctor_shortExact", "grade": 3 }, { "name": "HomologicalComplex.preservesLimitsO...
0648cbeff2b3
M : Type u_1 X : Type u_2 inst✝³ : TopologicalSpace X inst✝² : Monoid M inst✝¹ : MulAction M X inst✝ : IsTopologicallyTransitive M X V : Set X hV : IsOpen V hne : V.Nonempty ⊢ Dense (⋃ g, g • V)
formal
goal
test
[ { "name": "IsOpen.dense_iUnion_smul", "grade": 3 } ]
065ebe0fb665
inverse sheaf yoneda bijection commutes with restricting a section along a morphism of the site
natural language
prose
test
[ { "name": "CategoryTheory.GrothendieckTopology.yonedaEquiv_symm_map", "grade": 3 }, { "name": "CategoryTheory.GrothendieckTopology.yonedaEquiv_symm_naturality_left", "grade": 3 }, { "name": "CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_symm_naturality_left", "grade": 2 } ]
066656b9c7d8
the Polynomial.logMahlerMeasure of a linear polynomial is the log of the leading coefficient's norm plus the positive log of its root's norm
natural language
prose+names
test
[ { "name": "Polynomial.logMahlerMeasure_C_mul_X_add_C", "grade": 3 }, { "name": "Polynomial.logMahlerMeasure_of_degree_eq_one", "grade": 3 }, { "name": "Polynomial.logMahlerMeasure_eq_log_leadingCoeff_add_sum_log_roots", "grade": 2 } ]
067629f00523
Definition of a tree on a type A as a collection of finite lists closed under taking initial segments, in the sense of descriptive set theory
real questions
question
test
[ { "name": "Descriptive.tree", "grade": 3 } ]
068d1339db35
dependent product modules componentwise bases sigma type index
names and keywords
keywords
test
[ { "name": "Pi.basis", "grade": 3 } ]
068efc58ac70
bounded set in product bornology has bounded coordinate images
natural language
prose
test
[ { "name": "Bornology.IsBounded.image_eval", "grade": 3 }, { "name": "Bornology.IsBounded.image_fst", "grade": 2 }, { "name": "Bornology.IsBounded.image_snd", "grade": 2 }, { "name": "Bornology.forall_isBounded_image_eval_iff", "grade": 2 }, { "name": "Bornology.is...
069e0fb062d6
call with current continuation for the exception monad transformer, lifted from the underlying monad
natural language
prose
test
[ { "name": "ExceptT.callCC", "grade": 3 }, { "name": "instMonadContExceptT", "grade": 2 } ]
06a12de21931
linear map on EuclideanSpace induced by a matrix, so that multiplying a vector of EuclideanSpace 𝕜 (Fin n) by a matrix gives an element of EuclideanSpace instead of a plain function Fin n → 𝕜
real questions
question
test
[ { "name": "Matrix.toEuclideanLin", "grade": 3 }, { "name": "Matrix.toEuclideanCLM", "grade": 2 } ]
06a6ed1a2468
morphism of LieRinehartAlgebra structures over a fixed algebra map, compatible with anchors and module actions
natural language
prose+names
test
[ { "name": "LieRinehartAlgebra.Hom", "grade": 3 } ]
06ab2a3505c7
quiver path vertices list chain arrow between consecutive
names and keywords
keywords
test
[ { "name": "Quiver.Path.isChain_cons_toList_nonempty", "grade": 3 }, { "name": "Quiver.Path.isChain_toList_nonempty", "grade": 2 } ]
06ca719db82d
Commutative ring with an additive operator satisfying the Leibniz rule
real questions
question
test
[ { "name": "Differential", "grade": 3 }, { "name": "Derivation", "grade": 2 } ]
06db1096faf7
c.inr = BinaryFan.IsLimit.lift hc 0 (𝟙 Y)
formal
formal
test
[ { "name": "CategoryTheory.Limits.inr_of_isLimit", "grade": 3 } ]
06ddd8f6943b
Subgroup.index inf product bound
names and keywords
names+keywords
test
[ { "name": "Subgroup.index_inf_le", "grade": 3 }, { "name": "Subgroup.index_iInf_le", "grade": 2 } ]
06e2a78e6b44
AkraBazziRecurrence.GrowsPolynomially eventual lower bound
names and keywords
names+keywords
test
[ { "name": "AkraBazziRecurrence.GrowsPolynomially.eventually_atTop_ge", "grade": 3 } ]
070cb3de9f6f
BddDistLat BoundedLatticeHom.comp CategoryTheory.CategoryStruct.comp BddDistLat.Hom.hom
names and keywords
names
test
[ { "name": "BddDistLat.hom_comp", "grade": 3 } ]
071be8ca8e9a
The integral norm of an algebraic integer equals its rational field norm after coercion.
real questions
question
test
[ { "name": "Algebra.coe_norm_int", "grade": 3 }, { "name": "Algebra.algebraMap_intNorm", "grade": 2 }, { "name": "Algebra.norm_localization", "grade": 2 }, { "name": "RingOfIntegers.coe_norm", "grade": 2 } ]
071da9409cd4
⊢ ⨆ y ∈ ({c} : Set ι), g y = g c
formal
goal
test
[ { "name": "iSup_singleton", "grade": 3 } ]
0747ac61e514
How do I construct a ModuleCat morphism from a linear map after the API change?
real questions
question
test
[ { "name": "ModuleCat.ofHom", "grade": 3 }, { "name": "ModuleCat.«term↟_»", "grade": 3 } ]
075e069a8340
Bornology.IsVonNBounded ?k ?S ↔ Filter.absorbing ?k ?S ≤ nhds 0
formal
formal
test
[ { "name": "Bornology.isVonNBounded_iff_absorbing_le", "grade": 3 } ]
076a9db112ab
Uniform Riemann sums of a continuous function on an interval converge to its interval integral.
real questions
question
test
[ { "name": "MeasureTheory.ContinuousOn.hasBoxIntegral", "grade": 2 }, { "name": "tendsto_tsum_div_pow_atTop_integral", "grade": 2 }, { "name": "BoxIntegral.HasIntegral.tendsto", "grade": 1 } ]
077aa0d24694
List the elements of a finset with membership proofs included in the element type.
real questions
question
test
[ { "name": "Finset.attach", "grade": 3 } ]
0790d2c851ac
asmyptoticCone_mono
names and keywords
name
test
[ { "name": "asymptoticCone_mono", "grade": 3 } ]
07f9f60a10db
for a HopfObj A, tensoring two comultiplications, braiding, multiplying, applying HopfObj.antipode twice, and multiplying again equals ComonObj.counit tensored then MonObj.one
natural language
prose+names
test
[ { "name": "CategoryTheory.HopfObj.mul_antipode₂", "grade": 3 } ]
081853a9c5a1
∀ (g : L →ₗ⁅R⁆ L'), g.IsIdealMorphism → (b ∈ g.idealRange ↔ ∃ a, g a = b)
formal
formal
test
[ { "name": "LieHom.mem_idealRange_iff", "grade": 3 } ]
08191c9b3748
product measure on encodable finite types via iterated products
natural language
prose
test
[ { "name": "MeasureTheory.Measure.pi'", "grade": 3 } ]
081eebbdd072
∀ (g : CircleDeg1Lift), (g.toOrderHom : ℝ → ℝ) = g
formal
formal
test
[ { "name": "CircleDeg1Lift.coe_toOrderHom", "grade": 3 } ]
0824f634f471
First Order Language Embedding cod Restrict
names and keywords
name
test
[ { "name": "FirstOrder.Language.Embedding.codRestrict", "grade": 3 } ]
084bc21cf8fb
the equivalence between functors from c to functors d to e and functors from d to functors c to e given by swapping arguments
natural language
prose
test
[ { "name": "CategoryTheory.Functor.flipping", "grade": 3 }, { "name": "CategoryTheory.Functor.flippingEquiv", "grade": 2 } ]
0872a1499d6b
for an endomorphism of a Noetherian module, the maximal generalized eigenspace equals Module.End.genEigenspace at the stabilizing index of the kernel chain
natural language
prose+names
test
[ { "name": "Module.End.maxGenEigenspace_eq", "grade": 3 } ]
088e7d227b07
{C : Type*} [Category C] [Limits.HasColimits C] {X Y : TopCat} (f : Quiver.Hom X Y) (G : TopCat.Presheaf C X) (p : X) : Quiver.Hom ((f _* G).stalk (f p)) (G.stalk p)
formal
formal
test
[ { "name": "TopCat.Presheaf.stalkPushforward", "grade": 3 } ]
089265236bbb
the bundled category of right exact functors as a full subcategory of the functor category
natural language
prose
test
[ { "name": "CategoryTheory.RightExactFunctor", "grade": 3 } ]
08a2ac3c0175
Induction on positive natural numbers with base case one and successor step.
real questions
question
test
[ { "name": "PNat.recOn", "grade": 3 }, { "name": "PNat.caseStrongInductionOn", "grade": 2 } ]
08c237aa01b9
restrict linear map submodule domain
names and keywords
keywords
test
[ { "name": "LinearMap.domRestrict", "grade": 3 }, { "name": "LinearMap.domRestrict'", "grade": 2 } ]
08db5b3997e6
Natural R-linear map from M tensor_R N to M tensor_S N for S-modules
real questions
question
test
[ { "name": "TensorProduct.mapOfCompatibleSMul", "grade": 3 }, { "name": "TensorProduct.mapOfCompatibleSMul'", "grade": 3 } ]
08dc53247eba
IsWeaklyRegular M xs <-> forall k : Fin xs.length, IsSMulRegular (HasQuotient.Quotient M (SMul.smul (Ideal.ofList (xs.take k)) Top.top)) xs[k]
formal
formal
test
[ { "name": "RingTheory.Sequence.isWeaklyRegular_iff_Fin", "grade": 3 }, { "name": "RingTheory.Sequence.isWeaklyRegular_iff", "grade": 2 } ]
08e2aec5d709
derivation on polynomials over a differential ring acting on each coefficient
natural language
prose
test
[ { "name": "Differential.mapCoeffs", "grade": 3 }, { "name": "Derivation.mapCoeffs", "grade": 2 } ]
08fcd85bc2b2
predicate that a morphism into an object lifts along a monomorphism over that object, giving a map whose composite with the mono recovers it
natural language
prose
test
[ { "name": "CategoryTheory.MonoOver.Factors", "grade": 3 } ]
09001f292873
the point of the prime spectrum of a local ring corresponding to its maximal ideal
natural language
prose
test
[ { "name": "IsLocalRing.closedPoint", "grade": 3 } ]
End of preview. Expand in Data Studio

LeanExplore Bench

A benchmark for search engines that find Lean 4 declarations in Mathlib: 3,200 queries, each with one or more graded answers.

Code and scoring: https://github.com/lean-explore/lean-explore-bench

Contents

Bucket Queries Forms
Names and keywords 800 name, names, names+keywords, keywords
Natural language 800 prose, prose+names
Formal 800 formal (statements and patterns), goal (proof states)
Real questions 800 question, derived from Lean Zulip threads

There are 2,560 test queries and 640 development queries, a fifth of each bucket. Tune only on the development split.

Fields

The dataset has two configurations, queries and runs. queries has one row per query, in a test and a development split.

Field Content
id Stable identifier.
query The text sent to a search engine.
bucket, form The bucket and form from the table above.
split test or development.
answers List of {name, grade}, best first. name is a Mathlib declaration.

A grade of 3 answers the query directly, 2 is usable after a clear adaptation, and 1 is related but not enough.

runs has one split per engine and one row per query: id and documents, the ten declarations the engine returned, best first.

Scoring

A result is a hit when it is an answer graded 2 or 3. A query scores 1/n, where n is the position of the first hit in the first ten results, and 0 if there is none (MRR@10). The benchmark score is the mean of the four bucket scores. The leb score command in the repository computes it.

A correct result that is not labelled counts as a miss, so have a new engine's results graded before comparing its score with the ones below.

Results

MRR@10 on the test split, with the share of queries whose first result is a hit in brackets.

Bucket Lumen Lean Finder LeanSearch Octo Search LeanExplore BM25
Names and keywords 0.94 (0.91) 0.83 (0.76) 0.75 (0.63) 0.70 (0.58) 0.67 (0.52) 0.43 (0.31)
Natural language 0.97 (0.96) 0.93 (0.88) 0.82 (0.72) 0.75 (0.64) 0.63 (0.48) 0.22 (0.13)
Formal 0.97 (0.96) 0.92 (0.89) 0.80 (0.69) 0.71 (0.59) 0.28 (0.15) 0.46 (0.30)
Real questions 0.81 (0.76) 0.66 (0.58) 0.58 (0.47) 0.52 (0.42) 0.36 (0.27) 0.15 (0.11)
Benchmark score 0.93 (0.90) 0.83 (0.78) 0.74 (0.63) 0.67 (0.56) 0.48 (0.36) 0.31 (0.21)

Lumen is the development version of LeanExplore and is not yet released; the LeanExplore column is the current hosted service. LeanExplore, LeanSearch, and Lean Finder were queried from 11 to 13 November 2026 and Octo Search on 28 November 2026, each with its default settings. BM25 is a keyword baseline whose results were not graded for extra answers, so its scores are lower bounds.

How it was made

  • Written queries (2,400). A language model sees a randomly drawn Mathlib declaration and writes a query of a given form and length. A judge from another model family must accept it. The 160 name queries are made by a program.
  • Real questions (800). A language model rewrites the opening request of a Lean Zulip thread as a search query. Declarations named in the replies are proposed answers, and the query is kept if the judge accepts one of them.
  • Extra answers. The top results of six systems were graded without showing which system returned them, which added 2,026 answers on 1,253 queries.

The method has the details and the known limits.

Licence and citation

CC BY 4.0. The answers are names of declarations in Mathlib, which is under the Apache License 2.0.

@misc{asher2026leanexplorebench,
  title  = {{LeanExplore Bench}: A Benchmark for Lean 4 Declaration Search},
  author = {Asher, Justin and Pellegrino, Pietro},
  year   = {2026},
  url    = {https://github.com/lean-explore/lean-explore-bench}
}
Downloads last month
103
⌂ 换网址