-2

Here is the sentence:

There is a shortest person, but there is no tallest person.

zodiac
  • 75
  • 7

3 Answers3

0

There exists person where person < i, for all persons i, i != person.

There doesn't exists a person where person > i, for all persons i, i != person.

∃p : T(i,p) ∀i, i!=p, i in (x, y, z)

~(∃p : T(p,i) ∀i, i!=p), i in (x y, z)
ergonaut
  • 6,929
  • 1
  • 17
  • 47
  • Thank you. But i have to say sorry, i forgot to say. It is given variable x, y, z and T(x, y) for "x is taller than y". And all variable have to quantified by yourself. – zodiac Sep 21 '15 at 14:41
0

Something like:

(EXISTS x in People | FORALL y in People \ {x} y TALLER_THAN x)
AND
NOT (EXISTS w in People | FORALL z in People \ {w} w TALLER_THAN z)

Some notes:

  • "BUT" can usually be translated as "AND NOT", unless the first sentence is a negative, in which case it actually means "AND".
  • "THERE IS" can usually be translated as "EXISTS"
  • Any superlative (e.g., "MOST" or "BEST" or ending in "-EST") usually means "EXISTS x SUCH THAT FORALL Y =/= x | X MORE ? THAN Y".
Patrick87
  • 27,682
  • 3
  • 38
  • 73
  • Thank you. But i have to say sorry, i forgot to say. It is given variable x, y, z and T(x, y) for "x is taller than y". And all variable have to quantified by yourself. – zodiac Sep 21 '15 at 14:40
  • The choice of variables is unimportant. In fact, you only need two variables, `x` and `y`, the `x` and `y` at the beginning will be scoped by the quantifiers they are associated with (they are "bound"), and you can safely reuse them in the second part. For T(x, y)... just replace `a TALLER_THAN b` with `T(a, b)`. – Patrick87 Sep 21 '15 at 14:47
  • @zodiac Did you see my comment? – Patrick87 Sep 21 '15 at 18:04
-1

shortest && !(tallest)

Is this you are expecting

Arvind Chavhan
  • 488
  • 1
  • 6
  • 14
  • Thank you. But i have to say sorry, i forgot to say. It is given variable x, y, z and T(x, y) for "x is taller than y". And all variable have to quantified by yourself. – zodiac Sep 21 '15 at 14:41