Zulip Chat Archive

Stream: new members

Topic: Finset.Icc error


Janitha (Mar 04 2025 at 10:54):

Finset.Icc 1 97

gives me an error: failed to synthesize
Preorder ℂ

I want to write

( k  Finset.Icc 1 97, k * (Complex.I ^ k)) = 48 + 49 * Complex.I

Context ---> I'm trying to formalize a proof of:

example (n : ) : ( k  Finset.Icc 1 n, k * (Complex.I ^ k)) = 48 + 49 * Complex.I  n = 97 := by sorry

Yaël Dillies (Mar 04 2025 at 10:57):

What if you do k ∈ Finset.Icc (1 : ℕ) 97?

Janitha (Mar 04 2025 at 11:02):

That worked. Thanks!


Last updated: May 02 2025 at 03:31 UTC