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

Formal Language: 



KB Term:  Term intersection
English Word: 

Sigma KEE - ListSumFn
ListSumFn

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


(documentation ListSumFn EnglishLanguage "The sum of all the numbers in a List.") Merge.kif 3126-3126
(domain ListSumFn 1 List) Merge.kif 3124-3124 The number 1 argument of the &%sum of elements in %1 is an instance of list
(instance ListSumFn UnaryFunction) Merge.kif 3123-3123 The &%sum of elements in %1 is an instance of unary function
(range ListSumFn Number) Merge.kif 3125-3125 The range of the &%sum of elements in %1 is an instance of number

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


(format EnglishLanguage ListSumFn "the sum of %1") Merge.kif 3127-3127
(termFormat EnglishLanguage ListSumFn "the sum of elements in %1") Merge.kif 3128-3128

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


(=>
    (and
        (equal ?A
            (ListSumFn ?L))
        (equal 1
            (ListLengthFn ?L)))
    (equal ?A
        (ListOrderFn ?L 1)))
Merge.kif 3136-3140
(=>
    (and
        (equal ?A
            (ListSumFn ?L))
        (greaterThan
            (ListLengthFn ?L) 1))
    (equal ?A
        (AdditionFn
            (FirstFn ?L)
            (ListSumFn
                (SubListFn 2
                    (ListLengthFn ?L) ?L)))))
Merge.kif 3142-3152
(=>
    (and
        (equal ?SUM
            (ListSumFn ?L))
        (equal ?N
            (ListOrderFn ?L ?S)))
    (instance ?N Number))
Merge.kif 3130-3134

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


(=>
    (and
        (equal ?A
            (AverageFn ?L))
        (greaterThan
            (ListLengthFn ?L) 0))
    (equal ?A
        (DivisionFn
            (ListSumFn ?L)
            (ListLengthFn ?L))))
Merge.kif 3161-3168
(=>
    (and
        (equal ?A
            (ListSumFn ?L))
        (greaterThan
            (ListLengthFn ?L) 1))
    (equal ?A
        (AdditionFn
            (FirstFn ?L)
            (ListSumFn
                (SubListFn 2
                    (ListLengthFn ?L) ?L)))))
Merge.kif 3142-3152


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