lean4-htt/src/Init
Leonardo de Moura 019ea2a74b
feat: improve support for Field in grind (#8786)
This PR improves the support for fields in `grind`. New supported
examples:
```lean
example [Field α] [IsCharP α 0] (x : α) : x ≠ 0 → (4 / x)⁻¹ * ((3 * x^3) / x)^2 * ((1 / (2 * x))⁻¹)^3 = 18 * x^8 := by grind
example [Field α] (a : α) : 2 * a ≠ 0 → 1 / a + 1 / (2 * a) = 3 / (2 * a) := by grind
example [Field α] [IsCharP α 0] (a : α) : 1 / a + 1 / (2 * a) = 3 / (2 * a) := by grind
example [Field α] [IsCharP α 0] (a b : α) : 2*b - a = a + b → 1 / a + 1 / (2 * a) = 3 / b := by grind
example [Field α] [NoNatZeroDivisors α] (a : α) : 1 / a + 1 / (2 * a) = 3 / (2 * a) := by grind
example [Field α] {x y z w : α} : x / y = z / w → y ≠ 0 → w ≠ 0 → x * w = z * y := by grind
example [Field α] (a : α) : a = 0 → a ≠ 1 := by grind
example [Field α] (a : α) : a = 0 → a ≠ 1 - a := by grind
```
2025-06-14 19:29:02 +00:00
..
Control fix: change show tactic to work as documented (#7395) 2025-06-12 23:54:09 +00:00
Data fix: quoting single quote Char (''') (#8742) 2025-06-13 15:29:11 +00:00
Grind feat: improve support for Field in grind (#8786) 2025-06-14 19:29:02 +00:00
Internal fix: change show tactic to work as documented (#7395) 2025-06-12 23:54:09 +00:00
Omega feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
System fix: make unsafeBaseIO noinline (#8669) 2025-06-09 14:48:37 +00:00
BinderNameHint.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
BinderPredicates.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
ByCases.lean chore: remove >6 month old deprecations (#8312) 2025-05-13 11:11:22 +00:00
Classical.lean chore: remove duplicate instances (#8397) 2025-05-19 04:36:06 +00:00
Coe.lean feat: meta phase restrictions 2025-06-12 16:36:08 +02:00
Control.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Conv.lean feat: meta phase restrictions 2025-06-12 16:36:08 +02:00
Core.lean fix: change show tactic to work as documented (#7395) 2025-06-12 23:54:09 +00:00
Data.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Dynamic.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
Ext.lean chore: cleanup grind palindrome test (#8428) 2025-05-21 03:31:56 +00:00
GetElem.lean chore: cleanup after renaming get_elem_tactic_trivial 2025-06-06 13:10:18 +10:00
Grind.lean feat: typeclasses for grind to extensibly embed types into Int (#8543) 2025-06-04 13:04:19 +00:00
Guard.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Hints.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Internal.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
MacroTrace.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Meta.lean fix: change show tactic to work as documented (#7395) 2025-06-12 23:54:09 +00:00
MetaTypes.lean feat: non-chronological backtracking for grind (WIP) (#8440) 2025-05-23 19:33:54 +00:00
Notation.lean feat: meta phase restrictions 2025-06-12 16:36:08 +02:00
NotationExtra.lean feat: meta phase restrictions 2025-06-12 16:36:08 +02:00
Omega.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Prelude.lean feat: do not export private declarations (#8337) 2025-06-02 08:01:08 +00:00
PropLemmas.lean chore: remove duplicate instances (#8397) 2025-05-19 04:36:06 +00:00
RCases.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
ShareCommon.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
SimpLemmas.lean chore: remove >6 month old deprecations (#8514) 2025-05-28 11:28:03 +00:00
Simproc.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
SizeOf.lean refactor: Init: expose lots of functions (#8501) 2025-05-28 07:37:54 +00:00
SizeOfLemmas.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
Syntax.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
System.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Tactics.lean fix: change show tactic to work as documented (#7395) 2025-06-12 23:54:09 +00:00
TacticsExtra.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Task.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Try.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Util.lean feat: do not export private declarations (#8337) 2025-06-02 08:01:08 +00:00
WF.lean feat: do not export private declarations (#8337) 2025-06-02 08:01:08 +00:00
WFTactics.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
While.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00