Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Change in variable degree upon insertion of a clause

Proved
KSATSingleFlip.Connect.degree_append_one

by wcysai · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

For a finite formula Φ\PhiΦ, a clause CCC, and a variable uuu, appending CCC changes the full-formula degree of uuu by exactly one if uuu occurs in CCC, and leaves it unchanged otherwise:

deg⁡Φ+[C](u)=deg⁡Φ(u)+1{u∈vbl⁡(C)}.\deg_{\Phi\mathbin{+}[C]}(u)=\deg_\Phi(u)+\mathbf{1}_{\{u\in\operatorname{vbl}(C)\}}.degΦ+[C]​(u)=degΦ​(u)+1{u∈vbl(C)}​.

Clause occurrences are counted with multiplicity. This is a supporting fact for the sensitivity part of Lemma 2.7.

Preamble
import Definitions.Def_KSATSingleFlip_Connect_FactorGraph

open scoped Classical BigOperators
Formal statement
namespace KSATSingleFlip.Connect

theorem degree_append_one {n : ℕ} (Φ : GFormula (Fin n)) (C : GClause (Fin n)) (u : Fin n) :
    degree (Φ ++ [C]) u = degree Φ u + if u ∈ vbl C then 1 else 0 := by
  sorry

end KSATSingleFlip.Connect
Source
Auxiliary result for Lemma 2.7 of Wang, Yin, Yu, Zhang, Single-Variable Connectivity in Random k-SAT, printed pp. 12–13, STOC 2027 submission #737, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/737.pdf

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