Zulip Chat Archive

Stream: general

Topic: Which tactic can solve it automatically?


Jiatong Yang (Jul 25 2022 at 04:28):

example (a b c : ) (hc : c  0) (hab :  a  b) : b*c  a*c :=
begin
  exact mul_mono_nonpos hc hab,
end

Heather Macbeth (Jul 25 2022 at 04:30):

The little-known left/right option of docs#tactic.interactive.mono:

import data.real.basic

example (a b c : ) (hc : c  0) (hab :  a  b) : b*c  a*c :=
by mono left

Heather Macbeth (Jul 25 2022 at 04:32):

Actually, you don't need the options, mono is ok.


Last updated: Dec 20 2023 at 11:08 UTC