Skip to content

Commit 10053ce

Browse files
committed
doc: add wikidata cross references (#39909)
1 parent 1f32c4c commit 10053ce

14 files changed

Lines changed: 17 additions & 2 deletions

File tree

Mathlib/Analysis/Calculus/Deriv/MeanValue.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ theorem exists_hasDerivAt_eq_slope : ∃ c ∈ Ioo a b, f' c = (f b - f a) / (b
128128

129129
include hab hfc hgc hgd hfd in
130130
/-- Cauchy's Mean Value Theorem, `deriv` version. -/
131+
@[wikidata Q189136]
131132
theorem exists_ratio_deriv_eq_ratio_slope :
132133
∃ c ∈ Ioo a b, (g b - g a) * deriv f c = (f b - f a) * deriv g c :=
133134
exists_ratio_hasDerivAt_eq_ratio_slope f (deriv f) hab hfc

Mathlib/Analysis/Calculus/LocalExtr/Rolle.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ theorem exists_hasDerivAt_eq_zero (hab : a < b) (hfc : ContinuousOn f (Icc a b))
5555
⟨c, cmem, hc.hasDerivAt_eq_zero <| hff' c cmem⟩
5656

5757
/-- **Rolle's Theorem** `deriv` version -/
58+
@[wikidata Q193286]
5859
theorem exists_deriv_eq_zero (hab : a < b) (hfc : ContinuousOn f (Icc a b)) (hfI : f a = f b) :
5960
∃ c ∈ Ioo a b, deriv f c = 0 :=
6061
let ⟨c, cmem, hc⟩ := exists_isLocalExtr_Ioo hab hfc hfI

Mathlib/Analysis/Complex/Polynomial/Basic.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ theorem exists_root {f : ℂ[X]} (hf : 0 < degree f) : ∃ z : ℂ, IsRoot f z :
4747
obtain rfl : f = C 0 := Polynomial.funext fun z ↦ inv_injective <| by simp [this]
4848
simp at hf
4949

50+
/-- **Fundamental theorem of algebra**: the field `ℂ` of complex numbers is algebraically closed. -/
51+
@[wikidata Q192760]
5052
instance isAlgClosed : IsAlgClosed ℂ :=
5153
IsAlgClosed.of_exists_root _ fun _p _ hp => Complex.exists_root <| degree_pos_of_irreducible hp
5254

Mathlib/Analysis/InnerProductSpace/Basic.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ theorem parallelogram_law {x y : E} : ⟪x + y, x + y⟫ + ⟪x - y, x - y⟫ =
278278
ring
279279

280280
/-- **Cauchy–Schwarz inequality**. -/
281+
@[wikidata Q190546]
281282
theorem inner_mul_inner_self_le (x y : E) : ‖⟪x, y⟫‖ * ‖⟪y, x⟫‖ ≤ re ⟪x, x⟫ * re ⟪y, y⟫ :=
282283
letI : PreInnerProductSpace.Core 𝕜 E := PreInnerProductSpace.toCore
283284
InnerProductSpace.Core.inner_mul_inner_self_le x y

Mathlib/Analysis/Normed/Module/HahnBanach.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ variable {𝕜 : Type*} [NontriviallyNormedField 𝕜] [IsRCLikeNormedField 𝕜
7272

7373
/-- **Hahn-Banach theorem** for continuous linear functions over `𝕜`
7474
satisfying `IsRCLikeNormedField 𝕜`. -/
75+
@[wikidata Q866116]
7576
theorem exists_extension_norm_eq (p : Subspace 𝕜 E) (f : StrongDual 𝕜 p) :
7677
∃ g : StrongDual 𝕜 E, (∀ x : p, g x = f x) ∧ ‖g‖ = ‖f‖ := by
7778
letI : RCLike 𝕜 := IsRCLikeNormedField.rclike 𝕜

Mathlib/GroupTheory/Coset/Card.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ lemma card_mul_eq_card_subgroup_mul_card_quotient (s : Subgroup α) (t : Set α)
6464
aesop (add simp [Set.mem_mul])
6565

6666
/-- **Lagrange's Theorem**: The order of a subgroup divides the order of its ambient group. -/
67-
@[to_additive /-- **Lagrange's Theorem**: The order of an additive subgroup divides the order of its
68-
ambient additive group. -/]
67+
@[to_additive (attr := wikidata Q505798) /-- **Lagrange's Theorem**: The order of an additive
68+
subgroup divides the order of its ambient additive group. -/]
6969
theorem card_subgroup_dvd_card (s : Subgroup α) : Nat.card s ∣ Nat.card α := by
7070
classical simp [card_eq_card_quotient_mul_card_subgroup s, @dvd_mul_left ℕ]
7171

Mathlib/LinearAlgebra/SesquilinearForm/Basic.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,7 @@ variable [CommRing R] [LinearOrder R] [IsStrictOrderedRing R]
931931
[AddCommGroup M] [Module R M] (B : LinearMap.BilinForm R M)
932932

933933
/-- The **Cauchy-Schwarz inequality** for positive semidefinite forms. -/
934+
@[wikidata Q190546]
934935
lemma apply_mul_apply_le_of_forall_zero_le (hs : ∀ x, 0 ≤ B x x) (x y : M) :
935936
(B x y) * (B y x) ≤ (B x x) * (B y y) := by
936937
have aux (x y : M) : 0 ≤ (B x x) * ((B x x) * (B y y) - (B x y) * (B y x)) := by

Mathlib/RingTheory/Ideal/Quotient/Operations.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ lemma quotientInfToPiQuotient_surj {I : ι → Ideal R}
242242

243243
/-- **Chinese Remainder Theorem**. Eisenbud Ex.2.6.
244244
Similar to Atiyah-Macdonald 1.10 and Stacks 00DT -/
245+
@[wikidata Q193878]
245246
noncomputable def quotientInfRingEquivPiQuotient (f : ι → Ideal R)
246247
(hf : Pairwise (IsCoprime on f)) : (R ⧸ ⨅ i, f i) ≃+* ∀ i, R ⧸ f i :=
247248
{ Equiv.ofBijective _ ⟨quotientInfToPiQuotient_inj f, quotientInfToPiQuotient_surj hf⟩,

Mathlib/Topology/Baire/Lemmas.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module
88
public import Mathlib.Data.Fintype.Powerset
99
public import Mathlib.Topology.GDelta.Basic
1010
public import Mathlib.Topology.Constructions
11+
public import Mathlib.Tactic.CrossRefAttribute
1112

1213
/-!
1314
# Baire spaces
@@ -127,6 +128,7 @@ theorem dense_biInter_of_isOpen {S : Set α} {f : α → Set X} (ho : ∀ s ∈
127128

128129
/-- Baire theorem: a countable intersection of dense open sets is dense. Formulated here with
129130
an index set which is a countable type. -/
131+
@[wikidata Q1052678]
130132
theorem dense_iInter_of_isOpen [Countable ι] {f : ι → Set X} (ho : ∀ i, IsOpen (f i))
131133
(hd : ∀ i, Dense (f i)) : Dense (⋂ s, f s) :=
132134
dense_sInter_of_isOpen (forall_mem_range.2 ho) (countable_range _) (forall_mem_range.2 hd)

Mathlib/Topology/ContinuousMap/StoneWeierstrass.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ theorem sublattice_closure_eq_top (L : Set C(X, ℝ)) (nA : L.Nonempty)
262262
that a subalgebra `A` of `C(X, ℝ)`, where `X` is a compact topological space,
263263
is dense if it separates points.
264264
-/
265+
@[wikidata Q939927]
265266
theorem subalgebra_topologicalClosure_eq_top_of_separatesPoints (A : Subalgebra ℝ C(X, ℝ))
266267
(w : A.SeparatesPoints) : A.topologicalClosure = ⊤ := by
267268
-- The closure of `A` is closed under taking `sup` and `inf`,

0 commit comments

Comments
 (0)