Loogle!
Result
Found 31 declarations mentioning Finset.centroid.
- Finset.centroid ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} (s : Finset ฮน) (p : ฮน โ P) : P - Finset.centroid_singleton ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} (p : ฮน โ P) (i : ฮน) : Finset.centroid k {i} p = p i - Finset.centroid_map ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} {ฮนโ : Type u_5} (sโ : Finset ฮนโ) (e : ฮนโ โช ฮน) (p : ฮน โ P) : Finset.centroid k (Finset.map e sโ) p = Finset.centroid k sโ (p โ โe) - Finset.centroid_vsub_const ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} (s : Finset ฮน) [CharZero k] {p : ฮน โ P} {pโ : P} (hs : s.Nonempty) : Finset.centroid k s p -แตฅ pโ = Finset.centroid k s fun i => p i -แตฅ pโ - Finset.centroid_univ ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] (s : Finset P) : Finset.centroid k Finset.univ Subtype.val = Finset.centroid k s id - centroid_mem_affineSpan_of_nonempty ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} [CharZero k] {s : Finset ฮน} (p : ฮน โ P) (h : s.Nonempty) : Finset.centroid k s p โ affineSpan k (Set.range p) - centroid_mem_affineSpan_of_card_ne_zero ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} [CharZero k] {s : Finset ฮน} (p : ฮน โ P) (h : s.card โ 0) : Finset.centroid k s p โ affineSpan k (Set.range p) - centroid_mem_affineSpan_of_card_eq_add_one ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} [CharZero k] {s : Finset ฮน} (p : ฮน โ P) {n : โ} (h : s.card = n + 1) : Finset.centroid k s p โ affineSpan k (Set.range p) - centroid_mem_affineSpan_of_cast_card_ne_zero ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
{k : Type u_1} {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} {s : Finset ฮน} (p : ฮน โ P) (h : โs.card โ 0) : Finset.centroid k s p โ affineSpan k (Set.range p) - Finset.centroid_eq_centroid_image_of_inj_on ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} (s : Finset ฮน) {p : ฮน โ P} (hi : โ i โ s, โ j โ s, p i = p j โ i = j) {ps : Set P} [Fintype โps] (hps : ps = p '' โs) : Finset.centroid k s p = Finset.centroid k Finset.univ fun x => โx - Finset.centroid_eq_of_inj_on_of_image_eq ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} (s : Finset ฮน) {ฮนโ : Type u_5} (sโ : Finset ฮนโ) {p : ฮน โ P} (hi : โ i โ s, โ j โ s, p i = p j โ i = j) {pโ : ฮนโ โ P} (hiโ : โ i โ sโ, โ j โ sโ, pโ i = pโ j โ i = j) (he : p '' โs = pโ '' โsโ) : Finset.centroid k s p = Finset.centroid k sโ pโ - Finset.centroid_def ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} (s : Finset ฮน) (p : ฮน โ P) : Finset.centroid k s p = (Finset.affineCombination k s p) (Finset.centroidWeights k s) - Finset.centroid_eq_affineCombination_fintype ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} (s : Finset ฮน) [Fintype ฮน] (p : ฮน โ P) : Finset.centroid k s p = (Finset.affineCombination k Finset.univ p) (Finset.centroidWeightsIndicator k s) - Finset.centroid_pair ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ฮน : Type u_4} [DecidableEq ฮน] [Invertible 2] (p : ฮน โ P) (iโ iโ : ฮน) : Finset.centroid k {iโ, iโ} p = 2โปยน โข (p iโ -แตฅ p iโ) +แตฅ p iโ - Finset.centroid_pair_fin ๐ Mathlib.LinearAlgebra.AffineSpace.Centroid
(k : Type u_1) {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] [Invertible 2] (p : Fin 2 โ P) : Finset.centroid k Finset.univ p = 2โปยน โข (p 1 -แตฅ p 0) +แตฅ p 0 - AffineBasis.coord_apply_centroid ๐ Mathlib.LinearAlgebra.AffineSpace.Basis
{ฮน : Type u_1} {k : Type u_5} {V : Type u_6} {P : Type u_7} [AddCommGroup V] [AddTorsor V P] [DivisionRing k] [Module k V] [CharZero k] (b : AffineBasis ฮน k P) {s : Finset ฮน} {i : ฮน} (hi : i โ s) : (b.coord i) (Finset.centroid k s โb) = (โs.card)โปยน - Finset.centroid_eq_centerMass ๐ Mathlib.Analysis.Convex.Combination
{R : Type u_1} {E : Type u_3} {ฮน : Type u_5} [Field R] [AddCommGroup E] [Module R E] [LinearOrder R] [IsStrictOrderedRing R] (s : Finset ฮน) (hs : s.Nonempty) (p : ฮน โ E) : Finset.centroid R s p = s.centerMass (Finset.centroidWeights R s) p - Finset.centroid_mem_convexHull ๐ Mathlib.Analysis.Convex.Combination
{R : Type u_1} {E : Type u_3} [Field R] [AddCommGroup E] [Module R E] [LinearOrder R] [IsStrictOrderedRing R] (s : Finset E) (hs : s.Nonempty) : Finset.centroid R s id โ (convexHull R) โs - Affine.Simplex.univ_centroid_eq ๐ Mathlib.LinearAlgebra.AffineSpace.Simplex.Centroid
{k : Type u_1} {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {n : โ} (s : Affine.Simplex k P n) : Finset.centroid k Finset.univ s.points = s.centroid - Affine.Simplex.face_centroid_eq_centroid ๐ Mathlib.LinearAlgebra.AffineSpace.Simplex.Centroid
{k : Type u_1} {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {n : โ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))} {m : โ} (h : fs.card = m + 1) : Finset.centroid k Finset.univ (s.face h).points = Finset.centroid k fs s.points - Affine.Simplex.centroid_eq_iff ๐ Mathlib.LinearAlgebra.AffineSpace.Simplex.Centroid
{k : Type u_1} {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] [CharZero k] {n : โ} (s : Affine.Simplex k P n) {fsโ fsโ : Finset (Fin (n + 1))} {mโ mโ : โ} (hโ : fsโ.card = mโ + 1) (hโ : fsโ.card = mโ + 1) : Finset.centroid k fsโ s.points = Finset.centroid k fsโ s.points โ fsโ = fsโ - Affine.Simplex.centroid_eq_of_range_eq ๐ Mathlib.LinearAlgebra.AffineSpace.Simplex.Centroid
{k : Type u_1} {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {n : โ} {sโ sโ : Affine.Simplex k P n} (h : Set.range sโ.points = Set.range sโ.points) : Finset.centroid k Finset.univ sโ.points = Finset.centroid k Finset.univ sโ.points - Affine.Simplex.face_centroid_eq_iff ๐ Mathlib.LinearAlgebra.AffineSpace.Simplex.Centroid
{k : Type u_1} {V : Type u_2} {P : Type u_3} [DivisionRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] [CharZero k] {n : โ} (s : Affine.Simplex k P n) {fsโ fsโ : Finset (Fin (n + 1))} {mโ mโ : โ} (hโ : fsโ.card = mโ + 1) (hโ : fsโ.card = mโ + 1) : Finset.centroid k Finset.univ (s.face hโ).points = Finset.centroid k Finset.univ (s.face hโ).points โ fsโ = fsโ - AffineBasis.centroid_mem_interior_convexHull ๐ Mathlib.Analysis.Normed.Affine.AddTorsorBases
{V : Type u_1} [NormedAddCommGroup V] [NormedSpace โ V] {ฮน : Type u_3} [Fintype ฮน] (b : AffineBasis ฮน โ V) : Finset.centroid โ Finset.univ โb โ interior ((convexHull โ) (Set.range โb)) - Affine.Simplex.circumcenter_eq_centroid ๐ Mathlib.Geometry.Euclidean.Circumcenter
{V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace โ V] [MetricSpace P] [NormedAddTorsor V P] (s : Affine.Simplex โ P 1) : s.circumcenter = Finset.centroid โ Finset.univ s.points - Affine.Simplex.centroid_eq_affineCombination_of_pointsWithCircumcenter ๐ Mathlib.Geometry.Euclidean.Circumcenter
{V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace โ V] [MetricSpace P] [NormedAddTorsor V P] {n : โ} (s : Affine.Simplex โ P n) (fs : Finset (Fin (n + 1))) : Finset.centroid โ fs s.points = (Finset.affineCombination โ Finset.univ s.pointsWithCircumcenter) (Affine.Simplex.centroidWeightsWithCircumcenter fs) - Affine.Triangle.orthocenter_eq_smul_vsub_vadd_circumcenter ๐ Mathlib.Geometry.Euclidean.MongePoint
{V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace โ V] [MetricSpace P] [NormedAddTorsor V P] (t : Affine.Triangle โ P) : t.orthocenter = 3 โข (Finset.centroid โ Finset.univ t.points -แตฅ Affine.Simplex.circumcenter t) +แตฅ Affine.Simplex.circumcenter t - Affine.Simplex.mongePoint_eq_smul_vsub_vadd_circumcenter ๐ Mathlib.Geometry.Euclidean.MongePoint
{V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace โ V] [MetricSpace P] [NormedAddTorsor V P] {n : โ} (s : Affine.Simplex โ P n) : s.mongePoint = (โ(n + 1) / โ(n - 1)) โข (Finset.centroid โ Finset.univ s.points -แตฅ s.circumcenter) +แตฅ s.circumcenter - Affine.Simplex.inner_mongePoint_vsub_face_centroid_vsub ๐ Mathlib.Geometry.Euclidean.MongePoint
{V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace โ V] [MetricSpace P] [NormedAddTorsor V P] {n : โ} (s : Affine.Simplex โ P (n + 2)) {iโ iโ : Fin (n + 3)} : inner โ (s.mongePoint -แตฅ Finset.centroid โ {iโ, iโ}แถ s.points) (s.points iโ -แตฅ s.points iโ) = 0 - Affine.Simplex.mongePoint_vsub_face_centroid_eq_weightedVSub_of_pointsWithCircumcenter ๐ Mathlib.Geometry.Euclidean.MongePoint
{V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace โ V] [MetricSpace P] [NormedAddTorsor V P] {n : โ} (s : Affine.Simplex โ P (n + 2)) {iโ iโ : Fin (n + 3)} (h : iโ โ iโ) : s.mongePoint -แตฅ Finset.centroid โ {iโ, iโ}แถ s.points = (Finset.univ.weightedVSub s.pointsWithCircumcenter) (Affine.Simplex.mongePointVSubFaceCentroidWeightsWithCircumcenter iโ iโ) - Affine.Simplex.mongePlane_def ๐ Mathlib.Geometry.Euclidean.MongePoint
{V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace โ V] [MetricSpace P] [NormedAddTorsor V P] {n : โ} (s : Affine.Simplex โ P (n + 2)) (iโ iโ : Fin (n + 3)) : s.mongePlane iโ iโ = AffineSubspace.mk' (Finset.centroid โ {iโ, iโ}แถ s.points) (โ โ (s.points iโ -แตฅ s.points iโ))แฎ โ affineSpan โ (Set.range s.points)
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 69fae59