Skip to content

Instantly share code, notes, and snippets.

@jcreedcmu
jcreedcmu / async-frankenpigeon.md
Last active May 15, 2026 23:31
async-frankenpigeon.md

asynchronous frankenpigeon

A conlanging game for perhaps 3-5 players, suitable for a shared editable document.

  • All players edit a shared document.
  • At the top of the document is the "word bank": for each player, there is a list of between 0 and 5 words. For example, it might look like:
Alice Bob Carol
@jcreedcmu
jcreedcmu / frankenpigeon.md
Last active May 14, 2026 12:52
frankenpigeon.md

frankenpigeon

A conlanging game for perhaps 3-5 players, suitable for VC.

  • All players prepare a list of 5 made-up words, and decide on an ordering of the players.
  • Each player passes their word list to the next player in this order, wrapping around.
  • Players take turns.
  • On their turn, a player makes an utterance, and simultaneously tries to convey its meaning.
  • The utterance is in a made-up language that grows as the game goes on: the player can use words on their own list, plus any words they've already heard from other players. Using proper nouns (such as players' names) is always allowed.
@jcreedcmu
jcreedcmu / foo.lean
Created May 13, 2026 14:07
foo.lean
def foo : Nat := (1 + 2)
def bar : Nat := (3 + 4)
Sea snakes and leporids are undoubtedly the most wondrous and persistent creatures. Wondrous because no one has ever seen them alive, because they don't actually exist, and yet much sorrow is sacrificed to them; and persistent because they have been definitively relegated to the realm of fable a hundred times over, because in hundreds of cases the most capable breeders and also extremely serious researchers have devoted themselves specifically to breeding sea snakes for years and never achieved their goal; but the leporids, like a hydra, always manage to rise again. Do leporids exist? We want to address this question once more for a change, even though our situation today is exactly the same as it was 15 or 20 years ago, i.e., Leporids, according to our current understanding, exist only in the imagination. It may well be that successes in breeding will one day force us to revise our understanding, but this will certainly happen sooner than when definitive, irrefutable publications are available. For science a
@jcreedcmu
jcreedcmu / foo.md
Last active January 27, 2026 15:07
foo.md

This cost $5.43 This cost $3

This cost $5.43 This cost $

@jcreedcmu
jcreedcmu / graph_theoretic_geometry.lean
Created January 19, 2026 22:56
Graph-Theoretic Geometry
import Mathlib
class Grph (G : Type) where
edge : G → G → Prop
open Grph
variable {G H : Type} [Grph G] [Grph H]
structure Hom (G H : Type) [Grph G] [Grph H] where
obj : G → H
@jcreedcmu
jcreedcmu / Collatz.lean
Last active September 27, 2025 18:20
Collatz.lean
import Mathlib
/--
Do one collatz iteration
-/
def collatz (n : Nat) :=
if n % 2 == 0 then n / 2 else 3 * n + 1
/-
Algorithmic collatz termination
@jcreedcmu
jcreedcmu / Braids1.agda
Last active August 23, 2025 16:13
Braids1.agda
{-# OPTIONS --cubical #-}
open import Cubical.Foundations.Prelude
open import Cubical.HITs.S1
module Braids1 where
{-
Conjecture: