Projects

The Rubik’s Cube and Group Theory

· Download PDF

*If you are having trouble viewing the math, right click an equation, math settings > math renderer > CHTML

Overview

This paper explores the deep connection between the Rubik’s Cube and abstract algebra, specifically Group Theory. It introduces group operations using cube moves and illustrates the structure of permutation groups.

We study the Rubik’s Cube group $G$ generated by the basic face turns $\mathcal{R}=\{F,R,L,U,D,B\}$. Each legal configuration corresponds to an element of $G$, with composition as the group operation. The eight corners and twelve edges carry orientation data. A convenient viewpoint embeds \(G\) into permutation groups on oriented pieces: \[ G \subseteq \mathrm{Sym}(\Omega). \]

  • Corner orientations live in \(\mathbb{Z}_3^8\) with total twist \( \equiv 0 \pmod{3}\).
  • Edge orientations live in \(\mathbb{Z}_2^{12}\) with total flip \( \equiv 0 \pmod{2}\).

Homomorphisms capture this: \( \phi_1: G \to S_{8}\ltimes \mathbb{Z}_3^8, \) \( \phi_2: G \to S_{12}\ltimes \mathbb{Z}_2^{12} \)

Commuting Generators

Generators with disjoint support commute, e.g. \(UD=DU\). More generally, if \(\mathrm{supp}(X)\cap \mathrm{supp}(Y)=\varnothing\) then \(XY=YX\).

Goji icon

Goji: Ecological Calendar

Goji is an interactive ecological calendar that combines conversational AI, seasonal indicators, and regional data into a unique tool for understanding local ecosystems. The system integrates a chat interface with a circular seasonal calendar, allowing users to explore ecological patterns in a natural and intuitive way.

Key Features

  • Conversational AI chatbot for ecological knowledge.
  • Circular ecological calendar with seasonal arcs.
  • Integration of location-based ecological indicators.
  • Modular FastAPI backend with MongoDB storage.

Tech Stack

  • Frontend: React + Tailwind CSS
  • Backend: FastAPI, MongoDB
  • AI: Perplexity + Gemini parsing

Peachy: AI Slack Assistant

Peachy was the first Slack AI Assistant to integrate Google’s PaLM 2 model, enabling users to leverage advanced generative AI without leaving their Slack workspace. Inspired by PaLM 2’s complex reasoning capabilities, Peachy empowers teams to work smarter by providing context-aware assistance for coding, planning, and decision-making—right where collaboration happens.

Key Features

  • Context-aware Slack assistant powered by Google PaLM 2.
  • Supports advanced reasoning tasks: coding, product roadmaps, and more.
  • Customizable response tone for personalized interactions.
  • New (Aug 2023): Typing indicators, dynamic context awareness, auto-quit after inactivity.

Tech Stack

  • Frontend/Client: Slack SDK, Slack Event API
  • Backend: Google Generative AI (PaLM 2), Slack App Socket
  • Database: MongoDB for real-time context management
← Back to Home