Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Translation of a convex body

Definition
MovingSofa_ForMathlib_Convex_Translation

by Tamas Fulop · Sep 29, 2026 · Mathlib c5ea003 (Lean v4.30.0)

analysisgeometry

Let EEE be a real normed space and KKK a convex body (nonempty compact convex set). For v∈Ev\in Ev∈E, the translate K+v={p+v:p∈K}K+v=\{p+v:p\in K\}K+v={p+v:p∈K} is again a convex body. This bundles the translated carrier with convexity, compactness, and nonemptiness for reuse in cap/tail constructions.

Definition code
import Mathlib.Analysis.Convex.Body

set_option autoImplicit false

/-- Translation of a convex body by a vector. -/
def ConvexBody.translate {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    (K : ConvexBody E) (v : E) : ConvexBody E where
  carrier := (fun p ↦ p + v) '' (K : Set E)
  convex' := by simpa only [add_comm] using K.convex.translate v
  isCompact' := K.isCompact.image (continuous_id.add continuous_const)
  nonempty' := K.nonempty.image _
Source
https://github.com/deancureton/MovingSofa/blob/4d5569131940815f47a9ccf3e90a4c5043c56127/MovingSofa/ForMathlib/Convex/Translation.lean#L4-L9

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me