lean4-htt/src/Init
Tobias Grosser 77e0fa4efe
chore: use getElem in RHS of getElem theorems (#7187)
This PR moves the RHS of getElem theorems to use getElem. This is a
cleanup after the recent move to getElem as simp normal form.

We also turn `((!decide (i < n)) && getLsbD x (i - n))` into `if h' : i
< n then false else x[i - n]` to preserve the bounds, but keep the
decide if the dependent if is not needed to maintain a getElem on the
RHS.
2025-02-24 18:32:48 +00:00
..
Control chore: post-#7100 cleanup (#7196) 2025-02-23 22:46:22 +00:00
Data chore: use getElem in RHS of getElem theorems (#7187) 2025-02-24 18:32:48 +00:00
Grind fix: grind using reducible transparency setting (#7102) 2025-02-16 22:30:04 +00:00
Internal chore: update code after #7110 2025-02-17 18:21:10 +01:00
Omega chore: split Int.DivModLemmas into Bootstrap and Lemmas (#7162) 2025-02-20 12:05:09 +00:00
System fix: do not cancel async elaboration tasks (#7175) 2025-02-21 17:24:36 +00:00
BinderNameHint.lean feat: binderNameHint in congr (#7053) 2025-02-13 09:38:42 +00:00
BinderPredicates.lean
ByCases.lean feat: nested well-founded recursion via automatic preprocessing (#6744) 2025-02-10 16:43:41 +00:00
Classical.lean doc: fix typo (#7067) 2025-02-13 13:21:18 +00:00
Coe.lean
Control.lean
Conv.lean feat: add simp? and dsimp? in conversion mode (#6593) 2025-01-10 01:42:17 +00:00
Core.lean chore: post-#7100 cleanup (#7196) 2025-02-23 22:46:22 +00:00
Data.lean feat: add support for Float32 to the Lean runtime (#6348) 2024-12-09 21:33:43 +00:00
Dynamic.lean
Ext.lean feat: add [ext] attribute to Array.ext (#4970) 2024-08-09 12:40:39 +00:00
GetElem.lean chore: use as[i] instead of as.get i 2025-02-19 08:48:33 +11:00
Grind.lean feat: improve grind failure message (#6633) 2025-01-14 01:10:47 +00:00
Guard.lean
Hints.lean
Internal.lean feat: partial_fixpoint: theory (#6477) 2025-01-02 09:39:18 +00:00
MacroTrace.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
Meta.lean feat: cleanup of get and back functions on List/Array (#7059) 2025-02-17 01:43:45 +00:00
MetaTypes.lean feat: zetaUnused option (option only) (#6754) 2025-01-23 14:37:41 +00:00
Notation.lean feat: premise selection API (#7061) 2025-02-14 04:08:18 +00:00
NotationExtra.lean chore: post-#7100 cleanup (#7196) 2025-02-23 22:46:22 +00:00
Omega.lean chore: update copyrights (#5449) 2024-09-24 05:27:53 +00:00
Prelude.lean feat: UIntX conversion lemmas (part 1/n) (#7174) 2025-02-24 12:48:37 +00:00
PropLemmas.lean feat: add BitVec.[(getMsbD, msb)_extractLsb', (getLsbD, getMsbD, msb)_extractLsb] , add and_eq_decide, or_eq_decide, decide_eq_true_iff to bool_to_prop (#6792) 2025-02-17 03:02:37 +00:00
RCases.lean feat: add generalization hypotheses to induction tactic (#7103) 2025-02-18 03:46:23 +00:00
ShareCommon.lean feat: USize.size inequalities (#6203) 2024-11-26 23:42:15 +00:00
SimpLemmas.lean chore: run Batteries linter on Lean (#6364) 2024-12-13 01:28:53 +00:00
Simproc.lean chore: fix simproc doc-string (#3800) 2024-03-28 17:54:52 +00:00
SizeOf.lean refactor: name the default SizeOf instance (#5981) 2024-11-07 09:21:32 +00:00
SizeOfLemmas.lean chore: simp_arith has been deprecated (#7043) 2025-02-12 03:55:45 +00:00
Syntax.lean feat: rename Array.setD to setIfInBounds (#6195) 2024-11-24 08:54:19 +00:00
System.lean
Tactics.lean feat: fun_induction foo (no arguments) (#7101) 2025-02-18 12:27:21 +00:00
TacticsExtra.lean feat: activate new tactic configuration syntax for most tactics (#5898) 2024-11-01 02:08:53 +00:00
Try.lean feat: compress try? suggestions (#6994) 2025-02-07 19:17:25 +00:00
Util.lean feat: generalize panic to Sort (#6333) 2024-12-15 21:36:45 +00:00
WF.lean feat: nested well-founded recursion via automatic preprocessing (#6744) 2025-02-10 16:43:41 +00:00
WFTactics.lean feat: update omega/solve_by_elim to use new tactic syntax, use new tactic syntax (#5932) 2024-11-03 16:23:37 +00:00
While.lean chore: make 'while' available earlier (#5784) 2024-10-21 05:56:37 +00:00