α : Type u_2
β : Type u_1
γ : Type ?u.7148
inst✝¹ : CancelCommMonoidWithZero α
inst✝ : NormalizedGCDMonoid α
s s₁ : Finset β
f✝ f g : β → α
hfg : ∀ (a : β), a ∈ s₁ → f a = g a
⊢ lcm s₁ f = lcm s₁ g
α : Type u_2
β : Type u_1
γ : Type ?u.7148
inst✝¹ : CancelCommMonoidWithZero α
inst✝ : NormalizedGCDMonoid α
s s₁ s₂ : Finset β
f✝ f g : β → α
hs : s₁ = s₂
hfg : ∀ (a : β), a ∈ s₂ → f a = g a
⊢ lcm s₁ f = lcm s₂ g
subst hs
no goals
α : Type u_2
β : Type u_1
γ : Type ?u.7148
inst✝¹ : CancelCommMonoidWithZero α
inst✝ : NormalizedGCDMonoid α
s s₁ : Finset β
f✝ f g : β → α
hfg : ∀ (a : β), a ∈ s₁ → f a = g a
⊢ lcm s₁ f = lcm s₁ g
exact Finset.fold_congr hfg