Mova0.6 pre-release

Lojban: an emblem of the logical language, for all and there is 23. Numbers and mathematical expressions mekso

A numerical string can count arguments, supply a rank for a predicate, or enter a mathematical expression, a mekso. To use the value of a mathematical expression as an argument (sumti), put it inside li … lo'o. These constructions can share the same digit words while assigning them different grammatical roles. (The Logical Language Group 1997, §§ 95, 97, 152, 300–312)

Digits, numerical strings and number punctuation

The decimal digits are words of selma'o PA. Each position in a numerical string has its own digit, so pa no re represents 102. The initial digit does not need a special form. The word list also supplies six digit values for bases that need more than ten digits. The letters in the rightmost column are conventional written digit symbols. Lojban represents the corresponding values with the PA words in the middle column. (The Logical Language Group 1994, § cmavo list, PA)

ValueLojban digit wordDigit symbol
0no0
1pa1
2re2
3ci3
4vo4
5mu5
6xa6
7ze7
8bi8
9so9
10dauA
11feiB
12gaiC
13jauD
14reiE
15vaiF

The machine grammar's number production begins with one PA word. Each following element may be another PA word or a letteral word. Thus the syntactic category includes signed numerals, approximations and indefinite quantifiers as well as strings made solely of digits. A string that starts with a letteral enters the separate lerfu-string production, which also permits digits and other PA words after its first element. In both productions, the grammatical category of the first element determines which production applies. The production determines the shape of the string. Its interpretation still depends on the words in it and, where relevant, on the radix or other numerical convention. (The Logical Language Group 1997, §§ 812, 817, 987)

The words below occur inside numerical strings. pi marks the radix point, which is a decimal point in base ten. Within the integer part of a decimal numeral, each ki'o separates groups of three digit positions, counted from the right. A short group to the right of a separator is read with leading zeros, and an empty group supplies three zeros. pi'e separates fields whose interpretation depends on the notation in use, such as the day and month in a date. Each field can contain several digits. (The Logical Language Group 1994, § cmavo list, PA)

WordNumerical useForm, gloss and interpretation
ma'uPositive sign before a magnitudema'u ci — positive three — “+3” (constructed)
ni'uNegative sign before a magnitudeni'u ci — negative three — “−3” (constructed)
piRadix pointci pi pa vo — three point one four — “3.14” (constructed)
ki'oSeparator for groups of three decimal positionspa ki'o re — one group-separator two — “1,002” (constructed)
pi'eSeparator between numerical fields23 pi'e 3 — twenty-three field-separator three — “23 March” in the cited date context (wiki:cteduncitsi)
fi'uFraction separator between numerator and denominatorci fi'u vo — three fraction four — “three quarters” (constructed)
ra'eBeginning of the repeating part of a fractional expansionno pi ra'e ci — zero point repeating three — “0.333…” (constructed)
ce'iPercent marker following a valuere mu ce'i — two five percent — “25 percent” (constructed)
ji'iApproximation marker, placed before the value in these examplesji'i ciki'oki'oki'o — approximately three followed by three groups of zeros — “about three billion” (wiki:xindo ropno bangu)

The corpus also uses figures within Lojban text. In su'o 27,000 frejutsi (wiki:finpe), the gloss is at.least 27,000 species and the translation is “at least 27,000 species.” In ci plise (wiki:kacna'u), the gloss is three apple and the translation is “three apples.” In both phrases, the numerical expression is in the quantifier position before a predicate. The machine grammar expresses the word-based pattern through PA and the quantifier production. (The Logical Language Group 1997, §§ 95, 300, 812)

Counts, bounds and numerical questions

An unqualified digit string can give an exact count. A bound word changes the condition on the count. In the table, (n) is the numerical amount following the bound word. The vague quantifiers select amounts relative to a domain, a comparison or a purpose supplied by the context. xo asks for the numerical amount in its current position. (The Logical Language Group 1994, § cmavo list, PA)

