Lemma 3.5 — a composition notices the fold of only if , or is ; hence at most two folds
ProvedCoRSuccGap.lemma_3_5calculus-of-relationscircuit-lower-boundsfinite-variable-logicp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1succinctness
Let be a colouring of the pairs of distinct vertices of with palette and the two-witness property, and let be the hub. Let be colour-determined relations with off-diagonal supports . Then:
- the composition notices the fold of a colour only if
- hence notices at most two folds;
- it notices at most one fold if or is or ;
- it notices none if both and are or .
Together with Lemma 3.4, this is the counting step of the lower bound: every composition gate can account for at most two folds.
Formalization Note The number of noticed folds is Set.ncard of the set of colours whose fold is noticed; as a set of colours is Set.univ.
Differences from the source:
- generalization: the standing setting of §3.1: a vertex set of size n ≥ n₀(N) carrying a coloring as in Lemma 3.1, palette of N ≥ 2 colors, palette 2^[k] with k ≥ 1 → any vertex type V and any colouring χ with the two-witness property; reason: the paper fixes such a coloring and its proofs use only the two-witness property; every coloring given by Lemma 3.1 satisfies the hypothesis, so the Lean statement specializes to the source's
- generalization: palette 2^[k] for some k ≥ 1 → palette Finset (Fin k) for every k ∈ ℕ; reason: for k = 0 the fold is the identity and no fold is noticed; for k ≥ 1 it is the source's
- encoding: "notices at most two (one) folds" → the set of colours whose fold is noticed has ncard ≤ 2 (≤ 1); reason: the palette is finite, so ncard is its cardinality
Preamble
import Mathlib import Definitions.Def_CoRSuccGap_TwoWitness import Definitions.Def_CoRSuccGap_ColorDet import Definitions.Def_CoRSuccGap_predict set_option autoImplicit false
Formal statement
namespace CoRSuccGap
/-- **Lemma 3.5 (When a composition notices a fold).** Uezato–Nakamura, *An Exponential Succinctness Gap between Three-Variable Logic and the Calculus of
Relations*, arXiv:2609.26778 (held version, sha256 5ad6337d…c9b6), Lemma 3.5, p.21
(PDF 23): "Let X, Y be color-determined. The composition X; Y notices the fold of λ only if
S_X = {λ}, S_Y = {λ}, or S_X ∩ S_Y = {λ}. Hence it notices at most two folds, at most one if S_X
or S_Y is ∅ or Λ, and none if both are." Standing assumptions: two-witness χ, hub `h`, palette
Λ = 2^[k].
**Formalization Note.** Λ is `Finset (Fin k)` (so "Λ" as a set of colours is `Set.univ`), S_X is
`supp χ X`, the colour λ is `lam`, and "at most two folds" counts the set of noticed colours with
`Set.ncard` (the palette is finite). The standing `k ≥ 1` is not assumed. -/
theorem lemma_3_5 {V : Type*} [DecidableEq V] {k : ℕ} (χ : Sym2 V → Finset (Fin k))
(hχ : TwoWitness χ) (h : V) (X Y : V → V → Prop) (hX : ColorDet χ X) (hY : ColorDet χ Y) :
(∀ lam : Finset (Fin k), NoticesComp χ h lam X Y →
supp χ X = {lam} ∨ supp χ Y = {lam} ∨ supp χ X ∩ supp χ Y = {lam}) ∧
{lam : Finset (Fin k) | NoticesComp χ h lam X Y}.ncard ≤ 2 ∧
((supp χ X = ∅ ∨ supp χ X = Set.univ ∨ supp χ Y = ∅ ∨ supp χ Y = Set.univ) →
{lam : Finset (Fin k) | NoticesComp χ h lam X Y}.ncard ≤ 1) ∧
((supp χ X = ∅ ∨ supp χ X = Set.univ) → (supp χ Y = ∅ ∨ supp χ Y = Set.univ) →
∀ lam : Finset (Fin k), ¬ NoticesComp χ h lam X Y) := by sorry
end CoRSuccGap
Source
Y. Uezato, Y. Nakamura, An Exponential Succinctness Gap between Three-Variable Logic and the Calculus of Relations, arXiv:2609.26778 (held version, sha256 5ad6337daad55bcf6132960d4744d07ff7d67ef2a9aef456f3e3b54ff623c9b6), Lemma 3.5, p.21 (PDF 23)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.