Hi, I'm Ramzy.
I build software.
Math undergrad at the University of Waterloo, studying Scientific ML and Pure Math. I like building systems: backends, dev tools, and the layers underneath that hold everything together. I'm also interested in machine learning, quantitative trading, and the intersection of math, statistics, and software engineering.
Currently working on software at Slash, a fast-growing fintech unicorn with a lean engineering team. Previously led research and development at WatStreet on a project applying information-theoretic methods and machine learning to quantitative trading, and shipped AI/NLP & full-stack work at the National Research Council. Love coding in Go, but exploring TypeScript's type system and really enjoying it so far!
Selected work.
Toolbox.
Tools I reach for most often. The list is honest, not exhaustive — happy to learn anything the problem calls for.
Languages
Frameworks & Libraries
Tools & Infra
Where I've been.
Working across product and engineering. Working on scalable document generation. TypeScript, Temporal, CockroachDB.
Designed scalable C#/.NET REST APIs supporting technical enquiries on new building-code regulations. Worked with NLP pipelines that use sentence-embedding models and maximum-weight bipartite matching for semantic sentence alignment on ~50,000 lines of regulatory text. Shipped full-stack web apps across TypeScript, .NET, and SQL.
Building a regime-aware pairs trading system that learns when cointegration-based signals are reliable. Detecting unstable market regimes via spikes in KL divergence between recent spread behavior and ARMA-implied distributions, and training a Transformer-based confidence model to filter false mean-reversion trades.
Tutoring first and second year students in number theory, linear algebra, probability, and calculus at Waterloo's Mathematics Tutoring Centre.
Math.
My favourite thing about learning math is when a long chain of coincidences turns out to come from the same deep idea. Algebra and number theory pull me hardest on the pure side; on the applied side, probability theory and ML are where the math actually does work.
A running list of what I've taken, what I'm reading, and a few results I keep coming back to.
Coursework
PMATH
- PMATH 347
- Groups & Rings
- PMATH 348
- Fields and Galois Theory
- PMATH 351
- Real Analysis
- PMATH 352
- Complex Analysis
- PMATH 450
- Measure Theory
- PMATH 441
- Algebraic Number Theory
- PMATH 445
- Representation Theory
- PMATH 863
- Lie Groups and Lie Algebras
- PMATH 990
- Free and Finite Probability
MATH
- MATH 145
- Algebra (Advanced)
- MATH 146
- Linear Algebra 1 (Advanced)
- MATH 245
- Linear Algebra 2 (Advanced)
- MATH 147
- Calculus 1 (Advanced)
- MATH 148
- Calculus 2 (Advanced)
- MATH 247
- Calculus 3 (Advanced)
- AMATH 251
- Differential Equations (Advanced)
- STAT 230
- Probability
- CO 250
- Intro to Optimization
- MATH 249
- Combinatorics (Advanced)
PHYS
- PHYS 111
- Physics 1
- PHYS 122
- Waves, Electricity & Magnetism
- PHYS 124
- Modern Physics
- AMATH 271
- Theoretical Mechanics
CS
- CS 136
- Elementary Algorithm Design & Data Abstraction in C
- CS 136L
- Tools & Techniques for Software Dev
- CS 231
- Algorithmic Problem Solving
Reading
- Algebra: Chapter 0
- Algebra
- Linear Representations of Finite Groups
- Introduction to Commutative Algebra
- Real and Functional Analysis
- Fundamentals of Differential Geometry
Favourite theorems
-
First Isomorphism Theorem
Every group homomorphism $\varphi: G \to H$ induces an isomorphism:
$$G/\ker\varphi \;\cong\; \mathrm{im}\,\varphi.$$This shows up all over the place in math. This construction takes a map and boils it down to the information that it preserves; any homomorphism factors as a projection followed by an embedding. The same statement holds verbatim for rings, modules, and vector spaces.
-
Absolute Galois group is a Cantor set
The absolute Galois group $G_\mathbb{Q} = \mathrm{Gal}(\overline{\mathbb{Q}}/\mathbb{Q})$, equipped with its Krull topology, is compact, totally disconnected, perfect, and uncountable, hence homeomorphic (as a topological space) to the Cantor set.
The “symmetry of all algebraic numbers” is fractal at its core: no isolated points, no smooth structure. Motivates profinite groups and Galois representations.
-
Peter–Weyl Theorem
For a compact group $G$, matrix coefficients of irreducible unitary representations are dense in $C(G)$ and orthonormal in $L^2(G)$:
$$L^2(G) \cong \bigoplus_{\pi \in \hat G} V_\pi \otimes V_\pi^*.$$Fourier analysis is just a special case of this theorem. Fourier analysis works because the circle is a compact group; Peter-Weyl says that we can do something similar for all other compact groups. In physics, Peter–Weyl explains why angular momentum and spherical harmonics work.
-
Profinite completion of the integers
The profinite completion of the integers decomposes as
$$\widehat{\mathbb{Z}} = \varprojlim_n\,\, \mathbb{Z}/n\mathbb{Z}\cong \prod_p \mathbb{Z}_p,$$a product over all primes of the $p$-adic integers.
This is just super cool; integers are determined by all their modular shadows.
-
Probability that an integer is squarefree
The natural density of positive integers not divisible by any $p^2$ is
$$\frac{6}{\pi^2} = \frac{1}{\zeta(2)} = \prod_p \left(1 - \frac{1}{p^2}\right) \approx 0.6079.$$About 61% of integers have no repeated prime factor — and the answer involves $\pi$. The Euler product is the punchline: independence of primes makes the density multiplicative.
Say hi.
The fastest way to reach me is email. I read everything and reply to most things.
- Email rgirgis@uwaterloo.ca
- GitHub github.com/ramzygirgis
- LinkedIn linkedin.com/in/ramzygirgis