algs-poly-antidiagfrom-head-1
- Kind
- kernel-term
- Status
- checked
Supports: AlgS.Poly.antidiagFrom_head and AlgS.Poly.antidiagFrom_tail_zero admit through the trusted Kernel::add_declaration gate with an empty Kernel::axiom_footprint. The suite pins the family the lemma is used at, definitionally, for n = 0, 1, 2 and 3: AlgS.Poly.mul R p (AlgS.Poly.one R) n reduces to p n * R.one followed by a tail of p i * R.zero, with a negative twin that moves R.one to the second cell and must NOT be def_eq. The negative control reuses the admitted proof term against the conclusion g Nat.zero n (the LAST cell the walk visits) in place of g n Nat.zero (the first), the two indices swapped and nothing else, and requires a refusal, with the honest restatement admitted in the same test as the positive twin.
out=$(RUST_MIN_STACK=1073741824 cargo test -p axeyum-lean-kernel --lib --release poly_setoid_tests -- --test-threads=4 2>&1) && test "$(printf "%s\n" "$out" | grep -cE 'test result: ok\. 17 passed; 0 failed')" -ge 1 Evidence notes
The pinned count is 17. A dropped or renamed test changes the count and fails the command. Five of the seventeen are rejection controls, each carrying a POSITIVE TWIN in the same test: a record-field or proof-term mutation poisons the whole prelude build (measured: mutating mulAssoc's join step made all 17 die on the fixture's expect), so a refusal is only evidence about the field once the honest reconstruction is shown to admit beside it. Each of the five controls was itself mutated to the honest statement and exactly those five died, the other twelve passing.