1,364 research outputs found

    Proving the Herman-Protocol Conjecture

    Get PDF
    Herman's self-stabilisation algorithm, introduced 25 years ago, is a well-studied synchronous randomised protocol for enabling a ring of N processes collectively holding any odd number of tokens to reach a stable state in which a single token remains. Determining the worst-case expected time to stabilisation is the central outstanding open problem about this protocol. It is known that there is a constant h such that any initial configuration has expected stabilisation time at most hN2. Ten years ago, McIver and Morgan established a lower bound of 4/27?0.148 for h, achieved with three equally-spaced tokens, and conjectured this to be the optimal value of h. A series of papers over the last decade gradually reduced the upper bound on h, with the present record (achieved in 2014) standing at approximately 0.156. In this paper, we prove McIver and Morgan's conjecture and establish that h=4/27 is indeed optimal

    Machine Learning of Coq Proof Guidance: First Experiments

    Full text link
    We report the results of the first experiments with learning proof dependencies from the formalizations done with the Coq system. We explain the process of obtaining the dependencies from the Coq proofs, the characterization of formulas that is used for the learning, and the evaluation method. Various machine learning methods are compared on a dataset of 5021 toplevel Coq proofs coming from the CoRN repository. The best resulting method covers on average 75% of the needed proof dependencies among the first 100 predictions, which is a comparable performance of such initial experiments on other large-theory corpora

    Generalized solution for the Herman Protocol Conjecture

    Full text link
    We have a cycle of NN nodes and there is a token on an odd number of nodes. At each step, each token independently moves to its clockwise neighbor or stays at its position with probability 12\frac{1}{2}. If two tokens arrive to the same node, then we remove both of them. The process ends when only one token remains. The question is that for a fixed NN, which is the initial configuration that maximizes the expected number of steps E(T)E(T). The Herman Protocol Conjecture says that the 33-token configuration with distances ⌊N3⌋\lfloor\frac{N}{3}\rfloor and ⌈N3⌉\lceil\frac{N}{3}\rceil maximizes E(T)E(T). We present a proof of this conjecture not only for E(T)E(T) but also for E(f(T))E\big(f(T)\big) for some function f:N→R+f:\mathbb{N}\rightarrow\mathbb{R}^{+} which method applies for different generalizations of the problem

    A CASE STUDY ON HOW PRIMARY-SCHOOL IN-SERVICE TEACHERS CONJECTURE AND PROVE: AN APPROACH FROM THE MATHEMATICAL COMMUNITY

    Get PDF
    This paper studies how four primary-school in-service teachers develop the mathematical practices of conjecturing and proving. From the consideration of professional development as the legitimate peripheral participation in communities of practice, these teachers’ mathematical practices have been characterised by using a theoretical framework (consisting of categories of activities) that describes and explains how a research mathematician develops these two mathematical practices. This research has adopted a qualitative methodology and, in particular, a case study methodological approach. Data was collected in a working session on professional development while the four participants discussed two questions that invoked the development of the mathematical practices of conjecturing and proving. The results of this study show the significant presence of informal activities when the four participants conjecture, while few informal activities have been observed when they strive to prove a result. In addition, the use of examples (an informal activity) differs in the two practices, since examples support the conjecturing process but constitute obstacles for the proving process. Finally, the findings are contrasted with other related studies and several suggestions are presented that may be derived from this work to enhance professional development

    Visualising First-Order Proof Search

    Get PDF
    This paper describes a method for visualising proof search in automatic resolution-style first-order theorem provers. The method has been implemented in a simple tool called viz, which takes advantage of the widely-supported scalar vector graphics format to produce graphs which can be viewed interactively. This allows the user to zoom in and out, pan, and get more information by clicking on particular parts of the graph. We demonstrate how the graphs can be used to suggest improvements to the strategy and heuristics used in the proof attempt

    Proof Repair Infrastructure for Supervised Models: Building a Large Proof Repair Dataset

    Get PDF
    We report on our efforts building a new, large proof-repair dataset and benchmark suite for the Coq proof assistant. The dataset is made up of Git commits from open-source projects with old and new versions of definitions and proofs aligned across commits. Building this dataset has been a significant undertaking, highlighting a number of challenges and gaps in existing infrastructure. We discuss these challenges and gaps, and we provide recommendations for how the proof assistant community can address them. Our hope is to make it easier to build datasets and benchmark suites so that machine-learning tools for proofs will move to target the tasks that matter most and do so equitably across proof assistants

    A nearly optimal upper bound for the self-stabilization time in Herman's algorithm

    Full text link
    Self-stabilization algorithms are very important in designing fault-tolerant distributed systems. In this paper we consider Herman's self-stabilization algorithm and study its expected self-stabilization time. McIver and Morgan have conjectured the optimal upper bound being 0.148N 2, where N denotes the number of processors. We present an elementary proof showing a bound of 0.167N2, a sharp improvement compared with the best known bound 0.521N2. Our proof is inspired by McIver and Morgan's approach: we find a nearly optimal closed form of the expected stabilization time for any initial configuration, and apply the Lagrange multipliers method to give an upper bound of it. © 2014 Springer-Verlag
    • 

    corecore