lean4-htt/src/Init
Joachim Breitner 6514385bb9
feat: attribute [simp ←] (#5870)
This adds the ability to add the converse direction of a rewrite rule
not just in simp arguments `simp [← thm]`, but also as a global
attribute

```lean
attribute [simp ←] thm
```

This fixes #5828.

This can be undone with `attribute [-simp]`, although note that
`[-simp]` wins and cannot be undone at the moment (#5868).

Like `simp [← thm]` (see #4290), this will do an implicit `attribute
[-simp] thm` if the other direction is already defined.
2024-10-29 11:07:08 +00:00
..
Control feat: Array.forIn', and relate to List (#5833) 2024-10-25 07:24:39 +00:00
Data feat: support all the SMTLIB BitVec divison/remainder operations in bv_decide (#5869) 2024-10-28 16:37:06 +00:00
Grind feat: add grind core module (#4249) 2024-05-22 03:50:36 +00:00
Omega chore: update copyrights (#5449) 2024-09-24 05:27:53 +00:00
System chore: cleanup imports (#5825) 2024-10-23 23:51:13 +00:00
BinderPredicates.lean chore: upstream set notation (#3339) 2024-02-15 02:08:45 +00:00
ByCases.lean chore: cleaning up redundant simp lemmas (#5381) 2024-09-18 10:06:29 +00:00
Classical.lean chore: move @[simp] from exists_prop' to exists_prop (#5529) 2024-10-01 05:38:18 +00:00
Coe.lean fix: make Lean.Internal.liftCoeM and Lean.Internal.coeM unfold (#3404) 2024-02-27 22:17:46 +00:00
Control.lean
Conv.lean feat: let unfold do zeta-delta reduction of local definitions (#4834) 2024-09-07 21:48:08 +00:00
Core.lean feat: Array.forIn', and relate to List (#5833) 2024-10-25 07:24:39 +00:00
Data.lean feat: define Int8 (#5790) 2024-10-25 06:06:40 +00:00
Dynamic.lean chore: snake-case attributes (part 2) 2022-10-19 09:28:08 -07:00
Ext.lean feat: add [ext] attribute to Array.ext (#4970) 2024-08-09 12:40:39 +00:00
GetElem.lean feat: Array.forIn', and relate to List (#5833) 2024-10-25 07:24:39 +00:00
Grind.lean feat: add grind core module (#4249) 2024-05-22 03:50:36 +00:00
Guard.lean feat: upstream guard_expr (#3297) 2024-02-11 23:25:04 +00:00
Hints.lean
MacroTrace.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
Meta.lean chore: remove repeated words (#5438) 2024-09-24 03:40:11 +00:00
MetaTypes.lean doc: remove docstring from implicitDefEqProofs (#5751) 2024-10-17 09:38:52 +00:00
Notation.lean feat: add delaborators for <|>, <*>, >>, <*, and *> (#5854) 2024-10-26 23:49:16 +00:00
NotationExtra.lean chore: make 'while' available earlier (#5784) 2024-10-21 05:56:37 +00:00
Omega.lean chore: update copyrights (#5449) 2024-09-24 05:27:53 +00:00
Prelude.lean refactor: redefine unsigned fixed width integers in terms of BitVec (#5323) 2024-10-16 07:28:23 +00:00
PropLemmas.lean chore: upstream ne_of_apply_ne (#5743) 2024-10-17 01:24:01 +00:00
RCases.lean doc: typo in rcases docs (#3796) 2024-03-28 07:31:01 +00:00
ShareCommon.lean refactor: sharecommon (#4887) 2024-07-31 19:13:12 +00:00
SimpLemmas.lean chore: cleaning up redundant simp lemmas (#5381) 2024-09-18 10:06:29 +00:00
Simproc.lean chore: fix simproc doc-string (#3800) 2024-03-28 17:54:52 +00:00
SizeOf.lean refactor: redefine unsigned fixed width integers in terms of BitVec (#5323) 2024-10-16 07:28:23 +00:00
SizeOfLemmas.lean refactor: redefine unsigned fixed width integers in terms of BitVec (#5323) 2024-10-16 07:28:23 +00:00
System.lean feat: Mutex, Condvar 2022-09-05 08:52:46 -07:00
Tactics.lean feat: attribute [simp ←] (#5870) 2024-10-29 11:07:08 +00:00
TacticsExtra.lean feat: incremental next and tactic if (#4459) 2024-06-18 12:36:59 +00:00
Util.lean feat: add some low level helper APIs (#4778) 2024-07-17 20:12:05 +00:00
WF.lean chore: cleanup unused variables (#5579) 2024-10-02 01:51:22 +00:00
WFTactics.lean chore: fix spelling mistakes in src/Init/ (#5427) 2024-09-23 21:09:58 +00:00
While.lean chore: make 'while' available earlier (#5784) 2024-10-21 05:56:37 +00:00