lean4-htt/src/Init
Kim Morrison 8d9d23b5bb
feat: (approximate) inverses of dyadic rationals (#10194)
This PR adds the inverse of a dyadic rational, at a given precision, and
characterising lemmas. Also cleans up various parts of the `Int.DivMod`
and `Rat` APIs, and proves some characterising lemmas about
`Rat.toDyadic`.

---------

Co-authored-by: Rob23oba <152706811+Rob23oba@users.noreply.github.com>
2025-09-02 03:43:53 +00:00
..
Control chore: avoid confusing public import all combination (#10051) 2025-08-22 12:04:42 +00:00
Data feat: (approximate) inverses of dyadic rationals (#10194) 2025-09-02 03:43:53 +00:00
Grind feat: (approximate) inverses of dyadic rationals (#10194) 2025-09-02 03:43:53 +00:00
GrindInstances chore: replace Lean.Grind internal preorder classes with the classes from Std (#10129) 2025-08-26 13:18:22 +00:00
Internal chore: avoid confusing public import all combination (#10051) 2025-08-22 12:04:42 +00:00
Omega feat: (approximate) inverses of dyadic rationals (#10194) 2025-09-02 03:43:53 +00:00
System feat: integrate high-level order typeclasses with BEq and Ord (#9908) 2025-08-19 07:54:53 +00:00
BinderNameHint.lean chore: fix spelling errors (#9175) 2025-07-24 23:35:32 +00:00
BinderPredicates.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
ByCases.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Classical.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Coe.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Control.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Conv.lean feat: add enter [in patt] syntax (#10081) 2025-08-23 17:16:53 +00:00
Core.lean chore: remove bootstrap tricks from #9951 (#10203) 2025-09-01 13:30:42 +00:00
Data.lean feat: dyadic rationals (#9993) 2025-08-26 03:49:39 +00:00
Dynamic.lean perf: do not export opaque bodies (#10119) 2025-08-27 20:59:59 +00:00
Ext.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
GetElem.lean chore: remove >6 month old deprecations (#9640) 2025-08-05 02:29:15 +00:00
Grind.lean feat: AC theorems for grind (#10093) 2025-08-24 05:02:37 +00:00
GrindInstances.lean feat: upstream several Rat lemmas from mathlib (#10077) 2025-08-25 06:02:27 +00:00
Guard.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Hints.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Internal.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
MacroTrace.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Meta.lean chore: add private getUtf8Byte' to Init.Meta (#10140) 2025-08-26 16:54:02 +00:00
MetaTypes.lean feat: improve grind cutsat support for Fin n when n is not a numeral (#10022) 2025-08-21 17:25:52 +00:00
Notation.lean feat: allow position reporting in #guard_msgs (#10125) 2025-08-27 06:47:34 +00:00
NotationExtra.lean chore: warn on [expose] on private definition (#9917) 2025-08-15 11:31:33 +00:00
Omega.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Prelude.lean chore: remove bootstrap tricks from #9951 (#10203) 2025-09-01 13:30:42 +00:00
PropLemmas.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
RCases.lean fix: add missing spaces for pretty printing (#9475) 2025-07-23 19:35:04 +00:00
ShareCommon.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
SimpLemmas.lean fix: performance issue when elaborating match-expressions with many literals (#9372) 2025-07-15 03:52:23 +00:00
Simproc.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
SizeOf.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
SizeOfLemmas.lean chore: avoid confusing public import all combination (#10051) 2025-08-22 12:04:42 +00:00
Syntax.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
System.lean chore: remove >6 month old deprecations (#9640) 2025-08-05 02:29:15 +00:00
Tactics.lean chore: eliminate uses of intros x y z (#9983) 2025-08-19 06:09:13 +00:00
TacticsExtra.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Task.lean refactor: implement IO.waitAny using Lean (#9732) 2025-08-06 13:09:15 +00:00
Try.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Util.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
WF.lean feat: add @[grind =] to Prod.lex_def (#9609) 2025-07-29 02:45:02 +00:00
WFTactics.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
While.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00