Browsing Interface : Welcome guest : log in
Home |  Graph |  ]  KB:  Language:   

Formal Language: 



KB Term:  Term intersection
English Word: 

Sigma KEE - StringLengthFn
StringLengthFn

appearance as argument number 1
-------------------------


s__documentation(s__StringLengthFn__m,s__EnglishLanguage,'"This UnaryFunction takes a SymbolicString as its sole argument. The result of evaluating a term formed with StringLengthFn is a NonnegativeInteger that denotes the number of Characters in the SymbolicString. Example: (equal 14 (StringLengthFn "Charles Darwin"))."')

Mid-level-ontology.kif 23468-23473
s__domain(s__StringLengthFn__m,n__1,s__SymbolicString)

Mid-level-ontology.kif 23466-23466 The number 1 argument of StringLengthFn is an instance of symbolic string
s__instance(s__StringLengthFn__m,s__SingleValuedRelation)

s__instance(s__SingleValuedRelation,s__SetOrClass)

Mid-level-ontology.kif 23465-23465 StringLengthFn is an instance of single valued relation
s__instance(s__StringLengthFn__m,s__TotalValuedRelation)

s__instance(s__TotalValuedRelation,s__SetOrClass)

Mid-level-ontology.kif 23464-23464 StringLengthFn is an instance of total valued relation
s__instance(s__StringLengthFn__m,s__UnaryFunction)

s__instance(s__UnaryFunction,s__SetOrClass)

Mid-level-ontology.kif 23463-23463 StringLengthFn is an instance of unary function
s__range(s__StringLengthFn__m,s__NonnegativeInteger)

Mid-level-ontology.kif 23467-23467 The range of StringLengthFn is an instance of nonnegative integer

appearance as argument number 2
-------------------------


s__format(s__ChineseLanguage,s__StringLengthFn__m,'"%1 的 length "')

domainEnglishFormat.kif 4683-4683
s__format(s__ChineseTraditionalLanguage,s__StringLengthFn__m,'"%1 的 length "')

domainEnglishFormat.kif 4682-4682
s__format(s__EnglishLanguage,s__StringLengthFn__m,'"the length of %1"')

domainEnglishFormat.kif 4681-4681

antecedent
-------------------------


( ! [V__OUT,V__IN,V__S,V__PIVOT,V__LEN,V__NEW,V__N] :
   (((s__instance(V__OUT,s__SymbolicString) &
         s__instance(V__IN,s__SymbolicString) &
         s__instance(V__S,s__SymbolicString) &
         s__instance(V__PIVOT,s__Integer) &
         s__instance(V__LEN,s__NonnegativeInteger) &
         s__instance(V__NEW,s__NonnegativeInteger) &
         s__instance(V__N,s__NonnegativeInteger))
       =>
       ((((V__OUT = s__ReverseFn(V__IN))
           &
           (V__LEN = s__StringLengthFn(V__IN))
         &
         s__greaterThan(V__LEN,n__1)
       &
       s__greaterThan(V__N,n__0)
     &
     s__lessThan(V__N,V__LEN)
   &
   (V__PIVOT = s__CeilingFn(s__DivisionFn(s__SubtractionFn(V__LEN,n__1)
  ,n__2)))
&
(V__NEW = s__AdditionFn(s__SubtractionFn(V__PIVOT,V__N)
,V__PIVOT))
&
(V__S = s__SubstringFn(V__IN,V__N,s__AdditionFn(n__1,V__N))))
=>
((V__S = s__SubstringFn(V__OUT,V__NEW,s__AdditionFn(n__1,V__NEW)))))))
)
)

Media.kif 3038-3059
( ! [V__END,V__NAMESTRING,V__START,V__REST,V__THING,V__FIRST] :
   (((s__instance(V__END,s__NonnegativeInteger) &
         s__instance(V__NAMESTRING,s__SymbolicString) &
         s__instance(V__START,s__NonnegativeInteger) &
         s__instance(V__REST,s__SymbolicString) &
         s__instance(V__FIRST,s__SymbolicString))
       =>
       (((s__fullNameIndexOrder(V__NAMESTRING,V__THING)
           &
           s__keyName(V__FIRST,V__NAMESTRING)
         &
         (V__START = s__StringLengthFn(V__FIRST))
       &
       (V__END = s__StringLengthFn(V__NAMESTRING))
     &
     (V__REST = s__SubstringFn(V__NAMESTRING,V__START,V__END)))
=>
(s__stringConcatenation(V__FIRST,V__REST,V__NAMESTRING)))))
)
)

