![]() |
![]() Browsing Interface : Welcome guest : log in |
[
Home | 
Graph | 
LogLearn |
Editor |
]
KB:
Language:
Formal Language:
|
| NumberOfDaysInMonthFn |
| appearance as argument number 1 |
|
|
| appearance as argument number 2 |
|
|
| (termFormat EnglishLanguage NumberOfDaysInMonthFn "number of days in the month") | Weather.kif 664-664 | |
| (format EnglishLanguage NumberOfDaysInMonthFn "Number of days in month %1 and year %2") | Weather.kif 665-665 |
| antecedent |
|
|
| (=> (and (equal ?L (DailyTempListFn ?W ?M ?Y)) (inList ?T ?L) (equal ?DAYS (NumberOfDaysInMonthFn ?M ?Y))) (exists (?D ?DAY ?YEAR) (and (lessThanOrEqualTo ?D ?DAYS) (equal ?T (DailyTempFn ?W ?DAY)) (instance ?Y ?YEAR) (instance ?DAY (DayFn ?D (MonthFn ?M ?YEAR)))))) |
Weather.kif 643-657 | If equal X and The List of daily temperature for month Y in year Z for GeographicArea W, V is a member of X, and equal U, Number of days in month Y, and year Z, then there exist T, S, R such that T is less than or equal to U, equal V, The avearage daily temperature for Region W, Z is an instance of R, and S is an instance of the day T of month the month Y |
| (=> (and (instance ?I NonnegativeInteger) (equal ?I (NumberOfDaysInMonthFn ?M ?Y)) (not (equal ?M February)) (instance ?Y ?YEAR) (instance ?MONTH (MonthFn ?M ?YEAR))) (duration ?MONTH (MeasureFn ?I DayDuration))) |
Weather.kif 670-680 | If X is an instance of nonnegative integer, equal X, Number of days in month Y, and year Z, equal Y and February, Z is an instance of W, and V is an instance of the month Y, then duration of V is X day duration(s) |
| (=> (and (instance ?I NonnegativeInteger) (equal ?I (NumberOfDaysInMonthFn ?M ?Y)) (equal ?M February) (instance ?LP LeapYear) (not (equal ?Y ?LP))) (equal ?I 28)) |
Weather.kif 682-691 | If X is an instance of nonnegative integer, equal X, Number of days in month Y, and year Z, equal Y and February, W is an instance of leap year, and equal Z and W, then equal X and 28 |
| (=> (and (instance ?I NonnegativeInteger) (equal ?I (NumberOfDaysInMonthFn ?M ?Y)) (equal ?M February) (instance ?LP LeapYear) (equal ?Y ?LP)) (equal ?I 29)) |
Weather.kif 693-701 | If X is an instance of nonnegative integer, equal X, Number of days in month Y, and year Z, equal Y and February, W is an instance of leap year, and equal Z and W, then equal X and 29 |