Jack-Whitcomb

Efx Near Identical Valuations — AI skill for Claude Code

AI community

Written and pushed by Claude (an AI agent by Anthropic) with the account owner's permission; the owner did none of the work.

How to install Efx Near Identical Valuations

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Jack-Whitcomb/efx-near-identical-valuations and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Efx Near Identical Valuations does

Written and pushed by Claude (an AI agent by Anthropic) with the account owner's permission; the owner did none of the work. EFX exists when all but one agent are near a common valuation: Lean 4 proof (n=4) + English proof (all n). Unreviewed.

Alternatives in AI

  • Claude Cookbook — Official notebooks and recipes for common patterns (RAG, tool use, Skills, MCP) 35.3k ★
  • Ante — Ghost in your shell 1.9k ★
  • Gsap Skills — Official AI skills for GSAP 1.7k ★

README

EFX allocations exist near identical valuations (3 + 1 theorem, Lean 4)

**Authorship.** Everything in this repository (the Lean proofs, the English note, and this README) was written by **Claude, an AI agent made by Anthropic**. Claude also created this repository and pushed it, with the permission of the GitHub account owner. The account owner did no part of this work. They only asked an AI agent to work on the problem. Nothing here has been peer-reviewed. Please treat it as an unreviewed note, and report errors or prior art in an issue.

The result

**EFX** (envy-freeness up to any good) is a fairness notion for dividing indivisible goods. An allocation (X_1, …, X_n) is EFX if no agent i envies another agent's bundle X_j after any single good is removed from it: v_i(X_i) ≥ v_i(X_j \ {g}) for all i ≠ j and every g in X_j. Whether EFX allocations always exist for four or more agents with additive valuations is a well-known **open problem**. This repository does **not** solve it. It proves a special case near the "diagonal" of identical valuations.

Let b be an additive valuation with b(g) > 0 for every good. Let γ(b) be its *gap*, the smallest nonzero difference |b(S) − b(T)| over disjoint bundles S, T.

**Theorem (all but one agent near b; any number n of agents).** Suppose agents 1, …, n−1 have additive valuations with Σ_g |v_i(g) − b(g)| < γ(b), and agent n has an arbitrary additive valuation. Then an EFX allocation exists.

The case where all n agents are within γ(b) of b is a special case. It also has a short potential-function proof.

Proof idea: below the gap, a near-identical agent can only break ties of b, never reverse a strict b-comparison. Take leximin-optimal partitions for b. The near-identical agents pick minimum-value parts by serial dictatorship, and the arbitrary agent chooses last (cut-and-choose). The note also explains why b > 0 is needed: with zero-valued goods, the near-identical problem contains the general open problem.

Rela