summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc
blob: 819908cf05d159a629a8b00a55144cb2eede057c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0"?>
<!--This OMDoc document is generated from an sTeX-encoded one via LaTeXML, you may want to reconsider editing it.-->
<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="functions.omdoc">
  <omgroup layout="sectioning" xml:id="sec.functions" about="#sec.functions" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">
    <metadata xml:id="sec.functions.p1" about="#sec.functions.p1" stex:srcref="functions.tex#textrange(from=1;0,to=10;12)">
      <dc:title stex:srcref="functions.tex#textrange(from=1;0,to=11;13)" xml:id="sec.functions.p1.p1" about="#sec.functions.p1.p1">
        <p xml:id="sec.functions.p1.p1.p1" about="#sec.functions.p1.p1.p1" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">Functions</p>
      </dc:title>
    </metadata>
    <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="functions" about="#functions" stex:srcref="functions.tex#textrange(from=2;0,to=10;12)">
      <symbol name="cart" xml:id="cart.sym" about="#cart.sym" stex:srcref="functions.tex#textrange(from=3;0,to=3;55)"/>
      <notation cd="functions" name="cart">
        <prototype>
          <om:OMA>
            <om:OMS cd="functions" cr="fun" name="cart"/>
            <exprlist name="args">
              <expr name="arg"/>
            </exprlist>
          </om:OMA>
        </prototype>
        <rendering precedence="500">
          <m:mrow>
            <m:mo egroup="fence" fence="true">(</m:mo>
            <iterate name="args">
              <separator>
                <m:mo cr="fun">×</m:mo>
              </separator>
              <render name="arg"/>
            </iterate>
            <m:mo egroup="fence" fence="true">)</m:mo>
          </m:mrow>
        </rendering>
      </notation>
      <symbol name="fun" xml:id="fun.sym" about="#fun.sym" stex:srcref="functions.tex#textrange(from=4;1,to=4;72)"/>
      <notation cd="functions" name="fun">
        <prototype>
          <om:OMA>
            <om:OMS cd="functions" cr="fun" name="fun"/>
            <expr name="arg1"/>
            <expr name="arg2"/>
            <expr name="arg3"/>
          </om:OMA>
        </prototype>
        <rendering precedence="200">
          <m:mrow>
            <m:mo egroup="fence" fence="true">(</m:mo>
            <render name="arg1" precedence="200"/>
            <m:mo cr="fun">:</m:mo>
            <render name="arg2" precedence="200"/>
            <m:mo cr="fun">→</m:mo>
            <render name="arg3" precedence="200"/>
            <m:mo egroup="fence" fence="true">)</m:mo>
          </m:mrow>
        </rendering>
      </notation>
      <symbol name="inset" xml:id="inset.sym" about="#inset.sym" stex:srcref="functions.tex#textrange(from=5;1,to=5;46)"/>
      <notation cd="functions" name="inset">
        <prototype>
          <om:OMA>
            <om:OMS cd="functions" cr="fun" name="inset"/>
            <expr name="arg1"/>
            <expr name="arg2"/>
          </om:OMA>
        </prototype>
        <rendering precedence="650">
          <m:mrow>
            <m:mo egroup="fence" fence="true">(</m:mo>
            <render name="arg1" precedence="650"/>
            <m:mo cr="fun">∈</m:mo>
            <render name="arg2" precedence="650"/>
            <m:mo egroup="fence" fence="true">)</m:mo>
          </m:mrow>
        </rendering>
      </notation>
      <symbol name="function" xml:id="function.def.sym" about="#function.def.sym" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)"/>
      <definition for="function" xml:id="functions.def" about="#functions.def" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
        <CMP xml:id="functions.def.p1" about="#functions.def.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
          <p xml:id="functions.def.p1.p1" about="#functions.def.p1.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
A <idx xml:id="functions.def.p1.p1.p1" about="#functions.def.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)"><idt><term cd="functions" name="function" role="definiendum" xml:id="functions.def.p1.p1.p1.p1" about="#functions.def.p1.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)">function</term></idt><ide index="default"><idp><phrase>function</phrase></idp></ide></idx><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ> is a left-total, right-unique relation in <om:OMOBJ><om:OMA><om:OMS cd="functions" name="cart"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ></p>
        </CMP>
      </definition>
    </theory>
  </omgroup>
  <!--The data elements-->
</omdoc>