/-
Copyright (c) 2024 Seewoo Lee. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Seewoo Lee
-/
module
public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal
public import Mathlib.NumberTheory.Real.Irrational
/-!
# An irrational power of an irrational number need not be irrational
This file proves that there exist irrational numbers `a`, `b` such that `a^b` is rational.
We use the following famous argument (based on the law of excluded middle and irrationality of √2).
Consider `c = √2^√2`. If `c` is rational, we are done.
If `c` is irrational, then `c^√2 = 2` is rational, so we are done.
-/
open Real
namespace Counterexample
/--
There exist irrational `a`, `b` with rational `a^b`.
Note that the positivity assumption on `a` is imposed because of the definition of `rpow` for
negative bases. See `Real.rpow_def_of_neg` for more details.
-/
public theorem not_irrational_rpow :
¬ ∀ a b : ℝ, Irrational a → Irrational b → 0 < a → Irrational (a ^ b) := by
push Not
by_cases hc : Irrational (√2 ^ √2)
· use (√2 ^ √2), √2, hc, irrational_sqrt_two, by positivity
rw [← rpow_mul, mul_self_sqrt, rpow_two, sq_sqrt] <;> norm_num
· use √2, √2, irrational_sqrt_two, irrational_sqrt_two, by positivity, hc
end Counterexample
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland