Loogle!
Result
Found 78 declarations mentioning Fin.snoc.
- Fin.snoc_last 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (x : α (Fin.last n)) (p : (i : Fin n) → α i.castSucc) : Fin.snoc p x (Fin.last n) = x - Fin.init_snoc 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (x : α (Fin.last n)) (p : (i : Fin n) → α i.castSucc) : Fin.init (Fin.snoc p x) = p - Fin.snoc 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (p : (i : Fin n) → α i.castSucc) (x : α (Fin.last n)) (i : Fin (n + 1)) : α i - Fin.snoc_castSucc 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (x : α (Fin.last n)) (p : (i : Fin n) → α i.castSucc) (i : Fin n) : Fin.snoc p x i.castSucc = p i - Fin.snocCases 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} {motive : ((i : Fin n.succ) → α i) → Sort u_2} (snoc : (xs : (i : Fin n) → α i.castSucc) → (x : α (Fin.last n)) → motive (Fin.snoc xs x)) (x : (i : Fin n.succ) → α i) : motive x - Fin.snoc_injective2 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} : Function.Injective2 Fin.snoc - Fin.snoc_right_injective 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (x : (i : Fin n) → α i.castSucc) : Function.Injective (Fin.snoc x) - Fin.snoc_injective_of_injective 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Type u_2} {x₀ : α} {x : Fin n → α} (hx : Function.Injective x) (hx₀ : x₀ ∉ Set.range x) : Function.Injective (Fin.snoc x x₀) - Fin.snoc_comp_castSucc 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Sort u_2} {a : α} {f : Fin n → α} : Fin.snoc f a ∘ Fin.castSucc = f - Fin.snoc_injective_iff 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Type u_2} {x₀ : α} {x : Fin n → α} : Function.Injective (Fin.snoc x x₀) ↔ Function.Injective x ∧ x₀ ∉ Set.range x - Fin.snoc_left_injective 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (xₙ : α (Fin.last n)) : Function.Injective fun x => Fin.snoc x xₙ - Fin.range_snoc 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Type u_2} (f : Fin n → α) (x : α) : Set.range (Fin.snoc f x) = insert x (Set.range f) - Fin.snoc_init_self 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (q : (i : Fin (n + 1)) → α i) : Fin.snoc (Fin.init q) (q (Fin.last n)) = q - Fin.insertNth_last' 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {β : Sort u_2} (x : β) (p : Fin n → β) : (Fin.last n).insertNth x p = Fin.snoc p x - Fin.snocInduction 📋 Mathlib.Data.Fin.Tuple.Basic
{α : Sort u_2} {motive : {n : ℕ} → (Fin n → α) → Sort u_3} (elim0 : motive Fin.elim0) (snoc : {n : ℕ} → (x : Fin n → α) → (x₀ : α) → motive x → motive (Fin.snoc x x₀)) {n : ℕ} (x : Fin n → α) : motive x - Fin.snoc_zero 📋 Mathlib.Data.Fin.Tuple.Basic
{α : Sort u_2} (p : Fin 0 → α) (x : α) : Fin.snoc p x = fun x_1 => x - Fin.append_right_eq_snoc 📋 Mathlib.Data.Fin.Tuple.Basic
{α : Sort u_2} {n : ℕ} (x : Fin n → α) (x₀ : Fin 1 → α) : Fin.append x x₀ = Fin.snoc x (x₀ 0) - Fin.snoc_inj 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} {x y : (i : Fin n) → α i.castSucc} {xₙ yₙ : α (Fin.last n)} : Fin.snoc x xₙ = Fin.snoc y yₙ ↔ x = y ∧ xₙ = yₙ - Fin.cons_rev 📋 Mathlib.Data.Fin.Tuple.Basic
{α : Sort u_3} {n : ℕ} (a : α) (f : Fin n → α) (i : Fin (n + 1)) : Fin.cons a f i.rev = Fin.snoc (f ∘ Fin.rev) a i - Fin.snoc_rev 📋 Mathlib.Data.Fin.Tuple.Basic
{α : Sort u_3} {n : ℕ} (a : α) (f : Fin n → α) (i : Fin (n + 1)) : Fin.snoc f a i.rev = Fin.cons a (f ∘ Fin.rev) i - Fin.comp_snoc 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Sort u_2} {β : Sort u_3} (g : α → β) (q : Fin n → α) (y : α) : g ∘ Fin.snoc q y = Fin.snoc (g ∘ q) (g y) - Fin.update_snoc_last 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (x : α (Fin.last n)) (p : (i : Fin n) → α i.castSucc) (z : α (Fin.last n)) : Function.update (Fin.snoc p x) (Fin.last n) z = Fin.snoc p z - Fin.append_snoc 📋 Mathlib.Data.Fin.Tuple.Basic
{m n : ℕ} {α : Sort u_2} (as : Fin n → α) (bs : Fin m → α) (b : α) : Fin.append as (Fin.snoc bs b) = Fin.snoc (Fin.append as bs) b - Fin.insertNth_last 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (x : α (Fin.last n)) (p : (j : Fin n) → α ((Fin.last n).succAbove j)) : (Fin.last n).insertNth x p = Fin.snoc (fun j => cast ⋯ (p j)) x - Fin.snoc_eq_append 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Sort u_2} (xs : Fin n → α) (x : α) : Fin.snoc xs x = Fin.append xs (Fin.cons x Fin.elim0) - Fin.snoc_update 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (x : α (Fin.last n)) (p : (i : Fin n) → α i.castSucc) (i : Fin n) (y : α i.castSucc) : Fin.snoc (Function.update p i y) x = Function.update (Fin.snoc p x) i.castSucc y - Fin.snocCases_snoc 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} {motive : ((i : Fin (n + 1)) → α i) → Sort u_2} (snoc : (x : (i : Fin n) → α i.castSucc) → (x₀ : α (Fin.last n)) → motive (Fin.snoc x x₀)) (x : (i : Fin n) → Fin.init α i) (x₀ : α (Fin.last n)) : Fin.snocCases snoc (Fin.snoc x x₀) = snoc x x₀ - Fin.cons_comp_rev 📋 Mathlib.Data.Fin.Tuple.Basic
{α : Sort u_3} {n : ℕ} (a : α) (f : Fin n → α) : Fin.cons a f ∘ Fin.rev = Fin.snoc (f ∘ Fin.rev) a - Fin.snoc_castAdd 📋 Mathlib.Data.Fin.Tuple.Basic
{m n : ℕ} {α : Fin (n + m + 1) → Sort u_2} (f : (i : Fin (n + m)) → α i.castSucc) (a : α (Fin.last (n + m))) (i : Fin n) : Fin.snoc f a (Fin.castAdd (m + 1) i) = f (Fin.castAdd m i) - Fin.snoc_comp_rev 📋 Mathlib.Data.Fin.Tuple.Basic
{α : Sort u_3} {n : ℕ} (a : α) (f : Fin n → α) : Fin.snoc f a ∘ Fin.rev = Fin.cons a (f ∘ Fin.rev) - Fin.cons_snoc_eq_snoc_cons 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {β : Sort u_2} (a : β) (q : Fin n → β) (b : β) : Fin.cons a (Fin.snoc q b) = Fin.snoc (Fin.cons a q) b - Fin.snoc_comp_castAdd 📋 Mathlib.Data.Fin.Tuple.Basic
{n m : ℕ} {α : Sort u_2} (f : Fin (n + m) → α) (a : α) : Fin.snoc f a ∘ Fin.castAdd (m + 1) = f ∘ Fin.castAdd m - Fin.snoc_apply_zero 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} {α : Fin (n + 1) → Sort u_1} (x : α (Fin.last n)) (p : (i : Fin n) → α i.castSucc) [NeZero n] : Fin.snoc p x 0 = p 0 - Fin.snoc_comp_natAdd 📋 Mathlib.Data.Fin.Tuple.Basic
{n m : ℕ} {α : Sort u_2} (f : Fin (m + n) → α) (a : α) : Fin.snoc f a ∘ Fin.natAdd m = Fin.snoc (f ∘ Fin.natAdd m) a - Fin.append_left_snoc 📋 Mathlib.Data.Fin.Tuple.Basic
{n m : ℕ} {α : Sort u_2} (xs : Fin n → α) (x : α) (ys : Fin m → α) : Fin.append (Fin.snoc xs x) ys = Fin.append xs (Fin.cons x ys) ∘ Fin.cast ⋯ - Fin.append_right_cons 📋 Mathlib.Data.Fin.Tuple.Basic
{n m : ℕ} {α : Sort u_2} (xs : Fin n → α) (y : α) (ys : Fin m → α) : Fin.append xs (Fin.cons y ys) = Fin.append (Fin.snoc xs y) ys ∘ Fin.cast ⋯ - Fin.snocEquiv_apply 📋 Mathlib.Data.Fin.Tuple.Basic
{n : ℕ} (α : Fin (n + 1) → Type u_2) (f : α (Fin.last n) × ((i : Fin n) → α i.castSucc)) (x✝ : Fin (n + 1)) : (Fin.snocEquiv α) f x✝ = Fin.snoc f.2 f.1 x✝ - Set.iUnion_snoc 📋 Mathlib.Data.Fintype.Pi
{α : Type u_1} {n : ℕ} (f : Fin n → Set α) (s : Set α) : Set.iUnion (Fin.snoc f s) = (⋃ i, f i) ∪ s - Matrix.Fin.snoc_vecEmpty 📋 Mathlib.Data.Fin.VecNotation
{α : Type u_1} (x : α) : Fin.snoc ![] x = ![x] - Matrix.Fin.snoc_vecCons 📋 Mathlib.Data.Fin.VecNotation
{n : ℕ} {α : Type u_1} (x y : α) (p : Fin n → α) : Fin.snoc (Matrix.vecCons y p) x = Matrix.vecCons y (Fin.snoc p x) - Fin.prod_snoc 📋 Mathlib.Algebra.BigOperators.Fin
{M : Type u_2} [CommMonoid M] {n : ℕ} (x : M) (f : Fin n → M) : ∏ i, Fin.snoc f x i = (∏ i, f i) * x - Fin.sum_snoc 📋 Mathlib.Algebra.BigOperators.Fin
{M : Type u_2} [AddCommMonoid M] {n : ℕ} (x : M) (f : Fin n → M) : ∑ i, Fin.snoc f x i = ∑ i, f i + x - Fin.snoc_eq_cons_rotate 📋 Mathlib.Logic.Equiv.Fin.Rotate
{n : ℕ} {α : Type u_1} (v : Fin n → α) (a : α) : Fin.snoc v a = fun i => Fin.cons a v ((finRotate (n + 1)) i) - LinearIndependent.finSnoc' 📋 Mathlib.LinearAlgebra.LinearIndependent.Basic
{R : Type u_2} {M : Type u_4} [Ring R] [AddCommGroup M] [Module R M] {m : ℕ} (v : Fin m → M) (x : M) (hli : LinearIndependent R v) (x_ortho : ∀ (c : R), ∀ y ∈ Submodule.span R (Set.range v), c • x + y = 0 → c = 0) : LinearIndependent R (Fin.snoc v x) - LinearIndependent.finSnoc 📋 Mathlib.LinearAlgebra.LinearIndependent.Lemmas
{K : Type u_3} {V : Type u} [DivisionRing K] [AddCommGroup V] [Module K V] {x : V} {n : ℕ} {v : Fin n → V} (hv : LinearIndependent K v) (hx : x ∉ Submodule.span K (Set.range v)) : LinearIndependent K (Fin.snoc v x) - linearIndependent_finSnoc 📋 Mathlib.LinearAlgebra.LinearIndependent.Lemmas
{K : Type u_3} {V : Type u} [DivisionRing K] [AddCommGroup V] [Module K V] {x : V} {n : ℕ} {v : Fin n → V} : LinearIndependent K (Fin.snoc v x) ↔ LinearIndependent K v ∧ x ∉ Submodule.span K (Set.range v) - linearIndependent_fin_snoc 📋 Mathlib.LinearAlgebra.LinearIndependent.Lemmas
{K : Type u_3} {V : Type u} [DivisionRing K] [AddCommGroup V] [Module K V] {x : V} {n : ℕ} {v : Fin n → V} : LinearIndependent K (Fin.snoc v x) ↔ LinearIndependent K v ∧ x ∉ Submodule.span K (Set.range v) - LinearIndependent.finSnoc_of_not_mem_span_over 📋 Mathlib.LinearAlgebra.LinearIndependent.Lemmas
{R : Type u_6} {K : Type u_7} {M : Type u_8} [CommRing R] [DivisionRing K] [AddCommGroup M] [Algebra R K] [Module K M] [Module R M] [IsScalarTower R K M] [FaithfulSMul R K] {n : ℕ} {v : Fin n → M} (hv : LinearIndependent R v) {x : M} (hx : x ∉ Submodule.span K (Set.range v)) : LinearIndependent R (Fin.snoc v x) - Module.Basis.coe_mkFinSnoc 📋 Mathlib.LinearAlgebra.Basis.Fin
{R : Type u_3} {M : Type u_5} [Ring R] [AddCommGroup M] [Module R M] {n : ℕ} {N : Submodule R M} (b : Module.Basis (Fin n) R ↥N) (y : M) (hli : ∀ (c : R), ∀ x ∈ N, c • y + x = 0 → c = 0) (hsp : ∀ (z : M), ∃ c, z + c • y ∈ N) : ⇑(b.mkFinSnoc y hli hsp) = Fin.snoc (Subtype.val ∘ ⇑b) y - Module.Basis.coe_mkFinSnocOfLE 📋 Mathlib.LinearAlgebra.Basis.Fin
{R : Type u_3} {M : Type u_5} [Ring R] [AddCommGroup M] [Module R M] {n : ℕ} {N O : Submodule R M} (b : Module.Basis (Fin n) R ↥N) (hNO : N ≤ O) (y : M) (yO : y ∈ O) (hli : ∀ (c : R), ∀ x ∈ N, c • y + x = 0 → c = 0) (hsp : ∀ z ∈ O, ∃ c, z + c • y ∈ N) : ⇑(b.mkFinSnocOfLE hNO y yO hli hsp) = Fin.snoc (⇑(Submodule.inclusion hNO) ∘ ⇑b) ⟨y, yO⟩ - Fin.snocOrderIso_apply 📋 Mathlib.Order.Fin.Tuple
{n : ℕ} (α : Fin (n + 1) → Type u_2) [(i : Fin (n + 1)) → LE (α i)] (f : α (Fin.last n) × ((i : Fin n) → α i.castSucc)) (x✝ : Fin (n + 1)) : (Fin.snocOrderIso α) f x✝ = Fin.snoc f.2 f.1 x✝ - MultilinearMap.snoc_add 📋 Mathlib.LinearAlgebra.Multilinear.Basic
{R : Type uR} {n : ℕ} {M : Fin n.succ → Type v} {M₂ : Type v₂} [Semiring R] [(i : Fin n.succ) → AddCommMonoid (M i)] [AddCommMonoid M₂] [(i : Fin n.succ) → Module R (M i)] [Module R M₂] (f : MultilinearMap R M M₂) (m : (i : Fin n) → M i.castSucc) (x y : M (Fin.last n)) : f (Fin.snoc m (x + y)) = f (Fin.snoc m x) + f (Fin.snoc m y) - MultilinearMap.snoc_smul 📋 Mathlib.LinearAlgebra.Multilinear.Basic
{R : Type uR} {n : ℕ} {M : Fin n.succ → Type v} {M₂ : Type v₂} [Semiring R] [(i : Fin n.succ) → AddCommMonoid (M i)] [AddCommMonoid M₂] [(i : Fin n.succ) → Module R (M i)] [Module R M₂] (f : MultilinearMap R M M₂) (m : (i : Fin n) → M i.castSucc) (c : R) (x : M (Fin.last n)) : f (Fin.snoc m (c • x)) = c • f (Fin.snoc m x) - exists_linearIndependent_snoc_of_lt_finrank 📋 Mathlib.LinearAlgebra.Dimension.RankNullity
{R : Type u_1} {M : Type u} [Ring R] [AddCommGroup M] [Module R M] [HasRankNullity.{u, u_1} R] [StrongRankCondition R] {n : ℕ} {v : Fin n → M} (hv : LinearIndependent R v) (h : n < Module.finrank R M) : ∃ x, LinearIndependent R (Fin.snoc v x) - exists_linearIndependent_snoc_of_lt_rank 📋 Mathlib.LinearAlgebra.Dimension.RankNullity
{R : Type u_1} {M : Type u} [Ring R] [AddCommGroup M] [Module R M] [HasRankNullity.{u, u_1} R] [StrongRankCondition R] {n : ℕ} {v : Fin n → M} (hv : LinearIndependent R v) (h : ↑n < Module.rank R M) : ∃ x, LinearIndependent R (Fin.snoc v x) - Continuous.finSnoc 📋 Mathlib.Topology.Constructions
{X : Type u} [TopologicalSpace X] {n : ℕ} {A : Fin (n + 1) → Type u_6} [(i : Fin (n + 1)) → TopologicalSpace (A i)] {f : X → (j : Fin n) → A j.castSucc} {g : X → A (Fin.last n)} (hf : Continuous f) (hg : Continuous g) : Continuous fun a => Fin.snoc (f a) (g a) - ContinuousAt.finSnoc 📋 Mathlib.Topology.Constructions
{X : Type u} [TopologicalSpace X] {n : ℕ} {A : Fin (n + 1) → Type u_6} [(i : Fin (n + 1)) → TopologicalSpace (A i)] {f : X → (j : Fin n) → A j.castSucc} {g : X → A (Fin.last n)} {x : X} (hf : ContinuousAt f x) (hg : ContinuousAt g x) : ContinuousAt (fun a => Fin.snoc (f a) (g a)) x - Filter.Tendsto.finSnoc 📋 Mathlib.Topology.Constructions
{Y : Type v} {n : ℕ} {A : Fin (n + 1) → Type u_6} [(i : Fin (n + 1)) → TopologicalSpace (A i)] {f : Y → (j : Fin n) → A j.castSucc} {g : Y → A (Fin.last n)} {l : Filter Y} {x : (j : Fin n) → A j.castSucc} {y : A (Fin.last n)} (hf : Filter.Tendsto f l (nhds x)) (hg : Filter.Tendsto g l (nhds y)) : Filter.Tendsto (fun a => Fin.snoc (f a) (g a)) l (nhds (Fin.snoc x y)) - ContinuousOn.finSnoc 📋 Mathlib.Topology.ContinuousOn
{α : Type u_1} [TopologicalSpace α] {n : ℕ} {X : Fin (n + 1) → Type u_5} [(i : Fin (n + 1)) → TopologicalSpace (X i)] {f : α → (j : Fin n) → X j.castSucc} {g : α → X (Fin.last n)} {s : Set α} (hf : ContinuousOn f s) (hg : ContinuousOn g s) : ContinuousOn (fun a => Fin.snoc (f a) (g a)) s - ContinuousWithinAt.finSnoc 📋 Mathlib.Topology.ContinuousOn
{α : Type u_1} [TopologicalSpace α] {n : ℕ} {X : Fin (n + 1) → Type u_5} [(i : Fin (n + 1)) → TopologicalSpace (X i)] {f : α → (j : Fin n) → X j.castSucc} {g : α → X (Fin.last n)} {a : α} {s : Set α} (hf : ContinuousWithinAt f s a) (hg : ContinuousWithinAt g s a) : ContinuousWithinAt (fun a => Fin.snoc (f a) (g a)) s a - MultilinearMap.curryRight_apply 📋 Mathlib.LinearAlgebra.Multilinear.Curry
{R : Type uR} {n : ℕ} {M : Fin n.succ → Type v} {M₂ : Type v₂} [CommSemiring R] [(i : Fin n.succ) → AddCommMonoid (M i)] [AddCommMonoid M₂] [(i : Fin n.succ) → Module R (M i)] [Module R M₂] (f : MultilinearMap R M M₂) (m : (i : Fin n) → M i.castSucc) (x : M (Fin.last n)) : (f.curryRight m) x = f (Fin.snoc m x) - Fin.snoc_mem_piFinset_snoc 📋 Mathlib.Data.Fin.Tuple.Finset
{n : ℕ} {α : Fin (n + 1) → Type u_1} {x_last : α (Fin.last n)} {x_init : (i : Fin n) → α i.castSucc} {s_last : Finset (α (Fin.last n))} {s_init : (i : Fin n) → Finset (α i.castSucc)} : Fin.snoc x_init x_last ∈ Fintype.piFinset (Fin.snoc s_init s_last) ↔ x_last ∈ s_last ∧ x_init ∈ Fintype.piFinset s_init - ContinuousMultilinearMap.norm_map_snoc_le 📋 Mathlib.Analysis.Normed.Module.Multilinear.Curry
{𝕜 : Type u} {n : ℕ} {Ei : Fin n.succ → Type wEi} {G : Type wG} [NontriviallyNormedField 𝕜] [(i : Fin n.succ) → NormedAddCommGroup (Ei i)] [(i : Fin n.succ) → NormedSpace 𝕜 (Ei i)] [NormedAddCommGroup G] [NormedSpace 𝕜 G] (f : ContinuousMultilinearMap 𝕜 Ei G) (m : (i : Fin n) → Ei i.castSucc) (x : Ei (Fin.last n)) : ‖f (Fin.snoc m x)‖ ≤ (‖f‖ * ∏ i, ‖m i‖) * ‖x‖ - ContinuousMultilinearMap.curryRight_apply 📋 Mathlib.Analysis.Normed.Module.Multilinear.Curry
{𝕜 : Type u} {n : ℕ} {Ei : Fin n.succ → Type wEi} {G : Type wG} [NontriviallyNormedField 𝕜] [(i : Fin n.succ) → NormedAddCommGroup (Ei i)] [(i : Fin n.succ) → NormedSpace 𝕜 (Ei i)] [NormedAddCommGroup G] [NormedSpace 𝕜 G] (f : ContinuousMultilinearMap 𝕜 Ei G) (m : (i : Fin n) → Ei i.castSucc) (x : Ei (Fin.last n)) : (f.curryRight m) x = f (Fin.snoc m x) - continuousMultilinearCurryFin1_apply 📋 Mathlib.Analysis.Normed.Module.Multilinear.Curry
{𝕜 : Type u} {G : Type wG} {G' : Type wG'} [NontriviallyNormedField 𝕜] [NormedAddCommGroup G] [NormedSpace 𝕜 G] [NormedAddCommGroup G'] [NormedSpace 𝕜 G'] (f : G [×1]→L[𝕜] G') (x : G) : ((continuousMultilinearCurryFin1 𝕜 G G') f) x = f (Fin.snoc 0 x) - continuousMultilinearCurryRightEquiv_apply' 📋 Mathlib.Analysis.Normed.Module.Multilinear.Curry
{𝕜 : Type u} {n : ℕ} {G : Type wG} {G' : Type wG'} [NontriviallyNormedField 𝕜] [NormedAddCommGroup G] [NormedSpace 𝕜 G] [NormedAddCommGroup G'] [NormedSpace 𝕜 G'] (f : G [×n.succ]→L[𝕜] G') (v : Fin n → G) (x : G) : (((continuousMultilinearCurryRightEquiv' 𝕜 n G G') f) v) x = f (Fin.snoc v x) - continuousMultilinearCurryRightEquiv_apply 📋 Mathlib.Analysis.Normed.Module.Multilinear.Curry
{𝕜 : Type u} {n : ℕ} {Ei : Fin n.succ → Type wEi} {G : Type wG} [NontriviallyNormedField 𝕜] [(i : Fin n.succ) → NormedAddCommGroup (Ei i)] [(i : Fin n.succ) → NormedSpace 𝕜 (Ei i)] [NormedAddCommGroup G] [NormedSpace 𝕜 G] (f : ContinuousMultilinearMap 𝕜 Ei G) (v : (i : Fin n) → Ei i.castSucc) (x : Ei (Fin.last n)) : (((continuousMultilinearCurryRightEquiv 𝕜 Ei G) f) v) x = f (Fin.snoc v x) - Fin.Embedding.coe_snoc 📋 Mathlib.Data.Fin.Tuple.Embedding
{α : Type u_1} {n : ℕ} (x : Fin n ↪ α) {a : α} (ha : a ∉ Set.range ⇑x) : ⇑(Fin.Embedding.snoc x ha) = Fin.snoc (⇑x) a - Fin.take_succ_eq_snoc 📋 Mathlib.Data.Fin.Tuple.Take
{n : ℕ} {α : Fin n → Sort u_1} (m : ℕ) (h : m < n) (v : (i : Fin n) → α i) : Fin.take m.succ h v = Fin.snoc (Fin.take m ⋯ v) (v ⟨m, h⟩) - FirstOrder.Language.BoundedFormula.realize_all 📋 Mathlib.ModelTheory.Semantics
{L : FirstOrder.Language} {M : Type w} [L.Structure M] {α : Type u'} {l : ℕ} {θ : L.BoundedFormula α l.succ} {v : α → M} {xs : Fin l → M} : θ.all.Realize v xs ↔ ∀ (a : M), θ.Realize v (Fin.snoc xs a) - FirstOrder.Language.BoundedFormula.realize_ex 📋 Mathlib.ModelTheory.Semantics
{L : FirstOrder.Language} {M : Type w} [L.Structure M] {α : Type u'} {l : ℕ} {θ : L.BoundedFormula α l.succ} {v : α → M} {xs : Fin l → M} : θ.ex.Realize v xs ↔ ∃ a, θ.Realize v (Fin.snoc xs a) - FirstOrder.Language.BoundedFormula.realize_mapTermRel_add_castLe 📋 Mathlib.ModelTheory.Semantics
{L : FirstOrder.Language} {L' : FirstOrder.Language} {M : Type w} [L.Structure M] {α : Type u'} {β : Type v'} [L'.Structure M] {k : ℕ} {ft : (n : ℕ) → L.Term (α ⊕ Fin n) → L'.Term (β ⊕ Fin (k + n))} {fr : (n : ℕ) → L.Relations n → L'.Relations n} {n : ℕ} {φ : L.BoundedFormula α n} (v : {n : ℕ} → (Fin (k + n) → M) → α → M) {v' : β → M} (xs : Fin (k + n) → M) (h1 : ∀ (n : ℕ) (t : L.Term (α ⊕ Fin n)) (xs' : Fin (k + n) → M), FirstOrder.Language.Term.realize (Sum.elim v' xs') (ft n t) = FirstOrder.Language.Term.realize (Sum.elim (v xs') (xs' ∘ Fin.natAdd k)) t) (h2 : ∀ (n : ℕ) (R : L.Relations n) (x : Fin n → M), FirstOrder.Language.Structure.RelMap (fr n R) x = FirstOrder.Language.Structure.RelMap R x) (hv : ∀ (n : ℕ) (xs : Fin (k + n) → M) (x : M), v (Fin.snoc xs x) = v xs) : (FirstOrder.Language.BoundedFormula.mapTermRel ft fr (fun x => FirstOrder.Language.BoundedFormula.castLE ⋯) φ).Realize v' xs ↔ φ.Realize (v xs) (xs ∘ Fin.natAdd k) - FirstOrder.Language.Embedding.toElementaryEmbedding 📋 Mathlib.ModelTheory.ElementaryMaps
{L : FirstOrder.Language} {M : Type u_1} {N : Type u_2} [L.Structure M] [L.Structure N] (f : L.Embedding M N) (htv : ∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → M) (a : N), φ.Realize default (Fin.snoc (⇑f ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (⇑f ∘ x) (f b))) : L.ElementaryEmbedding M N - FirstOrder.Language.Embedding.toElementaryEmbedding_toFun 📋 Mathlib.ModelTheory.ElementaryMaps
{L : FirstOrder.Language} {M : Type u_1} {N : Type u_2} [L.Structure M] [L.Structure N] (f : L.Embedding M N) (htv : ∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → M) (a : N), φ.Realize default (Fin.snoc (⇑f ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (⇑f ∘ x) (f b))) (a : M) : (f.toElementaryEmbedding htv) a = f a - FirstOrder.Language.Embedding.isElementary_of_exists 📋 Mathlib.ModelTheory.ElementaryMaps
{L : FirstOrder.Language} {M : Type u_1} {N : Type u_2} [L.Structure M] [L.Structure N] (f : L.Embedding M N) (htv : ∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → M) (a : N), φ.Realize default (Fin.snoc (⇑f ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (⇑f ∘ x) (f b))) {n : ℕ} (φ : L.Formula (Fin n)) (x : Fin n → M) : φ.Realize (⇑f ∘ x) ↔ φ.Realize x - FirstOrder.Language.Substructure.toElementarySubstructure 📋 Mathlib.ModelTheory.ElementarySubstructures
{L : FirstOrder.Language} {M : Type u_1} [L.Structure M] (S : L.Substructure M) (htv : ∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → ↥S) (a : M), φ.Realize default (Fin.snoc (Subtype.val ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (Subtype.val ∘ x) ↑b)) : L.ElementarySubstructure M - FirstOrder.Language.Substructure.isElementary_of_exists 📋 Mathlib.ModelTheory.ElementarySubstructures
{L : FirstOrder.Language} {M : Type u_1} [L.Structure M] (S : L.Substructure M) (htv : ∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → ↥S) (a : M), φ.Realize default (Fin.snoc (Subtype.val ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (Subtype.val ∘ x) ↑b)) : S.IsElementary - FirstOrder.Language.Substructure.toElementarySubstructure_toSubstructure 📋 Mathlib.ModelTheory.ElementarySubstructures
{L : FirstOrder.Language} {M : Type u_1} [L.Structure M] (S : L.Substructure M) (htv : ∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → ↥S) (a : M), φ.Realize default (Fin.snoc (Subtype.val ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (Subtype.val ∘ x) ↑b)) : ↑(S.toElementarySubstructure htv) = S
About
Loogle searches Lean and Mathlib definitions and theorems.
You can use Loogle from within the Lean4 VSCode language extension
using the Loogle command from the command palette. You can also try the
#loogle command from LeanSearchClient,
the CLI version, the Loogle
VS Code extension, the lean.nvim
integration or the Zulip bot.
Usage
Loogle finds definitions and lemmas in various ways:
By constant:
🔍Real.sin
finds all lemmas whose statement somehow mentions the sine function.By lemma name substring:
🔍"differ"
finds all lemmas that have"differ"somewhere in their lemma name.By subexpression:
🔍_ * (_ ^ _)
finds all lemmas whose statements somewhere include a product where the second argument is raised to some power.The pattern can also be non-linear, as in
🔍Real.sqrt ?a * Real.sqrt ?aIf the pattern has parameters, they are matched in any order. Both of these will find
List.map:
🔍(?a -> ?b) -> List ?a -> List ?b
🔍List ?a -> (?a -> ?b) -> List ?bBy main conclusion:
🔍|- tsum _ = _ * tsum _
finds all lemmas where the conclusion (the subexpression to the right of all→and∀) has the given shape.As before, if the pattern has parameters, they are matched against the hypotheses of the lemma in any order; for example,
🔍|- _ < _ → tsum _ < tsum _
will findtsum_lt_tsumeven though the hypothesisf i < g iis not the last.You can filter for definitions vs theorems: Using
⊢ (_ : Type _)finds all definitions which provide data while⊢ (_ : Prop)finds all theorems (and definitions of proofs).
If you pass more than one such search filter, separated by commas
Loogle will return lemmas which match all of them. The
search
🔍 Real.sin, "two", tsum, _ * _, _ ^ _, |- _ < _ → _
would find all lemmas which mention the constants Real.sin
and tsum, have "two" as a substring of the
lemma name, include a product and a power somewhere in the type,
and have a hypothesis of the form _ < _ (if
there were any such lemmas). Metavariables (?a) are
assigned independently in each filter.
The #lucky button will directly send you to the
documentation of the first hit.
Source code
You can find the source code for this service at https://github.com/nomeata/loogle. The https://loogle.lean-lang.org/ service is provided by the Lean FRO. Please review the Lean FRO Terms of Use and Privacy Policy.
This is Loogle revision 9f11169 serving mathlib revision ce5dd8c