lean4-htt/src/Init
Mario Carneiro e41cd310e9
fix: String.splitOn bug (#3832)
Fixes #3829. As reported on Zulip (both
[recently](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/current.20definition.20of.20.60String.2EsplitOn.60.20is.20incorrect/near/430930535)
and [a year
ago](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/should.20we.20redefine.20.60String.2EsplitOnAux.60.3F/near/365899332)),
`String.splitOn` has a bug when dealing with separators of more than one
character (which are luckily rare). The code change here is very small,
replacing a `i` with `i - j`, but it makes termination more complex so
that's where the rest of the line count goes.
2024-04-04 09:30:53 +00:00
..
Control perf: rewrite UnusedVariables lint (#3186) 2024-03-21 12:28:57 +00:00
Data fix: String.splitOn bug (#3832) 2024-04-04 09:30:53 +00:00
Omega feat: in conv tactic, use try with_reducibe rfl (#3763) 2024-03-29 11:59:45 +00:00
System fix: update System.FilePath.parent to handle edge cases for absolute paths (#3645) 2024-03-26 05:09:44 +00:00
BinderPredicates.lean chore: upstream set notation (#3339) 2024-02-15 02:08:45 +00:00
ByCases.lean perf: rewrite UnusedVariables lint (#3186) 2024-03-21 12:28:57 +00:00
Classical.lean chore: bool and prop lemmas for Mathlib compatibility and improved confluence (#3508) 2024-03-04 23:56:30 +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 feat: add ExceptCpsT 2021-02-27 18:44:24 -08:00
Conv.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
Core.lean fix: change Quotient.sound to a theorem (#3765) 2024-03-25 19:28:31 +00:00
Data.lean chore: upstream solve_by_elim (#3408) 2024-02-21 01:16:04 +00:00
Dynamic.lean chore: snake-case attributes (part 2) 2022-10-19 09:28:08 -07:00
Ext.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
GetElem.lean chore: extend GetElem with getElem! and getElem? (#3694) 2024-03-28 01:42:00 +00:00
Guard.lean feat: upstream guard_expr (#3297) 2024-02-11 23:25:04 +00:00
Hints.lean fix: Not should not be reducible, special support for Ne 2021-02-15 17:36:11 -08:00
MacroTrace.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
Meta.lean chore: extend GetElem with getElem! and getElem? (#3694) 2024-03-28 01:42:00 +00:00
MetaTypes.lean chore: set zetaDelta := false by default in the simplifier 2024-02-18 14:14:55 -08:00
Notation.lean feat: port check_tactic commands from Std and add test cases (#3532) 2024-02-28 23:32:54 +00:00
NotationExtra.lean chore: reorganising to reduce imports (#3790) 2024-03-27 11:15:01 +00:00
Omega.lean chore: add missing copyright headers (#3411) 2024-02-20 01:49:55 +00:00
Prelude.lean chore: extend GetElem with getElem! and getElem? (#3694) 2024-03-28 01:42:00 +00:00
PropLemmas.lean feat: upstream apply helper tactics from Mathlib (#3670) 2024-03-17 06:47:56 +00:00
RCases.lean doc: typo in rcases docs (#3796) 2024-03-28 07:31:01 +00:00
ShareCommon.lean chore: snake-case attributes (part 2) 2022-10-19 09:28:08 -07:00
SimpLemmas.lean chore: bool and prop lemmas for Mathlib compatibility and improved confluence (#3508) 2024-03-04 23:56:30 +00:00
Simproc.lean chore: fix simproc doc-string (#3800) 2024-03-28 17:54:52 +00:00
SizeOf.lean doc: documentation for Init.SizeOf 2022-08-17 14:48:10 -07:00
SizeOfLemmas.lean fix: protect sizeOf lemmas 2023-07-19 08:50:59 +02:00
System.lean feat: Mutex, Condvar 2022-09-05 08:52:46 -07:00
Tactics.lean chore: extend GetElem with getElem! and getElem? (#3694) 2024-03-28 01:42:00 +00:00
TacticsExtra.lean chore: upstream norm_cast tactic (#3322) 2024-02-19 17:49:17 -08:00
Util.lean chore: extend GetElem with getElem! and getElem? (#3694) 2024-03-28 01:42:00 +00:00
WF.lean chore: incorrectly annotated theorems 2024-03-13 12:37:58 -07:00
WFTactics.lean feat: use omega in default decreasing_trivial (#3503) 2024-02-27 18:53:36 +00:00