Zulip Chat Archive

Stream: new members

Topic: 0 ≤ d * d


Jiekai (Jul 12 2021 at 16:06):

example (d : ): 0  d * d :=
begin
  sorry
end

Practicing with doc searching with no luck...

Kevin Buzzard (Jul 12 2021 at 16:12):

Guess: docs#mul_self_nonneg or docs#pow_two_nonneg

Kevin Buzzard (Jul 12 2021 at 16:14):

They're both there and it looks like the first one is the one you want (the second one was me playing it safe because I know there's a lemma saying d×d=d2d\times d=d^2)

Kevin Buzzard (Jul 12 2021 at 16:14):

Type class inference should fill in the fact that the integers are a totally ordered ring


Last updated: Dec 20 2023 at 11:08 UTC