Zulip Chat Archive

Stream: new members

Topic: Quick question (Euclid's Lemma)


Nathan (Feb 07 2026 at 09:00):

Is there a version of Nat.Coprime.dvd_of_dvd_mul_left for Ints?

example (a b c : ) (h : a  b * c) (hc : Nat.Coprime a b) : a  c :=
  Nat.Coprime.dvd_of_dvd_mul_left hc h

Ruben Van de Velde (Feb 07 2026 at 09:02):

import Mathlib
example (a b c : ) (h : a  b * c) (hc : IsCoprime a b) : a  c := by apply?

Ruben Van de Velde (Feb 07 2026 at 09:02):

Or you can guess the name

Nathan (Feb 07 2026 at 09:04):

thanks :pray:


Last updated: Feb 28 2026 at 14:05 UTC