Pedro Orvalho

Pedro Orvalho

Consejo Superior de Investigaciones Científicas
6 previous affiliations
4Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Pedro Orvalho focuses on formal verification, automated fault localization, and the application of large language models to code understanding. His recent work addresses the challenges of debugging complex software and circuits using maximum satisfiability techniques. Currently, he investigates the robustness of language models in programming tasks and develops novel frameworks for verifying high-level languages like Python.

Research Trajectory

The available evidence captures Pedro Orvalho's research output in 2025, highlighting a strong focus on software reliability, debugging, and the intersection of formal methods with artificial intelligence. As a lead author across his recent publications, his work bridges traditional model-based diagnosis with modern machine learning techniques for code analysis.

A foundational aspect of Orvalho's research involves advancing automated debugging techniques for complex systems. In Model-Based Diagnosis with Multiple Observations: A Unified Approach for C Software and Boolean Circuits, he introduced CFaults, a fault localization tool designed for C software and Boolean circuits containing multiple faults. This work leverages Model-Based Diagnosis (MBD) across multiple observations, aggregating failing test cases into a unified Maximum Satisfiability (MaxSAT) formula to ensure subset-minimal and consistent diagnoses across all failing tests.

Building on his expertise in formal verification for C programs, Orvalho has expanded his focus to address the lack of robust verification tools for higher-level, general-purpose languages like Python. He led the development of PyVeritas: On Verifying Python via LLM-Based Transpilation and Bounded Model Checking for C. This framework utilizes Large Language Models (LLMs) to perform high-level transpilation from Python to C, subsequently applying established bounded model checkers, such as CBMC, to enable exhaustive symbolic reasoning and fault localization for Python code.

This integration of LLMs into formal verification pipelines naturally led to investigations into the reliability and reasoning capabilities of the models themselves. In Are Large Language Models Robust in Understanding Code Against Semantics-Preserving Mutations?, Orvalho evaluated whether state-of-the-art LLMs genuinely reason about Python programs or rely on superficial patterns. By applying semantics-preserving code mutations, such as variable renaming, this research assesses the robustness of LLM code comprehension, ensuring that models used in programming and verification tasks are logically sound rather than merely accurate by chance.

Current Directions

Based on the most recent papers in the evidence, all published in 2025, Orvalho's current research investigates the intersection of formal verification and artificial intelligence. A primary direction involves critically evaluating the reasoning capabilities of Large Language Models in software engineering contexts, particularly ensuring that these models comprehend code semantics rather than relying on superficial heuristics or flawed logic. Concurrently, he continues to explore hybrid methodologies that combine the generative flexibility of LLMs with the rigorous guarantees of traditional bounded model checking and Maximum Satisfiability solvers. This dual approach aims to extend robust fault localization and formal verification to widely used, complex programming languages that have historically resisted exhaustive symbolic reasoning.

Profile updated

See something wrong? Report a mistake