The Axiom of Choice and the Trouble with Picking
The Axiom of Choice looks obvious until the sets are infinite — and no amount of randomness, order statistics, or clever formulas gets you out of needing it.
Read the entryI am an Associate Professor in the Department of Computer Science at the Lahore University of Management Sciences (LUMS), Pakistan.
I earned my Ph.D. from Rutgers University (2014), where I was a Fulbright Scholar and Rutgers Honors Fellow. Before joining LUMS in 2026 I spent twelve years at the Information Technology University (ITU), Lahore — first as Assistant Professor, then as Associate Professor and Chairperson of the CS Department — and held a concurrent appointment as Research Assistant Professor at Vanderbilt University. I have also worked at Los Alamos National Laboratory and Bloomberg L.P.
My research sits at the intersection of graph machine learning, network science, and discrete geometry. A common thread is using combinatorial and geometric structure — zero forcing, centerpoints, PMI sequences — to reason about resilience, controllability, and representation in networks.
Graph neural networks for combinatorial optimization (minimum dominating set, minimum vertex cover), code vulnerability detection, and brain connectomics. The NeuroGraph benchmark provides 35 graph datasets spanning behavioral and cognitive traits for reproducible research in neuroimaging.
Byzantine-resilient consensus and distributed learning using the centerpoint theorem. Applications include multi-robot pursuit, distributed SGD under adversarial attacks, GNN-based flocking control, and resilient multi-agent reinforcement learning.
Strong structural controllability via zero forcing sets and distance-based bounds, with algorithms for leader selection and edge augmentation. PMI sequences and their tight bounds connect discrete geometry to network controllability.
Centerpoint theorem, ray-shooting depth, and k-centerpoint conjectures in ℝd. Affine-invariant statistical depth measures and their algorithms. PhD thesis: hitting sets in convex ranges from Rutgers (Fulbright, 2014).
Explorations of graphs, computation, and the questions they lead to.
The Axiom of Choice looks obvious until the sets are infinite — and no amount of randomness, order statistics, or clever formulas gets you out of needing it.
Read the entryFrom lifelong neurons to synaptic graphs, pattern completion, and the possibility that remembering changes a memory.
Read the entryPlayable 2D/3D game visualizing the extractor model behind distance-based bounds on strong structural controllability. Move horizontal and vertical extractors across a coin grid — mechanics that directly mirror the combinatorial structure of the research.
Native macOS presentation app. Compose PDFs, videos, and images into a single plan with per-slide hotkeys for branching, live pen/highlighter drawing overlay, and fullscreen HUD. Built entirely on Apple frameworks — no dependencies.
macOS app for browsing and deleting photos and videos from USB-connected phones. iPhones via ImageCaptureCore; Android via libmtp with an ADB fallback for Samsung Galaxy devices. Thumbnail grid, bulk deletion, sorting and filtering.
Desktop PDF page-management app. Drag-and-drop reordering, extraction, deletion, insertion from another PDF, rotation, and full-resolution page preview. Undo/redo for all operations. Cross-platform via Electron.
Live classroom quiz tool: a PDF question bank fills the screen while a sidebar tracks scores for up to five teams against a 90-minute countdown. Correct/Incorrect/Pass buttons and full keyboard shortcuts — no setup, just open and play.
Full-featured countdown timer for exam halls. Preset durations, custom time entry, add-5-minutes button, editable title, light/dark theme, animation controls, fullscreen mode, and state persistence across refreshes.
Fully decentralized crowdfunding platform on Ethereum. Community members propose projects, vote, execute approved proposals, and contribute funds — all through auditable smart contracts with a React frontend.
Flashcard quiz for discrete math students. Each round generates two random sets and asks for the union, intersection, or set difference — with four multiple-choice answers and instant feedback.
Undergraduate and graduate algorithms: asymptotic analysis, divide-and-conquer, graph algorithms, dynamic programming, NP-completeness, and randomized algorithms. Course website with lecture notes, schedule, and announcements.
27 lectures of notes (LaTeX + compiled PDFs) covering MST, BFS/DFS, articulation points, network flow, dynamic programming, string matching, and more. Python implementations of Kruskal's, Prim's, and topological sort.
Course website for Discrete Structures with syllabus, weekly schedule, lecture notes, worksheets, and homework. Data-driven single-page site that updates automatically when JSON files are edited.
A standalone 29-slide visual lecture on ZF, choice functions, independence, well-ordering, Banach–Tarski, non-measurable sets, and when selection rules can replace Choice.
A puzzle-led mathematics circle on parity, Hamming distance, Hamming(7,4), Golay, and Reed–Solomon codes, with an interactive slide deck and four printable worksheets.
Four-week mathematics research program for A-level students (ages 16–18). Topics: graph theory, zero forcing and network controllability, Erdős–Szekeres, and the centerpoint theorem — active open problems, accessible with no university background.
I produce animated explainers and lecture recordings on algorithms, discrete mathematics, and theoretical computer science — aimed at undergraduates and anyone curious about the ideas behind the math. Two channels, two flavours:
Short animated explainers on the core idea behind classic algorithms — median-of-medians, Kruskal's MST, zero forcing, and more. Produced with Manim; designed to build intuition before the formal proof.
Longer-form lecture recordings covering discrete structures, graph theory, and algorithms at university level. Companion to classroom teaching at LUMS and ITU.
Full list on Google Scholar.