kernel-Int.lt.elim
- Kind
- kernel-term
- Status
- checked
Supports: `Int.lt.elim` is admitted as a Theorem with EXACTLY the stated shape, pinned verbatim via the kernel's own renderer: `((x0 : Int) -> ((x1 : Int) -> ((x2 : Int.lt x0 x1) -> ((x3 : Prop) -> ((x4 : ((x4 : AxNat) -> ((x5 : Eq.{1} Int (Int.add x0 (Int.ofNat (AxNat.succ x4))) x1) -> x3))) -> x3)))))`. Same construction as `Int.le.elim`'s sibling, built by `Exists.elim` over `Int.lt_dest`'s `Exists` witness (`b = a + ofNat (succ i)`) with the equation flipped by `isymm` to match Mathlib's `a + ofNat n.succ = b` direction. Only the Exists-flavoured cousin (`Int.lt_dest`) existed under any name before this. Built in a new file, int_prelude/order_coercion.rs.
test "$(cargo run -q --release -p axeyum-lean-kernel --example int_theorem_inventory 2>/dev/null | awk -F'\t' '$1 == "theorem" && $2 == "Int.lt.elim" && $4 == "((x0 : Int) -> ((x1 : Int) -> ((x2 : Int.lt x0 x1) -> ((x3 : Prop) -> ((x4 : ((x4 : AxNat) -> ((x5 : Eq.{1} Int (Int.add x0 (Int.ofNat (AxNat.succ x4))) x1) -> x3))) -> x3)))))"' | wc -l)" -ge 1