Media.kif 3289-3296
( ! [V__AID,V__L,V__N] :
   (((s__instance(V__L,s__NonnegativeInteger) &
         s__instance(V__N,s__SymbolicString) &
         s__instance(V__N,s__UserAccount))
       =>
       (((s__instance(V__AID,s__AppleID) &
             s__password(V__AID,V__N)
           &
           (V__L = s__StringLengthFn(V__N)))
       =>
       (s__greaterThan(V__L,n__7)))))
)
)

ComputingBrands.kif 1985-1990
( ! [V__END,V__NAMESTRING,V__START,V__REST,V__THING,V__FIRST] :
   (((s__instance(V__END,s__NonnegativeInteger) &
         s__instance(V__NAMESTRING,s__SymbolicString) &
         s__instance(V__START,s__NonnegativeInteger) &
         s__instance(V__REST,s__SymbolicString) &
         s__instance(V__FIRST,s__SymbolicString))
       =>
       (((s__nameIndexOrder(V__NAMESTRING,V__THING)
           &
           s__keyName(V__FIRST,V__NAMESTRING)
         &
         (V__START = s__StringLengthFn(V__FIRST))
       &
       (V__END = s__StringLengthFn(V__NAMESTRING))
     &
     (V__REST = s__SubstringFn(V__NAMESTRING,V__START,V__END)))
=>
(s__stringConcatenation(V__FIRST,V__REST,V__NAMESTRING)))))
)
)

Media.kif 3316-3323
( ! [V__L1,V__L2,V__S1,V__S2] :
   (((s__instance(V__L1,s__NonnegativeInteger) &
         s__instance(V__L2,s__NonnegativeInteger) &
         s__instance(V__S1,s__SymbolicString) &
         s__instance(V__S2,s__SymbolicString))
       =>
       (((s__subString(V__S1,V__S2)
           &
           (V__L1 = s__StringLengthFn(V__S1))
         &
         (V__L2 = s__StringLengthFn(V__S2)))
     =>
     (s__lessThanOrEqualTo(V__L1,V__L2)))))
)
)

Mid-level-ontology.kif 23420-23425

consequent
-------------------------


( ! [V__STRING,V__INT] :
   (((s__instance(V__STRING,s__SymbolicString) &
         s__instance(V__INT,s__NonnegativeInteger))
       =>
       (((s__stringLength(V__INT,V__STRING)
           =>
           (V__INT = s__StringLengthFn(V__STRING)))
       &
       ((V__INT = s__StringLengthFn(V__STRING))
       =>
       s__stringLength(V__INT,V__STRING)))))
)
)

Mid-level-ontology.kif 23487-23489 A symbolic string is a nonnegative integer characters long if and only if the nonnegative integer is equal to the length of the symbolic string
( ! [V__AIR,V__STR] :
   ((s__instance(V__STR,s__SymbolicString) =>
       ((s__codeMapping(s__IACOAirlineCode,V__STR,V__AIR)
         =>
         ((n__3 = s__StringLengthFn(V__STR))))))
)
)

Transportation.kif 3172-3174
( ! [V__AIR,V__STR] :
   ((s__instance(V__STR,s__SymbolicString) =>
       ((s__codeMapping(s__IATAAirlineCode,V__STR,V__AIR)
         =>
         ((n__2 = s__StringLengthFn(V__STR))))))
)
)

Transportation.kif 3159-3161
( ! [V__AOC] :
   ((s__instance(V__AOC,s__AOCnumber) =>
       ((n__8 = s__StringLengthFn(V__AOC))))
   )
)

Transportation.kif 3182-3184


Show full definition with tree view
Show simplified definition (without tree view)
Show simplified definition (with tree view)



Sigma web home      Suggested Upper Merged Ontology (SUMO) web home
Sigma version 3.0 is open source software produced by Articulate Software and its partners