diff options
author | Son Ho | 2023-07-13 14:00:48 +0200 |
---|---|---|
committer | Son Ho | 2023-07-13 14:00:48 +0200 |
commit | a9a3376443e4c6d9a5257bdd310966a59aa9e716 (patch) | |
tree | a953b460ba70c19e2f1c100b162343afeb5e09c2 /backends/lean | |
parent | 2dbd529b499c2bb9dae754df0e449cad577ac7a0 (diff) |
Update a comment
Diffstat (limited to '')
-rw-r--r-- | backends/lean/Base/Arith/Arith.lean | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/lean/Base/Arith/Arith.lean b/backends/lean/Base/Arith/Arith.lean index 2ff030fe..8bfad6ae 100644 --- a/backends/lean/Base/Arith/Arith.lean +++ b/backends/lean/Base/Arith/Arith.lean @@ -303,8 +303,7 @@ def scalarTacPreprocess (tac : Tactic.TacticM Unit) : Tactic.TacticM Unit := do add (← mkAppM ``Scalar.cMin_bound #[.const ``ScalarTy.Isize []]) add (← mkAppM ``Scalar.cMax_bound #[.const ``ScalarTy.Usize []]) add (← mkAppM ``Scalar.cMax_bound #[.const ``ScalarTy.Isize []]) - -- Reveal the concrete bounds - TODO: not too sure about that. - -- Maybe we should reveal the "concrete" bounds (after normalization) + -- Reveal the concrete bounds Utils.simpAt [``Scalar.min, ``Scalar.max, ``Scalar.cMin, ``Scalar.cMax, ``I8.min, ``I16.min, ``I32.min, ``I64.min, ``I128.min, ``I8.max, ``I16.max, ``I32.max, ``I64.max, ``I128.max, |