Skip to content

Commit

Permalink
fix: config? -> optConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeizer committed Dec 18, 2024
1 parent 289ba8d commit 8c4bb8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Qpf/Util/HEq.lean
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ open Lean.Parser.Tactic
/-- Calls `simp` with a bunch of theorems that are useful for simplifying heterogeneous
equalities and casts
-/
syntax "simp_heq" (config)? (discharger)? ("only ")? ("[" simpLemma,* "]")? (location)? : tactic
syntax "simp_heq" optConfig (discharger)? ("only ")? ("[" simpLemma,* "]")? (location)? : tactic
macro_rules
| `(tactic| simp_heq $[$cfg:config]? $[$dis:discharger]? $[$loc:location]? )
=> `(tactic| simp $[$cfg]? $[$dis]?
| `(tactic| simp_heq $cfg:optConfig $[$dis:discharger]? $[$loc:location]? )
=> `(tactic| simp $cfg $[$dis]?
only [cast_trans, heq_cast_left, heq_cast_right, cast_eq, cast_heq,
heq_cast_left_fun, heq_cast_right_fun, cast_arg', HEq.refl]
$[$loc]?
Expand Down

0 comments on commit 8c4bb8d

Please sign in to comment.