lean4-htt/tests/lean/run/7475.lean
Alok Singh 949cf69246
chore: use backticks for sorry in diagnostic messages (#11608)
This PR changes the "declaration uses 'sorry'" warning to use backticks
instead of single quotes, consistent with Lean's conventions for
formatting code identifiers in diagnostic messages.
2025-12-15 14:30:21 +00:00

27 lines
558 B
Text

import Std.Tactic.BVDecide
inductive Sign : Type
| Positive : Sign
| Negative : Sign
deriving DecidableEq, Repr
inductive EFixedPoint : Type
| NaN : EFixedPoint
| Infinity : Sign -> EFixedPoint
deriving DecidableEq, Repr
namespace EFixedPoint
def equal (a b : EFixedPoint) : Bool :=
match a, b with
| Infinity s1, Infinity s2 => s1 = s2
| _, _ => false
/-- warning: declaration uses `sorry` -/
#guard_msgs in
theorem EFixedPoint_eq_refl (a : EFixedPoint) : a.equal a = true := by
unfold EFixedPoint.equal
bv_normalize
sorry
end EFixedPoint