Skip to content
docs
Arxo ↗

LDC-E5401 — Computed consolidation differs from the declared edition

For LLMs5 sections

A revision edge says how one edition turns into the next: a list of operations applied to the older edition must produce exactly the declared newer edition. The compiler replays the operations itself and compares the result with the declared text, fragment by fragment. When at least one fragment differs, the compiler reports the first divergence and accepts neither version automatically — the operations or the declared edition need to change so both sides agree.

Arxo Law
language "law.core" version "0.2";
package demo.diagnostics version "0.1.0";
namespace "urn:law:demo:diagnostics";
source ORDER { kind ministerial_order; }
edition ED_2025 of ORDER { language ru; officiality official; }
edition ED_2026 of ORDER { language ru; officiality official; }
fragment F_OLD in ED_2025 { kind article; locator "article/5";
text ru official """старая редакция"""; }
fragment F_NEW in ED_2026 { kind article; locator "article/5";
text ru official """новая редакция пункта"""; }
revision LAW_1 {
previous ED_2025;
next ED_2026;
relation amends;
op replace { locator "article/5"; language ru; text """новая редакция"""; }
}
Arxo Law
language "law.core" version "0.2";
package demo.diagnostics version "0.1.0";
namespace "urn:law:demo:diagnostics";
source ORDER { kind ministerial_order; }
edition ED_2025 of ORDER { language ru; officiality official; }
edition ED_2026 of ORDER { language ru; officiality official; }
fragment F_OLD in ED_2025 { kind article; locator "article/5";
text ru official """старая редакция"""; }
fragment F_NEW in ED_2026 { kind article; locator "article/5";
text ru official """новая редакция"""; }
revision LAW_1 {
previous ED_2025;
next ED_2026;
relation amends;
op replace { locator "article/5"; language ru; text """новая редакция"""; }
}

The engine reports this in its own wording:

Output
example.law:12:10: error LDC-E5401: edge "LAW_1": applying operations to ED_2025 does not yield ED_2026 — article/5 (ru) diverges; neither the computed consolidation nor the declared one is accepted as true automatically (§32.2)

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.