lean4-htt/tests/lean/run/grind_natCast.lean
Leonardo de Moura 6683d1eb91
chore: add module keyword to grind tests (#10036)
This PR also fixes missing `@[expose]` in grind support definitions.
2025-08-21 22:02:08 +00:00

7 lines
334 B
Text

module
example (x : Nat) : x ≥ (0 : Int) := by grind
example (x : Nat) : Int.ofNat x ≥ (0 : Int) := by grind
example (x : Nat) : NatCast.natCast x ≥ 0 := by grind
example (x : Nat) : x ≥ (-1 : Int) := by grind
example (x : Nat) : Int.ofNat x ≥ (-1 : Int) := by grind
example (x : Nat) : NatCast.natCast x ≥ -1 := by grind