-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Merged by Bors] - doc: add wikidata attributes #40861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,7 @@ module | |
| public import Mathlib.Algebra.Polynomial.Degree.Operations | ||
| public import Mathlib.Algebra.Polynomial.Eval.Defs | ||
| public import Mathlib.LinearAlgebra.Dimension.Constructions | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| /-! | ||
| # Linear recurrence | ||
|
|
@@ -48,6 +49,7 @@ open Polynomial | |
|
|
||
| /-- A "linear recurrence relation" over a commutative semiring is given by its | ||
| order `n` and `n` coefficients. -/ | ||
| @[wikidata Q364089] | ||
| structure LinearRecurrence (R : Type*) [CommSemiring R] where | ||
|
Comment on lines
+52
to
53
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q364089: linear difference equation — relation in algebra |
||
| /-- Order of the linear recurrence -/ | ||
| order : ℕ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ public import Mathlib.Analysis.Normed.Lp.PiLp | |
| public import Mathlib.Analysis.Normed.Lp.Matrix | ||
| public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas | ||
| public import Mathlib.LinearAlgebra.UnitaryGroup | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
| public import Mathlib.Util.Superscript | ||
|
|
||
| /-! | ||
|
|
@@ -108,6 +109,7 @@ space use `EuclideanSpace 𝕜 (Fin n)`. | |
|
|
||
| For the case when `n = Fin _`, there is `!₂[x, y, ...]` notation for building elements of this type, | ||
| analogous to `![x, y, ...]` notation. -/ | ||
| @[wikidata Q17295] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| abbrev EuclideanSpace (𝕜 : Type*) (n : Type*) : Type _ := | ||
|
Comment on lines
+112
to
113
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q17295: Euclidean space — generalization of Euclidean geometry to higher-dimensional vector spaces |
||
| PiLp 2 fun _ : n => 𝕜 | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Mario Carneiro, Alexander Bentkamp | |
| module | ||
|
|
||
| public import Mathlib.LinearAlgebra.Finsupp.LinearCombination | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| /-! | ||
| # Bases | ||
|
|
@@ -85,6 +86,7 @@ To turn a linear independent family of vectors spanning `M` into a basis, use `B | |
| They are internally represented as linear equivs `M ≃ₗ[R] (ι →₀ R)`, | ||
| available as `Basis.repr`. | ||
| -/ | ||
| @[wikidata Q189569] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| structure Basis where | ||
|
Comment on lines
+89
to
90
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q189569: basis — subset of a vector space that allows defining coordinates |
||
| /-- `Basis.ofRepr` constructs a basis given an assignment of coordinates to each vector. -/ | ||
| ofRepr :: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ public import Mathlib.RingTheory.Congruence.Hom | |
| public import Mathlib.LinearAlgebra.TensorAlgebra.Basic | ||
| public import Mathlib.LinearAlgebra.QuadraticForm.Isometry | ||
| public import Mathlib.LinearAlgebra.QuadraticForm.IsometryEquiv | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| /-! | ||
| # Clifford Algebras | ||
|
|
@@ -69,6 +70,7 @@ end CliffordAlgebra | |
|
|
||
| /-- The Clifford algebra of an `R`-module `M` equipped with a `QuadraticForm` `Q`. | ||
| -/ | ||
| @[wikidata Q674689] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| def CliffordAlgebra := CliffordAlgebra.ringCon Q |>.Quotient | ||
| deriving Inhabited, Ring, Algebra R | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ module | |
|
|
||
| public import Mathlib.LinearAlgebra.BilinearMap | ||
| public import Mathlib.LinearAlgebra.Span.Defs | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| /-! | ||
| # Dual vector spaces | ||
|
|
@@ -57,6 +58,7 @@ variable (R A M : Type*) | |
| variable [CommSemiring R] [AddCommMonoid M] [Module R M] | ||
|
|
||
| /-- The left dual space of an R-module M is the R-module of linear maps `M → R`. -/ | ||
| @[wikidata Q752487] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| abbrev Dual (R M : Type*) [Semiring R] [AddCommMonoid M] [Module R M] := | ||
|
Comment on lines
+61
to
62
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q752487: dual space — vector space of linear functionals (may consist only on continuous functionals or of all functionals) |
||
| M →ₗ[R] R | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ module | |
|
|
||
| public import Mathlib.LinearAlgebra.PerfectPairing.Basic | ||
| public import Mathlib.LinearAlgebra.Reflection | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| /-! | ||
| # Root data and root systems | ||
|
|
@@ -113,6 +114,7 @@ variable {ι R M N} | |
| variable (P : RootPairing ι R M N) (i j : ι) | ||
|
|
||
| /-- A root system is a root pairing for which the roots and coroots span their ambient modules. -/ | ||
| @[wikidata Q534131] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| class IsRootSystem : Prop where | ||
|
Comment on lines
+117
to
118
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q534131: root system — geometric arrangements of points, foundational to Lie theory |
||
| span_root_eq_top : span R (range P.root) = ⊤ | ||
| span_coroot_eq_top : span R (range P.coroot) = ⊤ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ Authors: Rémy Degenne | |
| module | ||
|
|
||
| public import Mathlib.MeasureTheory.Function.ConditionalExpectation.CondexpL1 | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| import Mathlib.MeasureTheory.Function.LpSpace.InfiniteSum | ||
|
|
||
|
|
@@ -97,6 +98,7 @@ It is defined as 0 if any one of the following conditions is true: | |
| - `m` is not a sub-σ-algebra of `m₀`, | ||
| - `μ` is not σ-finite with respect to `m`, | ||
| - `f` is not integrable. -/ | ||
| @[wikidata Q772232] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| noncomputable irreducible_def condExp (μ : Measure[m₀] α) (f : α → E) : α → E := | ||
|
Comment on lines
+101
to
102
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q772232: conditional expectation — expected value in a conditional distribution |
||
| if hm : m ≤ m₀ then | ||
| if h : SigmaFinite (μ.trim hm) ∧ Integrable f μ then | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ module | |
|
|
||
| public import Mathlib.MeasureTheory.Function.JacobianOneDim | ||
| public import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| /-! | ||
| # Integration by parts and by substitution | ||
|
|
@@ -526,6 +527,7 @@ theorem integral_comp_mul_deriv' {f f' g : ℝ → ℝ} (h : ∀ x ∈ uIcc a b, | |
| and `g` is continuous, then we can substitute `u = f x` to get | ||
| `∫ x in a..b, (g ∘ f) x * f' x = ∫ u in f a..f b, g u`. | ||
| -/ | ||
| @[wikidata Q1071270] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟢 WikiLean reviewer note (approve)
|
||
| theorem integral_comp_mul_deriv {f f' g : ℝ → ℝ} (h : ∀ x ∈ uIcc a b, HasDerivAt f (f' x) x) | ||
|
Comment on lines
+530
to
531
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q1071270: integration by substitution — method of integration
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks good, but |
||
| (h' : ContinuousOn f' (uIcc a b)) (hg : Continuous g) : | ||
| (∫ x in a..b, (g ∘ f) x * f' x) = ∫ x in f a..f b, g x := | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ Authors: P. Michael Kielstra | |
| module | ||
|
|
||
| public import Mathlib.Analysis.SpecialFunctions.Integrals.Basic | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
| public import Mathlib.Tactic.Field | ||
|
|
||
| /-! | ||
|
|
@@ -29,6 +30,7 @@ open MeasureTheory intervalIntegral Interval Finset HasDerivWithinAt Set | |
| /-- Integration of `f` from `a` to `b` using the trapezoidal rule with `N+1` total evaluations of | ||
| `f`. (Note the off-by-one problem here: `N` counts the number of trapezoids, not the number of | ||
| evaluations.) -/ | ||
| @[wikidata Q833293] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| noncomputable def trapezoidal_integral (f : ℝ → ℝ) (N : ℕ) (a b : ℝ) : ℝ := | ||
|
Comment on lines
+33
to
34
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q833293: trapezoidal rule — numerical integration method |
||
| ((b - a) / N) * ((f a + f b) / 2 + ∑ k ∈ range (N - 1), f (a + (k + 1) * (b - a) / N)) | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -117,6 +117,7 @@ lemma completedRiemannZeta_residue_one : | |
| -/ | ||
|
|
||
| /-- The Riemann zeta function `ζ(s)`. -/ | ||
| @[wikidata Q187235] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| def riemannZeta := hurwitzZetaEven 0 | ||
|
Comment on lines
+120
to
121
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q187235: Riemann zeta function — analytic function |
||
|
|
||
| lemma HurwitzZeta.hurwitzZetaEven_zero : hurwitzZetaEven 0 = riemannZeta := rfl | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ public import Mathlib.Order.Filter.Tendsto | |
| public import Mathlib.Order.ConditionallyCompleteLattice.Indexed | ||
| public import Mathlib.Algebra.Order.Group.Defs | ||
| public import Mathlib.Data.Finset.Lattice.Fold | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| /-! | ||
| # Minimum and maximum w.r.t. a filter and on a set | ||
|
|
@@ -114,6 +115,7 @@ def IsMaxOn := | |
| IsMaxFilter f (𝓟 s) a | ||
|
|
||
| /-- `IsExtrOn f s a` means `IsMinOn f s a` or `IsMaxOn f s a` -/ | ||
| @[wikidata Q845060] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟢 WikiLean reviewer note (approve)
|
||
| def IsExtrOn : Prop := | ||
|
Comment on lines
+118
to
119
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q845060: maxima and minima — largest and smallest value taken by a function in a given range
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We also have |
||
| IsExtrFilter f (𝓟 s) a | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ module | |
|
|
||
| public import Mathlib.RingTheory.Ideal.Quotient.Basic | ||
| public import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
|
|
||
| /-! | ||
|
|
||
|
|
@@ -25,6 +26,7 @@ namespace IsLocalRing | |
| variable (R : Type*) [CommRing R] [IsLocalRing R] | ||
|
|
||
| /-- The residue field of a local ring is the quotient of the ring by its maximal ideal. -/ | ||
| @[wikidata Q7315530] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| def ResidueField := | ||
|
Comment on lines
+29
to
30
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q7315530: residue field — field arising from a quotient ring by a maximal ideal |
||
| R ⧸ maximalIdeal R | ||
| deriving CommRing, Inhabited | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ Authors: Anatole Dedecker | |
| module | ||
|
|
||
| public import Mathlib.Analysis.Convex.Topology | ||
| public import Mathlib.Tactic.CrossRefAttribute | ||
| public import Mathlib.Topology.Connected.LocallyPathConnected | ||
| public import Mathlib.Analysis.Convex.PathConnected | ||
|
|
||
|
|
@@ -46,6 +47,7 @@ section Semimodule | |
|
|
||
| /-- A `LocallyConvexSpace` is a topological semimodule over an ordered semiring in which convex | ||
| neighborhoods of a point form a neighborhood basis at that point. -/ | ||
| @[wikidata Q1572357] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| class LocallyConvexSpace (𝕜 E : Type*) [Semiring 𝕜] [PartialOrder 𝕜] | ||
|
Comment on lines
+50
to
51
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q1572357: locally convex space — topological vector space in which every vector has a convex neighborhood |
||
| [AddCommMonoid E] [Module 𝕜 E] [TopologicalSpace E] : Prop where | ||
| convex_basis : ∀ x : E, (𝓝 x).HasBasis (fun s : Set E => s ∈ 𝓝 x ∧ Convex 𝕜 s) id | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ Authors: Johannes Hölzl, Mario Carneiro | |
| -/ | ||
| module | ||
|
|
||
| public import Mathlib.Tactic.CrossRefAttribute | ||
| public import Mathlib.Topology.Algebra.Constructions | ||
| public import Mathlib.Topology.Bases | ||
| public import Mathlib.Algebra.Order.Group.Nat | ||
|
|
@@ -365,6 +366,7 @@ theorem isComplete_iUnion_separated {ι : Sort*} {s : ι → Set α} (hs : ∀ i | |
|
|
||
| /-- A complete space is defined here using uniformities. A uniform space | ||
| is complete if every Cauchy filter converges. -/ | ||
| @[wikidata Q848569] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| class CompleteSpace (α : Type u) [UniformSpace α] : Prop where | ||
|
Comment on lines
+369
to
370
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wikidata Q848569: complete metric space — metric space in which cauchy sequence converges to an element of the space |
||
| /-- In a complete uniform space, every Cauchy filter converges. -/ | ||
| complete : ∀ {f : Filter α}, Cauchy f → ∃ x, f ≤ 𝓝 x | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟢 WikiLean reviewer note (approve)
(no note)
Q364089