Loogle!
Result
Found 52 declarations mentioning Module.Presentation.toRelations.
- Module.Presentation.toRelations 📋 Mathlib.Algebra.Module.Presentation.Basic
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] (self : Module.Presentation A M) : Module.Relations A - Module.Presentation.toSolution 📋 Mathlib.Algebra.Module.Presentation.Basic
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] (self : Module.Presentation A M) : self.Solution M - Module.Presentation.toIsPresentation 📋 Mathlib.Algebra.Module.Presentation.Basic
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] (self : Module.Presentation A M) : self.IsPresentation - Module.Presentation.ofIsPresentation_toRelations 📋 Mathlib.Algebra.Module.Presentation.Basic
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] {relations : Module.Relations A} {solution : relations.Solution M} (h : solution.IsPresentation) : (Module.Presentation.ofIsPresentation h).toRelations = relations - Module.Presentation.ofLinearEquiv_toRelations 📋 Mathlib.Algebra.Module.Presentation.Basic
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] (pres : Module.Presentation A M) {N : Type v'} [AddCommGroup N] [Module A N] (e : M ≃ₗ[A] N) : (pres.ofLinearEquiv e).toRelations = pres.toRelations - Module.Presentation.ofLinearEquiv_toSolution 📋 Mathlib.Algebra.Module.Presentation.Basic
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] (pres : Module.Presentation A M) {N : Type v'} [AddCommGroup N] [Module A N] (e : M ≃ₗ[A] N) : (pres.ofLinearEquiv e).toSolution = pres.postcomp ↑e - exteriorPower.presentation_G 📋 Mathlib.LinearAlgebra.ExteriorPower.Basic
(R : Type u) [CommRing R] (n : ℕ) (M : Type u_1) [AddCommGroup M] [Module R M] : (exteriorPower.presentation R n M).G = (Fin n → M) - exteriorPower.presentation_R 📋 Mathlib.LinearAlgebra.ExteriorPower.Basic
(R : Type u) [CommRing R] (n : ℕ) (M : Type u_1) [AddCommGroup M] [Module R M] : (exteriorPower.presentation R n M).R = exteriorPower.presentation.Rels R (Fin n) M - exteriorPower.presentation_relation 📋 Mathlib.LinearAlgebra.ExteriorPower.Basic
(R : Type u) [CommRing R] (n : ℕ) (M : Type u_1) [AddCommGroup M] [Module R M] (x✝ : exteriorPower.presentation.Rels R (Fin n) M) : (exteriorPower.presentation R n M).relation x✝ = match x✝ with | exteriorPower.presentation.Rels.add m i x y => ((fun₀ | Function.update m i x => 1) + fun₀ | Function.update m i y => 1) - fun₀ | Function.update m i (x + y) => 1 | exteriorPower.presentation.Rels.smul m i r x => (fun₀ | Function.update m i (r • x) => 1) - fun₀ | Function.update m i x => r | exteriorPower.presentation.Rels.alt m i j hm hij => fun₀ | m => 1 - exteriorPower.presentation_var 📋 Mathlib.LinearAlgebra.ExteriorPower.Basic
(R : Type u) [CommRing R] (n : ℕ) (M : Type u_1) [AddCommGroup M] [Module R M] (m : (exteriorPower.presentation.relations R (Fin n) M).G) : (exteriorPower.presentation R n M).var m = (exteriorPower.ιMulti R n) m - Module.Presentation.CokernelData.lift 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] {pres₂ : Module.Presentation A M₂} {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (self : pres₂.CokernelData f g₁) (i : ι) : pres₂.G →₀ A - Module.Presentation.cokernelRelations_G 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) : (pres₂.cokernelRelations data).G = pres₂.G - Module.Presentation.cokernelRelations_R 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) : (pres₂.cokernelRelations data).R = (pres₂.R ⊕ ι) - Module.Presentation.cokernelRelations_relation 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (x✝ : pres₂.R ⊕ ι) : (pres₂.cokernelRelations data).relation x✝ = match x✝ with | Sum.inl r => pres₂.relation r | Sum.inr i => data.lift i - Module.Presentation.cokernel_G 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (hg₁ : Submodule.span A (Set.range g₁) = ⊤) : (pres₂.cokernel data hg₁).G = pres₂.G - Module.Presentation.cokernel_R 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (hg₁ : Submodule.span A (Set.range g₁) = ⊤) : (pres₂.cokernel data hg₁).R = (pres₂.R ⊕ ι) - Module.Presentation.CokernelData.ofSection 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) (f : M₁ →ₗ[A] M₂) {ι : Type w₁} (g₁ : ι → M₁) (s : M₂ → pres₂.G →₀ A) (hs : ∀ (m₂ : M₂), pres₂.π (s m₂) = m₂) : pres₂.CokernelData f g₁ - Module.Presentation.cokernel_relation 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (hg₁ : Submodule.span A (Set.range g₁) = ⊤) (x✝ : pres₂.R ⊕ ι) : (pres₂.cokernel data hg₁).relation x✝ = match x✝ with | Sum.inl r => pres₂.relation r | Sum.inr i => data.lift i - Module.Presentation.CokernelData.π_lift 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] {pres₂ : Module.Presentation A M₂} {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (self : pres₂.CokernelData f g₁) (i : ι) : pres₂.π (self.lift i) = f (g₁ i) - Module.Presentation.CokernelData.mk 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] {pres₂ : Module.Presentation A M₂} {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (lift : ι → pres₂.G →₀ A) (π_lift : ∀ (i : ι), pres₂.π (lift i) = f (g₁ i)) : pres₂.CokernelData f g₁ - Module.Presentation.ofExact_G 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} {M₃ : Type v₃} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] [AddCommGroup M₃] [Module A M₃] {f : M₁ →ₗ[A] M₂} {g : M₂ →ₗ[A] M₃} (pres₂ : Module.Presentation A M₂) {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (hfg : Function.Exact ⇑f ⇑g) (hg : Function.Surjective ⇑g) (hg₁ : Submodule.span A (Set.range g₁) = ⊤) : (pres₂.ofExact data hfg hg hg₁).G = pres₂.G - Module.Presentation.ofExact_R 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} {M₃ : Type v₃} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] [AddCommGroup M₃] [Module A M₃] {f : M₁ →ₗ[A] M₂} {g : M₂ →ₗ[A] M₃} (pres₂ : Module.Presentation A M₂) {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (hfg : Function.Exact ⇑f ⇑g) (hg : Function.Surjective ⇑g) (hg₁ : Submodule.span A (Set.range g₁) = ⊤) : (pres₂.ofExact data hfg hg hg₁).R = (pres₂.R ⊕ ι) - Module.Presentation.CokernelData.ofSection_lift 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) (f : M₁ →ₗ[A] M₂) {ι : Type w₁} (g₁ : ι → M₁) (s : M₂ → pres₂.G →₀ A) (hs : ∀ (m₂ : M₂), pres₂.π (s m₂) = m₂) (i : ι) : (Module.Presentation.CokernelData.ofSection pres₂ f g₁ s hs).lift i = s (f (g₁ i)) - Module.Presentation.ofExact_relation 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} {M₃ : Type v₃} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] [AddCommGroup M₃] [Module A M₃] {f : M₁ →ₗ[A] M₂} {g : M₂ →ₗ[A] M₃} (pres₂ : Module.Presentation A M₂) {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (hfg : Function.Exact ⇑f ⇑g) (hg : Function.Surjective ⇑g) (hg₁ : Submodule.span A (Set.range g₁) = ⊤) (x✝ : pres₂.R ⊕ ι) : (pres₂.ofExact data hfg hg hg₁).relation x✝ = match x✝ with | Sum.inl r => pres₂.relation r | Sum.inr i => data.lift i - Module.Presentation.ofExact_var 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} {M₃ : Type v₃} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] [AddCommGroup M₃] [Module A M₃] {f : M₁ →ₗ[A] M₂} {g : M₂ →ₗ[A] M₃} (pres₂ : Module.Presentation A M₂) {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (hfg : Function.Exact ⇑f ⇑g) (hg : Function.Surjective ⇑g) (hg₁ : Submodule.span A (Set.range g₁) = ⊤) (g✝ : (pres₂.cokernel data hg₁).G) : (pres₂.ofExact data hfg hg hg₁).var g✝ = g (pres₂.var g✝) - Module.Presentation.cokernel_var 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (hg₁ : Submodule.span A (Set.range g₁) = ⊤) (g : (pres₂.cokernelRelations data).G) : (pres₂.cokernel data hg₁).var g = Submodule.Quotient.mk (pres₂.var g) - Module.Presentation.cokernelSolution_var 📋 Mathlib.Algebra.Module.Presentation.Cokernel
{A : Type u} [Ring A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [Module A M₁] [AddCommGroup M₂] [Module A M₂] (pres₂ : Module.Presentation A M₂) {f : M₁ →ₗ[A] M₂} {ι : Type w₁} {g₁ : ι → M₁} (data : pres₂.CokernelData f g₁) (g : (pres₂.cokernelRelations data).G) : (pres₂.cokernelSolution data).var g = f.range.mkQ (pres₂.var g) - Module.Presentation.finsupp_G 📋 Mathlib.Algebra.Module.Presentation.DirectSum
{A : Type u} [Ring A] {N : Type v} [AddCommGroup N] [Module A N] (pres : Module.Presentation A N) (ι : Type w) [DecidableEq ι] [DecidableEq N] : (pres.finsupp ι).G = ((i : ι) × pres.G) - Module.Presentation.finsupp_R 📋 Mathlib.Algebra.Module.Presentation.DirectSum
{A : Type u} [Ring A] {N : Type v} [AddCommGroup N] [Module A N] (pres : Module.Presentation A N) (ι : Type w) [DecidableEq ι] [DecidableEq N] : (pres.finsupp ι).R = ((i : ι) × pres.R) - Module.Presentation.directSum_G 📋 Mathlib.Algebra.Module.Presentation.DirectSum
{A : Type u} [Ring A] {ι : Type w} [DecidableEq ι] {M : ι → Type v} [(i : ι) → AddCommGroup (M i)] [(i : ι) → Module A (M i)] (pres : (i : ι) → Module.Presentation A (M i)) : (Module.Presentation.directSum pres).G = ((i : ι) × (pres i).G) - Module.Presentation.directSum_R 📋 Mathlib.Algebra.Module.Presentation.DirectSum
{A : Type u} [Ring A] {ι : Type w} [DecidableEq ι] {M : ι → Type v} [(i : ι) → AddCommGroup (M i)] [(i : ι) → Module A (M i)] (pres : (i : ι) → Module.Presentation A (M i)) : (Module.Presentation.directSum pres).R = ((i : ι) × (pres i).R) - Module.Presentation.finsupp_var 📋 Mathlib.Algebra.Module.Presentation.DirectSum
{A : Type u} [Ring A] {N : Type v} [AddCommGroup N] [Module A N] (pres : Module.Presentation A N) (ι : Type w) [DecidableEq ι] [DecidableEq N] (i : ι) (g : pres.G) : (pres.finsupp ι).var ⟨i, g⟩ = fun₀ | i => pres.var g - Module.Presentation.finsupp_relation 📋 Mathlib.Algebra.Module.Presentation.DirectSum
{A : Type u} [Ring A] {N : Type v} [AddCommGroup N] [Module A N] (pres : Module.Presentation A N) (ι : Type w) [DecidableEq ι] [DecidableEq N] (x✝ : (i : ι) × ((fun i => ((fun x => pres) i).toRelations) i).R) : (pres.finsupp ι).relation x✝ = Finsupp.embDomain (Function.Embedding.sigmaMk x✝.fst) (pres.relation x✝.snd) - Module.Presentation.directSum_relation 📋 Mathlib.Algebra.Module.Presentation.DirectSum
{A : Type u} [Ring A] {ι : Type w} [DecidableEq ι] {M : ι → Type v} [(i : ι) → AddCommGroup (M i)] [(i : ι) → Module A (M i)] (pres : (i : ι) → Module.Presentation A (M i)) (x✝ : (i : ι) × ((fun i => (pres i).toRelations) i).R) : (Module.Presentation.directSum pres).relation x✝ = Finsupp.embDomain (Function.Embedding.sigmaMk x✝.fst) ((pres x✝.fst).relation x✝.snd) - Module.Presentation.directSum_var 📋 Mathlib.Algebra.Module.Presentation.DirectSum
{A : Type u} [Ring A] {ι : Type w} [DecidableEq ι] {M : ι → Type v} [(i : ι) → AddCommGroup (M i)] [(i : ι) → Module A (M i)] (pres : (i : ι) → Module.Presentation A (M i)) (i : ι) (g : (pres i).G) : (Module.Presentation.directSum pres).var ⟨i, g⟩ = (DirectSum.lof A ι M i) ((pres i).var g) - Module.Presentation.finite 📋 Mathlib.Algebra.Module.Presentation.Finite
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] (pres : Module.Presentation A M) [Finite pres.G] : Module.Finite A M - Module.Presentation.finitePresentation 📋 Mathlib.Algebra.Module.Presentation.Finite
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] (pres : Module.Presentation A M) [Finite pres.G] [Finite pres.R] : Module.FinitePresentation A M - Module.finitePresentation_iff_exists_presentation 📋 Mathlib.Algebra.Module.Presentation.Finite
{A : Type u} [Ring A] {M : Type v} [AddCommGroup M] [Module A M] : Module.FinitePresentation A M ↔ ∃ pres, Finite pres.G ∧ Finite pres.R - Module.free_iff_exists_presentation 📋 Mathlib.Algebra.Module.Presentation.Free
(A : Type u) [Ring A] (M : Type v) [AddCommGroup M] [Module A M] : Module.Free A M ↔ ∃ p, IsEmpty p.R - Module.presentationFinsupp_G 📋 Mathlib.Algebra.Module.Presentation.Free
(A : Type u) [Ring A] (G : Type w₀) : (Module.presentationFinsupp A G).G = G - Module.presentationFinsupp_R 📋 Mathlib.Algebra.Module.Presentation.Free
(A : Type u) [Ring A] (G : Type w₀) : (Module.presentationFinsupp A G).R = PEmpty.{w₁ + 1} - Module.presentationFinsupp_var 📋 Mathlib.Algebra.Module.Presentation.Free
(A : Type u) [Ring A] (G : Type w₀) (g : { G := G, R := PEmpty.{w₁ + 1}, relation := fun r => PEmpty.casesOn (fun x => G →₀ A) r }.G) : (Module.presentationFinsupp A G).var g = fun₀ | g => 1 - Module.Presentation.RestrictScalarsData 📋 Mathlib.Algebra.Module.Presentation.RestrictScalars
{B : Type u_1} [Ring B] {M : Type u_2} [AddCommGroup M] [Module B M] [DecidableEq B] (presM : Module.Presentation B M) [DecidableEq presM.G] {A : Type u_3} [CommRing A] [Algebra A B] (presB : Module.Presentation A B) : Type (max (max (max u_3 u_6) u_4) u_6 u_5) - Module.Presentation.restrictScalars 📋 Mathlib.Algebra.Module.Presentation.RestrictScalars
{B : Type u_1} [Ring B] {M : Type u_2} [AddCommGroup M] [Module B M] [DecidableEq B] (presM : Module.Presentation B M) [DecidableEq presM.G] {A : Type u_3} [CommRing A] [Algebra A B] [Module A M] [IsScalarTower A B M] (presB : Module.Presentation A B) (data : presM.RestrictScalarsData presB) : Module.Presentation A M - Module.Presentation.tautological_G 📋 Mathlib.Algebra.Module.Presentation.Tautological
(A : Type u) [Ring A] (M : Type v) [AddCommGroup M] [Module A M] : (Module.Presentation.tautological A M).G = M - Module.Presentation.tautological_R 📋 Mathlib.Algebra.Module.Presentation.Tautological
(A : Type u) [Ring A] (M : Type v) [AddCommGroup M] [Module A M] : (Module.Presentation.tautological A M).R = Module.Presentation.tautological.R A M - Module.Presentation.tautological_var 📋 Mathlib.Algebra.Module.Presentation.Tautological
(A : Type u) [Ring A] (M : Type v) [AddCommGroup M] [Module A M] (a : M) : (Module.Presentation.tautological A M).var a = a - Module.Presentation.tautological_relation 📋 Mathlib.Algebra.Module.Presentation.Tautological
(A : Type u) [Ring A] (M : Type v) [AddCommGroup M] [Module A M] (x✝ : Module.Presentation.tautological.R A M) : (Module.Presentation.tautological A M).relation x✝ = match x✝ with | Module.Presentation.tautological.R.add m₁ m₂ => ((fun₀ | m₁ => 1) + fun₀ | m₂ => 1) - fun₀ | m₁ + m₂ => 1 | Module.Presentation.tautological.R.smul a m => (fun₀ | m => a) - fun₀ | a • m => 1 - Module.Presentation.tensor_G 📋 Mathlib.Algebra.Module.Presentation.Tensor
{A : Type u} [CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [AddCommGroup M₂] [Module A M₁] [Module A M₂] (pres₁ : Module.Presentation A M₁) (pres₂ : Module.Presentation A M₂) : (pres₁.tensor pres₂).G = (pres₁.G × pres₂.G) - Module.Presentation.tensor_R 📋 Mathlib.Algebra.Module.Presentation.Tensor
{A : Type u} [CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [AddCommGroup M₂] [Module A M₁] [Module A M₂] (pres₁ : Module.Presentation A M₁) (pres₂ : Module.Presentation A M₂) : (pres₁.tensor pres₂).R = (pres₁.R × pres₂.G ⊕ pres₁.G × pres₂.R) - Module.Presentation.tensor_var 📋 Mathlib.Algebra.Module.Presentation.Tensor
{A : Type u} [CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [AddCommGroup M₂] [Module A M₁] [Module A M₂] (pres₁ : Module.Presentation A M₁) (pres₂ : Module.Presentation A M₂) (x✝ : (pres₁.tensor pres₂.toRelations).G) : (pres₁.tensor pres₂).var x✝ = match x✝ with | (g₁, g₂) => pres₁.var g₁ ⊗ₜ[A] pres₂.var g₂ - Module.Presentation.tensor_relation 📋 Mathlib.Algebra.Module.Presentation.Tensor
{A : Type u} [CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [AddCommGroup M₁] [AddCommGroup M₂] [Module A M₁] [Module A M₂] (pres₁ : Module.Presentation A M₁) (pres₂ : Module.Presentation A M₂) (x✝ : pres₁.R × pres₂.G ⊕ pres₁.G × pres₂.R) : (pres₁.tensor pres₂).relation x✝ = match x✝ with | Sum.inl (r₁, g₂) => Finsupp.embDomain (Function.Embedding.sectL pres₁.G g₂) (pres₁.relation r₁) | Sum.inr (g₁, r₂) => Finsupp.embDomain (Function.Embedding.sectR g₁ pres₂.G) (pres₂.relation r₂)
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