Plain-English statement
- Product-domain tensorization: the product of log-concave factors on convex domains is log-concave on the Cartesian product.
Read the mathematics first, then descend into Lean
You do not need to know Lean before opening this panel. The page keeps the paper-level theorem, rigorous proof obligations, exact Lean declaration, and proof dependencies as separate layers so a first-time reader can move down one layer at a time.
Proof architecture
Start with the tree when learning: prerequisites sit below the theorem and downstream results sit above it. Switch to the network when you want to understand where this declaration lives in the local formal library. Every mapped node is clickable.
Graph rule: only dependencies found by the ASTIS source scan are drawn. Missing tactic indirection is treated as an under-approximation; the site never invents an edge just to make a prettier graph.
How to read the exact Lean declaration
Read a Lean theorem left-to-right exactly as you would unpack a mathematical sentence: name → ambient types → automatically inferred structures → explicit hypotheses → conclusion → proof. Then read the proof top-to-bottom as transformations of the current goal.
- NameWhat reusable mathematical fact is being created?
- ParametersWhich symbols are arbitrary, and which structures are inferred by typeclass search?
- PropositionAfter the colon, translate the Lean expression back into a paper statement.
- Proof actionsAfter
by, ask what each tactic does to the mathematical goal—not only what syntax it uses.
Syntax used on this page
This glossary is filtered to syntax that actually occurs in the declaration above. Open a symbol only when you meet it, rather than memorizing Lean grammar in advance.
Source voice and ASTIS voice stay separate
When Samplinglib shows a short quotation from Chewi, it is labeled as a source excerpt and linked to the canonical book page. Intuition, expanded proof steps, hidden regularity assumptions, and Lean explanations are ASTIS-authored commentary. A quotation never substitutes for a formal proof, and an ASTIS explanation is never attributed to the textbook author.
Lean statement
theorem LogConcaveOn.prod {E F : Type*}
[AddCommMonoid E] [Module ℝ E] [AddCommMonoid F] [Module ℝ F]
{s : Set E} {t : Set F} {f : E → ℝ} {g : F → ℝ}
(hf : LogConcaveOn s f) (hg : LogConcaveOn t g) :
LogConcaveOn (s ×ˢ t) (fun x : E × F => f x.1 * g x.2) := by
refine ⟨fun x hx => mul_pos (hf.pos (x := x.1) hx.1) (hg.pos (x := x.2) hx.2), ?_⟩
refine ⟨hf.convex_domain.prod hg.convex_domain, ?_⟩
intro x hx y hy a b ha hb hab
have hF := hf.concaveOn_log.2 hx.1 hy.1 ha hb hab
have hG := hg.concaveOn_log.2 hx.2 hy.2 ha hb hab
have hsum := add_le_add hF hG
have hmid : a • x + b • y ∈ s ×ˢ t :=
(hf.convex_domain.prod hg.convex_domain) hx hy ha hb hab
calc
a • Real.log (f x.1 * g x.2) + b • Real.log (f y.1 * g y.2)
= (a • Real.log (f x.1) + b • Real.log (f y.1)) +
(a • Real.log (g x.2) + b • Real.log (g y.2)) := by
rw [Real.log_mul (hf.pos (x := x.1) hx.1).ne' (hg.pos (x := x.2) hx.2).ne',
Real.log_mul (hf.pos (x := y.1) hy.1).ne' (hg.pos (x := y.2) hy.2).ne']
simp [smul_eq_mul]
ring
_ ≤ Real.log (f (a • x.1 + b • y.1)) + Real.log (g (a • x.2 + b • y.2)) := hsum
_ = Real.log (f (a • x.1 + b • y.1) * g (a • x.2 + b • y.2)) := by
rw [Real.log_mul (hf.pos (x := a • x.1 + b • y.1) hmid.1).ne'
(hg.pos (x := a • x.2 + b • y.2) hmid.2).ne']
_ = Real.log (f (a • x + b • y).1 * g (a • x + b • y).2) := by simp
/-- Multiplication by a positive constant preserves log-concavity. -/
Open AutoSamplingTheory/TechnicalLemmas/Geometry/LogConcavity.lean:182published source at 7bcd37294df1
Proof architecture
Chewi CONV/DENS root: tensorize log-concave density factors over Cartesian product domains
Lean proof walkthrough
- Read the quantified variables and typeclass brackets as part of the mathematical statement; inferred arguments are not missing assumptions.
- `intro` introduces quantified hypotheses into the local proof context.
- `have` creates a named intermediate mathematical fact.
- `calc` records an equality or inequality chain matching a paper calculation.
- `rw` rewrites by an established identity.
- `simp` normalizes through registered definitional and theorem rewrites.
- `refine` instantiates a reusable theorem while leaving explicit subgoals.
Why the statement has this shape
The declaration is kept at the reusable level recorded by its Registry tags and direct consumers. Explicit measures, spaces, wrappers, and regularity hypotheses expose interfaces that paper notation often infers. A theorem card explains those interfaces but never widens the compiled statement.
Hidden assumptions and non-claims
- Density statements retain normalization and absolute-continuity prerequisites.