Skip to content

Regula v0.13.1

Choose a tag to compare

@rbeauchamp rbeauchamp released this 21 Nov 03:20
· 49 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.13.1
71e1cf1

Regula v0.13.1 is a compatibility release on the v0.13.x series for leanprover/lean4:v4.36.0 (611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9). It keeps the exact rule set of v0.13.0 (RG1001 to RG1006, RG1010, and RG2001) and refuses any Lean release other than v4.36.0.

Use it. Put leanprover/lean4:v4.36.0 in lean-toolchain, and set rev = "v0.13.1" in lakefile.toml, then run lake update regula, lake build --wfail, and lake lint. For the full verdict, build a clone of the tag v0.13.1.

Changes since v0.13.0

  • Lean v4.36.0 toolchain support: Updates lean-toolchain, Verdict.pinnedLean, language-check labels, and all Lean and Lake source citations to Lean v4.36.0 (611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9).
  • RG1006 exact structural exemption for Lean v4.36.0 ctorIdx: Lean v4.36.0 generates an unsafe helper T.ctorIdx._impl (calling @[extern "lean_obj_tag_nat"] unsafe opaque getObjTagNat) and attaches @[implemented_by] to T.ctorIdx for every non-Prop, non-builtin inductive type T with numCtors != 1. RG1006 now exempts T.ctorIdx._impl only when both T.ctorIdx and T.ctorIdx._impl live in the same module as a safe inductive T and structurally match Lean's mkCtorIdx and mkCtorIdxImpl expressions (including u.isNeverZero, constructor indices, and toolchain getObjTagNat), closing plain-source proof-verdict forgeries.
  • Specification and trusted base: Adds Assumption.ctorIdxTag (19 assumptions total) and records the 2026-11-20 owner confirmation in specification/confirmation.md, re-verifies H1 (474 commands across 15 default-target files, 0 differences) and H2 (60 eval-site files) against Lean v4.36.0 source, and updates specification/ to lean-intent bd7af6c0fc90d7adddcfd03fed93cf63eef1e3b3 on Lean v4.36.0.

Full Changelog: v0.13.0...v0.13.1