kernel-Nat.Finset.forallSubset_of_search
- Kind
- kernel-term
- Status
- checked
Supports: an exhausted search refutes the property for every subset of the searched width
cargo test --release -p axeyum-lean-kernel --lib nat_prelude::subset_search_tests -- --test-threads=4 Evidence notes
The congruence premise is carried EXPLICITLY rather than hidden: two Nat.Finsets with the same members are not Eq at the carrier (it stores a raw predicate and a bound), so the verdict cannot travel from the enumerated representative `decode n (encode t n)` to the caller's own `t` without it. `Nat.Finset.card_congr_of_memB`, landed in the same diff, is what discharges the premise for a property phrased through `card` -- which is exactly the shape Hall's critical-subfamily test has.