FormInterpretation in a count
noZero
roAll members of the relevant domain
so'aAlmost all
so'eMost
so'iMany
so'oSeveral
so'uFew
su'o followed by (n)At least (n), including (n)
su'e followed by (n)At most (n), including (n)
za'u followed by (n)More than (n)
me'i followed by (n)Fewer than (n)
da'a followed by (n)All except (n)
rauEnough
du'eToo many
mo'aToo few
xoHow many, or what numerical value

The corpus phrase su'o panonoki'oki'o remna (wiki:xindo ropno bangu) is glossed at.least one zero zero group group human, “at least one hundred million people.” Here su'o applies to the whole grouped number. The corpus phrase no drata terdi (wiki:terdi) is glossed zero other planet, “no other planet.” Here no counts the individuals that satisfy drata terdi. (The Logical Language Group 1994, § cmavo list, no, su'o, ki'o; The Logical Language Group 1997, §§ 95, 300, 812)

Where the string ends

boi can close a plain number used as a quantifier or close a letteral string used as an operand or a direct sumti. Write it where following material could continue the string or where the intended boundaries otherwise need an explicit marker. In particular, two consecutive digit strings serving as separate operands require a boundary. An operator between the strings already separates them. boi is elidable where the intended parse survives its omission. A quantifier formed with vei has its own closing word, ve'o. (The Logical Language Group 1997, §§ 97, 300, 385, 812, 817)

FormGlossInterpretation
re citwo threeOne string, “23” (constructed)
re boi citwo end.string threeTwo strings, “2” and “3,” in a construction that admits successive operands (constructed)
re su'i citwo plus threeTwo operands separated by addition, “2 + 3” (constructed)

Ordinals and numerical predicates

A MOI word immediately after a number or a letteral string forms a predicate unit. For instance, ci moi is an ordinal predicate and can also be written cimoi. The suffix marks the end of the string in this construction. The formal pattern is a number or a letteral string followed by MOI. For the value of a full expression, use the me … me'u construction described in section 8. (The Logical Language Group 1997, § 152; Hagiwara, Ilmen and lagleki 2014, § MOI_no_SA_handling)

The places below are the argument positions of the resulting predicate. The value supplied before the suffix is (n).

MOI wordPredicate formedPlace structure
moiOrdinal(x_1) ranks (n)th in set (x_2) by ordering rule (x_3).
meiCardinality(x_1) is the mass formed from set (x_2) of (n) members, with (x_3) a member of that set.
si'eProportion(x_1) is the portion of mass (x_2) given by proportion (n).
cu'oProbabilityEvent (x_1) has probability (n) under conditions (x_2).
va'ePosition on a scale(x_1) is at position (n) on scale (x_2).

(The Logical Language Group 1994, § cmavo list, MOI)

With moi, the relevant set and the rule for ordering it are separate places. The rank can be understood when the ordering rule is left to context. mei instead predicates cardinality, with its own places. A count before a predicate uses the quantifier construction and has no MOI suffix. (The Logical Language Group 1994, § cmavo list, moi, mei; The Logical Language Group 1997, §§ 95, 152)

