lean-interact 0.5.1__tar.gz → 0.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {lean_interact-0.5.1 → lean_interact-0.5.2}/PKG-INFO +2 -2
  2. {lean_interact-0.5.1 → lean_interact-0.5.2}/README.md +1 -1
  3. {lean_interact-0.5.1 → lean_interact-0.5.2}/pyproject.toml +1 -1
  4. {lean_interact-0.5.1 → lean_interact-0.5.2}/src/lean_interact/utils.py +1 -1
  5. {lean_interact-0.5.1 → lean_interact-0.5.2}/tests/test_server.py +1 -1
  6. {lean_interact-0.5.1 → lean_interact-0.5.2}/.devcontainer/devcontainer.json +0 -0
  7. {lean_interact-0.5.1 → lean_interact-0.5.2}/.github/workflows/ci.yml +0 -0
  8. {lean_interact-0.5.1 → lean_interact-0.5.2}/.github/workflows/publish-to-pypi.yml +0 -0
  9. {lean_interact-0.5.1 → lean_interact-0.5.2}/.gitignore +0 -0
  10. {lean_interact-0.5.1 → lean_interact-0.5.2}/LICENSE +0 -0
  11. {lean_interact-0.5.1 → lean_interact-0.5.2}/examples/beq_plus.py +0 -0
  12. {lean_interact-0.5.1 → lean_interact-0.5.2}/examples/proof_generation_and_autoformalization.py +0 -0
  13. {lean_interact-0.5.1 → lean_interact-0.5.2}/examples/type_check.py +0 -0
  14. {lean_interact-0.5.1 → lean_interact-0.5.2}/src/lean_interact/__init__.py +0 -0
  15. {lean_interact-0.5.1 → lean_interact-0.5.2}/src/lean_interact/config.py +0 -0
  16. {lean_interact-0.5.1 → lean_interact-0.5.2}/src/lean_interact/interface.py +0 -0
  17. {lean_interact-0.5.1 → lean_interact-0.5.2}/src/lean_interact/server.py +0 -0
  18. {lean_interact-0.5.1 → lean_interact-0.5.2}/tests/test_concurrency.py +0 -0
  19. {lean_interact-0.5.1 → lean_interact-0.5.2}/tests/test_utils.py +0 -0
  20. {lean_interact-0.5.1 → lean_interact-0.5.2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lean-interact
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: LeanInteract is a Python package that allows you to interact with the Lean theorem prover.
5
5
  Author-email: Auguste Poiroux <auguste.poiroux@epfl.ch>
6
6
  License: MIT License
@@ -49,7 +49,7 @@ Description-Content-Type: text/markdown
49
49
  - **🔗 Interactivity**: Execute Lean code and files directly from Python.
50
50
  - **🚀 Ease of Use**: LeanInteract abstracts the complexities of Lean setup and interaction.
51
51
  - **💻 Cross-platform**: Works on Windows, macOS, and Linux operating systems.
52
- - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.19.0-rc2`.
52
+ - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.19.0`.
53
53
  - We backport the latest features of Lean REPL to older versions of Lean.
54
54
  - **📦 Temporary Projects**: Easily instantiate temporary Lean environments.
55
55
  - Useful for experimenting with benchmarks depending on [Mathlib](https://github.com/leanprover-community/mathlib4) like [ProofNet#](https://huggingface.co/datasets/PAug/ProofNetSharp) and [MiniF2F](https://github.com/yangky11/miniF2F-lean4).
@@ -12,7 +12,7 @@
12
12
  - **🔗 Interactivity**: Execute Lean code and files directly from Python.
13
13
  - **🚀 Ease of Use**: LeanInteract abstracts the complexities of Lean setup and interaction.
14
14
  - **💻 Cross-platform**: Works on Windows, macOS, and Linux operating systems.
15
- - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.19.0-rc2`.
15
+ - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.19.0`.
16
16
  - We backport the latest features of Lean REPL to older versions of Lean.
17
17
  - **📦 Temporary Projects**: Easily instantiate temporary Lean environments.
18
18
  - Useful for experimenting with benchmarks depending on [Mathlib](https://github.com/leanprover-community/mathlib4) like [ProofNet#](https://huggingface.co/datasets/PAug/ProofNetSharp) and [MiniF2F](https://github.com/yangky11/miniF2F-lean4).
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lean-interact"
3
- version = "0.5.1"
3
+ version = "0.5.2"
4
4
  description = "LeanInteract is a Python package that allows you to interact with the Lean theorem prover."
5
5
  keywords = ["Lean", "theorem proving", "autoformalization", "REPL"]
6
6
  license = { file = "LICENSE" }
@@ -20,7 +20,7 @@ logger.addHandler(handler)
20
20
  ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
21
21
  DEFAULT_CACHE_DIR = os.path.join(ROOT_DIR, "cache")
22
22
  DEFAULT_REPL_GIT_URL = "https://github.com/augustepoiroux/repl"
23
- DEFAULT_REPL_VERSION = "v1.0.7"
23
+ DEFAULT_REPL_VERSION = "v1.0.8"
24
24
 
25
25
  os.makedirs(DEFAULT_CACHE_DIR, exist_ok=True)
26
26
 
@@ -295,7 +295,7 @@ lean_exe "dummy" where
295
295
  ],
296
296
  ),
297
297
  )
298
- result = server.run(ProofStep(tactic="apply irrational_add_rat_iff.mpr", proof_state=0), verbose=True)
298
+ result = server.run(ProofStep(tactic="apply irrational_add_ratCast_iff.mpr", proof_state=0), verbose=True)
299
299
  self.assertEqual(result, ProofStepResponse(proof_state=1, goals=[], proof_status="Completed"))
300
300
 
301
301
  def test_restart_with_env(self):
File without changes
File without changes
File without changes