lean4-htt/src/Lean
Leonardo de Moura 19fd1f060f
feat: ToInt equality in grind cutsat (#9051)
This PR implements support for equalities and disequalities in `grind
cutsat`. We still have to improve the encoding. Examples:
```lean
example (a b c : Fin 11) : a ≤ 2 → b ≤ 3 → c = a + b → c ≤ 5 := by
  grind

example (a : Fin 2) : a ≠ 0 → a ≠ 1 → False := by
  grind
```
2025-06-27 21:52:23 +00:00
..
Compiler refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
Data refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
DocString perf: do not import non-meta IR 2025-06-27 08:13:31 -07:00
Elab refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
ErrorExplanations feat: improve projection and field-notation errors (#8986) 2025-06-26 18:36:47 +00:00
Language feat: server support for new module setup (#8699) 2025-06-23 18:00:14 +00:00
Linter chore: use note and hint' for message addenda (#8980) 2025-06-27 15:16:01 +00:00
Meta feat: ToInt equality in grind cutsat (#9051) 2025-06-27 21:52:23 +00:00
Parser chore: reserve public section syntax (#9032) 2025-06-27 12:21:01 +00:00
ParserCompiler
PrettyPrinter refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
Server refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
Util feat: server support for new module setup (#8699) 2025-06-23 18:00:14 +00:00
Widget refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
AddDecl.lean feat: explicit defeq attribute (#8419) 2025-06-06 18:40:06 +00:00
Attributes.lean feat: explicit defeq attribute (#8419) 2025-06-06 18:40:06 +00:00
AuxRecursor.lean refactor: remove binductionOn, use brecOn instead (#8820) 2025-06-17 07:07:24 +00:00
BuiltinDocAttr.lean chore: follow up on #8173 post-stage0 update (#8722) 2025-06-16 09:08:35 +00:00
Class.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
Compiler.lean feat: meta phase restrictions 2025-06-12 16:36:08 +02:00
CoreM.lean chore: use note and hint' for message addenda (#8980) 2025-06-27 15:16:01 +00:00
Data.lean
Declaration.lean feat: explicit defeq attribute (#8419) 2025-06-06 18:40:06 +00:00
DeclarationRange.lean refactor: environment extension state splitting (#8653) 2025-06-11 12:52:04 +00:00
DefEqAttrib.lean feat: explicit defeq attribute (#8419) 2025-06-06 18:40:06 +00:00
DocString.lean
Elab.lean feat: add elaborators, completions, and hovers for named errors (#8730) 2025-06-18 15:51:34 +00:00
EnvExtension.lean refactor: environment extension state splitting (#8653) 2025-06-11 12:52:04 +00:00
Environment.lean refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
ErrorExplanation.lean feat: add elaborators, completions, and hovers for named errors (#8730) 2025-06-18 15:51:34 +00:00
ErrorExplanations.lean feat: improve projection and field-notation errors (#8986) 2025-06-26 18:36:47 +00:00
Exception.lean feat: add initial error explanations (#8934) 2025-06-23 17:24:09 +00:00
Expr.lean feat: (commutative) semiring support in grind (#8921) 2025-06-21 23:00:16 +00:00
HeadIndex.lean
Hygiene.lean
ImportingFlag.lean
InternalExceptionId.lean
KeyedDeclsAttribute.lean
LabelAttribute.lean
Level.lean fix: block adversarial exploit of non-aborting assert! (#8559) 2025-05-31 00:08:30 +00:00
Linter.lean feat: linter.unusedSimpArgs (#8901) 2025-06-22 09:10:21 +00:00
LoadDynlib.lean
LocalContext.lean feat: use nondep flag in Expr.letE and LocalContext.ldecl (#8804) 2025-06-22 21:54:57 +00:00
Log.lean chore: enable error explanation widget (#9043) 2025-06-27 19:25:29 +00:00
Message.lean feat: improve projection and field-notation errors (#8986) 2025-06-26 18:36:47 +00:00
Meta.lean feat: add Meta.letToHave and the let_to_have tactic (#8954) 2025-06-24 01:33:53 +00:00
MetavarContext.lean refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
Modifiers.lean feat: allow access to private names through import all (#8828) 2025-06-27 12:13:46 +00:00
MonadEnv.lean feat: meta phase restrictions 2025-06-12 16:36:08 +02:00
Namespace.lean
Parser.lean
ParserCompiler.lean feat: use nondep flag in Expr.letE and LocalContext.ldecl (#8804) 2025-06-22 21:54:57 +00:00
PremiseSelection.lean
PrettyPrinter.lean
PrivateName.lean
ProjFns.lean
ReducibilityAttrs.lean chore: use note and hint' for message addenda (#8980) 2025-06-27 15:16:01 +00:00
Replay.lean
ReservedNameAction.lean feat: make equational theorems of non-exposed defs private (#8519) 2025-06-04 11:52:08 +00:00
ResolveName.lean feat: allow access to private names through import all (#8828) 2025-06-27 12:13:46 +00:00
Runtime.lean
ScopedEnvExtension.lean
Server.lean
Setup.lean perf: do not import non-meta IR 2025-06-27 08:13:31 -07:00
Shell.lean feat: ignore lean -R if module name is in setup (#8874) 2025-06-23 17:55:52 +00:00
Structure.lean refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
SubExpr.lean fix: replace bad simp lemmas for Id (#7352) 2025-05-22 22:45:35 +00:00
Syntax.lean refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
ToExpr.lean
ToLevel.lean
Util.lean feat: server support for new module setup (#8699) 2025-06-23 18:00:14 +00:00
Widget.lean