--- license: apache-2.0 task_categories: - text-generation - feature-extraction language: - en tags: - theorem-proving - formal-methods - lean4 - standard-library size_categories: - 10K f (x h)) (fun h => f (y h)) by by_cases h : P <;> simp [h] ``` - type: theorem | symbolic_name: `apply_dite` | src/Init/ByCases.lean ## Use Each declaration is split into a `statement` (signature/claim) and a `proof` (body) that are disjoint and together form the complete declaration, for proof modeling, autoformalization, retrieval, and dependency analysis via `deps`. ## Citation ```bibtex @misc{lean4_stdlib_dataset, title = {Lean4-Stdlib}, author = {Norton, Charles}, year = {2026}, note = {Extracted from https://github.com/leanprover/lean4, commit d265d1ca745e}, url = {https://huggingface.co/datasets/phanerozoic/Lean4-Stdlib} } ```