MaxSMT-Based Type Inference for Python 3

By Mostafa Hassan, Caterina Urban, Marco Eilers, Peter Müller. 2018

55 citations recorded by the source corpus.

We present Typpete, a sound type inferencer that automatically infers Python 3 type annotations. Typpete encodes type constraints as a MaxSMT problem and uses optional constraints and specific quantifier instantiation patterns to make the constraint solving process efficient. Our experimental evaluation shows that Typpete scales to real world Python programs and outperforms state-of-the-art tools.

Subfields: Artificial Intelligence, Hardware and Architecture, Information Systems, Program Analysis & Verification

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Georgios Gousios
  2. Amir M. Mir
  3. Satish Chandra
  4. Michael Pradel
  5. Sebastian Proksch
  6. Evaldas Latoskinas
  7. Jason Liu
  8. Milod Kazerounian

In Hardware and Architecture

  1. Satish Chandra
  2. Georgios Gousios

In Information Systems

  1. Georgios Gousios
  2. Satish Chandra
  3. Jason Liu
  4. Michael Pradel
  5. Sebastian Proksch
  6. Amir M. Mir
  7. Evaldas Latoskinas
  8. Charles Sutton

In Program Analysis & Verification

  1. Georgios Gousios
  2. Satish Chandra
  3. Jason Liu
  4. Amir M. Mir
  5. Sebastian Proksch
  6. Evaldas Latoskinas
  7. Michael Pradel
  8. Milod Kazerounian

Citations in the corpus