惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Last Week in AI
Last Week in AI
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
人人都是产品经理
人人都是产品经理
V
Visual Studio Blog
宝玉的分享
宝玉的分享
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
T
Tailwind CSS Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
博客园 - 聂微东
S
SegmentFault 最新的问题
博客园 - 司徒正美
罗磊的独立博客
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
美团技术团队
小众软件
小众软件
Jina AI
Jina AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
IVP Has a Proof — The Γ-Equality Partition Is the Unique ...
Yannick Loth · 2026-06-22 · via DEV Community
Cover image for IVP Has a Proof — The Γ-Equality Partition Is the Unique Cost-Minimizing Modularization

Yannick Loth

How should software be modularized, and why that way? A new preprint answers both questions with a proof — and the answer is the Independent Variation Principle (IVP).

Elements with identical change-driver sets belong in the same module; elements with different change-driver sets belong in different modules.

A change-driver is an external condition — a regulation, a contract, a protocol specification — whose change forces governed elements to change. The how is the rule itself; the why is that this exact grouping, and no other, minimizes the cost of change. For fifty years that second question — why these boundaries rather than those — had only well-motivated opinion behind it. This paper turns the answer into a theorem.

The proof is a counting argument

Draw a bipartite incidence graph: elements on one side, change-drivers on the other, edges recording which drivers govern which elements. On that graph, two lemmas show that any modularization deviating from the IVP prescription pays a strictly higher cost — either by scattering same-driver elements across modules, or by mixing different-driver elements in the same module.

The Γ-equality partition — the one that groups elements by identical change-driver sets — is not one good option among several. It is the unique cost-minimizing modularization.

Why more than five decades of principles couldn't settle this

Information hiding, the SOLID and package rules, layered and hexagonal architectures, domain-driven boundaries — each distilled real experience into advice about where to draw module boundaries, and each is a heuristic. They share one structural limitation: none was derived from a cost objective, or any other clearly stated objective, so none can prove its boundaries are optimal rather than merely reasonable, and where two of them disagree there is no principled way to say which is right.

Some are also internally inconsistent. Martin's Common Closure and Reuse/Release principles, for instance, cannot both be satisfied under client-driven interface evolution — and the framework names no winner. The common root is the absence of a single objective to optimize against.

What the proof gives you

This paper supplies that objective and proves the consequence. Once the change-drivers are identified, the question "which elements change for the same reasons?" becomes the precise predicate Γ(e₁) = Γ(e₂) — grouping by the external conditions that govern an element, not by which changes happen to be probable or which have co-occurred in the commit history — and the optimal boundaries follow from it by counting. No competing rules to reconcile, no judgment, no taste, no appeal to accumulated experience.


Yannick Loth. The Independent Variation Principle: Deriving Optimal Module Boundaries from the Element–Change-Driver Graph. June 2026.

📄 Free preprint on Zenodo — DOI: 10.5281/zenodo.20794332