statement-Int.modEq_one
- Kind
- kernel-term
- Status
- checked
Supports: `Int.modEq_one` is admitted with the kernel-rendered type `((x0 : Int) -> ((x1 : Int) -> Int.ModEq Int.one x0 x1))`, which is this ledger row's statement with the binders made explicit -- Mathlib's `{a b}` are implicit, a surface-syntax difference with no mathematical content. `Int.ModEq n a b` is defined here as `Int.emod a n = Int.emod b n`, which is Mathlib's `a % n = b % n`. CRUCIALLY, the rendered type carries NO `Int.lt Int.zero` premise: the ledger row quantifies over all arguments with no positivity hypothesis, and so does the theorem.
test "$(scripts/cargo-serialized.sh test -p axeyum-lean-kernel --lib the_modeq_ledger_rows_are_stated_without_a_positivity_hypothesis 2>&1 | grep -Ec 'test result: ok\. 1 passed; 0 failed')" -ge 1 Evidence notes
The statement pin exists because the footprint check cannot carry this claim: a theorem stating something WEAKER -- carrying the `0 < n` hypothesis that every other congruence lemma in `modeq.rs` carries, or with `a`/`b` swapped -- has exactly the same empty footprint and passes the footprint sweep unchanged. Mutation-verified: changing `Int.one` to `Int.zero` in the pinned string kills exactly one test, this one, and nothing else (23 passed / 1 failed). Anchored on the exact `1 passed; 0 failed` count.