tree_one_blue_bounded_exposure_not_ulc
There is a ten-vertex rooted tree for which fixing just one leaf blue causes the root-exposure mixture at weight one half to fail binomial-normalized log-concavity.
Statement
theorem tree_one_blue_bounded_exposure_not_ulc : ∃ (T : SimpleGraph (Fin 10)) (p b : Fin 10), T.IsTree ∧ p ≠ b ∧ (∃! v, T.Adj b v) ∧ (let a := fun k : ℕ => {S : Finset (Fin 10) | b ∉ S ∧ S.card = k ∧ is_zero_forcing_set T ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) ∧ ¬ zero_forcing_root_exposed_fort T p S}.ncard; let c := fun k : ℕ => {S : Finset (Fin 10) | b ∉ S ∧ S.card = k ∧ is_zero_forcing_set T ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) ∧ zero_forcing_root_exposed_fort T p S}.ncard; 2 * a 7 + c 7 = 54 ∧ 2 * a 8 + c 8 = 11 ∧ 2 * a 9 + c 9 = 1)
- Source
- Filed by the prover as a step towards another result
- Verified
- 17 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 5
- is_zero_forcing_setA set of vertices S is a zero forcing set of G if its zero forcing closure contains all vertices of G.
- zero_forcing_root_exposed_fortA white set W contains a root-exposed fort if it contains a set F not containing r such that r has a neighbor in F and every vertex other…
- zero_forcing_finset_iter_decidesA blue set is zero forcing exactly when the executable parallel forcing process colors every vertex after at most the number of vertices…
- zfs_compl_iff_no_stuckFor any finite graph G and finite T, the complement V\T is a zero forcing set precisely when T contains no nonempty "stuck" subset W, i.e.…
- ZeroForcedThe zero forcing closure of an initial set S of blue vertices in G under the color change rule.
The proof, explained
To show that fixing a leaf blue in a 10-vertex rooted tree can violate binomial-normalized log-concavity, the proof considers the 10-vertex path graph with root 3 and blue leaf 0. Since the blue leaf is present, the complement of any set avoiding 0 forces the entire graph from the leaf. A set contains a root-exposed fort if and only if it satisfies a simple combinatorial pattern QN, and the kernel counts these subsets of sizes 7, 8, and 9. The resulting mixture counts 54, 11, 1 violate ultra-log-concavity.
Adjacency on Fin 10 is decidable, symmetric, and irreflexive, forming the path graph T10. automation
Decidability of adjN is synthesized, and symmetry and irreflexivity of adjN are established by linear integer arithmetic.
instance : DecidableRel adjN := fun u v => by unfold adjN; infer_instance def T10 : SimpleGraph (Fin 10) where Adj := adjN symm := ⟨fun u v h => by unfold adjN at *; omega⟩ loopless := ⟨fun u h => by unfold adjN at h; omega⟩
The fort property PN and its combinatorial characterization QN are decidable, and they are equivalent for subsets avoiding 0 and 3. automation
Decidability of PN and QN is synthesized by unfolding definitions. The kernel's decision procedure verifies that any fort PN on vertices avoiding 0 and 3 satisfies QN, and conversely any set satisfying QN yields a fort PN when restricted to vertices at least 4.
uses
TreeOneBlueIN928.PN_QN,TreeOneBlueIN928.QN_PNinstance : DecidablePred PN := fun F => by unfold PN; infer_instance def QN (W : Finset (Fin 10)) : Prop := 4 ∈ W ∧ 9 ∈ W ∧ ¬ (5 ∉ W ∧ 6 ∉ W) ∧ ¬ (6 ∉ W ∧ 7 ∉ W) ∧ ¬ (7 ∉ W ∧ 8 ∉ W) instance : DecidablePred QN := fun F => by unfold QN; infer_instance set_option maxRecDepth 100000 in theorem PN_QN : ∀ F : Finset (Fin 10), 0 ∉ F → 3 ∉ F → PN F → QN F := by decide +kernel set_option maxRecDepth 100000 in theorem QN_PN : ∀ W : Finset (Fin 10), QN W → PN (W.filter (fun v => 4 ≤ v.val)) := by decide +kernel
Any set of vertices whose complement in T10 avoids 0 is a zero-forcing set.
By induction on i from 0 to 9, every vertex j with index at most i is zero-forced. For i = 0, vertex 0 is in the initial set. For the inductive step, vertex i forces i + 1 because all other neighbors of i have index less than i and are already forced by the induction hypothesis.
uses
ZeroForced.init,ZeroForced.step,Nat.lt_or_ge,Fin.ext,le_rflis_zero_forcing_set T10 ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) := by have key : ∀ i : ℕ, ∀ j : Fin 10, j.val ≤ i → ZeroForced T10 ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) j := by intro i induction i with | zero => intro j hj apply ZeroForced.init have : j = 0 := Fin.ext (by simp; omega) subst this; simpa using h0 | succ i ih => intro j hj rcases Nat.lt_or_ge j.val (i + 1) with h | h · exact ih j (by omega) · have hj' : j.val = i + 1 := by omega have hi : i < 10 := by omega refine ZeroForced.step ⟨i, hi⟩ j (ih _ le_rfl) (by change adjN _ _; unfold adjN; simp; omega) ?_ intro x hx hxj change adjN _ _ at hx; unfold adjN at hx have : x.val ≠ j.val := fun h => hxj (Fin.ext h) apply ih; simp at hx; omega intro v; exact key v.val v le_rfl
A subset avoiding 0 contains a root-exposed fort for root 3 if and only if it satisfies QN.
If W contains a fort F, then PN holds for F, so QN holds for F by PN_QN, which implies QN for W. Conversely, if QN holds for W, then filtering W for vertices at least 4 produces a fort by QN_PN.
uses
TreeOneBlueIN928.PN_QN,TreeOneBlueIN928.QN_PN,mt,Finset.filter_subsetzero_forcing_root_exposed_fort T10 3 W ↔ QN W := by constructor · rintro ⟨F, hFW, h3, hex, hall⟩ have hq := PN_QN F (fun h => h0 (hFW h)) h3 ⟨hex, hall⟩ obtain ⟨a1, a2, a3, a4, a5⟩ := hq exact ⟨hFW a1, hFW a2, fun ⟨h1, h2⟩ => a3 ⟨mt (@hFW _) h1, mt (@hFW _) h2⟩, fun ⟨h1, h2⟩ => a4 ⟨mt (@hFW _) h1, mt (@hFW _) h2⟩, fun ⟨h1, h2⟩ => a5 ⟨mt (@hFW _) h1, mt (@hFW _) h2⟩⟩ · intro hq obtain ⟨hex, hall⟩ := QN_PN W hq exact ⟨W.filter (fun v => 4 ≤ v.val), Finset.filter_subset _ _, by simp, hex, hall⟩
Subsets of sizes 7, 8, and 9 avoiding 0 are counted according to whether they satisfy QN. automation
The kernel exhaustively enumerates all subsets of Fin 10 of given sizes that do not contain 0, computing the exact counts satisfying and not satisfying QN.
theorem cnt7a : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 7 ∧ ¬ QN S).card = 18 := by decide +kernel set_option maxRecDepth 100000 in theorem cnt7c : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 7 ∧ QN S).card = 18 := by decide +kernel set_option maxRecDepth 100000 in theorem cnt8a : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 8 ∧ ¬ QN S).card = 2 := by decide +kernel set_option maxRecDepth 100000 in theorem cnt8c : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 8 ∧ QN S).card = 7 := by decide +kernel set_option maxRecDepth 100000 in theorem cnt9a : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 9 ∧ ¬ QN S).card = 0 := by decide +kernel set_option maxRecDepth 100000 in theorem cnt9c : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 9 ∧ QN S).card = 1 := by decide +kernel
T10 is isomorphic to the path graph on 10 vertices and is a tree. automation
T10 matches pathGraph 10 by definition. Since pathGraph 10 is connected and has 9 edges on 10 vertices, it is a tree.
uses
SimpleGraph.pathGraph_adj,SimpleGraph.isTree_iff_connected_and_card,SimpleGraph.pathGraph_connected,Nat.card_eq_fintype_card,SimpleGraph.edgeFinset_card,Fintype.card_fintheorem T10_eq : T10 = SimpleGraph.pathGraph 10 := by ext u v; simp [SimpleGraph.pathGraph_adj, T10, adjN] set_option maxRecDepth 10000 in theorem T10_tree : T10.IsTree := by rw [SimpleGraph.isTree_iff_connected_and_card] refine ⟨T10_eq ▸ SimpleGraph.pathGraph_connected 9, ?_⟩ rw [Nat.card_eq_fintype_card, ← SimpleGraph.edgeFinset_card] simp only [Nat.card_eq_fintype_card, Fintype.card_fin] decide
The 10-vertex path graph with root 3 and leaf 0 violates binomial-normalized log-concavity.
Choosing T10 with root p = 3 and leaf b = 0, vertex 0 is uniquely adjacent to 1, hence a leaf. The sets S of size k avoiding 0 with or without root-exposed forts correspond bijectively to sets satisfying or not satisfying QN. Plugging in the exact counts yields 2*a(7)+c(7) = 54, 2*a(8)+c(8) = 11, and 2*a(9)+c(9) = 1.
uses
TreeOneBlueIN928.T10_tree,TreeOneBlueIN928.fort_iff,TreeOneBlueIN928.zf_all,TreeOneBlueIN928.cnt7a,TreeOneBlueIN928.cnt7c,TreeOneBlueIN928.cnt8a,TreeOneBlueIN928.cnt8c,TreeOneBlueIN928.cnt9a,TreeOneBlueIN928.cnt9c,Set.mem_ofPred_eq,Finset.coe_filter,Finset.mem_univ,true_and,Set.ncard_coe_finsetrefine ⟨TreeOneBlueIN928.T10, 3, 0, TreeOneBlueIN928.T10_tree, by decide, ⟨1, by decide, fun v hv => ?_⟩, ?_⟩ · change TreeOneBlueIN928.adjN 0 v at hv; unfold TreeOneBlueIN928.adjN at hv; ext; simp at hv ⊢; omega · have ha : ∀ k, {S : Finset (Fin 10) | 0 ∉ S ∧ S.card = k ∧ is_zero_forcing_set TreeOneBlueIN928.T10 ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) ∧ ¬ zero_forcing_root_exposed_fort TreeOneBlueIN928.T10 3 S} = ↑(Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = k ∧ ¬ TreeOneBlueIN928.QN S) := by intro k; ext S simp only [Set.mem_ofPred_eq, Finset.coe_filter, Finset.mem_univ, true_and] constructor · rintro ⟨h0, hk, _, hf⟩; exact ⟨h0, hk, fun hq => hf ((TreeOneBlueIN928.fort_iff S h0).2 hq)⟩ · rintro ⟨h0, hk, hq⟩; exact ⟨h0, hk, TreeOneBlueIN928.zf_all S h0, fun hf => hq ((TreeOneBlueIN928.fort_iff S h0).1 hf)⟩ have hc : ∀ k, {S : Finset (Fin 10) | 0 ∉ S ∧ S.card = k ∧ is_zero_forcing_set TreeOneBlueIN928.T10 ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) ∧ zero_forcing_root_exposed_fort TreeOneBlueIN928.T10 3 S} = ↑(Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = k ∧ TreeOneBlueIN928.QN S) := by intro k; ext S simp only [Set.mem_ofPred_eq, Finset.coe_filter, Finset.mem_univ, true_and] constructor · rintro ⟨h0, hk, _, hf⟩; exact ⟨h0, hk, (TreeOneBlueIN928.fort_iff S h0).1 hf⟩ · rintro ⟨h0, hk, hq⟩; exact ⟨h0, hk, TreeOneBlueIN928.zf_all S h0, (TreeOneBlueIN928.fort_iff S h0).2 hq⟩ intro a c simp only [a, c, ha, hc, Set.ncard_coe_finset, TreeOneBlueIN928.cnt7a, TreeOneBlueIN928.cnt7c, TreeOneBlueIN928.cnt8a, TreeOneBlueIN928.cnt8c, TreeOneBlueIN928.cnt9a, TreeOneBlueIN928.cnt9c] norm_num
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
namespace TreeOneBlueIN928def adjN (u v : Fin 10) : Prop := u.val + 1 = v.val ∨ v.val + 1 = u.valinstance : DecidableRel adjN := fun u v => by unfold adjN; infer_instancedef T10 : SimpleGraph (Fin 10) where Adj := adjN symm := ⟨fun u v h => by unfold adjN at *; omega⟩ loopless := ⟨fun u h => by unfold adjN at h; omega⟩instance : DecidableRel T10.Adj := fun u v => inferInstanceAs (Decidable (adjN u v))def PN (F : Finset (Fin 10)) : Prop := (∃ w ∈ F, adjN 3 w) ∧ ∀ u : Fin 10, u ≠ 3 → u ∉ F → ∀ w : Fin 10, w ∈ F → adjN u w → ∃ x : Fin 10, x ∈ F ∧ adjN u x ∧ x ≠ winstance : DecidablePred PN := fun F => by unfold PN; infer_instancedef QN (W : Finset (Fin 10)) : Prop := 4 ∈ W ∧ 9 ∈ W ∧ ¬ (5 ∉ W ∧ 6 ∉ W) ∧ ¬ (6 ∉ W ∧ 7 ∉ W) ∧ ¬ (7 ∉ W ∧ 8 ∉ W)instance : DecidablePred QN := fun F => by unfold QN; infer_instanceset_option maxRecDepth 100000 intheorem PN_QN : ∀ F : Finset (Fin 10), 0 ∉ F → 3 ∉ F → PN F → QN F := by decide +kernelset_option maxRecDepth 100000 intheorem QN_PN : ∀ W : Finset (Fin 10), QN W → PN (W.filter (fun v => 4 ≤ v.val)) := by decide +kerneltheorem zf_all (S : Finset (Fin 10)) (h0 : (0 : Fin 10) ∉ S) : is_zero_forcing_set T10 ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) := by have key : ∀ i : ℕ, ∀ j : Fin 10, j.val ≤ i → ZeroForced T10 ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) j := by intro i induction i with | zero => intro j hj apply ZeroForced.init have : j = 0 := Fin.ext (by simp; omega) subst this; simpa using h0 | succ i ih => intro j hj rcases Nat.lt_or_ge j.val (i + 1) with h | h · exact ih j (by omega) · have hj' : j.val = i + 1 := by omega have hi : i < 10 := by omega refine ZeroForced.step ⟨i, hi⟩ j (ih _ le_rfl) (by change adjN _ _; unfold adjN; simp; omega) ?_ intro x hx hxj change adjN _ _ at hx; unfold adjN at hx have : x.val ≠ j.val := fun h => hxj (Fin.ext h) apply ih; simp at hx; omega intro v; exact key v.val v le_rfltheorem fort_iff (W : Finset (Fin 10)) (h0 : (0 : Fin 10) ∉ W) : zero_forcing_root_exposed_fort T10 3 W ↔ QN W := by constructor · rintro ⟨F, hFW, h3, hex, hall⟩ have hq := PN_QN F (fun h => h0 (hFW h)) h3 ⟨hex, hall⟩ obtain ⟨a1, a2, a3, a4, a5⟩ := hq exact ⟨hFW a1, hFW a2, fun ⟨h1, h2⟩ => a3 ⟨mt (@hFW _) h1, mt (@hFW _) h2⟩, fun ⟨h1, h2⟩ => a4 ⟨mt (@hFW _) h1, mt (@hFW _) h2⟩, fun ⟨h1, h2⟩ => a5 ⟨mt (@hFW _) h1, mt (@hFW _) h2⟩⟩ · intro hq obtain ⟨hex, hall⟩ := QN_PN W hq exact ⟨W.filter (fun v => 4 ≤ v.val), Finset.filter_subset _ _, by simp, hex, hall⟩set_option maxRecDepth 100000 intheorem cnt7a : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 7 ∧ ¬ QN S).card = 18 := by decide +kernelset_option maxRecDepth 100000 intheorem cnt7c : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 7 ∧ QN S).card = 18 := by decide +kernelset_option maxRecDepth 100000 intheorem cnt8a : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 8 ∧ ¬ QN S).card = 2 := by decide +kernelset_option maxRecDepth 100000 intheorem cnt8c : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 8 ∧ QN S).card = 7 := by decide +kernelset_option maxRecDepth 100000 intheorem cnt9a : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 9 ∧ ¬ QN S).card = 0 := by decide +kernelset_option maxRecDepth 100000 intheorem cnt9c : (Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = 9 ∧ QN S).card = 1 := by decide +kerneltheorem T10_eq : T10 = SimpleGraph.pathGraph 10 := by ext u v; simp [SimpleGraph.pathGraph_adj, T10, adjN]set_option maxRecDepth 10000 intheorem T10_tree : T10.IsTree := by rw [SimpleGraph.isTree_iff_connected_and_card] refine ⟨T10_eq ▸ SimpleGraph.pathGraph_connected 9, ?_⟩ rw [Nat.card_eq_fintype_card, ← SimpleGraph.edgeFinset_card] simp only [Nat.card_eq_fintype_card, Fintype.card_fin] decideend TreeOneBlueIN928theorem tree_one_blue_bounded_exposure_not_ulc : ∃ (T : SimpleGraph (Fin 10)) (p b : Fin 10), T.IsTree ∧ p ≠ b ∧ (∃! v, T.Adj b v) ∧ (let a := fun k : ℕ => {S : Finset (Fin 10) | b ∉ S ∧ S.card = k ∧ is_zero_forcing_set T ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) ∧ ¬ zero_forcing_root_exposed_fort T p S}.ncard; let c := fun k : ℕ => {S : Finset (Fin 10) | b ∉ S ∧ S.card = k ∧ is_zero_forcing_set T ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) ∧ zero_forcing_root_exposed_fort T p S}.ncard; 2 * a 7 + c 7 = 54 ∧ 2 * a 8 + c 8 = 11 ∧ 2 * a 9 + c 9 = 1) := by refine ⟨TreeOneBlueIN928.T10, 3, 0, TreeOneBlueIN928.T10_tree, by decide, ⟨1, by decide, fun v hv => ?_⟩, ?_⟩ · change TreeOneBlueIN928.adjN 0 v at hv; unfold TreeOneBlueIN928.adjN at hv; ext; simp at hv ⊢; omega · have ha : ∀ k, {S : Finset (Fin 10) | 0 ∉ S ∧ S.card = k ∧ is_zero_forcing_set TreeOneBlueIN928.T10 ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) ∧ ¬ zero_forcing_root_exposed_fort TreeOneBlueIN928.T10 3 S} = ↑(Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = k ∧ ¬ TreeOneBlueIN928.QN S) := by intro k; ext S simp only [Set.mem_ofPred_eq, Finset.coe_filter, Finset.mem_univ, true_and] constructor · rintro ⟨h0, hk, _, hf⟩; exact ⟨h0, hk, fun hq => hf ((TreeOneBlueIN928.fort_iff S h0).2 hq)⟩ · rintro ⟨h0, hk, hq⟩; exact ⟨h0, hk, TreeOneBlueIN928.zf_all S h0, fun hf => hq ((TreeOneBlueIN928.fort_iff S h0).1 hf)⟩ have hc : ∀ k, {S : Finset (Fin 10) | 0 ∉ S ∧ S.card = k ∧ is_zero_forcing_set TreeOneBlueIN928.T10 ((Finset.univ \ S : Finset (Fin 10)) : Set (Fin 10)) ∧ zero_forcing_root_exposed_fort TreeOneBlueIN928.T10 3 S} = ↑(Finset.univ.filter fun S : Finset (Fin 10) => 0 ∉ S ∧ S.card = k ∧ TreeOneBlueIN928.QN S) := by intro k; ext S simp only [Set.mem_ofPred_eq, Finset.coe_filter, Finset.mem_univ, true_and] constructor · rintro ⟨h0, hk, _, hf⟩; exact ⟨h0, hk, (TreeOneBlueIN928.fort_iff S h0).1 hf⟩ · rintro ⟨h0, hk, hq⟩; exact ⟨h0, hk, TreeOneBlueIN928.zf_all S h0, (TreeOneBlueIN928.fort_iff S h0).2 hq⟩ intro a c simp only [a, c, ha, hc, Set.ncard_coe_finset, TreeOneBlueIN928.cnt7a, TreeOneBlueIN928.cnt7c, TreeOneBlueIN928.cnt8a, TreeOneBlueIN928.cnt8c, TreeOneBlueIN928.cnt9a, TreeOneBlueIN928.cnt9c] norm_num