OpenMath Content Dictionary: alg1
Canonical URL:
http://www.openmath.org/cd/alg1.ocd
CD Base:
http://www.openmath.org/cd
CD File:
alg1.ocd
CD as XML Encoded OpenMath:
alg1.omcd
Defines:
one , zero
Date:
2004-03-30
Version:
3
(Revision 1)
Review Date:
2006-03-30
Status:
official
This document is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The copyright holder grants you permission to redistribute this
document freely as a verbatim copy. Furthermore, the copyright
holder permits you to develop any derived work from this document
provided that the following conditions are met.
a) The derived work acknowledges the fact that it is derived from
this document, and maintains a prominent reference in the
work to the original source.
b) The fact that the derived work is not the original OpenMath
document is stated prominently in the derived work. Moreover if
both this document and the derived work are Content Dictionaries
then the derived work must include a different CDName element,
chosen so that it cannot be confused with any works adopted by
the OpenMath Society. In particular, if there is a Content
Dictionary Group whose name is, for example, `math' containing
Content Dictionaries named `math1', `math2' etc., then you should
not name a derived Content Dictionary `mathN' where N is an integer.
However you are free to name it `private_mathN' or some such. This
is because the names `mathN' may be used by the OpenMath Society
for future extensions.
c) The derived work is distributed under terms that allow the
compilation of derived works, but keep paragraphs a) and b)
intact. The simplest way to do this is to distribute the derived
work under the OpenMath license, but this is not a requirement.
If you have questions about this license please contact the OpenMath
society at http://www.openmath.org .
Author: OpenMath Consortium
SourceURL: https://github.com/OpenMath/CDs
A CD of basic algebraic concepts
At present this CD only holds definitions of zero and one. They are
deliberately defined here without specifying any particular structure
(e.g. a group) to which they correspond.
Role:
constant
Description:
This symbol represents the additive identity element.
Commented Mathematical property (CMP):
for all a | a + 0 = a
Formal Mathematical property (FMP):
OpenMath XML (source)
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
<OMBIND>
<OMS cd="quant1" name="forall"/>
<OMBVAR>
<OMV name="a"/>
</OMBVAR>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMA>
<OMS cd="arith1" name="plus"/>
<OMV name="a"/>
<OMS cd="alg1" name="zero"/>
</OMA>
<OMV name="a"/>
</OMA>
</OMBIND>
</OMOBJ>
Strict Content MathML
<math xmlns="http://www.w3.org/1998/Math/MathML">
<bind><csymbol cd="quant1">forall</csymbol>
<bvar><ci>a</ci></bvar>
<apply><csymbol cd="relation1">eq</csymbol>
<apply><csymbol cd="arith1">plus</csymbol><ci>a</ci><csymbol cd="alg1">zero</csymbol></apply>
<ci>a</ci>
</apply>
</bind>
</math>
Prefix
Popcorn
quant1.forall[$a -> $a + alg1.zero = $a]
Rendered Presentation MathML
Commented Mathematical property (CMP):
for all a | 0 * a = 0
Formal Mathematical property (FMP):
OpenMath XML (source)
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
<OMBIND>
<OMS cd="quant1" name="forall"/>
<OMBVAR>
<OMV name="a"/>
</OMBVAR>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMA>
<OMS cd="arith1" name="times"/>
<OMS cd="alg1" name="zero"/>
<OMV name="a"/>
</OMA>
<OMS cd="alg1" name="zero"/>
</OMA>
</OMBIND>
</OMOBJ>
Strict Content MathML
<math xmlns="http://www.w3.org/1998/Math/MathML">
<bind><csymbol cd="quant1">forall</csymbol>
<bvar><ci>a</ci></bvar>
<apply><csymbol cd="relation1">eq</csymbol>
<apply><csymbol cd="arith1">times</csymbol><csymbol cd="alg1">zero</csymbol><ci>a</ci></apply>
<csymbol cd="alg1">zero</csymbol>
</apply>
</bind>
</math>
Prefix
Popcorn
quant1.forall[$a -> alg1.zero * $a = alg1.zero]
Rendered Presentation MathML
Commented Mathematical property (CMP):
The zero of the integers is 0
Formal Mathematical property (FMP):
OpenMath XML (source)
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
<OMBIND>
<OMS cd="quant1" name="forall"/>
<OMBVAR>
<OMV name="x"/>
</OMBVAR>
<OMA>
<OMS cd="logic1" name="implies"/>
<OMA>
<OMS cd="logic1" name="and"/>
<OMA>
<OMS cd="set1" name="in"/>
<OMV name="x"/>
<OMS cd="setname1" name="Z"/>
</OMA>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMV name="x"/>
<OMS cd="alg1" name="zero"/>
</OMA>
</OMA>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMV name="x"/>
<OMI>0</OMI>
</OMA>
</OMA>
</OMBIND>
</OMOBJ>
Strict Content MathML
<math xmlns="http://www.w3.org/1998/Math/MathML">
<bind><csymbol cd="quant1">forall</csymbol>
<bvar><ci>x</ci></bvar>
<apply><csymbol cd="logic1">implies</csymbol>
<apply><csymbol cd="logic1">and</csymbol>
<apply><csymbol cd="set1">in</csymbol><ci>x</ci><csymbol cd="setname1">Z</csymbol></apply>
<apply><csymbol cd="relation1">eq</csymbol><ci>x</ci><csymbol cd="alg1">zero</csymbol></apply>
</apply>
<apply><csymbol cd="relation1">eq</csymbol><ci>x</ci><cn type="integer">0</cn></apply>
</apply>
</bind>
</math>
Prefix
Popcorn
quant1.forall[$x -> set1.in($x, setname1.Z) and $x = alg1.zero ==> $x = 0]
Rendered Presentation MathML
∀
x
.
x
∈
Z
∧
x
=
0
⇒
x
=
0
Signatures:
sts
Role:
constant
Description:
This symbol represents the multiplicative identity element.
Commented Mathematical property (CMP):
for all a | 1 * a = a
Formal Mathematical property (FMP):
OpenMath XML (source)
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
<OMBIND>
<OMS cd="quant1" name="forall"/>
<OMBVAR>
<OMV name="a"/>
</OMBVAR>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMA>
<OMS cd="arith1" name="times"/>
<OMS cd="alg1" name="one"/>
<OMV name="a"/>
</OMA>
<OMV name="a"/>
</OMA>
</OMBIND>
</OMOBJ>
Strict Content MathML
<math xmlns="http://www.w3.org/1998/Math/MathML">
<bind><csymbol cd="quant1">forall</csymbol>
<bvar><ci>a</ci></bvar>
<apply><csymbol cd="relation1">eq</csymbol>
<apply><csymbol cd="arith1">times</csymbol><csymbol cd="alg1">one</csymbol><ci>a</ci></apply>
<ci>a</ci>
</apply>
</bind>
</math>
Prefix
Popcorn
quant1.forall[$a -> alg1.one * $a = $a]
Rendered Presentation MathML
Commented Mathematical property (CMP):
for all a | a * 1 = a
Formal Mathematical property (FMP):
OpenMath XML (source)
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
<OMBIND>
<OMS cd="quant1" name="forall"/>
<OMBVAR>
<OMV name="a"/>
</OMBVAR>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMA>
<OMS cd="arith1" name="times"/>
<OMV name="a"/>
<OMS cd="alg1" name="one"/>
</OMA>
<OMV name="a"/>
</OMA>
</OMBIND>
</OMOBJ>
Strict Content MathML
<math xmlns="http://www.w3.org/1998/Math/MathML">
<bind><csymbol cd="quant1">forall</csymbol>
<bvar><ci>a</ci></bvar>
<apply><csymbol cd="relation1">eq</csymbol>
<apply><csymbol cd="arith1">times</csymbol><ci>a</ci><csymbol cd="alg1">one</csymbol></apply>
<ci>a</ci>
</apply>
</bind>
</math>
Prefix
Popcorn
quant1.forall[$a -> $a * alg1.one = $a]
Rendered Presentation MathML
Commented Mathematical property (CMP):
The one of the integers is 1
Formal Mathematical property (FMP):
OpenMath XML (source)
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
<OMBIND>
<OMS cd="quant1" name="forall"/>
<OMBVAR>
<OMV name="x"/>
</OMBVAR>
<OMA>
<OMS cd="logic1" name="implies"/>
<OMA>
<OMS cd="logic1" name="and"/>
<OMA>
<OMS cd="set1" name="in"/>
<OMV name="x"/>
<OMS cd="setname1" name="Z"/>
</OMA>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMV name="x"/>
<OMS cd="alg1" name="one"/>
</OMA>
</OMA>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMV name="x"/>
<OMI>1</OMI>
</OMA>
</OMA>
</OMBIND>
</OMOBJ>
Strict Content MathML
<math xmlns="http://www.w3.org/1998/Math/MathML">
<bind><csymbol cd="quant1">forall</csymbol>
<bvar><ci>x</ci></bvar>
<apply><csymbol cd="logic1">implies</csymbol>
<apply><csymbol cd="logic1">and</csymbol>
<apply><csymbol cd="set1">in</csymbol><ci>x</ci><csymbol cd="setname1">Z</csymbol></apply>
<apply><csymbol cd="relation1">eq</csymbol><ci>x</ci><csymbol cd="alg1">one</csymbol></apply>
</apply>
<apply><csymbol cd="relation1">eq</csymbol><ci>x</ci><cn type="integer">1</cn></apply>
</apply>
</bind>
</math>
Prefix
Popcorn
quant1.forall[$x -> set1.in($x, setname1.Z) and $x = alg1.one ==> $x = 1]
Rendered Presentation MathML
∀
x
.
x
∈
Z
∧
x
=
1
⇒
x
=
1
Signatures:
sts