lean4-htt/src/Init
Kyle Miller d39b0415f0
feat: enable pp.fieldNotation.generalized globally (#3744)
Sets the default value to `pp.fieldNotation.generalized` to `true`.
Updates tests, and fixes some minor flaws in the implementation of the
generalized field notation pretty printer.

Now generalized field notation won't be used for any function that has a
`motive` argument. This is intended to prevent recursors from pretty
printing using it as (1) recursors are more like control flow structures
than actual functions and (2) generalized field notation tends to cause
elaboration problems for recursors.

Note: be sure functions that have an `@[app_unexpander]` use
`@[pp_nodot]` if applicable. For example, `List.toArray` needs
`@[pp_nodot]` to ensure the unexpander prints it using `#[...]`
notation.
2024-03-23 02:38:09 +00:00
..
Control perf: rewrite UnusedVariables lint (#3186) 2024-03-21 12:28:57 +00:00
Data perf: rewrite UnusedVariables lint (#3186) 2024-03-21 12:28:57 +00:00
Omega chore: omega notices that 0 ≤ (x : Int) % (y : Int) (#3736) 2024-03-22 02:49:24 +00:00
System chore: shaking imports in Init.Data.Nat/Int (#3605) 2024-03-05 13:29:35 +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
Conv.lean feat: conv => calc (#3659) 2024-03-13 09:03:39 +00:00
Core.lean feat: apply pp_using_anonymous_constructor attribute (#3735) 2024-03-22 00:30:36 +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: add [ext] basic theorems, add test 2024-02-15 13:26:01 +01:00
Guard.lean feat: upstream guard_expr (#3297) 2024-02-11 23:25:04 +00:00
Hints.lean
Meta.lean chore: remove the coercion from String to Name (#3589) 2024-03-21 23:46:03 +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 feat: conv => calc (#3659) 2024-03-13 09:03:39 +00:00
Omega.lean chore: add missing copyright headers (#3411) 2024-02-20 01:49:55 +00:00
Prelude.lean feat: enable pp.fieldNotation.generalized globally (#3744) 2024-03-23 02:38:09 +00:00
PropLemmas.lean feat: upstream apply helper tactics from Mathlib (#3670) 2024-03-17 06:47:56 +00:00
RCases.lean chore: upstream rcases (#3292) 2024-02-10 05:22:02 +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 feat: dsimproc command 2024-03-05 14:42:05 -08: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 fix: make attribute based rfl tactic builtin (#3708) 2024-03-18 11:39:59 +00:00
TacticsExtra.lean chore: upstream norm_cast tactic (#3322) 2024-02-19 17:49:17 -08:00
Util.lean perf: leak environments not freed before process exit 2023-11-14 17:33:04 +01: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