op_1239_candidate31_petrial_coefficients
The partial Petrial coefficients of op_1239_candidate31 in ranks 24, 25 and 26 are respectively 64, 8416 and 1274976.
Statement
theorem op_1239_candidate31_petrial_coefficients : letI : DecidableRel op_1239_candidate31.Adj := Classical.decRel _; petrial_coeff op_1239_candidate31 24 = 64 ∧ petrial_coeff op_1239_candidate31 25 = 8416 ∧ petrial_coeff op_1239_candidate31 26 = 1274976- Source
- OP-1239, arXiv:2611.07503, Problem 16; candidate from experiments 28663 and 28669.
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 16
- op_1239_candidate31The simple graph on Fin 31 whose edges are the thirty pairs listed in its definition.
- petrial_coeffGiven a finite type V with decidable equality, a simple graph G on V with decidable adjacency, and k : ℕ, petrial_coeff G k is the…
- petrial_nullity_poly_coeff_eq_petrial_coeffFor every finite graph G on V and every k ≤ |V|, the coefficient of w^(|V| - k) in the nullity generating polynomial equals petrial_coeff…
- petrial_nullity_poly_leaf_recFor a finite graph G with a degree-one vertex v whose neighbour is u, the nullity generating polynomial of G equals the nullity generating…
- petrial_nullity_poly_mul_of_cutIf no edge of G joins a vertex of s to a vertex outside s, then the nullity generating polynomial of G is the product of the nullity…
- op_1239_candidate31_nullity_poly_conditionalFor op_1239_candidate31, assuming the stated empty and one-vertex base cases and the stated finite-set cut and leaf identities, the…
- petrial_nullity_poly_empty_finsetThe partial Petrial nullity polynomial of the graph induced on the empty finite vertex set is one.
- petrial_nullity_poly_card_one_finsetFor every finite vertex set of cardinality one, the partial Petrial nullity polynomial of the induced graph is one plus X.
- petrial_nullity_poly_disjoint_finset_unionIf disjoint finite vertex sets have no edges between them, the nullity polynomial on their union is the product of the nullity polynomials…
- petrial_nullity_poly_leaf_finsetIf v is a leaf with neighbor u in the subgraph induced by the finite set s, its nullity polynomial is that after deleting v plus twice…
- petrial_nullity_poly_isoIsomorphic finite simple graphs have the same partial Petrial nullity generating polynomial.
- op_1239_candidate31_coefficients_of_polyIf the nullity polynomial of op_1239_candidate31 is the displayed degree-seven polynomial, then its partial Petrial coefficients in ranks…
- simple_graph_of_edge_list_decidable_relAdjacency in the graph determined by an edge list is decidable.
- op_1239_candidate31_treeThe graph op_1239_candidate31 is a tree.
- petrial_nullity_polyThe nullity generating polynomial of a finite graph G on V: the sum over all vertex subsets F of w raised to the nullity of the partial…
- g$g(S,M) = \dim_{\mathbb{F}_p}(S^{\perp}_M) - \dim_{\mathbb{F}_p}(S_M)$.
- Used by 1
- op_1239_candidate31_not_log_concaveThe partial Petrial polynomial of op_1239_candidate31 is not log-concave.
The proof, explained
The proof computes the Petrial coefficients of the 31-vertex graph `op_1239_candidate31` at ranks 24, 25, and 26 by first determining its Petrial nullity polynomial. Because the graph is a tree, its nullity polynomial is evaluated via an elimination certificate on the vertex set using recursive leaf reductions, component factorization, and base cases. The desired coefficients are then read off from the coefficients of $X^7$, $X^6$, and $X^5$ after reconciling decidability instances for the graph's adjacency relation.
The certificate vertex set `Op1239Cert31.vs71` contains every vertex of the candidate graph. automation
The universal quantifier ranges over the finite type `Fin 31`. The `decide` tactic checks membership for all 31 elements by exhaustive evaluation.
lemma op_1239_candidate31_petrial_coefficients_mem_vs71 : ∀ x : Fin 31, x ∈ Op1239Cert31.vs71 := by decide
The induced subgraph on the certificate set `Op1239Cert31.vs71` is isomorphic to `op_1239_candidate31`, and therefore both have identical Petrial nullity polynomials.
Since `Op1239Cert31.vs71` contains every vertex of `Fin 31`, the canonical inclusion map is a bijection and preserves adjacency by definition. Because the Petrial nullity polynomial is invariant under graph isomorphism (`petrial_nullity_poly_iso`), the polynomial of the induced subgraph equals that of the full graph.
uses
op_1239_candidate31_petrial_coefficients_mem_vs71,op_1239_candidate31_petrial_coefficients_iso_cert,petrial_nullity_poly_isodef op_1239_candidate31_petrial_coefficients_iso_cert : (SimpleGraph.induce (Op1239Cert31.vs71 : Set (Fin 31)) op_1239_candidate31) ≃g op_1239_candidate31 where toFun := Subtype.val invFun x := ⟨x, op_1239_candidate31_petrial_coefficients_mem_vs71 x⟩ left_inv x := Subtype.ext rfl right_inv x := rfl map_rel_iff' := by intros; rfl lemma op_1239_candidate31_petrial_coefficients_poly_eq_candidate : petrial_nullity_poly (SimpleGraph.induce (Op1239Cert31.vs71 : Set (Fin 31)) op_1239_candidate31) = petrial_nullity_poly op_1239_candidate31 := petrial_nullity_poly_iso _ _ op_1239_candidate31_petrial_coefficients_iso_cert
The Petrial nullity polynomial of `op_1239_candidate31` is $560820429 + 876263103 X + 530790732 X^2 + 156016800 X^3 + 22309128 X^4 + 1274976 X^5 + 8416 X^6 + 64 X^7$.
Rewriting with `op_1239_candidate31_petrial_coefficients_poly_eq_candidate` replaces the goal with computing the polynomial of the induced subgraph on `vs71`. The certificate reduction theorem `op_1239_candidate31_nullity_poly_conditional` evaluates this polynomial using the recurrence rules for Petrial nullity polynomials: the empty set evaluates to 1 (`petrial_nullity_poly_empty_finset`), singletons evaluate to $1 + X$ (`petrial_nullity_poly_card_one_finset`), disconnected components multiply (`petrial_nullity_poly_disjoint_finset_union`), and leaf reductions follow $P(S) = P(S \setminus \{v\}) + 2 P(S \setminus \{v, u\})$ (`petrial_nullity_poly_leaf_finset`).
uses
op_1239_candidate31_petrial_coefficients_poly_eq_candidate,op_1239_candidate31_nullity_poly_conditional,petrial_nullity_poly_empty_finset,petrial_nullity_poly_card_one_finset,petrial_nullity_poly_disjoint_finset_union,petrial_nullity_poly_leaf_finsetlemma op_1239_candidate31_petrial_coefficients_poly : petrial_nullity_poly op_1239_candidate31 = 560820429 + 876263103 * Polynomial.X ^ 1 + 530790732 * Polynomial.X ^ 2 + 156016800 * Polynomial.X ^ 3 + 22309128 * Polynomial.X ^ 4 + 1274976 * Polynomial.X ^ 5 + 8416 * Polynomial.X ^ 6 + 64 * Polynomial.X ^ 7 := by rw [← op_1239_candidate31_petrial_coefficients_poly_eq_candidate] exact op_1239_candidate31_nullity_poly_conditional (petrial_nullity_poly_empty_finset op_1239_candidate31) (petrial_nullity_poly_card_one_finset op_1239_candidate31) (petrial_nullity_poly_disjoint_finset_union op_1239_candidate31) (fun s v u hv hu => petrial_nullity_poly_leaf_finset op_1239_candidate31 s v u hv hu)
The Petrial coefficients of a graph are independent of the decidability instance chosen for edge adjacency.
The type `DecidableRel G.Adj` is a subsingleton because decidability witnesses for propositions are unique. By `Subsingleton.elim`, any two decidability instances $d_1$ and $d_2$ are equal, making the resulting coefficient terms definitionally identical (`rfl`).
uses
Subsingleton.elimlemma op_1239_candidate31_petrial_coefficients_congr {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (d1 d2 : DecidableRel G.Adj) (k : ℕ) : @petrial_coeff V _ _ G d1 k = @petrial_coeff V _ _ G d2 k := by cases Subsingleton.elim d1 d2 rfl
The goal under classical decidability reduces to evaluating the Petrial coefficients under the inferred decidability instance for ranks 24, 25, and 26.
Using the congruence lemma `op_1239_candidate31_petrial_coefficients_congr`, we establish that the coefficients defined with `Classical.decRel` match those defined with the inferred decidability instance at ranks 24, 25, and 26. Rewriting with these equations replaces the classical instances in the goal.
uses
op_1239_candidate31_petrial_coefficients_congr,Classical.decReltheorem op_1239_candidate31_petrial_coefficients : letI : DecidableRel op_1239_candidate31.Adj := Classical.decRel _; petrial_coeff op_1239_candidate31 24 = 64 ∧ petrial_coeff op_1239_candidate31 25 = 8416 ∧ petrial_coeff op_1239_candidate31 26 = 1274976 := by have h24 := op_1239_candidate31_petrial_coefficients_congr op_1239_candidate31 (Classical.decRel _) inferInstance 24 have h25 := op_1239_candidate31_petrial_coefficients_congr op_1239_candidate31 (Classical.decRel _) inferInstance 25 have h26 := op_1239_candidate31_petrial_coefficients_congr op_1239_candidate31 (Classical.decRel _) inferInstance 26 rw [h24, h25, h26]
The partial Petrial coefficients of `op_1239_candidate31` at ranks 24, 25, and 26 are 64, 8416, and 1274976, respectively.
The lemma `op_1239_candidate31_coefficients_of_poly` relates the rank $k$ Petrial coefficient to the coefficient of $X^{31 - k}$ in the Petrial nullity polynomial. Applying it to the computed polynomial `op_1239_candidate31_petrial_coefficients_poly` reads off the coefficients of $X^7$, $X^6$, and $X^5$ as 64, 8416, and 1274976, respectively.
uses
op_1239_candidate31_coefficients_of_poly,op_1239_candidate31_petrial_coefficients_polyexact op_1239_candidate31_coefficients_of_poly op_1239_candidate31_petrial_coefficients_poly
Classical.decRel- Constructs a decidability instance for any binary relation using classical logic.
Subsingleton.elim- Any two elements of a subsingleton type are equal.
op_1239_candidate31_coefficients_of_poly- Extracts the Petrial coefficients at ranks 24, 25, and 26 from the degree 7, 6, and 5 coefficients of the Petrial nullity polynomial of `op_1239_candidate31`.
op_1239_candidate31_nullity_poly_conditional- The Petrial nullity polynomial of a subgraph on a certificate vertex set evaluates to an explicit polynomial given the recurrence relations for empty sets, singletons, disjoint unions, and leaf removals.
op_1239_candidate31_petrial_coefficients_congr- The Petrial coefficient of rank $k$ for a graph $G$ is independent of the choice of decidability instance for edge adjacency.
op_1239_candidate31_petrial_coefficients_iso_cert- The induced subgraph of `op_1239_candidate31` on the certificate vertex set `vs71` is isomorphic to `op_1239_candidate31`.
op_1239_candidate31_petrial_coefficients_mem_vs71- Every vertex in `Fin 31` belongs to the certificate vertex set `Op1239Cert31.vs71`.
op_1239_candidate31_petrial_coefficients_poly- The Petrial nullity polynomial of `op_1239_candidate31` is $560820429 + 876263103 X + 530790732 X^2 + 156016800 X^3 + 22309128 X^4 + 1274976 X^5 + 8416 X^6 + 64 X^7$.
op_1239_candidate31_petrial_coefficients_poly_eq_candidate- The Petrial nullity polynomial of the induced subgraph on `vs71` equals that of `op_1239_candidate31`.
petrial_nullity_poly_card_one_finset- The Petrial nullity polynomial of an induced subgraph on a single vertex is $1 + X$.
petrial_nullity_poly_disjoint_finset_union- The Petrial nullity polynomial of a disjoint union of non-adjacent vertex subsets is the product of their respective nullity polynomials.
petrial_nullity_poly_empty_finset- The Petrial nullity polynomial of the empty induced subgraph is 1.
petrial_nullity_poly_iso- Isomorphic simple graphs have equal Petrial nullity polynomials.
petrial_nullity_poly_leaf_finset- If $v$ is a leaf in the induced subgraph on $s$ with neighbor $u$, the Petrial nullity polynomial satisfies $P(s) = P(s \setminus \{v\}) + 2 P(s \setminus \{v, u\})$.
- Step 1 relies on the `decide` tactic to verify by finite computation that all 31 elements of `Fin 31` belong to the certificate vertex set.
- Steps 4 and 5 address a Lean-specific typeclass technicality with no counterpart in paper proofs: `petrial_coeff` takes an adjacency decidability instance as a parameter, so the proof uses `Subsingleton.elim` to show that the classical instance `Classical.decRel` in the theorem statement agrees with the inferred instance used in the certificate.
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.
lemma op_1239_candidate31_petrial_coefficients_mem_vs71 : ∀ x : Fin 31, x ∈ Op1239Cert31.vs71 := by decidedef op_1239_candidate31_petrial_coefficients_iso_cert : (SimpleGraph.induce (Op1239Cert31.vs71 : Set (Fin 31)) op_1239_candidate31) ≃g op_1239_candidate31 where toFun := Subtype.val invFun x := ⟨x, op_1239_candidate31_petrial_coefficients_mem_vs71 x⟩ left_inv x := Subtype.ext rfl right_inv x := rfl map_rel_iff' := by intros; rfllemma op_1239_candidate31_petrial_coefficients_poly_eq_candidate : petrial_nullity_poly (SimpleGraph.induce (Op1239Cert31.vs71 : Set (Fin 31)) op_1239_candidate31) = petrial_nullity_poly op_1239_candidate31 := petrial_nullity_poly_iso _ _ op_1239_candidate31_petrial_coefficients_iso_certlemma op_1239_candidate31_petrial_coefficients_poly : petrial_nullity_poly op_1239_candidate31 = 560820429 + 876263103 * Polynomial.X ^ 1 + 530790732 * Polynomial.X ^ 2 + 156016800 * Polynomial.X ^ 3 + 22309128 * Polynomial.X ^ 4 + 1274976 * Polynomial.X ^ 5 + 8416 * Polynomial.X ^ 6 + 64 * Polynomial.X ^ 7 := by rw [← op_1239_candidate31_petrial_coefficients_poly_eq_candidate] exact op_1239_candidate31_nullity_poly_conditional (petrial_nullity_poly_empty_finset op_1239_candidate31) (petrial_nullity_poly_card_one_finset op_1239_candidate31) (petrial_nullity_poly_disjoint_finset_union op_1239_candidate31) (fun s v u hv hu => petrial_nullity_poly_leaf_finset op_1239_candidate31 s v u hv hu)lemma op_1239_candidate31_petrial_coefficients_congr {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (d1 d2 : DecidableRel G.Adj) (k : ℕ) : @petrial_coeff V _ _ G d1 k = @petrial_coeff V _ _ G d2 k := by cases Subsingleton.elim d1 d2 rfltheorem op_1239_candidate31_petrial_coefficients : letI : DecidableRel op_1239_candidate31.Adj := Classical.decRel _; petrial_coeff op_1239_candidate31 24 = 64 ∧ petrial_coeff op_1239_candidate31 25 = 8416 ∧ petrial_coeff op_1239_candidate31 26 = 1274976 := by have h24 := op_1239_candidate31_petrial_coefficients_congr op_1239_candidate31 (Classical.decRel _) inferInstance 24 have h25 := op_1239_candidate31_petrial_coefficients_congr op_1239_candidate31 (Classical.decRel _) inferInstance 25 have h26 := op_1239_candidate31_petrial_coefficients_congr op_1239_candidate31 (Classical.decRel _) inferInstance 26 rw [h24, h25, h26] exact op_1239_candidate31_coefficients_of_poly op_1239_candidate31_petrial_coefficients_poly