Property talk:P2534

From Wikidata
Jump to navigation Jump to search

Documentation

defining formula
mathematical formula representing a theorem or law. Maximum length: 400 characters
Descriptionformula representing a theorem or law
Representsformula (Q976981)
Data typeMathematical expression
Domain
According to this template: Mathematical and physics based articles
According to statements in the property:
mathematical concept (Q24034552), concept in physics (Q33104303), scientific law (Q408891) or mathematical object (Q246672)
When possible, data should only be stored as statements
Usage notesMaximum length: 400 characters
ExamplePythagorean theorem (Q11518)
mass–energy equivalence (Q35875)
Ohm's law (Q41591)
Tracking: usageCategory:Pages using Wikidata property P2534 (Q26250053)
See alsoin defining formula (P7235), symbol represents (P9758), TeX string (P1993), quantity symbol (string) (P416), quantity symbol (LaTeX) (P7973), calculated from (P4934)
Lists
Proposal discussionProposal discussion
Current uses
Total6,462
Main statement6,26597% of uses
Qualifier1943% of uses
Reference3<0.1% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2534#Entity types
Item “in defining formula (P7235): Items with this property should also have “in defining formula (P7235)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2534#Item P7235, SPARQL
Qualifiers “statement is subject of (P805), reason for preferred rank (P7452), reason for deprecated rank (P2241): this property should be used only with the listed qualifiers. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2534#allowed qualifiers, SPARQL
Scope is as main value (Q54828448), as qualifier (Q54828449): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2534#Scope, SPARQL
Conflicts with “instance of (P31): chemical compound (Q11173): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2534#Conflicts with P31,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]

Symbol definitions[edit]

How to add symbol definitions? They were in the original propsal, where are they now? Ignatus (talk) 22:16, 10 December 2016 (UTC)[reply]

