Update README.md
Browse files
README.md
CHANGED
@@ -42,21 +42,46 @@ The problem is formatted in JSON as follows:
|
|
42 |
|
43 |
```json
|
44 |
{
|
|
|
45 |
"srcContext": "import Mathlib.Data.Real.Basic\n\n/-!\n# Square function\nWe define the squaring function `s : ℝ → ℝ` to be `s x := x * x`.\n-/\n\ndef s (x : ℝ) : ℝ := x * x\n\n",
|
|
|
|
|
46 |
"theoremStatement": "lemma s_eq_pow_two {x : ℝ} : s x = x ^ 2",
|
|
|
|
|
47 |
"theoremName": "s_eq_pow_two",
|
48 |
-
|
49 |
-
|
50 |
-
"
|
|
|
|
|
|
|
|
|
|
|
51 |
"positionMetadata": {
|
|
|
52 |
"lineInFile": 10,
|
|
|
53 |
"tokenPositionInFile": 152,
|
|
|
54 |
"theoremPositionInFile": 1
|
55 |
},
|
|
|
|
|
56 |
"dependencyMetadata": {
|
|
|
57 |
"inFilePremises": true,
|
58 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
},
|
|
|
|
|
60 |
"proofMetadata": {
|
61 |
"hasProof": true,
|
62 |
"proof": "by\n rw [s, pow_two]",
|
@@ -81,7 +106,11 @@ The problem is formatted in JSON as follows:
|
|
81 |
- **theoremPositionInFile**: The number of premises (definitions, theorems) before the theorem in the file.
|
82 |
- **dependencyMetadata**:
|
83 |
- **inFilePremises**: Indicates whether the theorem uses definitions or lemmas defined in the same file.
|
|
|
84 |
- **repositoryPremises**: Indicates whether the theorem uses definitions or lemmas defined in another file within the same repository.
|
|
|
|
|
|
|
85 |
- **proofMetadata**:
|
86 |
- **hasProof**: Indicates whether the theorem has a proof.
|
87 |
- **proof**: The proof of the theorem.
|
@@ -94,6 +123,8 @@ In addition to individual entries, we also provide the link and git commit versi
|
|
94 |
- PFR: https://github.com/teorth/pfr, commit 6aeed6ddf7dd02470b3196e44527a6f3d32e54cf
|
95 |
- Mathlib: https://github.com/leanprover-community/mathlib4, commit f4b4298bd76b82f7b28f0fb6b5ab92bdf5e5634d
|
96 |
- HTPI: We use the fork https://github.com/hanwenzhu/HTPILeanPackage4.7, commit 8eeebaec8d7fa17b5fe9d97589839ca2560e3ce2
|
|
|
|
|
97 |
|
98 |
## Citation
|
99 |
|
|
|
42 |
|
43 |
```json
|
44 |
{
|
45 |
+
# Preceding file content
|
46 |
"srcContext": "import Mathlib.Data.Real.Basic\n\n/-!\n# Square function\nWe define the squaring function `s : ℝ → ℝ` to be `s x := x * x`.\n-/\n\ndef s (x : ℝ) : ℝ := x * x\n\n",
|
47 |
+
|
48 |
+
# Theorem statement
|
49 |
"theoremStatement": "lemma s_eq_pow_two {x : ℝ} : s x = x ^ 2",
|
50 |
+
|
51 |
+
# Fully qualified theorem name
|
52 |
"theoremName": "s_eq_pow_two",
|
53 |
+
|
54 |
+
# Temporal metadata
|
55 |
+
"fileCreated": {"commit":"(git commit)", "date":"(date the commit is updated)"},
|
56 |
+
"theoremCreated": {"commit":"(git commit)", "date":"(date the commit is updated)"},
|
57 |
+
|
58 |
+
# Source metadata
|
59 |
+
"file": "MyProject/Square.lean",
|
60 |
+
"module": "MyProject.Square",
|
61 |
"positionMetadata": {
|
62 |
+
# Line number the theorem is on
|
63 |
"lineInFile": 10,
|
64 |
+
# Number of tokens before the theorem
|
65 |
"tokenPositionInFile": 152,
|
66 |
+
# Number of premises (definitions, theorems) before the theorem
|
67 |
"theoremPositionInFile": 1
|
68 |
},
|
69 |
+
|
70 |
+
# Dependency metadata
|
71 |
"dependencyMetadata": {
|
72 |
+
# Number of definitions or lemmas defined in this file that the theorem uses
|
73 |
"inFilePremises": true,
|
74 |
+
"numInFilePremises": 1,
|
75 |
+
# Number of definitions or lemmas defined in this repository that the theorem uses (including in-file ones)
|
76 |
+
"repositoryPremises": true
|
77 |
+
"numRepositoryPremises": 1,
|
78 |
+
# Number of total premises (in file, repository, or otherwise)
|
79 |
+
"numPremises": 2,
|
80 |
+
# Modules imported in the current file
|
81 |
+
"importedModules": ["Mathlib.Data.Real.Basic", ...]
|
82 |
},
|
83 |
+
|
84 |
+
# Proof metadata
|
85 |
"proofMetadata": {
|
86 |
"hasProof": true,
|
87 |
"proof": "by\n rw [s, pow_two]",
|
|
|
106 |
- **theoremPositionInFile**: The number of premises (definitions, theorems) before the theorem in the file.
|
107 |
- **dependencyMetadata**:
|
108 |
- **inFilePremises**: Indicates whether the theorem uses definitions or lemmas defined in the same file.
|
109 |
+
- **numInFilePremises**: The number of definitions or lemmas from the same file that the theorem relies on.
|
110 |
- **repositoryPremises**: Indicates whether the theorem uses definitions or lemmas defined in another file within the same repository.
|
111 |
+
- **numRepositoryPremises**: The total number of definitions or lemmas from the repository (including the current file) that the theorem depends on.
|
112 |
+
- **numPremises**: The total number of premises the theorem depends on, regardless of whether they are from the same file, the repository, or external sources.
|
113 |
+
- **importedModules**: Lists the modules imported in the current file.
|
114 |
- **proofMetadata**:
|
115 |
- **hasProof**: Indicates whether the theorem has a proof.
|
116 |
- **proof**: The proof of the theorem.
|
|
|
123 |
- PFR: https://github.com/teorth/pfr, commit 6aeed6ddf7dd02470b3196e44527a6f3d32e54cf
|
124 |
- Mathlib: https://github.com/leanprover-community/mathlib4, commit f4b4298bd76b82f7b28f0fb6b5ab92bdf5e5634d
|
125 |
- HTPI: We use the fork https://github.com/hanwenzhu/HTPILeanPackage4.7, commit 8eeebaec8d7fa17b5fe9d97589839ca2560e3ce2
|
126 |
+
- HEP: We use the fork https://github.com/HEPLean/HepLean, commit 7448822afced644bd61f0bdcf4dc438f455f9890
|
127 |
+
- SciLean: https://github.com/lecopivo/SciLean, commit e03a8e439a558840118319a6c8a47106e1445e53
|
128 |
|
129 |
## Citation
|
130 |
|