Skip to content

Commit abcfb72

Browse files
authored
Update user-guide.rst
1 parent 9abcbdc commit abcfb72

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/user-guide.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Theorems and Proofs
7474

7575
Theorems can be proved in Lean in multiple styles (term-style, tactic-style, mixed-style, etc.).
7676
We focus on tactic-style proofs. A proof is a sequence of tactics. Think of a tactic as
77-
a proof step. Each tactic transforms current goals into (hopefully simpler) sub-goals. And the proof
77+
a proof step. Each tactic transforms current goals into (hopefully simpler) sub-goals. The proof
7878
is complete when all remaining goals become trivial. Below is an example of interacting
7979
with a proof assistant to prove the theorem about summing :math:`n` positive integers.
8080

@@ -128,7 +128,7 @@ Conceptually, a traced repo is simply a collection of traced files. These files
128128
directed acyclic graph (DAG) by importing each other. They include not only files from the target
129129
repo but also dependencies that are actually used by the target repo. Taking `lean-liquid <https://github.com/leanprover-community/lean-liquid>`_ in Lean 3
130130
as an example, it depends on `mathlib <https://github.com/leanprover-community/mathlib>`_ and `Lean's standard library <https://github.com/leanprover-community/lean/tree/master/library>`_.
131-
The corresponding traced repo include all traced files from lean-liquid, as well as some
131+
The corresponding traced repo includes all traced files from lean-liquid, as well as some
132132
files from mathlib and Lean's standard library that are actually used by lean-liquid.
133133
After tracing finishes, these files are stored on the disk in the following directories:
134134

@@ -147,7 +147,7 @@ Lean's standard library is in :file:`lean-liquid/_target/deps/lean/library`.
147147
Source files of lean-liquid itself are in :file:`lean-liquid/src`.
148148
Mathlib and other dependencies (if any) are in :file:`lean-liquid/_target/deps`.
149149

150-
In Lean 4, dependencies are storied in :file:`lake-packages` instead of :file:`_target/deps`.
150+
In Lean 4, dependencies are stored in :file:`lake-packages` instead of :file:`_target/deps`.
151151

152152
In LeanDojo, traced repos are implemented by the :class:`lean_dojo.data_extraction.traced_data.TracedRepo` class.
153153

@@ -189,7 +189,7 @@ Constructing Benchmark Datasets Using LeanDojo
189189
**********************************************
190190

191191
Traced repos/files/theorems provide all information we need, and we can construct concrete
192-
machine learning datasets by some additional post-processing. See our examples of constructing
192+
machine learning datasets with some additional post-processing. See our examples of constructing
193193
datasets from `Lean 3's mathlib <https://github.com/lean-dojo/LeanDojo/blob/main/scripts/generate-benchmark-lean3.ipynb>`_ and `Lean 4's mathlib4 <https://github.com/lean-dojo/LeanDojo/blob/main/scripts/generate-benchmark-lean4.ipynb>`_.
194194

195195

@@ -216,7 +216,7 @@ Traced repos in the cache are portable across machines. We host a number of them
216216
and LeanDojo will automatically download them if they are not in the local cache. To disable this behavior and
217217
build all repos locally, set the :code:`DISABLE_REMOTE_CACHE` environment variable to any value.
218218

219-
The caching mechanism in LeanDojo is implemented in `cache.py <https://github.com/lean-dojo/LeanDojo/blob/main/src/lean_dojo/data_extraction/cache.py>`_
219+
The caching mechanism in LeanDojo is implemented in `cache.py <https://github.com/lean-dojo/LeanDojo/blob/main/src/lean_dojo/data_extraction/cache.py>`_.
220220

221221

222222
.. _environment-variables:

0 commit comments

Comments
 (0)