Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_HlawkaSchatten_DiagonalConstruction_Cyclic.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

62 lines · 1.3 kBraw
/-From Prove2Me, definition `HlawkaSchatten_DiagonalConstruction_Cyclic` (https://prove2.me/definitions/c4c4cf74-7f65-4cbe-85e4-1e3d1b97fdb2). Apache-2.0 per Prove2Me's terms.-/import Mathlib.Analysis.InnerProductSpace.Basicimport Mathlib.Analysis.InnerProductSpace.Dualimport Mathlib.Analysis.Normed.Lp.PiLpimport Mathlib.Analysis.SpecialFunctions.Pow.Continuityimport Mathlib.Topology.Order.Compact /-Copyright (c) 2026 Ezzeri Esa. All rights reserved.Released under Apache 2.0 license as described in the file LICENSE.Authors: Ezzeri Esa-/ /-!# The cyclic comparison constant The constant is defined from an explicit scalar formula on a fixed compactinterval. Its denominator is positive, so continuity gives an attainedmaximum without presupposing the global Hlawka inequality.-/ namespace HlawkaSchatten.DiagonalConstruction noncomputable def cyclicA (p t : ℝ) : ℝ := (t ^ p + 2) ^ (1 / p) noncomputable def cyclicB (p t : ℝ) : ℝ :=  (2 * |1 - t| ^ p + (2 : ℝ) ^ p) ^ (1 / p) noncomputable def cyclicRatio (p t : ℝ) : ℝ :=  (3 * cyclicA p t - (3 : ℝ) ^ (1 / p) * |2 - t|) /    (6 * cyclicA p t - 3 * cyclicB p t) noncomputable def cyclicConstant (p : ℝ) : ℝ :=  sSup (cyclicRatio p '' Set.Icc (1 / 2) 2)                         end HlawkaSchatten.DiagonalConstruction

download (.tar)