Wei-Lin Wu

Research Scientist · A*STAR, Singapore · Ph.D. in Computer Science, University of California Santa Cruz

Photo of Wei-Lin Wu

I am Research Scientist at A*STAR, Singapore, where I am fortunate to be supervised by Yong Kiam Tan. I work on formal verification and automated reasoning: interactive theorem proving (mainly in HOL4, also Lean), verified constraint solving, and pseudo-Boolean proof logging and certification.

I received my Ph.D. in Computer Science from UC Santa Cruz, where I was fortunate to have Professor Phokion G. Kolaitis as my advisor and worked on mathematical logic and finite model theory. Here's my CV for your reference.

I'm from Tainan, Taiwan (a city where Jensen Huang and Lisa Su were born).

Wir müssen wissen, wir werden wissen. (We must know, we will know.) — David Hilbert

Current Research: Formal Verification

My research interests include automated reasoning, formal verification, constraint programming, theorem proving, and proof logging and certification.

Combinatorial solvers (SAT, constraint programming, pseudo-Boolean) are highly optimized and complex, so how can we trust their answers? One approach is proof logging: the solver emits a certificate alongside its answer, and a small, independently trusted checker verifies it. The VeriPB proof system does this using pseudo-Boolean reasoning, and its formally verified checker, CakePB, is built and proved correct in the CakeML verified-compiler ecosystem in the HOL4 theorem prover.

For a constraint-programming problem, however, the solver first has to translate the high-level constraints into pseudo-Boolean form, and that translation was itself an unverified link in the chain of trust. My current work closes this gap:

This work was done with colleagues at A*STAR and collaborators at Chalmers University of Technology, Lund University, the University of Copenhagen, and the University of Glasgow, and is currently under review.

Other things I'm involved in:

Projects

Ph.D. Research: Logic and Finite Model Theory

Many years ago, I taught myself mathematical logic using the excellent textbook Mathematical Logic, 2nd edition by H.-D. Ebbinghaus, J. Flum and W. Thomas. What brought me to this area were the famous Gödel's Incompleteness Theorems. Take any axiomatization of first-order arithmetic (with +, ×, 0, 1) that is consistent, decidable, and lets every computable function ƒ over the natural numbers N be represented by a first-order formula δƒ. The first theorem says that such an axiomatization is incomplete: some statement is true of N but cannot be proved from it. The second theorem says that if the axiomatization also contains first-order Peano arithmetic, then its own consistency, written as a first-order sentence, is one of these unprovable statements. The first theorem is closely related to the undecidable Halting Problem. In fact, (theoretical) computer science grew out of mathematical logic as a spin-off of the search for a way out of the foundational crisis of mathematics.

During my Ph.D., I worked on finite model theory, an area of logic in computer science whose themes include

My dissertation, A Study of the Expressive Power of Homomorphism Counts, connects finite model theory with homomorphism counts. A relational structure is determined up to isomorphism by its homomorphism counts. More precisely, let hom(C, A) be the number of homomorphisms from C to A. Then two relational structures A and B are isomorphic if and only if hom(C, A) = hom(C, B) for every relational structure C. This is Lovász's Theorem (by L. Lovász). A parallel result, due to S. Chaudhuri and M. Y. Vardi, says that A and B are isomorphic if and only if hom(A, C) = hom(B, C) for every relational structure C. These results motivate the following questions:

See the Publications section below for my results on these questions. Check out this video for a brief explanation. As a reference textbook, I highly recommend Graphs and Homomorphisms by P. Hell and J. Nešetřil.

References

[1] Yijia Chen, Jörg Flum, Mingjun Liu, and Zhiyang Xun. On algorithms based on finitely many homomorphism counts. In 47th International Symposium on Mathematical Foundations of Computer Science (MFCS 2022). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2022.

[2] Holger Dell, Martin Grohe, and Gaurav Rattan. Lovász meets Weisfeiler and Leman. In Ioannis Chatzigiannakis, Christos Kaklamanis, Dániel Marx, and Donald Sannella, editors, 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018, July 9-13, 2018, Prague, Czech Republic, volume 107 of LIPIcs, pages 40:1-40:14. Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2018.

Publications

Authors are listed alphabetically, following the convention of theoretical computer science.

Talks

Service

Theorem Provers and Programming

Besides these, I use LaTeX daily to typeset research documents, and occasionally Bash, AppleScript, and Automator to automate things. Yes, I'm a Mac user.

Teaching Experience

I have served as a teaching assistant for the following courses at UC Santa Cruz:

Education

Hobbies

Hiking, biking, swimming, photography, language learning (human languages or programming languages), linguistics, etymology.