lean4-htt/src
Markus Himmel 106b772659
chore: remove membership instance on Option from most theorem statements (#7856)
This PR changes definitions and theorems not to use the membership
instance on `Option` unless the theorem is specifically about the
membership instance.

The reasoning for this change is that the lemma `a ∈ o ↔ o = some a` is
a `simp` lemma, and we generally want theorem statements to use `simp`
normal forms.

One notable exception is the `ForIn'` instance, which must use
`Membership` because unlike `GetElem`, `ForIn'` requires the validity
predicate to be expressed via `Membership`.
2025-04-08 08:06:50 +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: remove membership instance on Option from most theorem statements (#7856) 2025-04-08 08:06:50 +00:00
initialize fix: explicitly initialize Std in lean_initialize (#4668) 2024-07-06 13:17:30 +00:00
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 chore: remove not very useful reportIssue (#7866) 2025-04-08 03:00:48 +00:00
library fix: perform an earlier 'noncomputable' check to avoid misoptimizations (#7824) 2025-04-06 16:01:07 +00:00
runtime chore: fix spelling mistakes (#7328) 2025-04-07 01:15:48 +00:00
shell fix: lake: library load & link order (#7809) 2025-04-06 17:41:08 +00:00
Std chore: remove membership instance on Option from most theorem statements (#7856) 2025-04-08 08:06:50 +00:00
util fix: lean --run should not parse and permute remaining arguments (#7789) 2025-04-02 12:44:31 +00:00
cadical.mk feat: ship cadical (#4325) 2024-08-23 09:13:27 +00:00
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 feat: expose flags for the bundled C compiler (#4477) 2024-06-22 01:23:33 +00:00
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