name
stringlengths
2
347
module
stringlengths
6
90
type
stringlengths
1
5.42M
docString
stringlengths
0
11.5k
allowCompletion
bool
2 classes
BooleanAlgebra.recOn
Mathlib.Order.BooleanAlgebra.Defs
{α : Type u} → {motive : BooleanAlgebra α → Sort u_1} → (t : BooleanAlgebra α) → ([toDistribLattice : DistribLattice α] → [toCompl : Compl α] → [toSDiff : SDiff α] → [toHImp : HImp α] → [toTop : Top α] → [toBot : Bot α] → ...
null
false
CategoryTheory.MonoidalCategory.MonoidalRightAction.hom_inv_actionHomLeft
Mathlib.CategoryTheory.Monoidal.Action.Basic
∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.MonoidalCategory C] [inst_3 : CategoryTheory.MonoidalCategory.MonoidalRightAction C D] {x y : D} (f : x ≅ y) (z : C), CategoryTheory.CategoryStruct.comp (CategoryT...
null
true
RingHom.liftOfRightInverse_comp
Mathlib.RingTheory.Ideal.Maps
∀ {A : Type u_1} {B : Type u_2} {C : Type u_3} [inst : Ring A] [inst_1 : Ring B] [inst_2 : Ring C] (f : A →+* B) (f_inv : B → A) (hf : Function.RightInverse f_inv ⇑f) (g : { g // RingHom.ker f ≤ RingHom.ker g }), ((f.liftOfRightInverse f_inv hf) g).comp f = ↑g
null
true
LinearMap.extendScalarsOfIsLocalizationEquiv._proof_8
Mathlib.RingTheory.Localization.Module
∀ {R : Type u_3} [inst : CommSemiring R] (A : Type u_4) [inst_1 : CommSemiring A] [inst_2 : Algebra R A] {M : Type u_1} {N : Type u_2} [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : Module A M] [IsScalarTower R A M] [inst_7 : AddCommMonoid N] [inst_8 : Module R N] [inst_9 : Module A N] [IsScalarTower R ...
null
false
Int.Linear.Poly.insert
Init.Data.Int.Linear
ℤ → Int.Linear.Var → Int.Linear.Poly → Int.Linear.Poly
null
true
CategoryTheory.InjectiveResolution.extMk_hom
Mathlib.CategoryTheory.Abelian.Injective.Ext
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] [inst_2 : CategoryTheory.HasExt C] {X Y : C} (R : CategoryTheory.InjectiveResolution Y) [inst_3 : HasDerivedCategory C] {n : ℕ} (f : X ⟶ R.cocomplex.X n) (m : ℕ) (hm : n + 1 = m) (hf : CategoryTheory.CategoryStruct.comp f...
null
true
_private.Mathlib.Topology.Category.CompHaus.EffectiveEpi.0.CompHaus.effectiveEpiFamily_tfae.match_1_1
Mathlib.Topology.Category.CompHaus.EffectiveEpi
∀ {α : Type} [inst : Finite α] {B : CompHaus} (X : α → CompHaus) (π : (a : α) → X a ⟶ B) (motive : CategoryTheory.Epi (CategoryTheory.Limits.Sigma.desc π) → Prop) (x : CategoryTheory.Epi (CategoryTheory.Limits.Sigma.desc π)), (∀ (x : CategoryTheory.Epi (CategoryTheory.Limits.Sigma.desc π)), motive x) → motive x
null
false
Action.diagonalOneIsoLeftRegular
Mathlib.CategoryTheory.Action.Concrete
(G : Type u_1) → [inst : Monoid G] → Action.diagonal G 1 ≅ Action.leftRegular G
We have `Fin 1 → G ≅ G` as `G`-sets, with `G` acting by left multiplication.
true
Int.le_iff_lt_or_eq
Init.Data.Int.Order
∀ {a b : ℤ}, a ≤ b ↔ a < b ∨ a = b
null
true
CategoryTheory.instIsIsoComp
Mathlib.CategoryTheory.IsoCat
∀ {C : Type u_1} {D : Type u_2} {E : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} E] (F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor D E) [F.IsIso] [G.IsIso], (F.comp G).IsIso
null
true
_private.Mathlib.Combinatorics.Matroid.Constructions.0.Matroid.empty_isBase_iff._simp_1_2
Mathlib.Combinatorics.Matroid.Constructions
∀ {α : Type u_1} (M : Matroid α), M.3 ∅ = True
null
false
CategoryTheory.Idempotents.instIsIdempotentCompleteCosimplicialObject
Mathlib.CategoryTheory.Idempotents.SimplicialObject
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.IsIdempotentComplete C], CategoryTheory.IsIdempotentComplete (CategoryTheory.CosimplicialObject C)
null
true
LieHom._sizeOf_1
Mathlib.Algebra.Lie.Basic
{R : Type u_1} → {L : Type u_2} → {L' : Type u_3} → {inst : CommRing R} → {inst_1 : LieRing L} → {inst_2 : LieAlgebra R L} → {inst_3 : LieRing L'} → {inst_4 : LieAlgebra R L'} → [SizeOf R] → [SizeOf L] → [SizeOf L'] → (L →ₗ⁅R⁆ L') → ℕ
null
false
CategoryTheory.shrinkYonedaMonObjObjEquiv._proof_1
Mathlib.CategoryTheory.Monoidal.Cartesian.ShrinkYoneda
∀ {C : Type u_3} [inst : CategoryTheory.Category.{u_2, u_3} C] [CategoryTheory.LocallySmall.{u_1, u_2, u_3} C] [inst_2 : CategoryTheory.CartesianMonoidalCategory C] {M : CategoryTheory.Mon C} {Y : Cᵒᵖ}, Small.{u_1, u_2} ↑((CategoryTheory.yonedaMon.obj M).obj Y)
null
false
Lean.Elab.AutoBoundImplicitContext.mk
Lean.Elab.AutoBound
Bool → Lean.PArray Lean.Expr → Lean.Elab.AutoBoundImplicitContext
null
true
_private.Mathlib.AlgebraicTopology.DoldKan.Degeneracies.0.AlgebraicTopology.DoldKan.σ_comp_P_eq_zero._simp_1_5
Mathlib.AlgebraicTopology.DoldKan.Degeneracies
∀ {α : Type u_1} [inst : Fintype α] (x : α), (x ∈ Finset.univ) = True
null
false
Tactic.NormNum.int_lcm_helper
Mathlib.Tactic.NormNum.GCD
∀ {x y : ℤ} {x' y' d : ℕ}, x.natAbs = x' → y.natAbs = y' → x'.lcm y' = d → x.lcm y = d
null
true
IsZGroup.isCyclic_commutator
Mathlib.GroupTheory.SpecificGroups.ZGroup
∀ (G : Type u_1) [inst : Group G] [Finite G] [IsZGroup G], IsCyclic ↥(commutator G)
A finite Z-group has cyclic commutator subgroup.
true
Graph.map
Mathlib.Combinatorics.Graph.Maps
{α : Type u_1} → {α' : Type u_2} → {β : Type u_4} → (α → α') → Graph α β → Graph α' β
Map `G : Graph α β` to a `Graph α' β` with the same edge set by applying a function `f : α → α'` to each vertex. Edges between identified vertices become loops.
true
CategoryTheory.Limits.limit.isLimit
Mathlib.CategoryTheory.Limits.HasLimits
{J : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} J] → {C : Type u} → [inst_1 : CategoryTheory.Category.{v, u} C] → (F : CategoryTheory.Functor J C) → [inst_2 : CategoryTheory.Limits.HasLimit F] → CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.limit.cone F)
Evidence that the arbitrary choice of cone provided by `limit.cone F` is a limit cone.
true
LinearMap.compMultilinearMap_add
Mathlib.LinearAlgebra.Multilinear.Basic
∀ {R : Type uR} {ι : Type uι} {M₁ : ι → Type v₁} {M₂ : Type v₂} {M₃ : Type v₃} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M₁ i)] [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : (i : ι) → Module R (M₁ i)] [inst_5 : Module R M₂] [inst_6 : Module R M₃] (g : M₂ →ₗ[R] M₃) (f₁ f₂ : Multili...
null
true
Vector.zipWith_replicate
Init.Data.Vector.Zip
∀ {α : Type u_1} {β : Type u_2} {α_1 : Type u_3} {f : α → β → α_1} {a : α} {b : β} {n : ℕ}, Vector.zipWith f (Vector.replicate n a) (Vector.replicate n b) = Vector.replicate n (f a b)
null
true
_private.Mathlib.Order.Interval.Set.Basic.0.Set.instNoMinOrderElemIio.match_1
Mathlib.Order.Interval.Set.Basic
∀ {α : Type u_1} [inst : Preorder α] {a : α} (a_1 : ↑(Set.Iio a)) (motive : (∃ b, b < ↑a_1) → Prop) (x : ∃ b, b < ↑a_1), (∀ (b : α) (hb : b < ↑a_1), motive ⋯) → motive x
null
false
Filter.Eventually.ne_of_gt
Mathlib.Order.Filter.Basic
∀ {α : Type u} {β : Type v} [inst : Preorder β] {l : Filter α} {f g : α → β}, (∀ᶠ (x : α) in l, g x < f x) → ∀ᶠ (x : α) in l, f x ≠ g x
null
true
_private.Mathlib.RingTheory.OrderOfVanishing.Basic.0.Ideal.mulQuot_injective._simp_1_2
Mathlib.RingTheory.OrderOfVanishing.Basic
∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_5} {M₂ : Type u_7} [inst : Ring R] [inst_1 : Ring R₂] [inst_2 : AddCommGroup M] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂} {f : M →ₛₗ[τ₁₂] M₂}, Function.Injective ⇑f = (f.ker = ⊥)
null
false
IsSelfAdjoint.conjugate'
Mathlib.Algebra.Star.SelfAdjoint
∀ {R : Type u_1} [inst : Semigroup R] [inst_1 : StarMul R] {x : R}, IsSelfAdjoint x → ∀ (z : R), IsSelfAdjoint (star z * x * z)
null
true
BitVec.ushiftRight_and_distrib
Init.Data.BitVec.Lemmas
∀ {w : ℕ} (x y : BitVec w) (n : ℕ), (x &&& y) >>> n = x >>> n &&& y >>> n
null
true
ENNReal.toReal_eq_toReal_iff'
Mathlib.Data.ENNReal.Basic
∀ {x y : ENNReal}, x ≠ ⊤ → y ≠ ⊤ → (x.toReal = y.toReal ↔ x = y)
null
true
List.zipWithM.loop
Init.Data.List.Control
{m : Type u → Type v} → [Monad m] → {α : Type w} → {β : Type x} → {γ : Type u} → (α → β → m γ) → List α → List β → Array γ → m (List γ)
null
true
_private.Mathlib.MeasureTheory.Integral.CircleIntegral.0.circleIntegrable_sub_inv_iff._simp_1_1
Mathlib.MeasureTheory.Integral.CircleIntegral
∀ {G : Type u_1} [inst : DivInvMonoid G] (x : G), x⁻¹ = x ^ (-1)
null
false
_private.Lean.Meta.Tactic.Grind.MBTC.0.Lean.Meta.Grind.Key.noConfusionType
Lean.Meta.Tactic.Grind.MBTC
Sort u → Lean.Meta.Grind.Key✝ → Lean.Meta.Grind.Key✝ → Sort u
null
false
_private.Mathlib.RingTheory.Unramified.Locus.0.Algebra.unramifiedLocus_eq_compl_support._simp_1_2
Mathlib.RingTheory.Unramified.Locus
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {p : PrimeSpectrum R}, (p ∉ Module.support R M) = Subsingleton (LocalizedModule p.asIdeal.primeCompl M)
null
false
GradedRing.projZeroRingHom'_surjective
Mathlib.RingTheory.GradedAlgebra.Basic
∀ {ι : Type u_1} {A : Type u_3} {σ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ι] [inst_2 : AddCommMonoid ι] [inst_3 : PartialOrder ι] [inst_4 : CanonicallyOrderedAdd ι] [inst_5 : SetLike σ A] [inst_6 : AddSubmonoidClass σ A] (𝒜 : ι → σ) [inst_7 : GradedRing 𝒜], Function.Surjective ⇑(GradedRing.projZero...
The ring homomorphism `GradedRing.projZeroRingHom' 𝒜` is surjective.
true
factorPowSucc.isUnit_of_isUnit_image
Mathlib.RingTheory.Ideal.Quotient.PowTransition
∀ {R : Type u_3} [inst : CommRing R] {I : Ideal R} {n : ℕ}, n > 0 → ∀ {a : R ⧸ I ^ (n + 1)}, IsUnit ((Ideal.Quotient.factorPow I ⋯) a) → IsUnit a
null
true
Filter.tendstoIxxClass_principal
Mathlib.Order.Filter.Interval
∀ {α : Type u_1} {s t : Set α} {Ixx : α → α → Set α}, Filter.TendstoIxxClass Ixx (Filter.principal s) (Filter.principal t) ↔ ∀ x ∈ s, ∀ y ∈ s, Ixx x y ⊆ t
null
true
String.Pos.Raw.instLinearOrderPackage._proof_1
Init.Data.String.OrderInstances
let this := inferInstance; let this_1 := let this := inferInstance; inferInstance; ∀ (a b : String.Pos.Raw), a < b ↔ a ≤ b ∧ ¬b ≤ a
null
false
optParam
Init.Prelude
(α : Sort u) → α → Sort u
Gadget for optional parameter support. A binder like `(x : α := default)` in a declaration is syntax sugar for `x : optParam α default`, and triggers the elaborator to attempt to use `default` to supply the argument if it is not supplied.
true
ZNum.decidableLT
Mathlib.Data.Num.Basic
DecidableLT ZNum
null
true
Std.Slice.Internal.SubarrayData.stop_le_array_size
Init.Data.Array.Subarray
∀ {α : Type u} (self : Std.Slice.Internal.SubarrayData α), self.stop ≤ self.array.size
The stopping index is no later than the end of the array. The ending index is exclusive. If it is equal to the size of the array, then the last element of the array is in the subarray.
true
analyticOrderAt_eq_nat_iff_iteratedDeriv_eq_zero
Mathlib.Analysis.Analytic.Order
∀ {𝕜 : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [CharZero 𝕜] [CompleteSpace E] {z₀ : 𝕜} {f : 𝕜 → E}, AnalyticAt 𝕜 f z₀ → ∀ {n : ℕ}, analyticOrderAt f z₀ = ↑n ↔ (∀ k < n, iteratedDeriv k f z₀ = 0) ∧ iteratedDeriv n f z₀ ≠ 0
An analytic function `f` has finite analytic order `n` at `z₀` if and only if its first `n` iterated derivatives (including `f` itself) vanish at `z₀` and the `n`-th iterated derivative is non-zero.
true
CategoryTheory.GrothendieckTopology.W_eq_inverseImage_isomorphisms
Mathlib.CategoryTheory.Sites.Localization
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C) (A : Type u_2) [inst_1 : CategoryTheory.Category.{v_2, u_2} A] [inst_2 : CategoryTheory.HasWeakSheafify J A], J.W = (CategoryTheory.MorphismProperty.isomorphisms (CategoryTheory.Sheaf J A)).inverseImage ...
null
true
_private.Mathlib.Combinatorics.Additive.ErdosGinzburgZiv.0.Int.erdos_ginzburg_ziv._simp_1_8
Mathlib.Combinatorics.Additive.ErdosGinzburgZiv
∀ {a b c : Prop}, ((a ∧ b) ∧ c) = (a ∧ b ∧ c)
null
false
OrthogonalIdempotents.mul_sum_of_mem
Mathlib.RingTheory.Idempotents
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R}, OrthogonalIdempotents e → ∀ {i : I} {s : Finset I}, i ∈ s → e i * ∑ j ∈ s, e j = e i
null
true
CompHausLike.LocallyConstant.sigmaComparison_comp_sigmaIso
Mathlib.Condensed.Discrete.LocallyConstant
∀ {P : TopCat → Prop} [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] {Q : CompHausLike P} {Z : Type (max u w)} (r : LocallyConstant (↑Q.toTop) Z) (a : Function.Fiber ⇑r) [inst_1 : CompHausLike.HasExplicitFiniteCoproducts P] (X : CategoryTheory.Functor (CompHausLike P)ᵒᵖ ...
null
true
_private.Lean.Elab.Tactic.Grind.SimprocDSL.0.Lean.Elab.Tactic.Grind.initFn._@.Lean.Elab.Tactic.Grind.SimprocDSL.2342394239._hygCtx._hyg.2
Lean.Elab.Tactic.Grind.SimprocDSL
IO (Lean.KeyedDeclsAttribute Lean.Elab.Tactic.Grind.SymDischargerElab)
null
false
CategoryTheory.Enriched.HasConicalLimitsOfSize.hasConicalLimitsOfShape._autoParam
Mathlib.CategoryTheory.Enriched.Limits.HasConicalLimits
Lean.Syntax
null
false
_private.Lean.Meta.Tactic.Grind.Arith.CommRing.SemiringM.0.Lean.Meta.Grind.Arith.CommRing.setTermSemiringId.match_1
Lean.Meta.Tactic.Grind.Arith.CommRing.SemiringM
(motive : Option ℕ → Sort u_1) → (__do_lift : Option ℕ) → ((semiringId' : ℕ) → motive (some semiringId')) → ((x : Option ℕ) → motive x) → motive __do_lift
null
false
Mathlib.Tactic.BicategoryLike.NormalExpr.nodesAux
Mathlib.Tactic.Widget.StringDiagram
{ρ : Type} → [Mathlib.Tactic.BicategoryLike.MonadMor₁ (Mathlib.Tactic.BicategoryLike.CoherenceM ρ)] → ℕ → Mathlib.Tactic.BicategoryLike.NormalExpr → Mathlib.Tactic.BicategoryLike.CoherenceM ρ (List (List Mathlib.Tactic.Widget.StringDiagram.Node))
The list of nodes at the top of a string diagram. The position is counted from the specified natural number.
true
Mathlib.Tactic.GCongr.GCongrKey.recOn
Mathlib.Tactic.GCongr.Core
{motive : Mathlib.Tactic.GCongr.GCongrKey → Sort u} → (t : Mathlib.Tactic.GCongr.GCongrKey) → ((relName head : Lean.Name) → (arity : ℕ) → motive { relName := relName, head := head, arity := arity }) → motive t
null
false
Array.range'_append_1
Init.Data.Array.Range
∀ {s m n : ℕ}, Array.range' s m ++ Array.range' (s + m) n = Array.range' s (m + n)
null
true
Finset.prod_prod_Ioi_mul_eq_prod_prod_off_diag
Mathlib.Algebra.Order.BigOperators.Group.LocallyFinite
∀ {α : Type u_1} {M : Type u_2} [inst : CommMonoid M] [inst_1 : LinearOrder α] [inst_2 : Fintype α] [inst_3 : LocallyFiniteOrderTop α] [LocallyFiniteOrderBot α] (f : α → α → M), ∏ i, ∏ j ∈ Finset.Ioi i, f j i * f i j = ∏ i, ∏ j ∈ {i}ᶜ, f j i
null
true
NonUnitalNonAssocRing.toHasDistribNeg._proof_3
Mathlib.Algebra.Ring.Defs
∀ {α : Type u_1} [inst : NonUnitalNonAssocRing α] (a : α), - -a = a
null
false
FundamentalGroupoid.instSubsingletonHomPUnit
Mathlib.AlgebraicTopology.FundamentalGroupoid.PUnit
∀ {x y : FundamentalGroupoid PUnit.{u_1 + 1}}, Subsingleton (x ⟶ y)
null
true
_private.Mathlib.Analysis.SpecificLimits.Normed.0.Monotone.tendsto_le_alternating_series._simp_1_2
Mathlib.Analysis.SpecificLimits.Normed
∀ {α : Type u} [inst : AddGroup α] [inst_1 : LE α] [AddRightMono α] {a b c : α}, (a - c ≤ b) = (a ≤ b + c)
null
false
_private.Lean.Meta.RecursorInfo.0.Lean.Meta.getNumParams
Lean.Meta.RecursorInfo
Array Lean.Expr → Lean.Expr → ℕ → ℕ
Compute number of parameters for (user-defined) recursor. We assume a parameter is anything that occurs before the motive
true
CategoryTheory.Arrow.equivSigma
Mathlib.CategoryTheory.Comma.Arrow
(T : Type u) → [inst : CategoryTheory.Category.{v, u} T] → CategoryTheory.Arrow T ≃ (X : T) × (Y : T) × (X ⟶ Y)
`Arrow T` is equivalent to a sigma type.
true
AlgebraNorm.mk.inj
Mathlib.Analysis.Normed.Unbundled.AlgebraNorm
∀ {R : Type u_1} {inst : SeminormedCommRing R} {S : Type u_2} {inst_1 : Ring S} {inst_2 : Algebra R S} {toRingNorm : RingNorm S} {smul' : ∀ (a : R) (x : S), toRingNorm.toFun (a • x) = ‖a‖ * toRingNorm.toFun x} {toRingNorm_1 : RingNorm S} {smul'_1 : ∀ (a : R) (x : S), toRingNorm_1.toFun (a • x) = ‖a‖ * toRingNorm_1....
null
true
Submonoid.LocalizationMap.mulEquivOfMulEquiv
Mathlib.GroupTheory.MonoidLocalization.Maps
{M : Type u_1} → [inst : CommMonoid M] → {S : Submonoid M} → {N : Type u_2} → [inst_1 : CommMonoid N] → {P : Type u_3} → [inst_2 : CommMonoid P] → S.LocalizationMap N → {T : Submonoid P} → {Q : Type u_4} → [ins...
Given Localization maps `f : M →* N, k : P →* U` for Submonoids `S, T` respectively, an isomorphism `j : M ≃* P` such that `j(S) = T` induces an isomorphism of localizations `N ≃* U`.
true
ContinuousAlternatingMap.curryLeft_add
Mathlib.Analysis.Normed.Module.Alternating.Curry
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ} (f g : E [⋀^Fin (n + 1)]→L[𝕜] F), (f + g).curryLeft = f.curryLeft + g.curryLeft
null
true
_private.Mathlib.Dynamics.TopologicalEntropy.NetEntropy.0.Dynamics.coverMincard_le_netMaxcard._simp_1_5
Mathlib.Dynamics.TopologicalEntropy.NetEntropy
∀ {a b : Prop}, (¬(a ∧ b)) = (a → ¬b)
null
false
cantorToTernary
Mathlib.Topology.Instances.CantorSet
ℝ → Stream' (Fin 3)
Given `x` in the Cantor set, return its ternary representation `(d₀, d₁, …)` using only digits `0` and `2`, such that `x = 0.d₀d₁...` in base-3.
true
_private.Mathlib.Data.Int.LeastGreatest.0.Int.coe_leastOfBdd_eq._proof_1_2
Mathlib.Data.Int.LeastGreatest
∀ {P : ℤ → Prop} [inst : DecidablePred P] {b b' : ℤ} (Hb : ∀ (z : ℤ), P z → b ≤ z) (Hb' : ∀ (z : ℤ), P z → b' ≤ z) (Hinh : ∃ z, P z), ↑(b.leastOfBdd Hb Hinh) = ↑(b'.leastOfBdd Hb' Hinh)
null
false
Vector.extract_eq_pop
Init.Data.Vector.Extract
∀ {α : Type u_1} {n : ℕ} {xs : Vector α n} {stop : ℕ} (h : stop = n - 1), xs.extract 0 stop = Vector.cast ⋯ xs.pop
null
true
TensorPower.gmonoid._proof_2
Mathlib.LinearAlgebra.TensorPower.Basic
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (n : ℕ) (a : GradedMonoid fun i => TensorPower R i M), GradedMonoid.mk (n.succ • a.fst) (GradedMonoid.GMonoid.gnpowRec n.succ a.snd) = ⟨n • a.fst, GradedMonoid.GMonoid.gnpowRec n a.snd⟩ * a
null
false
Submodule.finiteDimensional_iSup
Mathlib.LinearAlgebra.FiniteDimensional.Basic
∀ {K : Type u} {V : Type v} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Sort u_1} [Finite ι] (S : ι → Submodule K V) [∀ (i : ι), FiniteDimensional K ↥(S i)], FiniteDimensional K ↥(⨆ i, S i)
The submodule generated by a supremum of finite-dimensional submodules, indexed by a finite sort is finite-dimensional.
true
_private.Lean.Elab.App.0.Lean.Elab.Term.mergeFailures.match_1
Lean.Elab.App
(motive : Lean.Elab.Term.TermElabResult Lean.Expr → Sort u_1) → (x : Lean.Elab.Term.TermElabResult Lean.Expr) → ((ex : Lean.Exception) → (a : Lean.Elab.Term.SavedState) → motive (EStateM.Result.error ex a)) → ((x : Lean.Elab.Term.TermElabResult Lean.Expr) → motive x) → motive x
null
false
Lean.Meta.Grind.Arith.Cutsat.DiseqCnstr.h
Lean.Meta.Tactic.Grind.Arith.Cutsat.Types
Lean.Meta.Grind.Arith.Cutsat.DiseqCnstr → Lean.Meta.Grind.Arith.Cutsat.DiseqCnstrProof
null
true
TensorProduct.tmul_neg
Mathlib.LinearAlgebra.TensorProduct.Basic
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} {P : Type u_4} [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup P] [inst_3 : Module R M] [inst_4 : Module R P] (m : M) (p : P), m ⊗ₜ[R] (-p) = -m ⊗ₜ[R] p
null
true
LieSubmodule.ext
Mathlib.Algebra.Lie.Submodule
∀ {R : Type u} {L : Type v} {M : Type w} [inst : CommRing R] [inst_1 : LieRing L] [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : LieRingModule L M] (N N' : LieSubmodule R L M), (∀ (m : M), m ∈ N ↔ m ∈ N') → N = N'
null
true
Graph.induce._proof_3
Mathlib.Combinatorics.Graph.Delete
∀ {α : Type u_2} {β : Type u_1} (G : Graph α β) (X : Set α) (e : β), e ∈ {e | ∃ x y, (fun e x y => G.IsLink e x y ∧ x ∈ X ∧ y ∈ X) e x y} ↔ ∃ x y, G.IsLink e x y ∧ x ∈ X ∧ y ∈ X
null
false
Stream'.WSeq.seq_destruct_think
Mathlib.Data.WSeq.Basic
∀ {α : Type u} (s : Stream'.WSeq α), Stream'.Seq.destruct s.think = some (none, s)
null
true
_private.Init.Data.BitVec.Lemmas.0.BitVec.clzAuxRec_le._proof_1_1
Init.Data.BitVec.Lemmas
¬1 < 2 → False
null
false
Polynomial.trinomial
Mathlib.Algebra.Polynomial.UnitTrinomial
{R : Type u_1} → [inst : Semiring R] → ℕ → ℕ → ℕ → R → R → R → Polynomial R
Shorthand for a trinomial
true
Lean.StructureDescr.fields
Lean.Structure
Lean.StructureDescr → Array Lean.StructureFieldInfo
The fields should be in the order that they appear in the structure's constructor.
true
MeasureTheory.setLAverage_congr_fun
Mathlib.MeasureTheory.Integral.Average
∀ {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {f g : α → ENNReal}, MeasurableSet s → Set.EqOn f g s → ⨍⁻ (x : α) in s, f x ∂μ = ⨍⁻ (x : α) in s, g x ∂μ
null
true
FirstOrder.Language.DirectLimit.inductionOn
Mathlib.ModelTheory.DirectLimit
∀ {L : FirstOrder.Language} {ι : Type v} [inst : Preorder ι] {G : ι → Type w} [inst_1 : (i : ι) → L.Structure (G i)] {f : (i j : ι) → i ≤ j → L.Embedding (G i) (G j)} [inst_2 : IsDirectedOrder ι] [inst_3 : DirectedSystem G fun i j h => ⇑(f i j h)] [inst_4 : Nonempty ι] {C : FirstOrder.Language.DirectLimit G f → P...
null
true
TopCat.instCategory._proof_2
Mathlib.Topology.Category.TopCat.Basic
∀ {X Y : TopCat} (f : X.Hom Y), { hom' := { hom' := ContinuousMap.id ↑Y }.hom'.comp f.hom' } = f
null
false
mul_mem_ball_iff_norm
Mathlib.Analysis.Normed.Group.Basic
∀ {E : Type u_5} [inst : SeminormedCommGroup E] {a b : E} {r : ℝ}, a * b ∈ Metric.ball a r ↔ ‖b‖ < r
null
true
_private.Batteries.Data.String.Lemmas.0.String.Legacy.instDecidableEqIterator.decEq.match_1.splitter
Batteries.Data.String.Lemmas
(motive : String.Legacy.Iterator → String.Legacy.Iterator → Sort u_1) → (x x_1 : String.Legacy.Iterator) → ((a : String) → (a_1 : String.Pos.Raw) → (b : String) → (b_1 : String.Pos.Raw) → motive { s := a, i := a_1 } { s := b, i := b_1 }) → motive x x_1
null
true
CategoryTheory.Limits.Types.TypeMax.colimitCocone
Mathlib.CategoryTheory.Limits.Types.Colimits
{J : Type v} → [inst : CategoryTheory.Category.{w, v} J] → (F : CategoryTheory.Functor J (Type (max v u))) → CategoryTheory.Limits.Cocone F
(internal implementation) the colimit cocone of a functor, implemented as a quotient of a sigma type
true
_private.Std.Data.Iterators.Lemmas.Equivalence.HetT.0.Std.Iterators.HetT.pmap_map._simp_1_1
Std.Data.Iterators.Lemmas.Equivalence.HetT
∀ {m : Type w → Type w'} [inst : Monad m] [LawfulMonad m] {α : Type v} {x y : Std.Iterators.HetT m α}, (x = y) = ∃ (h : x.Property = y.Property), ∀ (β : Type w) (f : (a : α) → x.Property a → m β), x.prun f = y.prun fun a ha => f a ⋯
null
false
List.sym2_eq_nil_iff
Mathlib.Data.List.Sym
∀ {α : Type u_1} {xs : List α}, xs.sym2 = [] ↔ xs = []
null
true
Fix.mk._flat_ctor
Mathlib.Control.Fix
{α : Type u_3} → ((α → α) → α) → Fix α
null
false
_private.Lean.Elab.Tactic.Grind.ShowState.0.Lean.Elab.Tactic.Grind.evalShowLocalThms._regBuiltin._private.Lean.Elab.Tactic.Grind.ShowState.0.Lean.Elab.Tactic.Grind.evalShowLocalThms_1
Lean.Elab.Tactic.Grind.ShowState
IO Unit
null
false
_private.Std.Data.DHashMap.Internal.WF.0.Std.DHashMap.Internal.Raw₀.diff.eq_1
Std.Data.DHashMap.Internal.WF
∀ {α : Type u} {β : α → Type v} [inst : BEq α] [inst_1 : Hashable α] (m₁ m₂ : Std.DHashMap.Internal.Raw₀ α β), m₁.diff m₂ = if (↑m₁).size ≤ (↑m₂).size then Std.DHashMap.Internal.Raw₀.filter (fun k x => !m₂.contains k) m₁ else ↑(m₁.eraseManyEntries ↑m₂)
null
true
CategoryTheory.Localization.inverts
Mathlib.CategoryTheory.Localization.Predicate
∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (L : CategoryTheory.Functor C D) (W : CategoryTheory.MorphismProperty C) [L.IsLocalization W], W.IsInvertedBy L
null
true
Set.iUnion₂_inter
Mathlib.Data.Set.Lattice
∀ {α : Type u_1} {ι : Sort u_5} {κ : ι → Sort u_8} (s : (i : ι) → κ i → Set α) (t : Set α), (⋃ i, ⋃ j, s i j) ∩ t = ⋃ i, ⋃ j, s i j ∩ t
null
true
Primrec.list_head?
Mathlib.Computability.Primrec.List
∀ {α : Type u_1} [inst : Primcodable α], Primrec List.head?
null
true
Std.TreeMap.getElem!_modify_self
Std.Data.TreeMap.Lemmas
∀ {α : Type u} {β : Type v} {cmp : α → α → Ordering} {t : Std.TreeMap α β cmp} [Std.TransCmp cmp] {k : α} [inst : Inhabited β] {f : β → β}, (t.modify k f)[k]! = (Option.map f t[k]?).get!
null
true
Polynomial.le_trailingDegree_C
Mathlib.Algebra.Polynomial.Degree.TrailingDegree
∀ {R : Type u} {a : R} [inst : Semiring R], 0 ≤ (Polynomial.C a).trailingDegree
null
true
_private.Mathlib.Order.WithBot.0.WithBot.noMaxOrder.match_1
Mathlib.Order.WithBot
∀ {α : Type u_1} [inst : LT α] (a : α) (motive : (∃ b, a < b) → Prop) (x : ∃ b, a < b), (∀ (b : α) (hba : a < b), motive ⋯) → motive x
null
false
RootPairing.finrank_rootSpan_map_polarization_eq_finrank_corootSpan
Mathlib.LinearAlgebra.RootSystem.Finite.Nondegenerate
∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype ι] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup N] [inst_3 : CommRing R] [IsDomain R] [inst_5 : Module R M] [inst_6 : Module R N] (P : RootPairing ι R M N) [P.IsAnisotropic], Module.finrank R ↥(Submodule.map P.Polarization (P.rootSp...
null
true
CategoryTheory.Functor.OplaxRightLinear.noConfusion
Mathlib.CategoryTheory.Monoidal.Action.LinearFunctor
{P : Sort u} → {D : Type u_1} → {D' : Type u_2} → {inst : CategoryTheory.Category.{v_1, u_1} D} → {inst_1 : CategoryTheory.Category.{v_2, u_2} D'} → {F : CategoryTheory.Functor D D'} → {C : Type u_3} → {inst_2 : CategoryTheory.Category.{v_3, u_3} C} → ...
null
false
Nat.forM
Init.Data.Nat.Control
{m : Type → Type u_1} → [Monad m] → (n : ℕ) → ((i : ℕ) → i < n → m Unit) → m Unit
Executes a monadic action on all the numbers less than some bound, in increasing order. Example: ````lean example #eval Nat.forM 5 fun i _ => IO.println i ```` ````output 0 1 2 3 4 ````
true
IsPGroup.of_surjective
Mathlib.GroupTheory.PGroup
∀ {p : ℕ} {G : Type u_1} [inst : Group G], IsPGroup p G → ∀ {H : Type u_2} [inst_1 : Group H] (ϕ : G →* H), Function.Surjective ⇑ϕ → IsPGroup p H
null
true
Std.TreeMap.forIn_eq_forIn_keys
Std.Data.TreeMap.Lemmas
∀ {α : Type u} {β : Type v} {cmp : α → α → Ordering} {t : Std.TreeMap α β cmp} {δ : Type w} {m : Type w → Type w'} [inst : Monad m] [LawfulMonad m] {f : α → δ → m (ForInStep δ)} {init : δ}, (forIn t init fun a d => f a.1 d) = forIn t.keys init f
null
true
TopologicalSpace.instWellFoundedLTClosedsOfNoetherianSpace
Mathlib.Topology.NoetherianSpace
∀ {α : Type u_1} [inst : TopologicalSpace α] [TopologicalSpace.NoetherianSpace α], WellFoundedLT (TopologicalSpace.Closeds α)
null
true
Lean.Elab.Tactic.Do.Internal.VCGen.SolveResult.goals.elim
Lean.Elab.Tactic.Do.Internal.VCGen.Solve
{motive : Lean.Elab.Tactic.Do.Internal.VCGen.SolveResult → Sort u} → (t : Lean.Elab.Tactic.Do.Internal.VCGen.SolveResult) → t.ctorIdx = 4 → ((subgoals : List Lean.MVarId) → motive (Lean.Elab.Tactic.Do.Internal.VCGen.SolveResult.goals subgoals)) → motive t
null
false
Std.Http.Status.paymentRequired.elim
Std.Http.Data.Status
{motive : Std.Http.Status → Sort u} → (t : Std.Http.Status) → t.ctorIdx = 25 → motive Std.Http.Status.paymentRequired → motive t
null
false
Asymptotics.isTheta_const_const_iff
Mathlib.Analysis.Asymptotics.Theta
∀ {α : Type u_1} {E'' : Type u_9} {F'' : Type u_10} [inst : NormedAddCommGroup E''] [inst_1 : NormedAddCommGroup F''] {l : Filter α} [l.NeBot] {c₁ : E''} {c₂ : F''}, ((fun x => c₁) =Θ[l] fun x => c₂) ↔ (c₁ = 0 ↔ c₂ = 0)
null
true