lean4-htt/src/Init/Data/Array
Joachim Breitner ac64cfd70a
fix: array_get_dec etc. tactics to solve more cases (#5037)
Using `Nat.lt_trans` is too restrictive, and using `Nat.lt_of_lt_of_le`
should make this tactic prove more goals.

This fixes a regression probably introduced by #3991; at least in some
cases before that `apply sizeOf_get` would have solved the goal here.
And it’s true that this is now subsumed by `simp`, but because of the
order that `macro_rules` are tried, the too restrictive variant with
`Nat.lt_trans` would be tried before `simp`, without backtracking.

Fixes #5027
2024-08-14 12:41:14 +00:00
..
Subarray feat: show diffs when #guard_msgs fails (#3912) 2024-04-18 15:09:44 +00:00
Attach.lean feat: upstream List.attach and Array.attach from Batteries (#4586) 2024-06-30 07:06:26 +00:00
Basic.lean chore: correct doc-string for Array.swap! (#4869) 2024-07-31 04:02:30 +00:00
BasicAux.lean chore: reorganisation of List API (#4469) 2024-06-17 04:21:53 +00:00
BinSearch.lean chore: remove [Inhabited A] from binSearch / binInsert 2022-11-13 15:00:26 -08:00
DecidableEq.lean fix: split (for if-expressions) should work on non-propositional goals (#4349) 2024-06-05 04:43:46 +00:00
InsertionSort.lean feat: use sepBy1Indent for tactic blocks 2022-09-18 16:43:23 -07:00
Lemmas.lean feat: Std.Sat.AIG (#4953) 2024-08-12 14:58:38 +00:00
Mem.lean fix: array_get_dec etc. tactics to solve more cases (#5037) 2024-08-14 12:41:14 +00:00
QSort.lean perf: use with_reducible in special-purpose decreasing_trivial macros (#3991) 2024-04-29 15:12:27 +00:00
Subarray.lean feat: remove Decidable instances from GetElem (#4560) 2024-06-27 02:09:29 +00:00
TakeDrop.lean chore: split Init.Data.List.Lemmas (#4863) 2024-07-30 03:17:34 +00:00