Skip to main content

Showing 1–11 of 11 results for author: de Moura, L

Searching in archive cs. Search in all archives.
.
  1. A Formalized Extension of the Substitution Lemma in Coq

    Authors: Maria J. D. Lima, Flávio L. C. de Moura

    Abstract: The substitution lemma is a renowned theorem within the realm of lambda-calculus theory and concerns the interactional behaviour of the metasubstitution operation. In this work, we augment the lambda-calculus's grammar with an uninterpreted explicit substitution operator, which allows the use of our framework for different calculi with explicit substitutions. Our primary contribution lies in verif… ▽ More

    Submitted 24 September, 2023; originally announced September 2023.

    Comments: In Proceedings FROM 2023, arXiv:2309.12959

    Journal ref: EPTCS 389, 2023, pp. 80-95

  2. arXiv:2305.00109  [pdf, other

    cs.CV cs.AI

    Zero-shot performance of the Segment Anything Model (SAM) in 2D medical imaging: A comprehensive evaluation and practical guidelines

    Authors: Christian Mattjie, Luis Vinicius de Moura, Rafaela Cappelari Ravazio, Lucas Silveira Kupssinskü, Otávio Parraga, Marcelo Mussi Delucis, Rodrigo Coelho Barros

    Abstract: Segmentation in medical imaging is a critical component for the diagnosis, monitoring, and treatment of various diseases and medical conditions. Presently, the medical segmentation landscape is dominated by numerous specialized deep learning models, each fine-tuned for specific segmentation tasks and image modalities. The recently-introduced Segment Anything Model (SAM) employs the ViT neural arch… ▽ More

    Submitted 5 May, 2023; v1 submitted 28 April, 2023; originally announced May 2023.

    Comments: 18 pages, 3 Tables, 10 Figures with additional supplementary material with 1 Table

  3. arXiv:2012.11401  [pdf, other

    cs.AI cs.PL

    Universal Policies for Software-Defined MDPs

    Authors: Daniel Selsam, Jesse Michael Han, Leonardo de Moura, Patrice Godefroid

    Abstract: We introduce a new programming paradigm called oracle-guided decision programming in which a program specifies a Markov Decision Process (MDP) and the language provides a universal policy. We prototype a new programming language, Dodona, that manifests this paradigm using a primitive 'choose' representing nondeterministic choice. The Dodona interpreter returns either a value or a choicepoint that… ▽ More

    Submitted 21 December, 2020; originally announced December 2020.

  4. arXiv:2003.01685  [pdf, other

    cs.PL

    Sealing Pointer-Based Optimizations Behind Pure Functions

    Authors: Daniel Selsam, Simon Hudon, Leonardo de Moura

    Abstract: Functional programming languages are particularly well-suited for building automated reasoning systems, since (among other reasons) a logical term is well modeled by an inductive type, traversing a term can be implemented generically as a higher-order combinator, and backtracking is dramatically simplified by persistent datastructures. However, existing pure functional programming languages all su… ▽ More

    Submitted 30 May, 2020; v1 submitted 3 March, 2020; originally announced March 2020.

  5. Beyond Notations: Hygienic Macro Expansion for Theorem Proving Languages

    Authors: Sebastian Ullrich, Leonardo de Moura

    Abstract: In interactive theorem provers (ITPs), extensible syntax is not only crucial to lower the cognitive burden of manipulating complex mathematical objects, but plays a critical role in developing reusable abstractions in libraries. Most ITPs support such extensions in the form of restrictive "syntax sugar" substitutions and other ad hoc mechanisms, which are too rudimentary to support many desirable… ▽ More

    Submitted 12 April, 2022; v1 submitted 28 January, 2020; originally announced January 2020.

    Journal ref: Logical Methods in Computer Science, Volume 18, Issue 2 (April 13, 2022) lmcs:7421

  6. arXiv:2001.04301  [pdf, other

    cs.PL cs.LO

    Tabled Typeclass Resolution

    Authors: Daniel Selsam, Sebastian Ullrich, Leonardo de Moura

    Abstract: Typeclasses provide an elegant and effective way of managing ad-hoc polymorphism in both programming languages and interactive proof assistants. However, the increasingly sophisticated uses of typeclasses within proof assistants, especially within Lean's burgeoning mathematics library, mathlib, have elevated once-theoretical limitations of existing typeclass resolution procedures into major impedi… ▽ More

    Submitted 21 January, 2020; v1 submitted 13 January, 2020; originally announced January 2020.

  7. arXiv:1908.05647  [pdf, other

    cs.PL

    Counting Immutable Beans: Reference Counting Optimized for Purely Functional Programming

    Authors: Sebastian Ullrich, Leonardo de Moura

    Abstract: Most functional languages rely on some garbage collection for automatic memory management. They usually eschew reference counting in favor of a tracing garbage collector, which has less bookkeeping overhead at runtime. On the other hand, having an exact reference count of each value can enable optimizations, such as destructive updates. We explore these optimization opportunities in the context of… ▽ More

    Submitted 5 March, 2020; v1 submitted 15 August, 2019; originally announced August 2019.

    Journal ref: IFL 2019

  8. arXiv:1802.03685  [pdf, other

    cs.AI cs.LG cs.LO

    Learning a SAT Solver from Single-Bit Supervision

    Authors: Daniel Selsam, Matthew Lamm, Benedikt Bünz, Percy Liang, Leonardo de Moura, David L. Dill

    Abstract: We present NeuroSAT, a message passing neural network that learns to solve SAT problems after only being trained as a classifier to predict satisfiability. Although it is not competitive with state-of-the-art SAT solvers, NeuroSAT can solve problems that are substantially larger and more difficult than it ever saw during training by simply running for more iterations. Moreover, NeuroSAT generalize… ▽ More

    Submitted 11 March, 2019; v1 submitted 10 February, 2018; originally announced February 2018.

  9. arXiv:1701.04391  [pdf, ps, other

    cs.LO

    Congruence Closure in Intensional Type Theory

    Authors: Daniel Selsam, Leonardo de Moura

    Abstract: Congruence closure procedures are used extensively in automated reasoning and are a core component of most satisfiability modulo theories solvers. However, no known congruence closure algorithms can support any of the expressive logics based on intensional type theory (ITT), which form the basis of many interactive theorem provers. The main source of expressiveness in these logics is dependent typ… ▽ More

    Submitted 9 May, 2017; v1 submitted 16 January, 2017; originally announced January 2017.

    Comments: Appeared at International Joint Conference on Automated Reasoning (IJCAR) 2016

  10. arXiv:1505.04324  [pdf, ps, other

    cs.LO

    Elaboration in Dependent Type Theory

    Authors: Leonardo de Moura, Jeremy Avigad, Soonho Kong, Cody Roux

    Abstract: To be usable in practice, interactive theorem provers need to provide convenient and efficient means of writing expressions, definitions, and proofs. This involves inferring information that is often left implicit in an ordinary mathematical text, and resolving ambiguities in mathematical expressions. We refer to the process of passing from a quasi-formal and partially-specified expression to a co… ▽ More

    Submitted 17 December, 2015; v1 submitted 16 May, 2015; originally announced May 2015.

  11. A Formalization of the Theorem of Existence of First-Order Most General Unifiers

    Authors: Andréia B Avelar, André L Galdino, Flávio LC de Moura, Mauricio Ayala-Rincón

    Abstract: This work presents a formalization of the theorem of existence of most general unifiers in first-order signatures in the higher-order proof assistant PVS. The distinguishing feature of this formalization is that it remains close to the textbook proofs that are based on proving the correctness of the well-known Robinson's first-order unification algorithm. The formalization was applied inside… ▽ More

    Submitted 28 March, 2012; originally announced March 2012.

    Comments: In Proceedings LSFA 2011, arXiv:1203.5423

    Journal ref: EPTCS 81, 2012, pp. 63-78