Demonstrative and non demonstrative reasoning by analogy