Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Flat.CubePoints

The points u / 2 of the cube #

For a sign vector u ∈ {-1, 0, 1} ^ k, the point u / 2 of ℝ ^ k (Flat.cubePoint) is a vertex, the centre of a facet or another point of the cube [-1/2, 1/2] ^ k. The contracting case of the lower bounds of [Ant26] (module Nc.CaseI.Cube, used in the proof of the convexity of prices) places the parties at such points; opposite vertices are at distance √k (Flat.dist_cubePoint_neg).

Main definitions #

Main results #

References #

The sign 1 of true and -1 of false.

The point u / 2 of ℝ ^ k for a sign vector u.

@[simp]
theorem Cslib.Circuits.Arithmetic.Separation.Flat.cubePoint_apply {k : ℕ} (u : Fin k → SignType) (x : Fin k) :
(cubePoint u).ofLp x = ↑(u x) / 2

The coordinates of u / 2.

theorem Cslib.Circuits.Arithmetic.Separation.Flat.dist_cubePoint_neg {k : ℕ} (π : Fin k → Bool) :
dist (cubePoint fun (x : Fin k) => boolSign (π x)) (cubePoint fun (x : Fin k) => -boolSign (π x)) = √↑k

Opposite vertices of the cube are at distance √k.