artificial intelligence - How to convert this sentence into a first order logic well formed formula? -


i trying convert following sentence formed formula using first-order logic(predicate logic).

all towers of same color.

i have defined following predicates:

tower(x) :: x tower.

color(x, y) :: x of color y

i not able convert aforementioned sentence formed formula using above predicates. possible convert using above predicates or new predicate should required. please advise.

edit: forgot add detail. there 3 available colours in world (red, green, blue). can detail used. make difference solution?

there exists y1 such x tower(x) implies color(x, y1)


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -