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"/>
<OMV name="lst1"/>
<OMV name="lst2"/>
</OMBVAR>
<OMA>
<OMS cd="relation1" name="eq"/>
<OMA>
<OMS cd="list2" name="cons"/>
<OMV name="a"/>
<OMA>
<OMS cd="list2" name="append"/>
<OMV name="lst1"/>
<OMV name="lst2"/>
</OMA>
</OMA>
<OMA>
<OMS cd="list2" name="append"/>
<OMA>
<OMS cd="list2" name="cons"/>
<OMV name="a"/>
<OMV name="lst1"/>
</OMA>
<OMV name="lst2"/>
</OMA>
</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>
<bvar><ci>lst1</ci></bvar>
<bvar><ci>lst2</ci></bvar>
<apply><csymbol cd="relation1">eq</csymbol>
<apply><csymbol cd="list2">cons</csymbol>
<ci>a</ci>
<apply><csymbol cd="list2">append</csymbol><ci>lst1</ci><ci>lst2</ci></apply>
</apply>
<apply><csymbol cd="list2">append</csymbol>
<apply><csymbol cd="list2">cons</csymbol><ci>a</ci><ci>lst1</ci></apply>
<ci>lst2</ci>
</apply>
</apply>
</bind>
</math>
Popcorn
quant1.forall[$a, $lst1, $lst2 -> list2.cons($a, list2.append($lst1, $lst2)) = list2.append(list2.cons($a, $lst1), $lst2)]
Rendered Presentation MathML
∀
a
,
lst
1
,
lst
2
.
cons
(
a
,
append
(
lst
1
,
lst
2
)
)
=
append
(
cons
(
a
,
lst
1
)
,
lst
2
)