You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/user-guide.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ Theorems and Proofs
74
74
75
75
Theorems can be proved in Lean in multiple styles (term-style, tactic-style, mixed-style, etc.).
76
76
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
78
78
is complete when all remaining goals become trivial. Below is an example of interacting
79
79
with a proof assistant to prove the theorem about summing :math:`n` positive integers.
80
80
@@ -128,7 +128,7 @@ Conceptually, a traced repo is simply a collection of traced files. These files
128
128
directed acyclic graph (DAG) by importing each other. They include not only files from the target
129
129
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
130
130
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
132
132
files from mathlib and Lean's standard library that are actually used by lean-liquid.
133
133
After tracing finishes, these files are stored on the disk in the following directories:
134
134
@@ -147,7 +147,7 @@ Lean's standard library is in :file:`lean-liquid/_target/deps/lean/library`.
147
147
Source files of lean-liquid itself are in :file:`lean-liquid/src`.
148
148
Mathlib and other dependencies (if any) are in :file:`lean-liquid/_target/deps`.
149
149
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`.
151
151
152
152
In LeanDojo, traced repos are implemented by the :class:`lean_dojo.data_extraction.traced_data.TracedRepo` class.
153
153
@@ -189,7 +189,7 @@ Constructing Benchmark Datasets Using LeanDojo
189
189
**********************************************
190
190
191
191
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
193
193
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>`_.
194
194
195
195
@@ -216,7 +216,7 @@ Traced repos in the cache are portable across machines. We host a number of them
216
216
and LeanDojo will automatically download them if they are not in the local cache. To disable this behavior and
217
217
build all repos locally, set the :code:`DISABLE_REMOTE_CACHE` environment variable to any value.
218
218
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>`_.
0 commit comments