lean4-htt/src/Lean/Meta/Tactic/Simp
Kyle Miller 709ea6cdf8
feat: make it possible to use dot notation in m! strings (#5857)
This default instance makes it possible to write things like `m!"the
constant is {.ofConstName n}"`.

Breaking change: This weakly causes terms to have a type of
`MessageData` if their type is otherwise unknown. For example:
* `m!"... {x} ..."` can cause `x` to have type `MessageData`, causing
the `let` definition of `x` to fail to elaborate. Fix: give `x` an
explicit type.
* Arithmetic expressions in `m!` strings may need a type ascription. For
example, if the type of `i` is unknown at the time the arithmetic
expression is elaborated, then `m!"... {i + 1} ..."` can fail saying
that it cannot find an `HAdd Nat Nat MessageData` instance. Two fixes:
either ensure that the type of `i` is known, or add a type ascription to
guide the `MessageData` coercion, like `m!"... {(i + 1 : Nat)} ..."`.
2024-10-27 22:55:29 +00:00
..
BuiltinSimprocs chore: remove instBEqNat, which is redundant with instBEqOfDecidableEq but not defeq (#5694) 2024-10-16 04:42:22 +00:00
Attr.lean feat: fine-grained equational lemmas for non-recursive functions (#4154) 2024-08-22 13:26:58 +00:00
BuiltinSimprocs.lean feat: simprocs for #[1,2,3,4,5][2] (#4765) 2024-07-17 03:05:17 +00:00
Diagnostics.lean feat: make it possible to use dot notation in m! strings (#5857) 2024-10-27 22:55:29 +00:00
Main.lean feat: explain reduce steps in trace.Debug.Meta.Tactic.simp (#5054) 2024-08-19 15:05:13 +00:00
RegisterCommand.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
Rewrite.lean chore: fix spelling mistakes (#5599) 2024-10-02 21:32:22 +00:00
SimpAll.lean chore: missing registerTraceClass (#4369) 2024-06-06 00:53:16 +00:00
SimpCongrTheorems.lean feat: make it possible to use dot notation in m! strings (#5857) 2024-10-27 22:55:29 +00:00
Simproc.lean chore: switch to Std.HashMap and Std.HashSet almost everywhere 2024-08-07 18:24:42 +02:00
SimpTheorems.lean feat: fine-grained equational lemmas for non-recursive functions (#4154) 2024-08-22 13:26:58 +00:00
Types.lean chore: fix spelling mistakes in src/Lean/Meta/ (#5436) 2024-09-23 23:09:14 +00:00