My name is Irfan Ali. Welcome to my website.
I’m a formal methods consultant working on financial smart contracts with IOG, using Lean, Rocq, and Haskell. I’m interested in formal methods, logic, PLT, economics, and typography. I occasionally post expository articles and insights here.
Projects
- Maize: Lean 4 library for decision tables and normative logic
- Dhaal: Lean 4 model of India's income tax, proving the rebate prevents a tax cliff and the 4% cess brings one back
- murabaha: Lean 4 model of a cost-deferred sale contract (used in Islamic finance) showing two common loan clauses that break Shariah compliance
- poverty-ppp: Lean 4 argument that India's poverty line understates the poor's cost of living
- Myna: monospace typeface for symbol-rich languages like Lean and Haskell
- Toffee: Haskell transpiler for a cleaner CoffeeScript (work in progress)
- Pilaf: Haskell-style pattern matching for JavaScript
- Hilal: prayer times straight from your local mosques
Blog
- Open and Continuous Maps in Topology
- Poor Man's Time Machine
- A Gentler Introduction to Y and Z Combinators
Colophon
This site is hand-built with Express.js and Marked, and set in Inter and Myna.