Well, in the mass–energy equivalence (Q35875) I see the definirtions in has part(s) (P527). But it is VERY bad semantically use of this property. Hardly the description should leave the formula's qualifiers since the letters define the formula, not the object (the symbols often vary in different traditions but the formulae built with them are equivalent if correctly defined). And we probably can't now make qualifiers with relation <math:symbol | item:definition> (and I'm afraid not any definition will have an item defining it, or we'll sink in items used to define formulae only, like in PithagorHeron, shame on my head's formula for area of a triangle ). Ignatus (talk) 22:30, 10 December 2016 (UTC) Opened a discussion on WD:Project chat/Archive/2016/12#Symbol definitions with math datatype 22:56, 10 December 2016 (UTC)[reply]
I would prefer using Datasets from Commons (mw:Help:Tabular data) as legends for formulae and images, they support structured lists, and even localization! Ignatus (talk) 20:11, 27 December 2016 (UTC)[reply]

Supported environment[edit]

I would like to insert the Butcher tableau of midpoint methods (Q17103851) as formula but I can't:

\begin{tabular}{c|c c} 0 & 0 & 0 \\ \frac{1}{2} & \frac{1}{2} & 0 \\ \hline & 0 & 1 \end{tabular}

How can I do that? --★ → Airon 90 13:29, 14 April 2018 (UTC)[reply]

@Airon90: I have been looking into doing the same thing. But I think it might actually be better to add a new property for Butcher's tableau. Then we can have both the numerical method as a formula and a tableau.

The-erinaceous-one (talk) 05:35, 25 July 2020 (UTC)[reply]

According to [1], you can actually create tables using the following command: \begin{array}{|c|c|c|} a & b & S \\ \hline 0 & 0 & 1\\0 & 1& 1\\1&0&1\\1&1&0 \\ \end{array}

The-erinaceous-one (talk) 05:45, 25 July 2020 (UTC)[reply]

@The-erinaceous-one: I think that it is better to insert A, b and c separately as formulas (applies to part (P518) Runge-Kutta matrix (Q97664752), Runge-Kutta weights vector (Q97664754), Runge-Kutta nodes vector (Q97664755) respectively) --★ → Airon 90 09:27, 25 July 2020 (UTC)[reply]
@Airon90: I wouldn't be opposed to entering A, b, and c separately, but I don't see the advantage. What do you see as the upside of separating them? If we do separate them, I would want there to be some way of displaying in the standard Butcher tableau format. Also, I made a Butcher tableau property proposal yesterday [2]. Perhaps we should move this discussion there? The-erinaceous-one (talk) 21:30, 25 July 2020 (UTC)[reply]
@Airon90: Another idea, I just had, was that we could add a property <Butcher tableau> and then use has part(s) (P527): Runge-Kutta matrix (Q97664752), Runge-Kutta weights vector (Q97664754), Runge-Kutta nodes vector (Q97664755) as a qualifiers. The-erinaceous-one (talk)
We move the discussion about new property there --★ → Airon 90 07:51, 26 July 2020 (UTC)[reply]

Expand the scope to every mathematical concept[edit]

Opensofias
Tobias1984
Arthur Rubin
Cuvwb
TomT0m
Physikerwelt
Lymantria
Bigbossfarin
Infovarius
Helder
PhilMINT
Malore
Lore.mazza51
Wikisaurus
The Anome
The-erinaceous-one
Daniel Mietchen
Haansn08
Xenmorpha
John Samuel
Jeremy Dover
Toni 001
Bocardodarapti
Duckmather
HTinC23
fgnievinski

Notified participants of WikiProject Mathematics Currently, the description of this property says that it can be used only for theorem and laws statements. Why not for mathematical concept definitions in general? For example, for something like this:

⟨ absolute value (Q120812)  View with Reasonator View with SQID ⟩ defining formula (P2534) View with SQID ⟨  ⟩

.--Malore (talk) 00:27, 13 June 2018 (UTC)[reply]

De facto it is already used this way in more than 50%. Maybe we need a new property for definition formulars. Bigbossfarin (talk) 10:09, 13 June 2018 (UTC)[reply]
 Support broadening the definition of this property to reflect usage (which has been that way a long time!) ArthurPSmith (talk) 18:02, 15 June 2018 (UTC)[reply]
  • There is a general problem with the datatype. It can't be reliably queried on query server. Maybe we should try to find another working solution.
    --- Jura 09:24, 17 June 2018 (UTC)[reply]
What kind of queries are you interested in? Spqrql is quite powerful. See for example meaning of identifiers in ideal gas law  – The preceding unsigned comment was added by [[User:|?]] ([[User talk:|talk]] • contribs).
The need for contributors is fairly simple: one needs to be able the retrieve the current value as entered through Wikidata query server.
--- Jura 12:06, 17 June 2018 (UTC)[reply]
The security philosphy is that the original source code is not shared, despite in its original context. Only a secure version which can be used as input is availible from the query service. I would be keen to learn for which usecase the original source code would be required. --Physikerwelt (talk) 17:33, 17 June 2018 (UTC)[reply]

Formatting of vector quantities[edit]

How should we format vector quantities? In school I used to draw arrows over vector quantities, probably because this is easiest when using a pen (compared to drawing a boldface letter). For defining formula I have seen both boldface and a vector arrow. Should we standardize on one particular format (for quantities used in mechanics, electromagnetism, ...)? I have entered all new formulas using boldface, following ISO/IEC 80000 (Q568496). I like this most (but could be convinced otherwise). Any other preference? Toni 001 (talk) 12:33, 18 December 2019 (UTC)[reply]

I prefer bold to arrows. ArthurPSmith (talk) 20:03, 18 December 2019 (UTC)[reply]
I have the same feelings as you, Toni. But I suppose arrows are more universal (also for schoolers) and more understandable. --Infovarius (talk) 08:58, 19 December 2019 (UTC)[reply]
I could imagine that in handwriting the arrow is preferred because it is easier to draw an arrow over a letter than to "write" a bold symbol. Toni 001 (talk) 10:28, 11 November 2020 (UTC)[reply]
I agree with using bold over arrows for typset vectors. I've seldom seen arrow notation used in print.— The Erinaceous One 🦔 08:55, 12 November 2020 (UTC)[reply]

Single value constraint[edit]

defining formula (P2534) has a single-value constraint (Q19474404). I think in general that this is good. However, different sources (or even different parts of the same source) might give different definitions for the same quantity, as is the case for wavenumber (Q192510): . I think it is important to find a way to store each definition, and have each sourced properly. The source requirement precludes dumping all definitions into the same line (x = definition 1 = definition 2) as one would not know which definition is stated in which source. In addition, some quantities are not simply defined as thing = definition, but appear inside a formula (that is, not simply on the left hand side), as is the case for magnetic flux density (Q30204).

This seems to suggest that in some cases we might want to violate the single value constraint.

However, there is an additional problem: To really explain the formula, we should first have a statement my itemin defining formula (P7235)my symbol to state which symbol is used in the formula to define my item. Then we should have further statements involving calculated from (P4934) with in defining formula (P7235) as qualifier to explain which other quantities appear in the formula and which symbols are used for those quantities. This gets somewhat messy when there is more than one defining formula; one might be forced to use non-standard symbol names in some defining formula to avoid conflicts with another formula.

The latter might seem to suggest that we should have one item for each formula. But this is probably not what we should do if the definitions are equivalent, because then they describe the same concept and deserve only one item. But we should definitely have all definitions - even if equivalent - so that someone coming from one area of science can work with what they are familiar with.

This is a though problem that I've been wondering about for the last few month. If you have any suggestions, then let's discuss. Toni 001 (talk) 11:57, 29 December 2019 (UTC)[reply]

I'm finding more and more cases where even the same source gives different formulas, none of which is preferred. Therefore I removed the single (best) value constraint. (The way to explain variables has since been updated, see below.) Toni 001 (talk) 08:32, 4 September 2021 (UTC)[reply]

How to explain variables[edit]

A formula has no meaning without an explanation of its variables. With the recent creation of symbol represents (P9758) we now have an easy way to explain each variable (or operator) in a formula:

That's it.

It has been a long way to get here, with two competing systems being used (one using calculated from (P4934) with in defining formula (P7235) qualifiers and the other using has part(s) (P527) with a larger mix of qualifiers), and with many good ideas for improvement being discussed at length.

I now started migrating formulas, first starting with the ones which previously used calculated from (P4934). For now I'm going manually, one item at a time, to fix issues I find along the way.

Best wishes. Toni 001 (talk) 08:43, 20 August 2021 (UTC)[reply]

Formulas as qualifiers[edit]

It has been proposed to use defining formula (P2534) as qualifier. There are two issues with this:

  • A formula is useless unless its symbols are explained. In the current data model this is possible only when the formula appears as main value.
  • Using it as qualifier to has characteristic (P1552), instance of (P31) etc. bypasses the requirement to propose and discuss a new property.

Toni 001 (talk) 06:40, 25 April 2023 (UTC)[reply]

1) If the formula doesn't contain any variable (i.e. consists of numbers) it doesn't requre "symbol explaining".
2) There's no need to separate illustrating formula from corresponding class (P31). Infovarius (talk) 07:17, 27 April 2023 (UTC)[reply]
To 1: For the data model it is irrelevant whether the number of variables to be explained happens to be zero.
To 2: Could you please elaborate? Toni 001 (talk) 05:33, 28 April 2023 (UTC)[reply]
1) Relevant. You simply can't explain zero variables. 2) Formula in doesn't make sense separately from the property. --Infovarius (talk) 20:36, 29 April 2023 (UTC)[reply]
To 2: One could imagine a property or collection of properties to model different representations of prime numbers. Toni 001 (talk) 05:59, 3 May 2023 (UTC)[reply]
KISS. Why to overcomplicate? --Infovarius (talk) 19:21, 4 May 2023 (UTC)[reply]
This is not the place to discuss the property proposal process. Please try the project chat if you think that there's an issue. Toni 001 (talk) 04:51, 5 May 2023 (UTC)[reply]
Pardon? It's you who think that there's an issue. I don't want a new property and am happy with current model (with qualifiers). --Infovarius (talk) 11:10, 7 May 2023 (UTC)[reply]