Zulip Chat Archive
Stream: Is there code for X?
Topic: Propositions on rational integers
Ryan Gold (May 17 2021 at 20:24):
Is there some code that can turn a proposition like ↑ (a * b) = ↑ (c)
into a * b = c
, where (a b c : ℤ )
provided with evidence that the denominators of each term are 1?
My gut says it's related to monads somehow, but I haven't quite worked through that library yet.
Gabriel Ebner (May 17 2021 at 20:26):
What you've written looks like its true by norm_cast
without any assumptions. But maybe I've misinterpreted the coercion.
Ryan Gold (May 17 2021 at 20:28):
No, that seems right! It looks like I should get a bit more familiar with that tactic. Thanks!
Last updated: Dec 20 2023 at 11:08 UTC