# Pinned to the revision Mathlib v4.35.0 locks in its lake-manifest.json; a dependent's # `lake build` accepts an installed package only at that exact commit, so this # moves together with lean4-mathlib and lean4. %global commit 4a174c490d8707121c4a9290800489f105d85e07 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global snapdate 20261012 %global lean_version 4.35.0 %global lakename aesop Name: lean4-aesop Version: 0^20261012git4a174c4 Release: 1%{?dist} Summary: Aesop: automated proof search for Lean 4 License: Apache-2.0 URL: https://github.com/leanprover-community/aesop Source0: %{url}/archive/%{commit}/aesop-%{commit}.tar.gz # `git cat-file commit %%{commit}`: %%lean4_git_init rebuilds the checkout # Lake expects from the tarball (see macros.lean4). Source1: aesop-%{commit}.commit BuildArch: noarch BuildRequires: lean4 = %{lean_version} BuildRequires: lean4-rpm-macros BuildRequires: git-core BuildRequires: lean4-package(batteries) = 66e469188fe07963e5cf666c7d4433f45b8131c5 Requires: lean4 = %{lean_version} Requires: lean4-package(batteries) = 66e469188fe07963e5cf666c7d4433f45b8131c5 # what a dependent's spec pins: the Lake package name at its exact revision Provides: lean4-package(%{lakename}) = %{commit} %description Aesop (Automated Extensible Search for Obvious Proofs) is a white-box proof search tactic for Lean 4, driven by rule sets that libraries such as Mathlib register with attributes. %prep %autosetup -n aesop-%{commit} %lean4_git_init %{SOURCE1} %{url} %lean4_dep batteries %build %lean4_build Aesop %check # the installed oleans load and elaborate against this toolchain cat > %{_builddir}/check-%{lakename}.lean <<'EOF' import Aesop example : True ∧ True := by aesop EOF lake env lean %{_builddir}/check-%{lakename}.lean %install %lean4_install %{lakename} %files %license LICENSE %doc README.md %{_lean4_pkgdir}/%{lakename}/ %changelog * Mon Nov 02 2026 Morgan Hough - 0^20261012git4a174c4-1 - Initial package: the revision Mathlib v4.35.0 pins