### Simplifaction of boolean values

def F(n) :
return exp(log(n))

def test1(n) :
return n == F(n)

[test1(i) for i in (4..8)]

gives [4 == 4, 5 == 5, 6 == 6, 7 == 7, 8 == 8]

def G(n) :
return n

def test2(n) :
return n == G(n)

[test2(i) for i in (4..8)]

gives [True, True, True, True, True]

What do I have to do so that test1 gives the same result as test2?