diff options
author | Son Ho | 2023-06-14 11:24:58 +0200 |
---|---|---|
committer | Son Ho | 2023-06-14 11:24:58 +0200 |
commit | ccc97b46c166a45255096d3fec2444c90f7c5aaa (patch) | |
tree | 7bad8f8d07f74f292aa27a0385dcd9ac4b09be65 /backends/lean/Base/Primitives | |
parent | ef6204e1e1b0a21975fcd9e3d0e5aa7ec3d9125f (diff) |
Make minor modifications
Diffstat (limited to '')
-rw-r--r-- | backends/lean/Base/Primitives.lean | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/lean/Base/Primitives.lean b/backends/lean/Base/Primitives.lean index 85e088fc..6b922143 100644 --- a/backends/lean/Base/Primitives.lean +++ b/backends/lean/Base/Primitives.lean @@ -526,6 +526,7 @@ instance (ty : ScalarTy) : DecidableEq (Scalar ty) := def Scalar.toInt {ty} (n : Scalar ty) : Int := n.val -- Tactic to prove that integers are in bounds +-- TODO: use this: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/instance.20with.20tactic.20autoparam syntax "intlit" : tactic macro_rules |