PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 27, 20260 citationsOpen Access

Polynomial-Time Solution of Unique Latin Square Completion via Prime Debt Graphs and Exhaustive Cascade

View Full Paper
JTJoão Teixeira

Key Points

  • The aim is to establish a polynomial-time solution for unique Latin square completions with a focus on a unique solution case.
  • Utilized house polynomials to represent row and column constraints.
  • Applied a prime encoding for candidate sets based on divisibility.
  • Analyzed alternating cycles in the bipartite matching graph in relation to surplus candidates.
  • Developed a prime debt graph to track candidate displacements.
  • Implemented a three-layer operator for violation detection and candidate elimination.
  • Achieved a solution in O(N^11) time for unique Latin square completions.
  • Demonstrated that local feasible reassignments cannot lead to a global solution under the given constraints.
  • Guaranteed elimination of incorrect candidates with each application of the operator.

Abstract

We prove that any N ×N Latin square completion in-stance with a unique solution (M =1) can be solved in O(N 11) timewithout backtracking. The proof combines three tools. House poly-nomials encode row and column constraints so that candidate setsat each cell are the common roots of two polynomials; a parallelprime encoding gives the same sets via divisibility. The surplus ofcandidates beyond the correct value creates alternating cycles ineach house’s bipartite matching graph—locally feasible reassign-ments. Under M =1, the Cavenagh–Wanless trade impossibilitytheorem prevents these local alternatives from forming a globalLatin trade. This tension is captured by the prime debt graph,a DAG that traces the displacement from any wrong candidateto a terminal house violation. A three-layer composed operator(house-consistency closure, rectangle enumeration, single-variableconditioning) detects every such violation, guaranteeing that eachapplication eliminates wrong candidates.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

João Teixeira (2026) studied this question.

synapsesocial.com/papers/69c6206115a0a509bde18cd4https://doi.org/10.5281/zenodo.19227581
Ask AI
Helpful
Bookmark
Share
View Full Paper