FormGlossTranslation
cimoi lo'i plini be la solrithree.ORD set.of planet LINK NAME Sun“third among the planets of the Sun” (wiki:terdi)
pamoi le'i namcu klesione.ORD the.set.of number class“first among the classes of numbers” (wiki:kacna'u)
ci plisethree apple“three apples” (wiki:kacna'u)
mu meifive.CARD“is a group of five” (constructed)
pi mu si'epoint five PROPORTION“is half of it” (constructed)
pi mu cu'opoint five PROBABILITY“has a probability of one half” (constructed)
ci va'ethree SCALE“is at position three on the scale” (constructed)

A numerical question can occupy the suffix's input position. In ti xo moi (constructed), the gloss is this what.number ORD and the translation is “What place does this come in?” The question is about rank. The predicate formed with moi still has its set and ordering places. (The Logical Language Group 1994, § cmavo list, xo, moi; The Logical Language Group 1997, § 152)

Numerical arguments with li and lo'o

li opens a sumti whose content is a mathematical expression. lo'o closes that sumti and is elidable when the following syntax identifies the endpoint. The expression may be a single operand or an expression with operators. Either way, the entire li … lo'o construction fills one argument position. Thus li ci supplies the number three, and li re su'i pa supplies the value of two plus one. (The Logical Language Group 1997, §§ 97, 310–312; Hagiwara, Ilmen and lagleki 2014, §§ LI_clause, LOhO_clause)

FormGlossTranslation
li 0NUM zero“zero” (wiki:kacna'u)
de'i li 1987dated NUM 1987“in 1987” (wiki:lo jbobau)
li ji'i 23 pi'e 3 lo'oNUM approximately twenty-three field-separator three END.NUM“approximately 23 March” in context (wiki:cteduncitsi)
li re su'i pa lo'o du li ciNUM two plus one END.NUM be.identical.to NUM three“Two plus one equals three.” (constructed)

The terminators operate at different levels. boi ends a string where the string's production permits it. ve'o ends an expression grouped by vei. lo'o ends the numerical sumti. With more than one level open, explicit terminators show where each construction ends. (The Logical Language Group 1997, §§ 97, 300, 385)

Values, descriptions and quantification

An outer quantifier can precede a sumti or form a quantified argument directly with a following predicate. A description also has a position for an inner quantifier before its predicate. The outer position governs how many referents are taken for the argument at hand. The inner position belongs to the description itself. A quantifier can be a number, optionally closed by boi, or a mathematical expression introduced by vei, optionally closed by ve'o. A quantifier can also appear on its own as a fragment. (The Logical Language Group 1997, §§ 20, 95, 97, 111–112, 300)

FormGlossInterpretation
ci plisethree apple“three apples,” with a quantifier directly before the predicate (wiki:kacna'u)
re le plisetwo the apple“two of the apples,” with an outer quantifier (constructed)
le re plisethe two apple“the two apples,” with an inner quantifier (constructed)
vei pa su'i re ve'o pliseGROUP one plus two END.GROUP apple“three apples,” with a computed count (constructed)
li ciNUM three“the number three,” as the value of an argument (constructed)
lo namcuDESC number“a number,” identified by a description (constructed)

A numerical sumti can occupy the same clause position as a description, a name, a quotation or a pro-argument. The expression chosen determines the way the referent is supplied. zo ci quotes the word ci, glossed QUOTE.WORD three, “the word ci” (constructed). li ci, glossed NUM three, supplies the numerical value. The LA construction introduces names, and the LE construction makes descriptions. Forms such as mi “I” and ti “this” can fill the sumti position directly. (The Logical Language Group 1994, § cmavo list, zo, li, mi, ti; The Logical Language Group 1997, § 97)

ma asks for an argument. xo asks for a number within a numerical construction, so it can ask for a count before a description, a rank before moi, or a value inside li. Use li xo when the form of the question explicitly identifies its answer as a numerical value. (The Logical Language Group 1994, § cmavo list, ma, xo; The Logical Language Group 1997, §§ 95, 97, 152, 300, 385)

FormGlossTranslation
xo plisehow.many apple“how many apples” (constructed)
li xo du li ci su'i reNUM what.number be.identical.to NUM three plus two“What number equals three plus two?” (constructed)
ma du tiwhat.ARG be.identical.to this“What is this identical to?” (constructed)

Restriction, binding and negation

A sumti built with li can take relative material in the ordinary sumti construction. A NOI relative introduces a subordinate clause and closes with elidable ku'o. A GOI relative introduces a term and closes with elidable ge'u. zi'e joins successive relatives. A restrictive poi clause narrows the set available to a quantifier, and ke'a within a relative clause can refer back to the argument it modifies. (The Logical Language Group 1994, § cmavo list, poi, ke'a, zi'e; The Logical Language Group 1997, §§ 95, 121–122)

FormGlossTranslation
ro namcu poi na mleca li 0every number REL NEG be.less.than NUM zero“every number that is not less than zero” (wiki:kacna'u)
ro namcu poi ke'a zmadu li no ku'oevery number REL REL.PRO exceed NUM zero END.REL“every number that exceeds zero” (constructed)
li re goi ko'a ge'uNUM two ASSIGN PRO END.PHRASE“the number two, referred to as ko'a” (constructed)

A prenex consists of terms followed by zo'u. A quantified pro-argument such as ro da or su'o da can bind da for the statement or subsentence that follows. de and di provide further logical variables. A restriction on the prenex term specifies the domain of that binding. In the constructed example below, li no is the fixed numerical argument of the comparison, while da ranges over numbers. (The Logical Language Group 1994, § cmavo list, da, de, di, zo'u; The Logical Language Group 1997, §§ 11, 30, 41, 80–83, 95, 97)

FormGlossTranslation
su'o da poi namcu ku'o zo'u da mleca li noat.least.one VAR REL number END.REL PRENEX VAR be.less.than NUM zero“At least one number is less than zero.” (constructed)
ro da poi namcu ku'o zo'u da na mleca li noevery VAR REL number END.REL PRENEX VAR NEG be.less.than NUM zero“Every number is such that it is not less than zero.” (constructed)
li ni'u pa mleca li noNUM negative one be.less.than NUM zero“Negative one is less than zero.” (constructed)

The second example places na in the clause governed by the prenex. The universal quantifier thus ranges over the individuals of which the negated comparison is asserted. In the corpus phrase ro namcu poi na mleca li 0, the relative clause contains na, so the negation belongs to the restriction. In li ni'u pa, the sign belongs inside the number string. A zero quantifier such as no before a predicate sets the count to zero. These placements identify the scope of each form. (The Logical Language Group 1994, § cmavo list, na, ni'u, no; The Logical Language Group 1997, §§ 30, 95, 122, 130–131, 812)

Letterals lerfu and their use as operands

A lerfu is a letteral. In a mathematical expression, a letteral string can be an operand, as when a letter stands for a value. It can also stand directly as a sumti in clause grammar. In both roles boi can close the string. A letteral string begins with a letteral word and may continue with either PA words or further letteral words. This permits an identifier containing both letters and digits. A PA word in the initial position instead gives the string the formal shape of a number. (The Logical Language Group 1997, §§ 97, 385, 812, 817)

The machine grammar admits four ways of forming a letteral word. A compound with tei … foi counts as one letteral word at the outer level, even when the enclosed string contains several elements. A LAU prefix takes a letteral word, so its input can itself be a compound or another prefixed letteral. (The Logical Language Group 1997, § 987)

FormationCondition
A BY wordUse a letteral word from the lexical class, such as by for B.
A word followed by bu (BU)Turn the preceding word into a letteral.
A LAU word followed by a letteral wordApply the letteral modifier to that word.
tei followed by a letteral string and foiCombine the enclosed string into one letteral word.

Letteral syntax gives the form of a symbol. Its referent or mathematical value is supplied by the context or a stated assignment. An expression with a letteral operand can represent an equation involving a variable. The use of a letteral in that equation does not itself introduce a prenex quantifier. (The Logical Language Group 1994, § cmavo list, BY, BU; The Logical Language Group 1997, §§ 30, 97, 385, 817, 987)

FormGlossInterpretation
by pa boiB one END.STRING“B1,” a single letteral string (constructed)
tei by cy foiLETTER.GROUP B C END.LETTER.GROUPOne compound letteral made from B and C (constructed)
li by su'i pa lo'o du li ciNUM B plus one END.NUM be.identical.to NUM three“B plus one equals three.” (constructed)
by boi cu namcuB END.STRING PRED number“B is a number,” with the letteral as the clause's argument (constructed)

Operators, operands and expression grouping

An operand supplies material to an operation. A basic mathematical operator can be a VUhU word, such as su'i for addition or pi'i for multiplication. The grammar also derives operators from expressions and predicates, permits conversion and qualification of operators, and combines operators through connectives. The VUhU class establishes the syntactic role. The particular operation determines the number and interpretation of its inputs. (The Logical Language Group 1994, § cmavo list, VUhU; The Logical Language Group 1997, §§ 370–374; Hagiwara, Ilmen and lagleki 2014, § VUhU_no_SA_handling)

Operator exampleOperation
su'iAddition
vu'uSubtraction
pi'iMultiplication
fe'iDivision
te'aRaising to a power
ju'uInterpreting a numeral in a specified base
va'aAdditive inverse

(The Logical Language Group 1994, § cmavo list, the corresponding VUhU entries)

Operand forms

At the innermost operand level, the baseline grammar admits the following alternatives. An operand may then take the connective constructions summarized below. (The Logical Language Group 1997, §§ 300, 381–385)

Operand formContent and boundary
QuantifierA number with elidable boi, or vei plus a mekso with elidable ve'o
Letteral stringA string beginning with a letteral word, with elidable boi
ni'e … te'uA predicate used as an operand
mo'e … te'uA sumti used as an operand
jo'i … te'uAn array with one or more entries, each at the operand or forethought expression level
Forethought connective constructionA gek opener, an operand, a gik separator and an innermost operand as the second branch
LAhE … lu'u or NAhE bo … lu'uAn operand modified by the introductory form, with elidable lu'u

vei … ve'o encloses a full mekso and makes it available as one quantifier or one operand. The enclosed expression may itself contain an operator sequence or begin with fu'a. A plain jo'i entry is at the same syntactic level as an operand or a forethought application. Enclose an infix computation in vei … ve'o to use it as one array entry. As with successive forethought operands, boi can separate adjacent array entries that would otherwise form a single string. (The Logical Language Group 1997, §§ 300, 310–312, 385)

FormGlossInterpretation
vei re su'i ci ve'o pi'i voGROUP two plus three END.GROUP times four“(2 + 3) × 4” (constructed)
jo'i pa boi re boi ci te'uARRAY one END.STRING two END.STRING three END.CONVERSION“the array with entries 1, 2, 3” (constructed)
jo'i pa boi vei re su'i ci ve'o te'uARRAY one END.STRING GROUP two plus three END.GROUP END.CONVERSION“the array with entries 1 and 2 + 3” (constructed)

Grouping connected operators and operands

Connectives can join operands and can also join operators. The grammatical patterns differ at these two levels. For operands, the ordinary afterthought connection uses a sumti-type logical connective or a nonlogical connective. For operators, the pattern uses a predicate-type logical connective or a nonlogical connective. Each level also has a tight bo construction, a ke … ke'e construction for a grouped connected branch, and a forethought construction with a medial gik. The operator syntax additionally admits ke … ke'e directly around an operator. The general enclosure for a numerical computation is vei … ve'o. (The Logical Language Group 1997, §§ 300, 370–385, 421–422, 802, 805–808, 816, 932)

LevelOrdinary afterthought connectionTight or grouped connectionForethought connection
Operandjoik or ekek or joik with optional simple tag and bo, or with optional simple tag and ke … ke'egek … gik …
Operatorjoik or jekjek or joik with optional simple tag and bo. The grouped branch after a connective uses joik, optional simple tag and ke … ke'e.guhek … gik …

In these construction names, ek uses an A connective and jek uses a JA connective. joik covers the nonlogical connective and interval patterns. gek and guhek open forethought connections, with gik marking the start of the second branch. Their grammatical position specifies whether the connected material belongs to an operand or an operator. (The Logical Language Group 1997, §§ 370–385, 802, 805–808, 816, 932)

For example, ge re gi ci (constructed), glossed both two and three, is a connected operand in a position that admits an operand. The words ge and gi mark the two branches. In re su'i ci (constructed), glossed two plus three, the operator takes the two values as inputs and the expression has the value five. (The Logical Language Group 1994, § cmavo list, ge, gi, su'i; The Logical Language Group 1997, §§ 310–312, 385, 807, 816)

Infix, forethought and reverse Polish notation

Lojban has three placements for mathematical operators. The place of the operator and the syntactic level of its inputs determine how each application is built.

NotationConstructionForm, gloss and translation
InfixBegin with an expression unit. Each continuation places an operator before the next unit.re su'i ci — two plus three — “2 + 3” (constructed)
ForethoughtPut the operator before one or more operand-level or forethought units. The opening pe'o is optional where the construction can be read without it. The ending ku'e is elidable.pe'o su'i re boi ci ku'e — FORETHOUGHT plus two END.STRING three END.FORETHOUGHT — “2 + 3” (constructed)
Reverse PolishBegin the expression with fu'a. Each application puts two inputs before its operator. An input can itself be a reverse Polish application.fu'a re boi ci su'i — RPN two END.STRING three plus — “2 + 3” (constructed)

(The Logical Language Group 1997, §§ 310–312, 330, 332; Hagiwara, Ilmen and lagleki 2014, § KUhE_clause)

Infix and forethought

An infix step joins the value on its left to the expression unit on its right. An expression with a single unit also satisfies the infix-level production. Within an ordinary infix chain, each unit may itself be an operand or a forethought application. The ordinary chain associates to the left, subject to explicit grouping and bi'e. (The Logical Language Group 1997, §§ 310–312)

In forethought notation the list of operands starts immediately after the operator. ku'e marks where that operation's list ends. This boundary matters when a nested application ends before another operand of the surrounding operator. An operand-level unit may be a grouped expression, so vei … ve'o can protect a complete infix calculation as one input. The forethought production allows one or more units after the operator. The operation still determines which operand count gives the intended interpretation. (The Logical Language Group 1997, §§ 300, 310–312)

FormGlossTranslation
pe'o va'a ci ku'eFORETHOUGHT additive.inverse three END.FORETHOUGHT“the additive inverse of three” (constructed)
pe'o pi'i pe'o su'i re boi ci ku'e vo ku'eFORETHOUGHT times FORETHOUGHT plus two END.STRING three END.FORETHOUGHT four END.FORETHOUGHT“multiply the sum of two and three by four” (constructed)
pe'o pi'i vei re su'i ci ve'o vo ku'eFORETHOUGHT times GROUP two plus three END.GROUP four END.FORETHOUGHT“multiply (2 + 3) by 4” (constructed)

In the nested example, the first ku'e closes the addition before vo is supplied as the second input to multiplication. In the grouped example, ve'o closes the full infix expression in the first input position. Each example represents ((2+3)\times4). (The Logical Language Group 1997, §§ 300, 312)

Reverse Polish expressions

fu'a introduces the reverse Polish alternative for a full mekso. The baseline rule builds an application from two reverse Polish operands followed by one operator. Each of those operands can be an ordinary operand or another reverse Polish application. A nested reverse Polish application uses that recursive pattern directly. A separately enclosed mekso within an ordinary operand has its own choice of notation. There is no dedicated closing word for fu'a. The binary pattern determines the end of the application, and any enclosing construction has its own boundary. (The Logical Language Group 1997, §§ 300, 310, 330, 332, 385)

FormGlossTranslation
fu'a re boi ci boi vo pi'i su'iRPN two END.STRING three END.STRING four times plus“2 + (3 × 4)” (constructed)
fu'a re boi ci su'i vo pi'iRPN two END.STRING three plus four times“(2 + 3) × 4” (constructed)
li fu'a re boi ci su'i lo'oNUM RPN two END.STRING three plus END.NUM“the value of two plus three” as a sumti (constructed)

The first sequence completes multiplication on the two most recent operands, three and four, then uses that result with two in the addition. In the second, addition has already formed the left input to multiplication when four is read. In the last, lo'o closes the sumti that contains the reverse Polish expression. (The Logical Language Group 1997, §§ 97, 310, 330, 332)

Operator priority and explicit precedence

An unmarked infix chain groups from the left. The baseline assigns no special infix rank to multiplication, division or exponentiation as lexical classes. bi'e immediately precedes the operator whose application is to bind more tightly at that point. vei … ve'o can state the intended grouping by making an enclosed expression one operand. (The Logical Language Group 1994, § cmavo list, bi'e; The Logical Language Group 1997, §§ 300, 310–312)

FormGlossGrouping and value
re su'i ci pi'i votwo plus three times four(2 + 3) × 4 = 20 (constructed)
re su'i ci bi'e pi'i votwo plus three PRIORITY times four2 + (3 × 4) = 14 (constructed)
re su'i vei ci pi'i vo ve'otwo plus GROUP three times four END.GROUP2 + (3 × 4) = 14 (constructed)
vei re su'i ci ve'o pi'i voGROUP two plus three END.GROUP times four(2 + 3) × 4 = 20 (constructed)

The high-priority production takes another unit of the same level on its right. A series of successive bi'e applications therefore groups to the right within that series. Ordinary operators between completed units still group from the left. The reach of bi'e follows the expression structure of the particular occurrence. (The Logical Language Group 1997, §§ 310–312)

FormGlossGrouping and value
pa no vu'u ci vu'u reone zero minus three minus two(10 − 3) − 2 = 5 (constructed)
pa no bi'e vu'u ci bi'e vu'u reone zero PRIORITY minus three PRIORITY minus two10 − (3 − 2) = 9 (constructed)

bi'e belongs to infix expression structure. Forethought nesting follows the structure opened by an operator and bounded by ku'e or by an unambiguous endpoint. Reverse Polish nesting follows the order of the two inputs and their operator. If a forethought or reverse Polish operand encloses a new infix expression with vei, the infix rules apply within that enclosure. (The Logical Language Group 1997, §§ 300, 310–312, 330, 332)

Conversions between predicates, arguments and mathematical expressions

Conversion words let material in one grammatical category fill a role normally occupied by another. Each conversion takes a specific input. For example, ni'e takes a predicate and mo'e takes an argument, although both yield operands. The terminator te'u is shared by several operand and operator constructions. Reserve lo'o for closing the numerical sumti introduced by li. (The Logical Language Group 1997, §§ 97, 152, 374, 385)

FormInputResultClosing word in the baseline
li … lo'oA full meksoNumerical sumtiElidable lo'o
vei … ve'oA full meksoQuantifier, also usable in an operand positionElidable ve'o
ni'e … te'uA selbriOperand derived from a predicateElidable te'u
mo'e … te'uA sumtiOperand supplied by an argumentElidable te'u
jo'i … te'uOne or more operand-level or forethought unitsArray operandElidable te'u
ma'o … te'uA full meksoMathematical operator designated by that expressionElidable te'u
na'u … te'uA selbriMathematical operator derived from a predicateElidable te'u
nu'a followed by a mathematical operatorAn operator of the mex-operator productionPredicate unitThe operator's own delimiters, where applicable
me … me'u with optional following MOIA sumtiPredicate unit, with the specified numerical predicate when MOI applies to a numerical valueElidable me'u before any MOI
Number or letteral string followed by MOIA number or letteral stringNumerical predicate unitThe MOI word ends the input string

(The Logical Language Group 1994, § cmavo list, li, vei, ni'e, mo'e, jo'i, ma'o, na'u, nu'a, me, MOI; The Logical Language Group 1997, §§ 97, 152, 300, 374, 385)

From an operand to an operator or predicate

ma'o allows an expression, including a letteral operand, to designate an operation. In ma'o fy te'u, fy supplies the symbol F. Its mathematical interpretation determines which function is meant. With na'u, a predicate itself supplies the relation used as the operation. The surrounding mathematical expression then supplies the operands. SE and NAhE can also prefix a mathematical operator. Both prefixes take another mex-operator, so they can qualify a converted operator as well as a VUhU word. (The Logical Language Group 1994, § cmavo list, ma'o, na'u, SE, NAhE; The Logical Language Group 1997, §§ 370–374)

nu'a places the operator in predicate syntax. The predicate can relate a result to the inputs that produce it. Its first place is the result, and the inputs occupy the following places in their operation order. The syntactic input after nu'a is a mathematical operator of the mex-operator production. The baseline also permits that production inside the wider operator syntax used for connected operators. (The Logical Language Group 1994, § cmavo list, nu'a; The Logical Language Group 1997, §§ 152, 370–374)

FormGlossTranslation
pe'o ma'o fy te'u re ku'eFORETHOUGHT MEX.TO.OP F END.CONVERSION two END.FORETHOUGHT“F applied to two” (constructed)
pe'o na'u pilji te'u re boi ci ku'eFORETHOUGHT PRED.TO.OP product END.CONVERSION two END.STRING three END.FORETHOUGHT“the product of two and three” (constructed)
li mu cu nu'a su'i li re li ciNUM five PRED OP.TO.PRED plus NUM two NUM three“Five is the sum of two and three.” (constructed)

From an argument or predicate to an operand

mo'e introduces a sumti into operand syntax. Because the input is a complete sumti, it can contain its own delimiters and relative material. ni'e places a selbri in operand syntax. In either case, the mathematical context supplies the interpretation of the converted material. The syntax identifies the category and the boundaries of the input. (The Logical Language Group 1994, § cmavo list, mo'e, ni'e, te'u; The Logical Language Group 1997, §§ 90–97, 130, 385)

FormGlossInterpretation
mo'e li re lo'o te'uARG.TO.OPERAND NUM two END.NUM END.CONVERSIONThe argument supplying the value two, used as an operand (constructed)
ni'e klani te'uPRED.TO.OPERAND be.a.quantity END.CONVERSIONThe quantity predicate used as an operand (constructed)
li mo'e li re lo'o te'u su'i pa lo'oNUM ARG.TO.OPERAND NUM two END.NUM END.CONVERSION plus one END.NUM“the value of two plus one” as a sumti (constructed)

The last example uses three boundaries. The first lo'o ends the sumti that is the input to mo'e. te'u ends the operand made by mo'e. The last lo'o ends the outer numerical sumti. Where omission leaves only the intended structure, the corresponding terminator can be elided. (The Logical Language Group 1997, §§ 97, 310–312, 385)

Using a computed value as a count or rank

vei … ve'o supplies a computed quantifier in the positions that take a quantifier. For a computed rank, li … lo'o supplies the value as a sumti, me … me'u takes that sumti, and the following moi supplies the ordinal predicate. Compare ci moi, whose input is the simple string ci. (The Logical Language Group 1997, §§ 95, 97, 152, 300)

FormGlossTranslation
vei re su'i pa ve'o pliseGROUP two plus one END.GROUP apple“three apples,” with the number computed (constructed)
ci moithree ORD“is third” (constructed)
me li re su'i pa lo'o me'u moiARG.TO.PRED NUM two plus one END.NUM END.ARG.TO.PRED ORD“is third,” with the rank computed as two plus one (constructed)

How Mova handles Lojban numerical and mathematical expressions

Mova has no level-2 parser model for Lojban (jbo). When tools/mova-parse receives a span identified as a language without a model, it reports that in the # parse comment. For jbo, its output leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL as _ and assigns Parse=None in MISC. tools/langseg has neither a Lojban lexicon nor a Lojban language code, so it cannot identify Lojban spans among other Latin-script text.

Mova has no Lojban word breaker, grammar or parser. It does not carry out the tokenization, tagging, lemmatization or parsing needed for the numerical strings, letterals, quantifiers, sumti and expressions in this chapter. It has no Lojban mapping to Universal Dependencies, frames or pragmatics. prag and world read English trees and have no Lojban trees to read. Mova has no annotated Lojban corpus or measured Lojban treebank baseline.

The research library holds the 1997 YACC and EBNF baseline grammars, the ilmentufa camxes.peg grammar, and the official gismu, cmavo, rafsi and lujvo lists. Mova's code does not use these materials. Squid turns the chapter's grammatical points into claims and queues the formalizable claims for a place in the code. None of this chapter's rules is implemented. The initial points for implementation are those needed for a tokenizer, a tagger and a Universal Dependencies treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/jbo/23-numbers-and-mekso/