lean4-htt/src
Markus Himmel cf3b257ccd
chore: Option cleanup (#7897)
This PR cleans up the `Option` development, upstreaming some results
from mathlib in the process.

Notable changes:
- the name `<op>_eq_some_iff` is preferred over `<op>_eq_some`
- the `simp` normal form for `<$>` is `Option.map`, for `>>=` is
`Option.bind` and for `<|>` is `Option.orElse` (for the former two, this
was already true before this PR). All further lemmas about these
operations are now stated only in terms of
`Option.map`/`Option.bind`/`Option.orElse`. Previously, in some cases
both versions were available, with a prime used to disambiguate (the
primed version was usually the "non-ascii-art" version). Now, there are
no lemmas about the ascii-art versions besides the ones turning them
into the non-ascii-art operations, and there is only one version of
every lemma, about the non-ascii-art operation, and named without a
prime.
2025-04-10 18:53:30 +00:00
..
bin feat: API to avoid deadlocks from dropped promises (#6958) 2025-02-07 15:33:10 +00:00
cmake chore: fix spelling mistakes (#7328) 2025-04-07 01:15:48 +00:00
include/lean perf: store mimalloc object size in header (#7734) 2025-03-31 06:52:56 +00:00
Init chore: Option cleanup (#7897) 2025-04-10 18:53:30 +00:00
initialize
kernel fix: bv_omega to use -implicitDefEqProofs (#7387) 2025-03-09 00:13:14 +00:00
lake chore: lake: builtins for DSL & plugin for server (#7860) 2025-04-08 03:45:33 +00:00
Lean fix: remove infinite loop in withFnRefWhenTagAppFns (#7904) 2025-04-10 17:16:29 +00:00
library feat: read/writeModuleDataParts API for serialization with cross-file sharing (#7854) 2025-04-10 13:32:24 +00:00
runtime feat: read/writeModuleDataParts API for serialization with cross-file sharing (#7854) 2025-04-10 13:32:24 +00:00
shell fix: lake: library load & link order (#7809) 2025-04-06 17:41:08 +00:00
Std chore: Option cleanup (#7897) 2025-04-10 18:53:30 +00:00
util fix: lean --run should not parse and permute remaining arguments (#7789) 2025-04-02 12:44:31 +00:00
cadical.mk
CMakeLists.txt chore: begin development cycle for v4.20.0 (#7798) 2025-04-03 08:29:52 +00:00
config.h.in perf: use mimalloc by default (#7710) 2025-03-30 22:40:41 +00:00
githash.h.in
Init.lean feat: allow async elab tasks to contribute to info trees reported to linters and request handlers (#7457) 2025-03-13 15:09:00 +00:00
lakefile.toml.in chore: lake: revert use of Lake plugin (#7608) 2025-03-21 00:59:43 +00:00
lean-toolchain
Lean.lean refactor: split Lean.EnvironmentExtension from Lean.Environment (#7794) 2025-04-02 16:19:12 +00:00
lean.mk.in chore: USE_LAKE: integrate into CMake (#4466) 2025-03-15 08:58:01 +00:00
Leanc.lean
Std.lean feat: Std.Net.Addr (#6563) 2025-01-09 09:33:03 +00:00
stdlib.make.in chore: lake: revert use of Lake plugin (#7608) 2025-03-21 00:59:43 +00:00
stdlib_flags.h chore: remove comment from src/stdlib_flags.h (#7531) 2025-03-17 18:07:58 +00:00
version.h.in feat: language reference links and examples in docstrings (#7240) 2025-03-12 09:17:27 +00:00