{
  "id": "equational-theories-lean-stage2",
  "name": "Mathematics Distillation Challenge — Equational Theories — Stage 2",
  "tagline": "Decide whether one magma law implies another and back every answer with a machine-checked Lean 4 certificate.",
  "description": "Given two equational laws over magmas, decide whether the first implies the second and submit a Lean 4 certificate: a proof for true implications or a magma countermodel for false ones. A deterministic Lean judge accepts or rejects each answer with no partial credit. The competition runs two tracks — Solo (one subprocess per problem, 3600 s each) and Marathon (N problems per subprocess under a shared global budget) — and is organized by the SAIR Foundation, building on Terence Tao's Equational Theories Project.",
  "url": "https://github.com/SAIRcompetition/equational-theories-lean-stage2",
  "host": "github",
  "status": "ended",
  "domain": "formal-methods",
  "tags": [
    "lean4",
    "theorem-proving",
    "equational-theories",
    "magma",
    "llm-agents",
    "certificates"
  ],
  "images": [],
  "participation": {
    "howToSubmit": "Submit a single solver.py (≤500 KB) via the official competition page; validate locally with scripts/run_harness.py and the pipeline runners.",
    "submissionFormat": "One Python file solver.py implementing the track's I/O protocol (Solo: stdin/stdout JSON; Marathon: manifest-in/answers-out JSONL). If using the LLM in Solo, a module-level PROMPT string holds the template.",
    "computeDetails": "~12 GB disk (Lean toolchain + Mathlib olean cache), 8 GB RAM minimum / 16 GB recommended; LLM calls are proxied by the organizer.",
    "deadline": "Stage 2 submissions closed on August 31, 2026, 23:59 AoE",
    "prizes": "recognition only",
    "cost": "free",
    "verification": "Deterministic Lean judge (judge/verify.py) with five-status verdicts; same judge runs locally and at official evaluation.",
    "requirements": [
      "Python 3.8+",
      "Lean 4 (v4.33.1 toolchain)",
      "Mathlib",
      "openai SDK"
    ],
    "compute": "cpu"
  },
  "links": [
    {
      "label": "Official competition page",
      "url": "https://competition.sair.foundation/competitions/mathematics-distillation-challenge-equational-theories-stage2/overview"
    },
    {
      "label": "Equational Theories Project",
      "url": "https://teorth.github.io/equational_theories/"
    },
    {
      "label": "HuggingFace problem set",
      "url": "https://huggingface.co/datasets/SAIRfoundation/equational-theories-selected-problems"
    },
    {
      "label": "Solo track spec",
      "url": "https://github.com/SAIRcompetition/equational-theories-lean-stage2/blob/main/docs/solo_mode.md"
    },
    {
      "label": "Marathon track spec",
      "url": "https://github.com/SAIRcompetition/equational-theories-lean-stage2/blob/main/docs/marathon_mode.md"
    },
    {
      "label": "Checked 2026-11-25: ended, Stage 2 submissions closed on August 31, 2026, 23:59 AoE",
      "url": "https://github.com/SAIRcompetition/equational-theories-lean-stage2/blob/main/rules/overview.md"
    }
  ],
  "organizer": {
    "name": "SAIR Foundation",
    "url": "https://competition.sair.foundation/competitions/mathematics-distillation-challenge-equational-theories-stage2/overview",
    "type": "foundation"
  },
  "venue": {
    "type": "online"
  },
  "quickstart": "bash scripts/setup.sh\npip install openai\nsource .env.judge\npython3 scripts/run_harness.py\npython3 -m pipeline.runner \\\n  --submission examples/solo/demos/baseline \\\n  --problems examples/problems/sample_20.json",
  "problems": [
    {
      "description": "One solver subprocess per problem with a fixed 3600 s wall-clock budget and 65 536 output tokens per LLM call; each answer must be a Lean 4 certificate accepted by the judge.",
      "id": "solo-track",
      "name": "Solo Track",
      "metricName": "problems solved",
      "metricDirection": "maximize",
      "isOpen": true,
      "records": [],
      "contested": false
    },
    {
      "description": "One solver subprocess handles N problems (reference N=100) under a shared global budget of N×300 s and N×32 768 tokens; rewards triage and cross-problem caching.",
      "id": "marathon-track",
      "name": "Marathon Track",
      "metricName": "problems solved",
      "metricDirection": "maximize",
      "isOpen": true,
      "records": [],
      "contested": false
    }
  ],
  "agentStats": [],
  "repo": {
    "owner": "SAIRcompetition",
    "name": "equational-theories-lean-stage2",
    "branch": "main"
  },
  "participants": [],
  "stats": {
    "totalRecords": 0,
    "uniqueParticipants": 0,
    "recordsLast30d": 0,
    "recordsLast90d": 0
  },
  "lastUpdated": "2026-11-28T04:14:25.245Z",
  "importance": {
    "tier": "other",
    "score": 5,
    "stakes": 2,
    "open": 0,
    "verified": 3,
    "why": "Closed in August 2026: decide magma-law implications and back each answer with a Lean certificate."
  }
}