arubenruben LeandroSilva712 commited on
Commit
7a9fdf2
1 Parent(s): ce4a429

Translation of Dataset generation to PT-PT (#2)

Browse files

- Added files (cc93add6f7f5722d2cae4347c89500511fbfede2)


Co-authored-by: José Leandro Rodrigues da Silva <LeandroSilva712@users.noreply.huggingface.co>

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitignore +3 -0
  2. README.md +17 -0
  3. Translation_rules.xlsx +0 -0
  4. mathematics_dataset/CONTRIBUTING.md +28 -0
  5. mathematics_dataset/LICENSE +202 -0
  6. mathematics_dataset/README.md +177 -0
  7. mathematics_dataset/mathematics_dataset/__init__.py +13 -0
  8. mathematics_dataset/mathematics_dataset/ds/extrapolate/algebra__polynomial_roots_big.txt +20 -0
  9. mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__add_or_sub_big.txt +20 -0
  10. mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__add_sub_multiple_longer.txt +20 -0
  11. mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__div_big.txt +20 -0
  12. mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__mixed_longer.txt +20 -0
  13. mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__mul_big.txt +20 -0
  14. mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__mul_div_multiple_longer.txt +20 -0
  15. mathematics_dataset/mathematics_dataset/ds/extrapolate/comparison__closest_more.txt +20 -0
  16. mathematics_dataset/mathematics_dataset/ds/extrapolate/comparison__kth_biggest_more.txt +20 -0
  17. mathematics_dataset/mathematics_dataset/ds/extrapolate/comparison__sort_more.txt +20 -0
  18. mathematics_dataset/mathematics_dataset/ds/extrapolate/measurement__conversion.txt +20 -0
  19. mathematics_dataset/mathematics_dataset/ds/extrapolate/numbers__place_value_big.txt +20 -0
  20. mathematics_dataset/mathematics_dataset/ds/extrapolate/numbers__round_number_big.txt +20 -0
  21. mathematics_dataset/mathematics_dataset/ds/extrapolate/probability__swr_p_level_set_more_samples.txt +20 -0
  22. mathematics_dataset/mathematics_dataset/ds/extrapolate/probability__swr_p_sequence_more_samples.txt +20 -0
  23. mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__linear_1d.txt +20 -0
  24. mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__linear_1d_composed.txt +20 -0
  25. mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__linear_2d.txt +20 -0
  26. mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__linear_2d_composed.txt +20 -0
  27. mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__polynomial_roots.txt +20 -0
  28. mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__polynomial_roots_composed.txt +20 -0
  29. mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__sequence_next_term.txt +20 -0
  30. mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__sequence_nth_term.txt +20 -0
  31. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__add_or_sub.txt +20 -0
  32. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__add_or_sub_in_base.txt +20 -0
  33. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__add_sub_multiple.txt +20 -0
  34. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__div.txt +20 -0
  35. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__mixed.txt +20 -0
  36. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__mul.txt +20 -0
  37. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__mul_div_multiple.txt +20 -0
  38. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__nearest_integer_root.txt +20 -0
  39. mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__simplify_surd.txt +20 -0
  40. mathematics_dataset/mathematics_dataset/ds/interpolate/calculus__differentiate.txt +20 -0
  41. mathematics_dataset/mathematics_dataset/ds/interpolate/calculus__differentiate_composed.txt +20 -0
  42. mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__closest.txt +20 -0
  43. mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__closest_composed.txt +20 -0
  44. mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__kth_biggest.txt +20 -0
  45. mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__kth_biggest_composed.txt +20 -0
  46. mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__pair.txt +20 -0
  47. mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__pair_composed.txt +20 -0
  48. mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__sort.txt +20 -0
  49. mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__sort_composed.txt +20 -0
  50. mathematics_dataset/mathematics_dataset/ds/interpolate/measurement__conversion.txt +20 -0
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ mathematics_dataset/mathematics_dataset/*/__pycache__/
2
+ mathematics_dataset/mathematics_dataset/__pycache__/
3
+ mathematics_dataset/mathematics_dataset/.venv/
README.md CHANGED
@@ -1,3 +1,20 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+
5
+
6
+ To run generation code within 'mathematics_dataset\mathematics_dataset\':
7
+ - Activate python venv ``` .\.venv\Scripts\activate ```
8
+ - Requirements defined in requires.txt
9
+ - Run ```python generate_to_file.py --output_dir ds``` to generate dataset to directory \ds
10
+
11
+ Had to change enconding when opening files to utf-8 so that some characters are allowed (ã õ é)
12
+
13
+ To obtain dataset with the correct amount of rows:
14
+ - python ```generate_to_file.py --output_dir ds --per_train_module 1999998 --per_test_module 10000```
15
+
16
+ This dataset creates train set (train-easy,train-medium,train-hard) and the creates extrapolation ("measure generalization along various axes of difficulty to beyond that seen during training") and interpolation ("test questions are distinct
17
+ from the train questions") tests.
18
+ On HugginFace only interpolate tests are used as test set.
19
+
20
+ Some tests will not work, since they rely on english terms.
Translation_rules.xlsx ADDED
Binary file (22.7 kB). View file
 
mathematics_dataset/CONTRIBUTING.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # How to Contribute
2
+
3
+ We'd love to accept your patches and contributions to this project. There are
4
+ just a few small guidelines you need to follow.
5
+
6
+ ## Contributor License Agreement
7
+
8
+ Contributions to this project must be accompanied by a Contributor License
9
+ Agreement. You (or your employer) retain the copyright to your contribution;
10
+ this simply gives us permission to use and redistribute your contributions as
11
+ part of the project. Head over to <https://cla.developers.google.com/> to see
12
+ your current agreements on file or to sign a new one.
13
+
14
+ You generally only need to submit a CLA once, so if you've already submitted one
15
+ (even if it was for a different project), you probably don't need to do it
16
+ again.
17
+
18
+ ## Code reviews
19
+
20
+ All submissions, including submissions by project members, require review. We
21
+ use GitHub pull requests for this purpose. Consult
22
+ [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
23
+ information on using pull requests.
24
+
25
+ ## Community Guidelines
26
+
27
+ This project follows
28
+ [Google's Open Source Community Guidelines](https://opensource.google.com/conduct/).
mathematics_dataset/LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
mathematics_dataset/README.md ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Mathematics Dataset
2
+
3
+ This dataset code generates mathematical question and answer pairs, from a range
4
+ of question types at roughly school-level difficulty. This is designed to test
5
+ the mathematical learning and algebraic reasoning skills of learning models.
6
+
7
+ Original paper: [Analysing Mathematical
8
+ Reasoning Abilities of Neural Models](https://openreview.net/pdf?id=H1gR5iR5FX)
9
+ (Saxton, Grefenstette, Hill, Kohli).
10
+
11
+ ## Example questions
12
+
13
+ ```
14
+ Question: Solve -42*r + 27*c = -1167 and 130*r + 4*c = 372 for r.
15
+ Answer: 4
16
+
17
+ Question: Calculate -841880142.544 + 411127.
18
+ Answer: -841469015.544
19
+
20
+ Question: Let x(g) = 9*g + 1. Let q(c) = 2*c + 1. Let f(i) = 3*i - 39. Let w(j) = q(x(j)). Calculate f(w(a)).
21
+ Answer: 54*a - 30
22
+
23
+ Question: Let e(l) = l - 6. Is 2 a factor of both e(9) and 2?
24
+ Answer: False
25
+
26
+ Question: Let u(n) = -n**3 - n**2. Let e(c) = -2*c**3 + c. Let l(j) = -118*e(j) + 54*u(j). What is the derivative of l(a)?
27
+ Answer: 546*a**2 - 108*a - 118
28
+
29
+ Question: Three letters picked without replacement from qqqkkklkqkkk. Give prob of sequence qql.
30
+ Answer: 1/110
31
+ ```
32
+
33
+ ## Pre-generated data
34
+
35
+ [Pre-generated files](https://console.cloud.google.com/storage/browser/mathematics-dataset)
36
+
37
+ ### Version 1.0
38
+
39
+ This is the version released with the original paper. It contains 2 million
40
+ (question, answer) pairs per module, with questions limited to 160 characters in
41
+ length, and answers to 30 characters in length. Note the training data for each
42
+ question type is split into "train-easy", "train-medium", and "train-hard". This
43
+ allows training models via a curriculum. The data can also be mixed together
44
+ uniformly from these training datasets to obtain the results reported in the
45
+ paper. Categories:
46
+
47
+ * **algebra** (linear equations, polynomial roots, sequences)
48
+ * **arithmetic** (pairwise operations and mixed expressions, surds)
49
+ * **calculus** (differentiation)
50
+ * **comparison** (closest numbers, pairwise comparisons, sorting)
51
+ * **measurement** (conversion, working with time)
52
+ * **numbers** (base conversion, remainders, common divisors and multiples,
53
+ primality, place value, rounding numbers)
54
+ * **polynomials** (addition, simplification, composition, evaluating, expansion)
55
+ * **probability** (sampling without replacement)
56
+
57
+ ## Getting the source
58
+
59
+ ### PyPI
60
+
61
+ The easiest way to get the source is to use pip:
62
+
63
+ ```shell
64
+ $ pip install mathematics_dataset
65
+ ```
66
+
67
+ ### From GitHub
68
+
69
+ Alternately you can get the source by cloning the mathematics_dataset
70
+ repository:
71
+
72
+ ```shell
73
+ $ git clone https://github.com/deepmind/mathematics_dataset
74
+ $ pip install --upgrade mathematics_dataset/
75
+ ```
76
+
77
+ ## Generating examples
78
+
79
+ Generated examples can be printed to stdout via the `generate` script. For
80
+ example:
81
+
82
+ ```shell
83
+ python -m mathematics_dataset.generate --filter=linear_1d
84
+ ```
85
+
86
+ will generate example (question, answer) pairs for solving linear equations in
87
+ one variable.
88
+
89
+ We've also included `generate_to_file.py` as an example of how to write the
90
+ generated examples to text files. You can use this directly, or adapt it for
91
+ your generation and training needs.
92
+
93
+ ## Dataset Metadata
94
+ The following table is necessary for this dataset to be indexed by search
95
+ engines such as <a href="https://g.co/datasetsearch">Google Dataset Search</a>.
96
+ <div itemscope itemtype="http://schema.org/Dataset">
97
+ <table>
98
+ <tr>
99
+ <th>property</th>
100
+ <th>value</th>
101
+ </tr>
102
+ <tr>
103
+ <td>name</td>
104
+ <td><code itemprop="name">Mathematics Dataset</code></td>
105
+ </tr>
106
+ <tr>
107
+ <td>url</td>
108
+ <td><code itemprop="url">https://github.com/deepmind/mathematics_dataset</code></td>
109
+ </tr>
110
+ <tr>
111
+ <td>sameAs</td>
112
+ <td><code itemprop="sameAs">https://github.com/deepmind/mathematics_dataset</code></td>
113
+ </tr>
114
+ <tr>
115
+ <td>description</td>
116
+ <td><code itemprop="description">This dataset consists of mathematical question and answer pairs, from a range
117
+ of question types at roughly school-level difficulty. This is designed to test
118
+ the mathematical learning and algebraic reasoning skills of learning models.\n
119
+ \n
120
+ ## Example questions\n
121
+ \n
122
+ ```\n
123
+ Question: Solve -42*r + 27*c = -1167 and 130*r + 4*c = 372 for r.\n
124
+ Answer: 4\n
125
+ \n
126
+ Question: Calculate -841880142.544 + 411127.\n
127
+ Answer: -841469015.544\n
128
+ \n
129
+ Question: Let x(g) = 9*g + 1. Let q(c) = 2*c + 1. Let f(i) = 3*i - 39. Let w(j) = q(x(j)). Calculate f(w(a)).\n
130
+ Answer: 54*a - 30\n
131
+ ```\n
132
+ \n
133
+ It contains 2 million
134
+ (question, answer) pairs per module, with questions limited to 160 characters in
135
+ length, and answers to 30 characters in length. Note the training data for each
136
+ question type is split into "train-easy", "train-medium", and "train-hard". This
137
+ allows training models via a curriculum. The data can also be mixed together
138
+ uniformly from these training datasets to obtain the results reported in the
139
+ paper. Categories:\n
140
+ \n
141
+ * **algebra** (linear equations, polynomial roots, sequences)\n
142
+ * **arithmetic** (pairwise operations and mixed expressions, surds)\n
143
+ * **calculus** (differentiation)\n
144
+ * **comparison** (closest numbers, pairwise comparisons, sorting)\n
145
+ * **measurement** (conversion, working with time)\n
146
+ * **numbers** (base conversion, remainders, common divisors and multiples,\n
147
+ primality, place value, rounding numbers)\n
148
+ * **polynomials** (addition, simplification, composition, evaluating, expansion)\n
149
+ * **probability** (sampling without replacement)</code></td>
150
+ </tr>
151
+ <tr>
152
+ <td>provider</td>
153
+ <td>
154
+ <div itemscope itemtype="http://schema.org/Organization" itemprop="provider">
155
+ <table>
156
+ <tr>
157
+ <th>property</th>
158
+ <th>value</th>
159
+ </tr>
160
+ <tr>
161
+ <td>name</td>
162
+ <td><code itemprop="name">DeepMind</code></td>
163
+ </tr>
164
+ <tr>
165
+ <td>sameAs</td>
166
+ <td><code itemprop="sameAs">https://en.wikipedia.org/wiki/DeepMind</code></td>
167
+ </tr>
168
+ </table>
169
+ </div>
170
+ </td>
171
+ </tr>
172
+ <tr>
173
+ <td>citation</td>
174
+ <td><code itemprop="citation">https://identifiers.org/arxiv:1904.01557</code></td>
175
+ </tr>
176
+ </table>
177
+ </div>
mathematics_dataset/mathematics_dataset/__init__.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright 2018 DeepMind Technologies Limited.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
mathematics_dataset/mathematics_dataset/ds/extrapolate/algebra__polynomial_roots_big.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Seja 3*i**2/2 - 474313521*i/2 + 2134410723 = 0. Qual é i?
2
+ 9, 158104498
3
+ Factoriza 3*g**2 - 169065244338*g + 2381921403588970088187.
4
+ 3*(g - 28177540723)**2
5
+ Factoriza 3*x**3 + 33899714526*x**2 + 95765887044791569188*x - 191531774225181996504.
6
+ 3*(x - 2)*(x + 5649952422)**2
7
+ Seja 3*v**4/4 + 9028809*v**3/2 + 1914074427*v**2/4 + 943494003*v + 469489800 = 0. Qual é v?
8
+ -6019100, -104, -1
9
+ Encontra i tal que -2*i**3/13 - 281030*i**2/13 - 434648094*i/13 - 1301415066/13 = 0.
10
+ -138951, -1561, -3
11
+ Resolve z**3/2 + 664681*z**2 + 221744124000*z + 560260252092672 = 0.
12
+ -663408, -2546
13
+ Supõe -t**3/5 - 1058377*t**2/5 + 234356101*t - 8150602719/5 = 0. Qual é t?
14
+ -1059483, 7, 1099
15
+ Supõe -2*i**2/9 + 100399784548*i/9 - 1260014592160602445538/9 = 0. Qual é i?
16
+ 25099946137
17
+ Seja -o**4/3 - 296*o**3 + 149338560*o**2 - 1173502213632*o = 0. Calcula o.
18
+ -24744, 0, 11928
19
+ Supõe 3*a**2/4 - 19005912951*a/2 = 0. Calcula a?
20
+ 0, 12670608634
mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__add_or_sub_big.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quanto é -41.924 retirado de -33604115882?
2
+ -33604115840.076
3
+ -22757918145374.91 + 0.5
4
+ -22757918145374.41
5
+ Determina 1.19 + -278715.37375089.
6
+ -278714.18375089
7
+ Quanto é -2.497416 retirado de -69846.3671?
8
+ -69843.869684
9
+ Quanto é 233.1458582 + -92.150525?
10
+ 140.9953332
11
+ Quanto é 2 mais 1383039726125.669?
12
+ 1383039726127.669
13
+ Quanto é -434368 mais -80.387315806?
14
+ -434448.387315806
15
+ Calcula 153631.982 - 2784044885.
16
+ -2783891253.018
17
+ Quanto é 92326064.2 - 1586?
18
+ 92324478.2
19
+ Qual é a distância entre 4 e -263788773099.330361?
20
+ 263788773103.330361
mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__add_sub_multiple_longer.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Avalia (-17 - -34 - (-10 + (-3 - -10) - -9)) + 253 - ((17 - 9) + -5).
2
+ 261
3
+ 5 + 11 - (-67 - -98) - -10 - (0 + (2 - 0) + -3 - (36 + -93))
4
+ -61
5
+ Calcula (-1 + -186 - -2) + (-11756 - -11792) + -24 + 2 + -2 - (6 + (-2 - 1)).
6
+ -176
7
+ Quanto é (2 + -18 + 13 - 4) + 16 + 352 + (0 - (0 - -3)) + -4 + -10?
8
+ 344
9
+ Avalia ((-54 - -140) + -133 - 48) + -11 + 2 + (2 + (-2 - -1) - 1).
10
+ -104
11
+ Calcula (8 - -1) + -27 + (25 - (-3 - (-16 - -3))) + 15 + 236 + 6 + 0.
12
+ 254
13
+ Quanto é 9 - (3 - (-15 + (-260 - (-81 - -12)) + 1 + (-4 - -2 - 10)))?
14
+ -211
15
+ -8 + (284 - (-20 + (17 - 7))) - (-4 + (-5 - -5)) - (0 + 9)
16
+ 281
17
+ Calcula 0 - (-301 + 3) - (1 + (-30 - (8 + -34)) + (3 - -15) + -6 + -1).
18
+ 290
19
+ Quanto é -3 - -4 - -269 - ((-16 - -5) + (22 - (8 - -3 - 8 - -14)))?
20
+ 276
mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__div_big.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Divide 34754707062 por -3.
2
+ -11584902354
3
+ Divide -1340813140 por -6.
4
+ 670406570/3
5
+ 4734892572 dividido por -4
6
+ -1183723143
7
+ -12017267 dividido por 41
8
+ -12017267/41
9
+ Calcula 29187636984 dividido por -3.
10
+ -9729212328
11
+ 1987921 dividido por 87284
12
+ 1987921/87284
13
+ Quanto é -31551042840 dividido por -788776071?
14
+ 40
15
+ Divide -29643821060 por 595.
16
+ -49821548
17
+ Calcula 21 dividido por 1598856574.
18
+ 3/228408082
19
+ Calcula 1133 dividido por 81117873.
20
+ 1133/81117873
mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__mixed_longer.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Avalia (3 + 7 + (-6)/1 - (3 + 4 + -4))*((-2)/(-5))/(105/84525).
2
+ 322
3
+ Avalia ((-16)/4)/((-32)/56) + -165 - ((-11 - -4)/(-1) - 56/8).
4
+ -158
5
+ Qual é o valor de (105/(-315))/((-23)/32904)*(((-600)/9)/(-10) - 6) + 4/46?
6
+ 318
7
+ 11/(-2) - (-90)/(-24420)*-1507 - (1 + (-23306)/74) - 40/10
8
+ 310
9
+ Quanto é ((-4 - (-63)/15)/(828/(-855) - -1) - 5) + (1449472/(-6258) - (-4)/14)?
10
+ -230
11
+ Qual é o valor de 3 + (414/27 + 8)*(1 + (-8)/(-16)) + (1 - 3 - (2 - 2))?
12
+ 36
13
+ Avalia 72*1*((-14)/(-8) + -4) + (-28 - (-5 - -1))*((-108)/(-864))/((-2)/(-4)).
14
+ -168
15
+ (12/(-56)*7*(-8)/(-6))/((176/81400)/((-2)/(-10))*(-65)/(-117))
16
+ -333
17
+ Avalia (-86 - ((2/(-9) - 2) + 6/27)) + (38 - -17 - 39) + -12.
18
+ -80
19
+ Qual é o valor de ((42/(-10))/((-4)/(-10) + (9 - 9)))/(((-87)/330 - 24/(-60))/((-2532)/4642))?
20
+ 42
mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__mul_big.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qual é o produto de -0.06188 e -340289?
2
+ 21057.08332
3
+ Multiplica -0.426 e -102234198.
4
+ 43551768.348
5
+ Quanto é -3.0124 vezes 1258.96?
6
+ -3792.491104
7
+ Calcula -8 * 25.0413541.
8
+ -200.3308328
9
+ 8.245289 * -51.1
10
+ -421.3342679
11
+ -5286 * 2152074
12
+ -11375863164
13
+ Multiplica -16084916214 e 0.5.
14
+ -8042458107
15
+ Determina -418254101 * -3.
16
+ 1254762303
17
+ Determina -298556610 * -4.3.
18
+ 1283793423
19
+ -0.313*40144699
20
+ -12565290.787
mathematics_dataset/mathematics_dataset/ds/extrapolate/arithmetic__mul_div_multiple_longer.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 117561/(-1052)*((-3)/(-12))/((30/(-4))/(-15))*(-16)/6*1
2
+ 149
3
+ ((130/(-39))/(4/(-54)))/(((834/1946*(-28)/(-18))/((-4)/3))/((-10)/(-4)))
4
+ -225
5
+ (65/(-26)*(7/(140/512)*20)/((-250)/(-10)))/(4/(-180)*18)
6
+ 128
7
+ Avalia 325/(((-9)/(117/(-13)))/((-1)/(-1)))*2/(-5)*-2*7/49*7.
8
+ 260
9
+ Qual é o valor de (2/(-4)*-3*(-1260)/(-2835))/((4/159)/(2*11*(-4)/(-44)))?
10
+ 53
11
+ Qual é o valor de ((((-6)/10)/((135/(-1390))/(-9)))/(9/15))/((-62944)/(-20232)*(-6)/(-28))?
12
+ -139
13
+ Qual é o valor de (((1/75)/(32/192))/(((-68)/1560)/(-17)))/((-369)/(-2460))*1?
14
+ 208
15
+ Calcula 3/(-4)*-2*(-2)/5*1*10/(-5)*1*28*(-125)/(-600).
16
+ 7
17
+ Qual é o valor de (9*10/(-30))/(1/(-90)*6*(-4)/4*4/(-4)*(-19)/38)?
18
+ -90
19
+ Quanto é ((((-5)/(30/(-8)))/(-3*(-20)/90))/(97/5723))/((-42)/(-21))?
20
+ 59
mathematics_dataset/mathematics_dataset/ds/extrapolate/comparison__closest_more.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qual está mais perto de -5? (a) 5 (b) -190 (c) -1/2 (d) -1/3 (e) 3 (f) -1 (g) 15 (h) -3/5
2
+ f
3
+ Qual está mais próximo de -1/2? (a) -3 (b) -0.4 (c) -362 (d) -1907 (e) -4 (f) 0.2 (g) 4
4
+ b
5
+ Qual valor está mais próximo de 2/3 em -0.8, -1, -91, -14, 1652, -1/8, 2/5, 5?
6
+ 2/5
7
+ Qual valor está mais perto de 0.1 em -3, -3/2, -1466, 5, -5.2, -2/17, 598?
8
+ -2/17
9
+ Qual está mais perto de 1? (a) -26/7 (b) 98 (c) -0.1 (d) -5 (e) -4/77 (f) -80.1 (g) -3
10
+ e
11
+ Qual valor está mais perto de -0.1 em -0.1, 0.1473, 3/7, -0.5, -39/2, 4, 3?
12
+ -0.1
13
+ Qual valor está mais próximo de 1/3 em -4, -0.5, 4/7, 0.41, -0.1765, 0.05, 5?
14
+ 0.41
15
+ Qual está mais próximo de -1? (a) 2 (b) 4 (c) -1.14 (d) -22/9 (e) -0.4 (f) -24 (g) -1.23
16
+ c
17
+ Qual valor está mais perto de -4 em -17/5, -25, 3/37, 3/4, 4, -13, -5?
18
+ -17/5
19
+ Qual está mais próximo de 1/5? (a) -33 (b) 6/7 (c) -0.4 (d) -1.2 (e) -0.24 (f) -32 (g) 1/6 (h) 0.5
20
+ g
mathematics_dataset/mathematics_dataset/ds/extrapolate/comparison__kth_biggest_more.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qual valor é terceiro maior? (a) 3/7 (b) 15/142361 (c) 0.2 (d) 0 (e) -0.3 (f) 0.3 (g) 2 (h) -0.5 (i) -14
2
+ f
3
+ Qual valor é nono menor? (a) 6.2 (b) -5 (c) 7 (d) 0.1 (e) -1/9 (f) -1 (g) -66 (h) 0.07 (i) -2
4
+ c
5
+ Qual valor é nono maior? (a) -4 (b) -5 (c) -3 (d) 4/55 (e) 1/5 (f) -29 (g) -1 (h) -0.4 (i) 2/393
6
+ f
7
+ Qual valor é décimo maior? (a) -0.1 (b) -0.2 (c) 0.3 (d) -5 (e) -3/4 (f) 0.09 (g) -55/3 (h) -0.082 (i) 1/2 (j) 3
8
+ g
9
+ Qual é o sexto maior valor em -5, 35, -21, -0.07, 63, 0.5, 1/7, 53, 2/9?
10
+ 1/7
11
+ Qual é o sétimo menor valor em -3.1, -1/7, 4/3, -0.1, 2/3, -5, -9, -2, 2/15, 4/7?
12
+ 2/15
13
+ Qual é o sétimo maior valor em -10, 0.4, 1/3, 261, -59.86, -0.1, -2/3, 2/15, 12?
14
+ -2/3
15
+ Qual valor é sexto menor? (a) -2203 (b) 71 (c) 1/2 (d) -4 (e) -3/7 (f) 3 (g) 11 (h) 0.2 (i) -2
16
+ c
17
+ Qual é o terceiro maior valor em -5, 5, 2, -9, 51, 3/4, -3/4, -2/7, -3.2?
18
+ 2
19
+ Qual é o segundo menor valor em 18, 0.5, 8, 33, 0.3, 9, 1, -4, 2, 26?
20
+ 0.3
mathematics_dataset/mathematics_dataset/ds/extrapolate/comparison__sort_more.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Ordena 2, 11, 29, 8, 3, 450, -4, 0, 4 por ordem decrescente.
2
+ 450, 29, 11, 8, 4, 3, 2, 0, -4
3
+ Coloca 27, 7, 5, 13, 1, 3, -1, 57, 2 em ordem decrescente.
4
+ 57, 27, 13, 7, 5, 3, 2, 1, -1
5
+ Ordena 8, 2, 5, -8, 26, -4, 0, 4, 1 por ordem ascendente.
6
+ -8, -4, 0, 1, 2, 4, 5, 8, 26
7
+ Ordena 46, 0, 4, 3, 23, 6, -1, -7, -3 por ordem decrescente.
8
+ 46, 23, 6, 4, 3, 0, -1, -3, -7
9
+ Ordena 3, -1, 57, -3, 16, 9, 11, 4, 7 por ordem ascendente.
10
+ -3, -1, 3, 4, 7, 9, 11, 16, 57
11
+ Ordena 2, -56, 24, 1, 13, 4, 0, 3, -3.
12
+ -56, -3, 0, 1, 2, 3, 4, 13, 24
13
+ Ordena -432, 5, -1, 3, 8, 17, 0, 9, 2 por ordem descendente.
14
+ 17, 9, 8, 5, 3, 2, 0, -1, -432
15
+ Coloca 3, -1, 9, 1, 5, -2, -6, 4, -12 em ordem crescente.
16
+ -12, -6, -2, -1, 1, 3, 4, 5, 9
17
+ Ordena -4, 7, -1, 1, 2, 4, 857, 6, 12 por ordem decrescente.
18
+ 857, 12, 7, 6, 4, 2, 1, -1, -4
19
+ Coloca 2, -4, 5, -18, 3, -57, 4, 8, 7 em ordem decrescente.
20
+ 8, 7, 5, 4, 3, 2, -4, -18, -57
mathematics_dataset/mathematics_dataset/ds/extrapolate/measurement__conversion.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quantos(as) minutos estão em 209891875.2 nanosegundos?
2
+ 0.00349819792
3
+ Quanto é 24278998.5nm em quilómetros?
4
+ 0.0000242789985
5
+ Quanto é 0.744057522 meses em milénios?
6
+ 0.0000620047935
7
+ Quantos(as) litros estão em 26506726.8 mililitros?
8
+ 26506.7268
9
+ Converte 44.9700523 millímetros para metros.
10
+ 0.0449700523
11
+ Converte 0.425743507 centímetros para micrómetros.
12
+ 4257.43507
13
+ Converte 3.24533491 anos para milénios.
14
+ 0.00324533491
15
+ Quanto é 2763.8671 quilogramas em nanogramas?
16
+ 2763867100000000
17
+ Quantos(as) centímetros estão em 37.5474328 quilómetros?
18
+ 3754743.28
19
+ Quantos(as) milénios estão em 219414.232 anos?
20
+ 219.414232
mathematics_dataset/mathematics_dataset/ds/extrapolate/numbers__place_value_big.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qual é o dígito das dezena milhões de 585104582785?
2
+ 0
3
+ Qual é o dígito das unidades de 890994362752?
4
+ 2
5
+ Qual é o dígito das centenas de 389726456276?
6
+ 2
7
+ Qual é o dígito das centena milhões de 669628353376?
8
+ 6
9
+ Qual é o dígito das centenas de 847868848670?
10
+ 6
11
+ Qual é o dígito das dezenas de 906525410143?
12
+ 4
13
+ Qual é o dígito das dezena mil milhões de 116778722434?
14
+ 1
15
+ Qual é o dígito das dezena milhões de 816535057076?
16
+ 3
17
+ Qual é o dígito das dezena milhões de 294769585676?
18
+ 6
19
+ Qual é o dígito das dezenas de 429731328864?
20
+ 6
mathematics_dataset/mathematics_dataset/ds/extrapolate/numbers__round_number_big.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quanto é 14091589.69193 arredondado para as 1000 mais próxima?
2
+ 14092000
3
+ Arredonda 258672564.983 para as 100000 mais próxima.
4
+ 258700000
5
+ Quanto é 8.30586137387 arredondado para as inteiro mais próximo?
6
+ 8
7
+ Arredonda -383.62758343 para as casa decimal das doiss.
8
+ -383.63
9
+ Arredonda 21306920.88228 para as dez milhar mais próxima.
10
+ 21310000
11
+ Arredonda -5458120.1311 para as dez milhar mais próxima.
12
+ -5460000
13
+ Arredonda 165358640.0843 para as um centena mais próxima.
14
+ 165358600
15
+ Arredonda 19628.6240013 para as dez mais próxima.
16
+ 19630
17
+ Arredonda 0.00024028921527 para as casa decimal das 5s.
18
+ 0.00024
19
+ Arredonda 0.00222836314178 para as casa decimal das quatros.
20
+ 0.0022
mathematics_dataset/mathematics_dataset/ds/extrapolate/probability__swr_p_level_set_more_samples.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Cinco caractéres são escolhidos sem reposição de ofnfnfofffnffnnfknn. Qual é a probabilidade de(a) escolher 3 n, 1 o e 1 k?
2
+ 35/5814
3
+ Qual é a probabilidade de(a) escolher 4 x e 1 j quando cinco caractéres são escolhidos sem reposição de {j: 7, x: 4, s: 2}?
4
+ 7/1287
5
+ Cinco caractéres são escolhidos sem reposição de qcqqcccccccccqc. Dá a probabilidade de(a) escolher 5 c.
6
+ 2/13
7
+ Qual é a probabilidade de(a) escolher 1 v, 2 c, 1 n e 1 s quando cinco caractéres são escolhidos sem reposição de cvsnsvc?
8
+ 4/21
9
+ Cinco caractéres são escolhidos sem reposição de {x: 2, l: 5, s: 5}. Dá a probabilidade de(a) escolher 1 s e 4 l.
10
+ 25/792
11
+ Cinco caractéres são escolhidos sem reposição de denqqjeqqejjq. Dá a probabilidade de(a) escolher 2 e, 1 n e 2 j.
12
+ 1/143
13
+ Cinco caractéres são escolhidos sem reposição de fzezzz. Dá a probabilidade de(a) escolher 4 z e 1 f.
14
+ 1/6
15
+ Cinco caractéres são escolhidos sem reposição de {a: 2, d: 2, j: 1, b: 1, u: 1, k: 3}. Qual é a probabilidade de(a) escolher 1 j, 2 d, 1 b e 1 k?
16
+ 1/84
17
+ Cinco caractéres são escolhidos sem reposição de bfhkfgyyfffff. Dá a probabilidade de(a) escolher 2 k, 1 g, 1 y e 1 f.
18
+ 0
19
+ Qual é a probabilidade de(a) escolher 3 x e 2 v quando cinco caractéres são escolhidos sem reposição de {v: 4, x: 8}?
20
+ 14/33
mathematics_dataset/mathematics_dataset/ds/extrapolate/probability__swr_p_sequence_more_samples.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Cinco caractéres são escolhidos sem reposição de {y: 1, k: 5, d: 2}. Qual é a probabilidade de(a) sequência kkkdy?
2
+ 1/56
3
+ Qual é a probabilidade de(a) sequência famft quando cinco caractéres são escolhidos sem reposição de maaftammtaf?
4
+ 1/1155
5
+ Calcula da probabilidade de(a) sequência wbwrr quando cinco caractéres são escolhidos sem reposição de wwwwwwbwrwwwwr.
6
+ 1/1092
7
+ Calcula da probabilidade de(a) sequência jxjxy quando cinco caractéres são escolhidos sem reposição de bjjjbyxbbjxj.
8
+ 1/2376
9
+ Calcula da probabilidade de(a) sequência vqvqv quando cinco caractéres são escolhidos sem reposição de {v: 6, q: 7}.
10
+ 14/429
11
+ Cinco caractéres são escolhidos sem reposição de kdktddktqttfddtkdrr. Dá a probabilidade de(a) sequência ftrkt.
12
+ 1/8721
13
+ Calcula da probabilidade de(a) sequência dovoe quando cinco caractéres são escolhidos sem reposição de oiveioooozodeo.
14
+ 1/2860
15
+ Cinco caractéres são escolhidos sem reposição de {x: 11, y: 2}. Dá a probabilidade de(a) sequência xxxyx.
16
+ 4/39
17
+ Cinco caractéres são escolhidos sem reposição de {q: 2, n: 8, u: 3, h: 6}. Qual é a probabilidade de(a) sequência nnunu?
18
+ 7/4845
19
+ Cinco caractéres são escolhidos sem reposição de {q: 6, i: 4, b: 7}. Dá a probabilidade de(a) sequência iiqbi.
20
+ 3/2210
mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__linear_1d.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Resolve -31*b = 42*b - 2 + 3360 para b.
2
+ -46
3
+ Resolve 0 = 79*w - 174 - 225 - 75 para w.
4
+ 6
5
+ Resolve 0 = -2363*b + 2158*b - 1845 para b.
6
+ -9
7
+ Resolve 27271 - 11807 + 29840 = 1618*o para o.
8
+ 28
9
+ Resolve -178*x - 14124 = -104*x - 502*x para x.
10
+ 33
11
+ Resolve 2069 - 965 = -109*r - 145*r - 11088 para r.
12
+ -48
13
+ Resolve 1168*j - 14076 + 5317 = -3311 + 14408 para j.
14
+ 17
15
+ Resolve 201*n + 432*n - 11137 = 148*n + 13113 para n.
16
+ 50
17
+ Resolve 13405*q - 13462*q = 1710 para q.
18
+ -30
19
+ Resolve 0 = -4827*o + 3861*o + 2898 para o.
20
+ 3
mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__linear_1d_composed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Seja k = 901 - 894. Supõe v - 4 - 4 = 0. Resolve k*b = v + 6 para b.
2
+ 2
3
+ Assume que z é ((-483)/(-1288))/(6/112). Resolve -163 = z*u - 177 para u.
4
+ 2
5
+ Supõe -11 = -2*z + 29. Assume que t é 14/4 - (z/8 - 1). Resolve -8 = 2*o + t para o.
6
+ -5
7
+ Supõe -2*y - 12 = -i - 13, -4*y + 11 = i. Seja z(m) = m**3 + 3*m**2 - 4*m. Seja o, z(-4). Supõe 3*j - 69 = -o*j. Resolve -4*g = i - j para g.
8
+ 5
9
+ Assume que a é 2474*(-1)/(-26) - (1236/(-78) - -16). Resolve 3*g + 16*g + a = 0 para g.
10
+ -5
11
+ Supõe 13*f + 13*f + 287 = 33*f. Resolve 46 = -29*a - f para a.
12
+ -3
13
+ Seja f = 1 - -17. Seja l(h) = -h**3 + 8*h**2 - 9*h - 12. Seja s(t) = t + 1. Seja d(b) = -l(b) - 3*s(b). Seja x, d(7). Resolve -4*i - f = -x para i.
14
+ -4
15
+ Supõe -1 = 3*r + 3*s + 8, -3*r + 6 = -2*s. Seja g(f) = 2*f**2 + 7*f + 3. Seja n, g(-5). Assume que y é (r - 2)/((-9)/n). Resolve y*c - 7 - 9 = 0 para c.
16
+ 4
17
+ Seja t = 11 + -17. Assume que l é t/(-6) + (-4)/(-1). Seja f(u) = 2*u**2 - 2*u - 1. Seja q, f(-1). Resolve -q = 4*r + l para r.
18
+ -2
19
+ Seja u = -43 + 33. Seja s = u + 11. Assume que v é ((-3)/(-2) - s)/((-39)/(-702)). Resolve 5*w + 1 = -v para w.
20
+ -2
mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__linear_2d.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Resolve -h - 1 = -9526*b + 9527*b, -b = -10*h - 10 para h.
2
+ -1
3
+ Resolve 4*x = -14*z - 590, 88 = -2*z + 2 para x.
4
+ 3
5
+ Resolve 0 = -6*c - 9*o + 12*o - 3, 32*o + 167 = -4*c + o para c.
6
+ -3
7
+ Resolve -5*s = 5*v + 135, -2*s + s - 58*v + 55*v = 27 para s.
8
+ -27
9
+ Resolve -1539*c + 1543*c - 60 = -4*w, -108*c = -4*w - 388 para w.
10
+ 11
11
+ Resolve -3*v = 3*p + 631 - 619, 23 = -5*p - 4*v - 0*v para p.
12
+ -7
13
+ Resolve 0 = 50*u + 2*v - 698 - 44, 3*u = 5*v + 65 para u.
14
+ 15
15
+ Resolve 3*j = -4*s + 11, 0 = j + 1957 - 1962 para s.
16
+ -1
17
+ Resolve -4*d - 3798*t + 52 = -3776*t, -3*d - 4*t + 14 = 0 para d.
18
+ 2
19
+ Resolve -4*l + 7*c = -392 + 416, -3*c - 19 = -31*l para l.
20
+ 1
mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__linear_2d_composed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Supõe -a - 5*j + 99 = 0, 2*a + 5*j - 56 = 167. Seja d = -115 + a. Resolve -2*v - d = -5*v, 3*i - v = 0 para i.
2
+ 1
3
+ Supõe -10 = -j + 6. Supõe -3*o + 8*o + j = h, 5*o = -3*h + 8. Seja s = -4 + h. Resolve -d + 4*f + 16 = 0, -s*f - 6 = -0 para d.
4
+ 4
5
+ Assume que w é 3/15 - 0 - (-2247)/15. Assume que a é 127/6 + (-25)/w. Resolve -3*z + a = 2*d, 0*d - 5*z = 3*d - 34 para d.
6
+ 3
7
+ Seja r = -2599 - -2604. Resolve -10 = 5*t, 18 = -r*z + 8*t - 12*t para z.
8
+ -2
9
+ Supõe 64*b + 60 - 368 = -13*b. Resolve -b*r - 4*u = 20, -5*r - 2*u + 9 = 31 para r.
10
+ -4
11
+ Seja w(a) = -a**3 + 5*a**2 + 27*a - 17. Seja b, w(8). Resolve -g - b = 12*y - 9*y, y - 11 = 3*g para y.
12
+ -1
13
+ Seja w(h) = -49*h**3 + 2*h**2 - h - 1. Seja t, w(1). Assume que j é 4/14 - (-760)/(-14). Seja q = t - j. Resolve -4*m + z + q = -8, 16 = 5*m - z para m.
14
+ 3
15
+ Supõe -15*l + 6*l - 3 = -3. Resolve 16 = u + 3*p, l = -4*u + 3*p + 4 para u.
16
+ 4
17
+ Seja i(f) = 63 - f. Seja m, i(16). Seja z = m - 34. Resolve 5*u + 0*r = -3*r - 5, -u - z = 3*r para u.
18
+ 2
19
+ Seja n(g) = 1390 - 33*g. Seja l, n(42). Resolve 12*f + l*d + 3 = 11*f, -3*f = 3*d para f.
20
+ 1
mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__polynomial_roots.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Resolve 243*f**5/7 + 314823*f**4 + 4988715660*f**3/7 - 35139394944*f**2/7 + 30889839264*f/7 - 741363984/7 = 0 em relação a f.
2
+ -4538, 2/81, 1, 6
3
+ Factoriza -n**3 - 15936*n**2 - 984125*n + 1000062.
4
+ -(n - 1)*(n + 63)*(n + 15874)
5
+ Factoriza -5*g**2 + 13885*g - 8809380.
6
+ -5*(g - 1796)*(g - 981)
7
+ Resolve -2*t**4/9 - 1970*t**3/9 + 9982*t**2/9 + 9010*t - 9900 = 0 em relação a t.
8
+ -990, -5, 1, 9
9
+ Seja 2436*g**2 - 187564*g - 616 = 0. Calcula g.
10
+ -2/609, 77
11
+ Factoriza 5*a**2 + 52935*a - 2819600.
12
+ 5*(a - 53)*(a + 10640)
13
+ Encontra d tal que -4*d**2/7 + 6104*d - 340032 = 0.
14
+ 56, 10626
15
+ Seja 11*o**3 - 5661*o**2 + 28030*o = 0. Calcula o.
16
+ 0, 5, 5606/11
17
+ Supõe -4*k**3/7 - 37752*k**2/7 - 37740*k/7 + 75496/7 = 0. Qual é k?
18
+ -9437, -2, 1
19
+ Supõe 4*y**3 - 507180*y**2 + 16075704000*y + 80391200000 = 0. Calcula y?
20
+ -5, 63400
mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__polynomial_roots_composed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Seja l(q) = 30*q + 336. Seja a, l(-11). Seja u(v) a segunda derivada de 0*v**3 + 0 + 1/3*v**a + 0*v**2 + 5*v - 7/10*v**5 + 1/3*v**4. Factoriza u(c).
2
+ 2*c**2*(c - 1)*(5*c - 2)
3
+ Supõe -43*i = -65*i. Seja s(q) a terceira derivada de -1/140*q**5 + 0*q - 25/14*q**3 + 18*q**2 + i + 5/28*q**4. Resolve s(d) = 0.
4
+ 5
5
+ Seja y(z) a terceira derivada de -2*z**7/105 + 181*z**6/60 + 139*z**5/15 - 46*z**4/3 - 70*z**2 - 2*z. Seja y(t) = 0. Calcula t.
6
+ -2, 0, 1/2, 92
7
+ Seja x(f) a segunda derivada de -f**4/12 + 13*f**3/36 + 5*f**2/4 + 1050*f. Factoriza x(a).
8
+ -(a - 3)*(6*a + 5)/6
9
+ Seja y(q) = -153*q**3 - 255*q**2 - 222*q - 25. Seja w(p) = 31*p**3 + 51*p**2 + 45*p + 5. Seja f(r) = 19*w(r) + 4*y(r). Qual é o valor de c em f(c) = 0?
10
+ -1, -5/23
11
+ Assume que a é ((-20)/(-3))/((-25)/(-30)). Assume que c é ((2/a)/1)/((-1110)/(-4736)). Determina y, dado que c*y + 0 - 4/15*y**3 - 2/15*y**4 + 8/15*y**2 = 0.
12
+ -2, 0, 2
13
+ Seja v(s) a terceira derivada de s**6/60 + 13*s**5/18 + 149*s**4/36 - 19*s**3/3 - 1637*s**2. Factoriza v(z).
14
+ 2*(z + 3)*(z + 19)*(3*z - 1)/3
15
+ Seja o(m) a primeira derivada de 1/2*m**2 + 0*m**3 + 15*m - 1/12*m**4 + 8. Seja h(f) a primeira derivada de o(f). Encontra x, dado que h(x) = 0.
16
+ -1, 1
17
+ Seja s(a) a segunda derivada de a**5/30 + 25*a**4/9 + 97*a**3/9 + 16*a**2 + 2*a - 344. Factoriza s(r).
18
+ 2*(r + 1)**2*(r + 48)/3
19
+ Assume que b é (-8 + 2)*(-1)/(-3) + 40/18. Supõe 8 = -w + 5*w. Factoriza b*r**w - 8/9 + 0*r.
20
+ 2*(r - 2)*(r + 2)/9
mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__sequence_next_term.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qual é o termo seguinte em -1506717, -1506716, -1506713, -1506708, -1506701?
2
+ -1506692
3
+ Qual é o termo seguinte em 361606, 723207, 1084808, 1446409, 1808010?
4
+ 2169611
5
+ Qual é o termo seguinte em 330, 2680, 9066, 21504, 42010, 72600?
6
+ 115290
7
+ Qual é o termo seguinte em 25159, 50326, 75463, 100564, 125623, 150634, 175591?
8
+ 200488
9
+ O que vem a seguir: 3061, 1652, 243?
10
+ -1166
11
+ Qual é o termo seguinte em 251, 542, 903, 1334?
12
+ 1835
13
+ Qual é o termo seguinte em -60084, -60079, -60074, -60069, -60064?
14
+ -60059
15
+ Qual é o termo seguinte em -4282026, -8564064, -12846110, -17128170, -21410250, -25692356, -29974494?
16
+ -34256670
17
+ O que se segue em 4900, 9789, 14636, 19441?
18
+ 24204
19
+ O que se segue em -514769, -1029532, -1544293, -2059052, -2573809, -3088564, -3603317?
20
+ -4118068
mathematics_dataset/mathematics_dataset/ds/interpolate/algebra__sequence_nth_term.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qual é termo nº h na sequência -1330810, -2661626, -3992442?
2
+ 6 - 1330816*h
3
+ Qual é termo nº n na sequência -341601, -341586, -341563, -341532, -341493?
4
+ 4*n**2 + 3*n - 341608
5
+ Qual é termo nº y na sequência 1022123, 4088490, 9199103, 16353962, 25553067, 36796418?
6
+ 1022123*y**2 - 2*y + 2
7
+ Qual é termo nº a na sequência -1570, -3187, -4786, -6361, -7906?
8
+ a**3 + 3*a**2 - 1633*a + 59
9
+ Qual é termo nº y na sequência 20043, 80589, 181491, 322743, 504339, 726273, 988539?
10
+ -y**3 + 20184*y**2 + y - 141
11
+ Qual é termo nº q na sequência -3820, -6819, -9832, -12865, -15924, -19015?
12
+ -q**3 - q**2 - 2989*q - 829
13
+ Qual é termo nº l na sequência 253463, 506920, 760373, 1013822, 1267267, 1520708?
14
+ -2*l**2 + 253463*l + 2
15
+ Qual é termo nº d na sequência -9077440, -18154880, -27232320, -36309760?
16
+ -9077440*d
17
+ Qual é termo nº x na sequência 20953, 83859, 188699, 335467, 524157, 754763?
18
+ -x**3 + 20973*x**2 - 6*x - 13
19
+ Qual é termo nº z na sequência -742187, -742231, -742305, -742409, -742543?
20
+ -15*z**2 + z - 742173
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__add_or_sub.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Determina 19283.956636 + -0.05.
2
+ 19283.906636
3
+ Determina 63.7789 - -20052.
4
+ 20115.7789
5
+ Determina -0.04 + -37488652513.
6
+ -37488652513.04
7
+ Calcula 71143946 - 12.31.
8
+ 71143933.69
9
+ Quanto é 49430807153 menos 0.2?
10
+ 49430807152.8
11
+ Quanto é -53.497735 - -11.6?
12
+ -41.897735
13
+ Determina 0.126321789662 + -0.4.
14
+ -0.273678210338
15
+ O total de -0.1 mais -1237.9494883.
16
+ -1238.0494883
17
+ Determina -0.4 - 15293176390.
18
+ -15293176390.4
19
+ Quanto é -718.82 menos -843323?
20
+ 842604.18
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__add_or_sub_in_base.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Em base 8, quanto é 463 + -46277?
2
+ -45614
3
+ Em base 15, quanto é 19da490 + 5?
4
+ 19da495
5
+ Em base 9, quanto é 83241 + -56?
6
+ 83174
7
+ Em base 8, quanto é 11576 + 454?
8
+ 12252
9
+ Em base 13, quanto é 59 + 5587c?
10
+ 55908
11
+ Em base 5, quanto é 1 - 2211334240?
12
+ -2211334234
13
+ Em base 12, quanto é -4 - -168b5a6?
14
+ 168b5a2
15
+ Em base 9, quanto é 55683680 + -2?
16
+ 55683677
17
+ Em base 14, quanto é -c + -194955?
18
+ -194963
19
+ Em base 3, quanto é 2121 - 11010011?
20
+ -11000120
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__add_sub_multiple.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quanto é -21 - (-7 + 1 + (40 - 104))?
2
+ 49
3
+ 5 + 0 - (16 - 28 - -27 - (-11 + 22))
4
+ 1
5
+ Calcula -17 + (0 - (19 - 72)).
6
+ 36
7
+ -15 + (-8 - -15) + 6 + -23 + 1 + 1
8
+ -23
9
+ Quanto é 11 + (12 - 1 - -1 - (5 - 1))?
10
+ 19
11
+ Avalia 40 + (-2 + 1 - 5) + (0 - -6) + 5.
12
+ 45
13
+ Calcula (1 - 29 - (-130 - -137)) + -4.
14
+ -39
15
+ Quanto é 3 - (1 + 34 + (-35 - -21))?
16
+ -18
17
+ (0 - -9) + (-4 - (-40 - (-15 - 2)))
18
+ 28
19
+ Avalia (-119 - (44 + -72)) + 42.
20
+ -49
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__div.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Calcula 298 dividido por -12183.
2
+ -298/12183
3
+ Quanto é 9739216 dividido por 4869608?
4
+ 2
5
+ 8600496 dividido por -2866832
6
+ -3
7
+ Divide 0 por -2900681.
8
+ 0
9
+ 875120 dividido por -16
10
+ -54695
11
+ -7010715 dividido por 4845
12
+ -1447
13
+ Quanto é 15299204 dividido por 24716?
14
+ 619
15
+ Divide 0 por -3245315.
16
+ 0
17
+ 35861 dividido por -444
18
+ -35861/444
19
+ Calcula 115125165 dividido por 5.
20
+ 23025033
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__mixed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Calcula (((-5)/6 + (-114)/684)*-1)/((-201)/(-6)).
2
+ 2/67
3
+ Calcula (75/10 - 10) + 668/(-56) - (-8)/(-14).
4
+ -15
5
+ 1736/(-98) + 18 - ((-8)/4 - 342/(-21))
6
+ -14
7
+ Quanto é (32*(-22 + 10489/476))/((-2)/(-7))?
8
+ 4
9
+ 101 + -97 + -11 + -38
10
+ -45
11
+ Avalia 1158/32 - (1 + 39/(-48)).
12
+ 36
13
+ -3 + 1202/208 + 3/78*(-16 + 12)
14
+ 21/8
15
+ Qual é o valor de ((-14)/8)/(-5 - (202/25)/(16/(-10)))?
16
+ -35
17
+ Quanto é (-7496)/(-243620) - (2 - 583/65)?
18
+ 7
19
+ Quanto é (-3)/((-39)/(-2)) + ((-187368)/1950 - -96)?
20
+ -6/25
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__mul.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 15836.2*-0.48
2
+ -7601.376
3
+ -0.18 vezes 10345.65
4
+ -1862.217
5
+ Produto de -541134 e 1.5.
6
+ -811701
7
+ Produto de -9.1 e 0.111539.
8
+ -1.0150049
9
+ -0.5*-0.3542049
10
+ 0.17710245
11
+ Calcula -1.79239 * -0.11.
12
+ 0.1971629
13
+ Multiplica -0.1 e -237.9431.
14
+ 23.79431
15
+ 71418*-17
16
+ -1214106
17
+ Produto de 0.4 e -3459159.
18
+ -1383663.6
19
+ Multiplica -69782 e 176.
20
+ -12281632
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__mul_div_multiple.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 406/(-377)*(-5187)/(-114)
2
+ -49
3
+ Calcula (108/14)/((6/(-168))/(136/(-1088))).
4
+ 27
5
+ Quanto é (-20*(-258)/(-4300))/(6/40*1/1)?
6
+ -8
7
+ Quanto é ((-1296)/(-378))/(2/(-28))?
8
+ -48
9
+ Quanto é (-6)/((-576)/60)*(48/(-8))/(-3)?
10
+ 5/4
11
+ Quanto é (-3)/(-6)*(60/700*-10)/((-3)/189)?
12
+ 27
13
+ Qual é o valor de ((-9084)/39364)/((-6)/(-104))?
14
+ -4
15
+ Quanto é (-15)/(-21)*48/(-40)*-1*4/16?
16
+ 3/14
17
+ -44*(-56)/(-53900)*35
18
+ -8/5
19
+ Qual é o valor de (-50)/(-825)*-11*(-2)/120*-4?
20
+ -2/45
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__nearest_integer_root.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quanto é 79421780 elevado a 1/2, arredondado para o inteiro mais próximo?
2
+ 8912
3
+ Quanto é 50308105 elevado a 1/2, arredondado para o inteiro mais próximo?
4
+ 7093
5
+ Qual é a raíz cúbica de 65957304 arredondada para o inteiro mais próximo?
6
+ 404
7
+ Quanto é 47181849 elevado a 1/2, arredondado para o inteiro mais próximo?
8
+ 6869
9
+ Qual é a décima raíz de 5923664 arredondada para o inteiro mais próximo?
10
+ 5
11
+ Qual é a terceira raíz de 42316370 arredondada para o inteiro mais próximo?
12
+ 348
13
+ Qual é a sexta raíz de 70908946 arredondada para o inteiro mais próximo?
14
+ 20
15
+ Quanto é 55976877 elevado a 1/9, arredondado para o inteiro mais próximo?
16
+ 7
17
+ Quanto é 41901349 elevado a 1/8, arredondado para o inteiro mais próximo?
18
+ 9
19
+ Qual é a raíz cúbica de 72976644 arredondada para o inteiro mais próximo?
20
+ 418
mathematics_dataset/mathematics_dataset/ds/interpolate/arithmetic__simplify_surd.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Simplificar ((1*-5*(-1*(2*sqrt(891) + sqrt(891)) + 5 + sqrt(891)*-1) + 1)*3)**2.
2
+ 3212784 - 77760*sqrt(11)
3
+ Simplificar (-3*(sqrt(270) + sqrt(270)*-1*4))/((sqrt(540)/sqrt(2))/(sqrt(12)/sqrt(4)*6)).
4
+ 54*sqrt(3)
5
+ Simplificar -5*-1*(-3 + (-5 + (-1 + sqrt(704) - sqrt(704)))**2)*-5 + 2.
6
+ -823
7
+ Simplificar (((0 + sqrt(125))*-2)**2*6 - (sqrt(180)*2)**2*-5)*-4.
8
+ -26400
9
+ Simplificar (-5*(5 + sqrt(275)*1 + -5))**2 + -2*sqrt(275) + 4 + (0 + sqrt(275) + 2)**2.
10
+ 10*sqrt(11) + 7158
11
+ Simplificar -5*((sqrt(32) - (sqrt(32) + -3*sqrt(512)))**2 + -3 - (sqrt(800)*-1*4)**2).
12
+ 40975
13
+ Simplificar 3 + ((2*sqrt(243) + sqrt(243) - sqrt(243))**2*4 - ((sqrt(243) + 1)*1)**2) - -5*(-2*(sqrt(243) + 0) - (sqrt(243) + 5*(sqrt(243) + 0))**2).
14
+ -40093 - 108*sqrt(3)
15
+ Simplificar 4*((-2 + sqrt(112)*-2)*6 + -4 + (sqrt(112) - (1 + sqrt(112))) + -4) + 0.
16
+ -192*sqrt(7) - 84
17
+ Simplificar -5 + -2 + (0 + -3 + sqrt(80) + 0 - ((sqrt(80) - (-1*sqrt(80))**2) + -5 + 0 + (sqrt(80)*-1)**2)).
18
+ -5
19
+ Simplificar -3 + (3*(sqrt(153)/(-2*sqrt(9)) + sqrt(17)) - (-1*sqrt(85)*-4)/sqrt(5))**2 + 2.
20
+ 421/4
mathematics_dataset/mathematics_dataset/ds/interpolate/calculus__differentiate.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Encontra a terceira derivada de 2564804*a**4 - 518*a**2 + 12756*a em relação a a.
2
+ 61555296*a
3
+ Encontra a segunda derivada de s**3 - 30529*s**2 + 6926614*s em relação a s.
4
+ 6*s - 61058
5
+ Encontra a segunda derivada de 333833*s**2*z**2 + 3*s**2*z - 21663*s*z - 8*z**4 + 31*z + 2 em relação a z.
6
+ 667666*s**2 - 96*z**2
7
+ Qual é a segunda derivada de 7957*a**2*v**2*y + 4*a**2*y + 4*a*v*y**3 + 719*v**2*y**3 + 4142*v*y em relação a v?
8
+ 15914*a**2*y + 1438*y**3
9
+ Qual é a terceira derivada de 4555153*n**3 + 3*n**2 - 3387*n + 2?
10
+ 27330918
11
+ Encontra a segunda derivada de -2819*s**3 + 241*s**2 + 2237*s + 2745 em relação a s.
12
+ 482 - 16914*s
13
+ Encontra a terceira derivada de 27473*j**6 - 100*j**5 + 77504*j**2 - 8*j - 2.
14
+ 3296760*j**3 - 6000*j**2
15
+ Encontra a segunda derivada de -11974623*r**2 + 811338*r.
16
+ -23949246
17
+ Qual é a terceira derivada de -8306400*z**3 - 339460*z**2 + 13*z?
18
+ -49838400
19
+ Qual é a segunda derivada de -18*b**3 - 243738*b**2 + 340*b - 2983?
20
+ -108*b - 487476
mathematics_dataset/mathematics_dataset/ds/interpolate/calculus__differentiate_composed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Assume que s é ((-31)/2)/(4/(-8)). Qual é a segunda derivada de 20*t**3 - 7 + 98*t - 95*t + s*t**3 - 6*t**3 em relação a t?
2
+ 270*t
3
+ Supõe -78 = r + 2*r. Seja q = -22 - r. Encontra a terceira derivada de 0*k**4 - 6*k**2 - 4*k**q - 6*k**2 + 0*k**2 em relação a k.
4
+ -96*k
5
+ Qual é a segunda derivada de -312*o**4 - 354*o**4 + 18431*o**3 + 18420*o**3 + 838*o + 2*o**2 - 36851*o**3 em relação a o?
6
+ 4 - 7992*o**2
7
+ Seja t(o) a terceira derivada de -16/3*o**3 + 0*o**5 + 5/24*o**4 - 37*o**2 - 1 + 0*o - 7/120*o**6. Diferencia t(l) em relação a l.
8
+ 5 - 21*l**2
9
+ Seja k(o) a segunda derivada de -71/2*o**2 - 1/10*o**5 + 11/6*o**3 - 52*o + 0 + 0*o**4. Deriva k(x) em relação a x.
10
+ 11 - 6*x**2
11
+ Assume que v é (152/(-10))/((-8)/20). Assume que h é (-72)/(-20) + 2/5. Qual é a primeira derivada de -j + 48*j**h - v*j**4 + j - 16 em relação a j?
12
+ 40*j**3
13
+ Seja l(o) a terceira derivada de 52*o**5/15 - 119*o**4/8 - o**3/3 - 887*o**2. Qual é a segunda derivada de l(w) em relação a w?
14
+ 416
15
+ Supõe 446*p - 444*p = 4. Encontra a primeira derivada de p*a + 326 - 2*a - 291 - 41*a**4 em relação a a.
16
+ -164*a**3
17
+ Seja x(c) a primeira derivada de c**7/120 + c**5/24 + 38*c**3/3 + 70. Seja n(f) a terceira derivada de x(f). Encontra a segunda derivada de n(s) em relação a s.
18
+ 42*s
19
+ Seja b(c) a segunda derivada de -532*c**6/15 + c**4/6 - 135*c**2 - 1142*c. Encontra a terceira derivada de b(y) em relação a y.
20
+ -25536*y
mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__closest.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qual valor está mais perto de 5/19 em 4, 2/3, 6989?
2
+ 2/3
3
+ Qual valor está mais perto de -11/12 em 3, -3/2449, -13?
4
+ -3/2449
5
+ Qual valor está mais perto de -136 em 0.4, 0, -5/2, -1/245, -2/7?
6
+ -5/2
7
+ Qual está mais próximo de -12/47? (a) 0.01 (b) -16 (c) 4 (d) -5/8
8
+ a
9
+ Qual valor está mais próximo de 1/3 em -2/23, -13120, 3?
10
+ -2/23
11
+ Qual valor está mais próximo de 0 em 4765, 0.29, 23, 2/3?
12
+ 0.29
13
+ Qual está mais próximo de -16? (a) -2 (b) -4.4 (c) 4/9 (d) -89 (e) -4
14
+ b
15
+ Qual está mais perto de 2/3? (a) 19671 (b) -1.1 (c) 0.7
16
+ c
17
+ Qual está mais próximo de -2? (a) 11 (b) -3.8 (c) 0.4 (d) 99 (e) 0
18
+ b
19
+ Qual valor está mais perto de 0 em 9, -4, 0.02, 1515, -1?
20
+ 0.02
mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__closest_composed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Assume que s é (9 - 10) + -8 - (-102)/12. Supõe 2*m + 1 - 7 = 0. Seja a = m + -3. Qual valor está mais perto de 0.1 em s, -3, a?
2
+ a
3
+ Assume que g é (-178)/(-356)*-3*(-2)/9. Qual valor está mais próximo de g em -2, -14, 1/3, 2?
4
+ 1/3
5
+ Seja z = -1.617 + 2.617. Qual está mais próximo de 8? (a) -1/4 (b) z (c) 0.4
6
+ b
7
+ Seja y = 4228323/169330 + -7222/295. Seja g = 5/82 - y. Qual está mais perto de -0.1? (a) 0 (b) g (c) -3
8
+ a
9
+ Seja m = 48855 + -341983/7. Assume que z é 1 + (-10)/12 + 0. Qual está mais perto de 0? (a) z (b) -1 (c) m
10
+ a
11
+ Seja y = -2595 + 2600. Qual está mais perto de -1? (a) -1/5 (b) 1/4 (c) 3/2 (d) y
12
+ a
13
+ Seja k = 19609 + -19610. Supõe 4*j = 4*m + 16, -4*m - 3*j = -j - 14. Qual está mais perto de 2/9? (a) -3 (b) m (c) k
14
+ b
15
+ Seja p(z) = 3*z + 3. Seja h, p(-4). Assume que m é h/(-12)*2*2. Seja f = -83/3 + 412/15. Qual está mais perto de 2? (a) -1 (b) f (c) m
16
+ c
17
+ Seja k = 1 - 1.3. Assume que x é 4/7 - ((-3750)/(-315) + -11). Qual está mais perto de k? (a) -1/2 (b) -8/7 (c) x
18
+ c
19
+ Seja f = 239/7 - 34. Supõe 4*x + 40 = -2*i, -5*x = -4*i + 9 + 15. Qual está mais perto de 0? (a) 1 (b) x (c) f
20
+ c
mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__kth_biggest.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qual valor é quarto maior? (a) -318/7 (b) 98 (c) 0.4 (d) 5 (e) -0.1 (f) -3
2
+ e
3
+ Qual é o terceiro menor valor em 0.3, 132, 40113?
4
+ 40113
5
+ Qual valor é sexto maior? (a) 3/4 (b) 315 (c) 61 (d) 4/7 (e) 1/11 (f) -1 (g) 2
6
+ e
7
+ Qual valor é segundo menor? (a) 23 (b) -9 (c) 957
8
+ a
9
+ Qual valor é terceiro menor? (a) -0.2 (b) -4/31 (c) 0.5 (d) -1 (e) -5 (f) 13 (g) -2
10
+ d
11
+ Qual é o menor valor em 10/11, 11/6, 2, -8, -1?
12
+ -8
13
+ Qual é o segundo menor valor em 2.3, -3, -2/9, -0.2, -4/445, -4?
14
+ -3
15
+ Qual valor é quarto menor? (a) 0.08 (b) -3/5 (c) -3133 (d) 4 (e) 0 (f) 0.4
16
+ a
17
+ Qual é o menor valor em -756, -4, 7.489?
18
+ -756
19
+ Qual valor é sexto menor? (a) 3/2 (b) -1 (c) 2.1 (d) 0.4 (e) 0.15 (f) 5 (g) -0.219
20
+ c
mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__kth_biggest_composed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Assume que h é (4/(-24) - -1) + (-1)/(18/(-12)). Seja x = -0.3 + 3.3. Qual é o terceiro menor valor em x, 4, h, 0?
2
+ x
3
+ Supõe 17 - 19 = -i, -4*f + 3*i + 14 = 0. Seja d = 0.07 + -0.16. Qual valor é terceiro maior? (a) f (b) d (c) -1/2
4
+ c
5
+ Seja k = -106.979 - -107. Seja r = k - -1.079. Qual valor é segundo maior? (a) -1 (b) r (c) -0.4
6
+ c
7
+ Supõe -n + w = -3*w - 12, 0 = 4*n - 4*w - 24. Seja b = n + -1. Assume que r é (-3 - (-9)/b)/(-2). Qual é o terceiro maior valor em -10, r, 2?
8
+ -10
9
+ Assume que f é 2/(3/(-6)*2). Seja v = 323410/41 - 7888. Qual valor é terceiro maior? (a) -1 (b) f (c) v (d) 1
10
+ a
11
+ Seja m = 199 - 202. Seja n = 1 - m. Qual é o quarto menor valor em 5/3, 0, 2, n?
12
+ n
13
+ Seja f = -1651 + 1648.842. Seja h = f + 0.158. Seja j = 0 + -0.1. Qual é o terceiro maior valor em h, 10, j?
14
+ h
15
+ Seja m = 0 + 0. Seja q = 10.87 + -155.96. Seja t = 145 + q. Qual é o menor valor em t, -1, -2, m?
16
+ -2
17
+ Seja s = 2228.1 + -2228. Qual é o segundo menor valor em s, 0, -83.2?
18
+ 0
19
+ Supõe -2*f = -2*w + 2, -4*f + 0 = 2*w - 32. Supõe 0 = -w*s - 0. Supõe n + 1 - 2 = s. Qual valor é menor? (a) -3 (b) 4 (c) n
20
+ a
mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__pair.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Será que 0.1 e 14906487 possuem valores diferentes?
2
+ True
3
+ Será 23715, no máximo, 23703?
4
+ False
5
+ Qual é menor: -229647 ou -229623?
6
+ -229647
7
+ Qual é maior: -0.3 ou 8664526?
8
+ 8664526
9
+ Qual é menor: -1 ou -458/29429?
10
+ -1
11
+ Qual é menor: 728 ou -3436?
12
+ -3436
13
+ Será que 277047 != 277079?
14
+ True
15
+ Qual é maior: -114258 ou -114299?
16
+ -114258
17
+ Será 4351/53 menor que 81?
18
+ False
19
+ Será que 988 e 206318/209 não são equivalentes?
20
+ True
mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__pair_composed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Assume que i é (199/(-2) + -1)/((-33)/88). Será que 268 e i não são equivalentes?
2
+ False
3
+ Assume que z é (-196)/(-12) + (-2)/6. Seja h = z + -16. Supõe h = 4*r - 2 - 2. Qual é maior: r ou 7/4?
4
+ 7/4
5
+ Assume que b é (3/(-6))/((-2)/(-12)). Assume que k é (-177)/(-585) - b/(-9). Supõe 5*y + 10 = -15*h + 16*h, -5*y - 15 = -2*h. Será y <= k?
6
+ True
7
+ Seja h = 3120541437374/5565 - 560744221. Seja m = h + 2/1113. Qual é superior: -28 ou m?
8
+ m
9
+ Seja i(v) = -3*v**2 - 100*v - 115. Seja c, i(-32). Qual é menor: 96/7 ou c?
10
+ c
11
+ Seja h = -4842 + 4801. Será que 8 = h?
12
+ False
13
+ Supõe -3*p + 2*p + 2*m = -25, m + 134 = 5*p. Seja c(f) = 9 + 20*f - 21*f + 37. Seja g, c(19). Será g maior do que p?
14
+ False
15
+ Supõe l = 7*h - 2*h + 27, -4*l - 3*h - 7 = 0. Assume que a é 2*1646/6600 - l/4. Seja k = -10729/3300 - a. Qual é superior: -3 ou k?
16
+ -3
17
+ Seja u(k) = k**2 + k - 4. Assume que q é 0/(1/((-4)/8)). Seja t(g) = 2*g**3 + g**2 - g - 5. Seja b, t(q). Seja r, u(b). Qual é superior: r ou 17?
18
+ 17
19
+ Seja r = 5142 - 5144. Supõe -2*j + 3*w = 5*w + 18, j = -2*w - 6. Será j >= r?
20
+ False
mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__sort.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Coloca -350, -57, -3, 2 em ordem ascendente.
2
+ -350, -57, -3, 2
3
+ Coloca -2, 4, -0.3, 0, -1078, 1/4 em ordem ascendente.
4
+ -1078, -2, -0.3, 0, 1/4, 4
5
+ Coloca 2/75, -1, 1188, 2/19 em ordem decrescente.
6
+ 1188, 2/19, 2/75, -1
7
+ Ordena 1, -3, -4, 3062, -1, -2, -5.
8
+ -5, -4, -3, -2, -1, 1, 3062
9
+ Ordena -11, -2, 1020, 3, 4, 8 por ordem decrescente.
10
+ 1020, 8, 4, 3, -2, -11
11
+ Ordena -4, -0.05, 4, -0.3, -3, -783 por ordem decrescente.
12
+ 4, -0.05, -0.3, -3, -4, -783
13
+ Ordena -22, -1, 10890, 3, -2 por ordem crescente.
14
+ -22, -2, -1, 3, 10890
15
+ Ordena 10/11, -0.1806, 1, -0.05 por ordem ascendente.
16
+ -0.1806, -0.05, 10/11, 1
17
+ Coloca -4, 13, 5, -5, 2, 3, -42 em ordem descendente.
18
+ 13, 5, 3, 2, -4, -5, -42
19
+ Ordena -23, -1/9, -4, -5, -15, -6.
20
+ -23, -15, -6, -5, -4, -1/9
mathematics_dataset/mathematics_dataset/ds/interpolate/comparison__sort_composed.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Seja l = -6.7 + 19.2. Seja u = -17.5 + l. Ordena 3, -5/4, 0.3, u por ordem crescente.
2
+ u, -5/4, 0.3, 3
3
+ Supõe -25*z = -11 + 11. Coloca z, 5, -536 em ordem decrescente.
4
+ 5, z, -536
5
+ Supõe 95 = -42*u + 179. Seja p(y) = y**2 + 3*y - 1. Seja t, p(-4). Ordena -5, t, u, 4.
6
+ -5, u, t, 4
7
+ Seja q = 122/27 - 158/27. Coloca -68, q, -1 em ordem crescente.
8
+ -68, q, -1
9
+ Seja c = 23756.5 - 23756. Seja k = -0.1 - -0.1. Seja b = k + -0.3. Coloca b, 0.08, c em ordem decrescente.
10
+ c, 0.08, b
11
+ Seja g = 11316/5 + -2263. Coloca g, 0.1, -0.2, -0.18 em ordem crescente.
12
+ -0.2, -0.18, 0.1, g
13
+ Supõe -2*n + 12*o - 8*o = 6, 0 = 4*n - 2*o - 12. Coloca n, -54, 0, 2, -3 em ordem crescente.
14
+ -54, -3, 0, 2, n
15
+ Seja b = 621 + -564. Ordena 1, b, 2 por ordem descendente.
16
+ b, 2, 1
17
+ Seja l = -3813 - -3812. Coloca 1, l, -1/11 em ordem decrescente.
18
+ 1, -1/11, l
19
+ Supõe -32*k + 22 = -34 - 40. Ordena -5, 5, 4, -24, k.
20
+ -24, -5, k, 4, 5
mathematics_dataset/mathematics_dataset/ds/interpolate/measurement__conversion.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quantos(as) segundos estão em 5/3 de um(a) hora?
2
+ 6000
3
+ Quantos(as) gramas estão em 1/40 de um(a) tonelada?
4
+ 25000
5
+ Quantos(as) meses estão em 0.4160668 anos?
6
+ 4.9928016
7
+ Quanto é 2/25 de um(a) milligrama em um(a) microgramas?
8
+ 80
9
+ Converte 4102.461l para mililitros.
10
+ 4102461
11
+ Quantos(as) meses estão em 4.924495 décadas?
12
+ 590.9394
13
+ Quanto é 24/5 de um(a) dia em um(a) minutos?
14
+ 6912
15
+ Converte 7392.307 anos para décadas.
16
+ 739.2307
17
+ Converte 783.3969 centímetros para metros.
18
+ 7.833969
19
+ Quanto é 619964.7t em nanogramas?
20
+ 619964700000000000000