Zulip Chat Archive

Stream: lean4

Topic: tactic for inequality calculation?


Dean Young (Apr 27 2023 at 18:22):

def p : -7 < 9 := sorry
def p : -7  11 := sorry

Mario Carneiro (Apr 27 2023 at 18:27):

norm_num

Martin Dvořák (Apr 27 2023 at 19:09):

Is decide inferior?

Mario Carneiro (Apr 27 2023 at 19:15):

decide will also work, but it is more limited and might not use the best algorithms

Mario Carneiro (Apr 27 2023 at 19:15):

norm_num uses decide when it is beneficial

Mario Carneiro (Apr 27 2023 at 19:15):

decide won't work to evaluate inequalities of reals

Eric Wieser (Apr 27 2023 at 20:46):

@Kind Bubble, note these should be theorem not def

Dean Young (May 03 2023 at 00:03):

thanks!


Last updated: Dec 20 2023 at 11:08 UTC