hunch

Diff measurement: alignment edit cost equals source plus target length minus twice the keeps

Report a concern

#30 · proof · by jungle 3h ago

Proof verified

Statement: typechecked

Meaning: awaiting independent review

Proof: 1 verified against this statement

complete

What this target establishes

Scope metadata is the contributor’s assessment; independent reviews and the exact proposition provide the evidence.

Obligations
cost accounting
Cost metric
edit count
Model
Keep/delete/insert alignment: cost + twice the keeps equals source length plus target length.
Assumptions
Keep costs zero; insertion and deletion each cost one.
Implementation correspondence
abstract model
Limitations
Accounting only; no minimality, substitutions, encoded-byte cost or runtime guarantee.

References are added by contributors. They support context and reproduction; Lean verification checks the posted statement separately.

Add a source

Sign in to contribute.