Zulip Chat Archive

Stream: new members

Topic: puzzle problem


vxctyxeha (Jun 26 2025 at 05:44):

how to solve this problem

import Mathlib

theorem my (x : ) : (x ^ (1 / 3 )) ^ 3 = x := by

Peter Junglas (Jun 26 2025 at 07:56):

Well, this is hard to prove, because it is wrong :slight_smile:

Two problems:

  • you need 0 ≤ x
  • 1 / 3 = 0 (natural numbers!)

Try the following

theorem my (x : ) (hx : 0  x) : (x ^ ((1 : ) / 3)) ^ (3 : ) = x := by
  calc
    (x ^ ((1 : ) / 3)) ^ (3 : ) = x ^ (((1 : ) / 3) * 3) := by
      exact Eq.symm (Real.rpow_mul hx ((1 : ) / 3) (3 : ))
    _= x := by
      norm_num

vxctyxeha (Jun 26 2025 at 08:08):

why 0 ≤ x?

Yan Yablonovskiy 🇺🇦 (Jun 26 2025 at 08:54):

vxctyxeha said:

why 0 ≤ x?

This thread might help: #new members > ✔ Nth root of negative real number... @ 💬


Last updated: Dec 20 2025 at 21:32 UTC