expression
stringlengths
18
382
result
stringlengths
3
24
(((0 + 0.2185 / sin(-6570598)) * ((0 / -0.004) + (0.0007 - -0.0039))) * sqrt((-0.0036 * -5087) - atan(-35)))
-0.005516619538139861
(ln(-0.0004 * -0.0002) * (-20.4946 + -84.0088 - atan(0))) * (log2(8.7889) / -685218.7485 * -101458984) * (-472032601 / -77456232.5628 * (3 / -0.0002))
-72479578840.25446
acos((exp(-4024420.7569) - 0 + -480769661.2604 * sqrt(tan(0))))
1.5707963267948966
atan((sqrt(0) * (-265.6684 - -30) - (0 + -291926.9754 - log2(127325356.2369))))
1.5707929015965956
sin((asin(-0.006) * sin(0.249) / tan((27 - 0))))
0.00045166528538353404
atan(tan(124332780.428) * (54717 / 0.0086) / (-2270 / -6643686.7813 - cos(0.0022)))
-1.5707960907704197
sin((sqrt(-455817931 / -333.1564) - sin(-34.3764 * 0)))
0.8520085146676777
sin(exp((-157570098.1925 + 94562 * 0 + 0.0052)))
0.0
sin(((89042853.089 * -342942142.0524) + (-41888 - 0))) * acos(sqrt((0 / -249.5459)))
1.4429811646319262
cos((sqrt(0) - 1 - -290376.0075 + (sqrt(804) * (0.0329 + 0))))
0.10202320390748182
((-18712 / 6732.2636 - 12 + -1024271 + 3603784 + 0.0155 + (0 / 215.7437)) - ln(atan(109069)) - 4138.6288 + -190341091 + 622362 - 316206728)
-503350097.84432834
sqrt(((0 / -953.9802 / exp(0)) + cos(1 - 956678.8971)))
0.9973861748055906
asin(exp((-25552 + -5815 + 0 * -106422)))
0.0
exp((-1.7304 - 0.001) * -435.5475 - 75) + (((9.8382 * 2926897) * (-16343016 + 2032044.6336)) * (cos(-24) - (2992.7969 * 35534068.9329)))
8.558493312364481e+294
acos(cos(tan((-4228.4502 + -0.3145))))
0.18299070558799274
(sin((-62648 / 0.1012) + cos(-976)) * atan(((-10.6154 - -641929609) - 9863644 * 0)))
-1.3712624642925293
acos(log2((-39.2352 * -0.1215)) * (0 / -1) - -0.1758 / 1017779.1814)
1.570796154065877
(((-873.6071 - 0.0048) - atan(0)) - (0.0075 - 300.5571) * 0 * 3842683.6005) * (727637740.7155 * 0 * (25 - 267) * (-15530.9588 + 0.0366 + 83 * 2163.7702))
0.0
cos(atan(0) - -766 * 48438644.2828) - (acos(-0.0322) + 2301626 + 0) / ((-0.257 / -12040) / -27781.4189 - 0)
2995593254137019.0
cos((cos(-1827.7851 - 99.2022) - (27501 / 0.8134) * (538 * -1079.6146)))
0.10400837216681716
sin((969.873 * 57144436.9438 - -14772642 - -269440126 / 34.1949 * 0 - 3862757.7542 * -2))
0.5770576717757713
sin(ln(924539 - -843601.1986) - ((-340.0111 * 0) / (-88084 - -0.0015)))
0.9693385194975214
(sin((2.2011 * -72327127)) / cos(exp(-2062.5547)) - ((-23.4883 - 32.0778 - -0.0815 / -5119.6447) * ln(128567062) - 680 + 0.0003))
1718.2926642266627
(sqrt(exp(-2739524)) / asin(67913126) * atan(-0.0044)) * ln((-3281 - 339341845.611)) / log10((0 - 121)) / cos(tan((-95741 - 3) * 0.001 - -125 - ((-0.0137 + 36151.7809) * (-0.1205 * -18334))))
INVALID
(cos((39114685.4259 - 0) - (-3718.9965 * -22730.5793)) + ((147 + 0) / 3901.0461 / 8) - (tan(776906) * (-1642.5357 - 21.6303)))
-779.972004170481
((atan(3) + 0.0062 / -24810949) - log2(0.468) * 160 * 64) - ((0 + 0.5736) * tan(0)) / (-570069698.9166 - 39377) / cos(0.0001)
11218.345392177856
(0 * 681949358.6729) * (-42.603 - 0) * (sin(7653) * 2 * -202591) + 0 * 137.2871 - (-15460 / 0.6995) + log10(sin(0.0274))
22099.938768414064
(exp(atan(atan(0))) * (-87289 * 403621 + (-0.0009 / -759) * (78011507 * -24632439 * -0.2662 - 401)))
-34625111931.127754
(((8 + 1012597.3502) + (-145165178 * -1.3682) * sin(1878188.5265) - (18479964.8667 / 905648367.9538)) + (240340483.7144 + -0.0059 - 1496 - -74576.6812 + ((0 + -648707607.6839) - 55 * -115196041.8021)))
5913603240.589798
exp(atan(exp(exp(-2157))))
2.1932800507380152
log10(exp(30) / acos(0) - ((-870 - -47078871) / sin(-56350606)))
12.832768491364003
(atan((0 + -245) * -4 * 0) + (cos(0.0014) + 975168706 + 0.6791 / atan((4.512 - 0))))
975168707.5020355
log10(((-0.9136 * 0) / (-281 / -0.0747)) + log2((1161339 - -315423)))
1.311626856994687
atan(((-14765 / 470.131) * (649 * 12080)) + ((0 + 0.0004) * (-36294722.8922 - -69814)))
-1.570796322733754
(((6.836 - -1333 - (-5 / 3542)) - atan(-4753) * 0.0503 / -5.0312) + tan(-2292.6976 - -0.002) * ((295736 * -43287432.2071) + 4746710 + 938450065))
-10079826972338.457
sqrt(exp(log10(17548) * (0 * -93972080.3342)))
1.0
(-0.0005 / 1751692.1356 - -15 + 0.1825) / sin(-4752795.6509 * -1) / ln((0.2363 - 22.1098)) * (acos(89) - (0.0073 - 1802)) - log10(((cos(0) + -0.0051 - 659108.7424 - 0 / -672939931.0218 * -475889759 * -112166978.8143) / (-5.7993 - 0 * (-310.6719 - 0)) + (cos(0) - -1 * -4901)))
INVALID
asin(tan(ln(sqrt(189299175.0744))))
0.10521932823953699
((acos(0.004) - -17586758 - -529) + asin(cos(24.8798)) / (((0 - 0) / -16 - -4) + exp(-4.5673 / -105251)))
17587288.83036505
ln(((-0.0009 / 167 - (266.7834 + -5413005)) - (ln(11.7306) / cos(0))))
15.50426520773806
(exp((cos(-0.2381) * 0 / -511059.9954)) - (log2(83184.5032) + log2(0.0066)) * (-0.4795 * -341410) + (0 + 239.3791))
-1489601.1377758689
(exp((-302 - -715 + 0.2651 - 0)) - exp(acos(asin(0))))
3.011289384754336e+179
cos(ln(((-1745 - 39.7848) / sin(16610773))))
0.059694345832468736
((sin(-28868 - 291) * (-912065.8643 * 44706234 - (0 / 9486))) + (log10(sqrt(0.0886)) - (-1401789 / 81318194) * 369 * 0))
-38858877718343.07
sqrt(log10((-0.0056 + -11461821) * -183 - -771.7739))
3.0531467163419532
(56290 * 0 * -0.0123 + 6.2229) / sqrt(993748504 + 73651) * (log10((0.0002 - -15.8168)) * (-1373 + -900966104 * ln(143307)))
-2531991.540884865
9107043 / 27107769 * -14888 + 10981 / ((-284486226 * 0) + ln(250.1245)) + ((14409 / 472.4172) * (-1437.1609 / 89963)) + sin(-97978027 / 81632.4528)
-3013.7530428017208
((log2(267257287) - (738435 + -838665226)) - 0 - -158 / asin(121) - (0 + -0.0005 + ln(-1281.3865)) + (-685 * -748926603 / sqrt(652833))) + log10(ln((((0 - -1) + log2(-41287.7676)) - asin(ln(361547258.9133)))))
INVALID
tan(log10((299853930.5874 - 0) + 2.585 + 291839.7968))
-1.3908603609298658
atan((atan(-342) - (6732.0491 - -0.0002) + 0.0001 - 0 / (20.7129 / 0.1185)))
-1.5706478182025752
ln((ln(cos(1030.2766)) + tan(cos(0.1114))))
0.4204000417921109
(tan(-413033.5506) / 243 / 11138356) * (-334854071.9502 - -193 * tan(0)) * cos(0) / 19 - 33 + -657.5969 + -343590.265 / 12757680.4356 * 1658.9622
-735.2877525283392
((-14.9073 * -1650048.4856) - (-89872414.6719 + 1271664) + ((6070 / 7286.6599) + 0 / 642902366.5073)) + log10(cos(sqrt(2.4094)))
113198517.56315044
atan((cos((9506 + -1860)) + ((-683561670.4967 + 1115) / 0.0207 - 0.041)))
-1.5707963267646141
log10((((364867.1986 * 0) + 81.7124 + 363377) - ((0.2673 / 18.55) / -4730542 / 1)))
5.5604550837087885
(-155150693 / -0.0005) - (-1534 - -3764.387) - ((44401 / -0.0267) + (704768043 * 0)) + -271074453.7888 - -34.7946 + atan(-16892) * log2(1664.9797 * 2.9143)
310031972290.1875
exp((0 + -2406) + (0.0004 - 38614492)) + tan(0 - 8.1733 - 165072 * 1.5037)
-0.2868635999522343
(sin(log10(38551252) * (0 + 0.534)) + log2(70715818 + -3298593 * exp(-1571.4626)))
25.286423818896637
exp(atan(sqrt(0.001))) + (cos(-377) + -134.8536 + 418271.5319) - 21.1848 + 1.1345 + cos(0.0375)
418119.65937473247
log10((-1503838 + 6628 * (-350.8283 - -104610)) - ((0.0407 - 0) / -52734147.297 + 0.0086))
8.838550616569215
((0 + -0.1214 - -4.1867 * 0.2232 + 38 * 1760786 / (0 + 0.4829)) * ((-0.035 * 0 - (47.1478 * 156422026)) * sin((-8.4318 - 0))))
8.55969205409942e+17
tan((atan((0.0048 / 160.1125)) * (-93 * 956898) * -23876908.085 * 124534637.0767))
-18.390995435038967
log10(((-561560 / -8096537 * acos(0)) / atan(93381055.1321 + 6)))
-1.1589031365559466
(-193300947 - -312.1873 - (-211854138.9717 / 762499) / 359.0365 - -66.6022 - (9 - 0.7357)) + tan(exp(899194839.7903 * -201083000))
-193300575.7009459
ln(cos(299732182.0236 / -0.0153 * 0 + -2036.9058))
-0.9037394896969457
((sin(0) / 2346.2862 + 134082.5514) - (0.3889 * -0.0338 - 15734.8466 * -6)) * (((-3235.6518 / -603.3294) / (0 + -174)) * ln(-116 - -1030))
-8336.900104965242
((atan(-13.0898) / -88.6078 / -448989.6437 - ((7768000 * 0) + (1458987.8867 - 32268))) * cos(-1568 - 177218 - -329 + -31481583.9348))
-1421767.178851214
tan(0 * 29.671) + -33721575.3985 * -91 / ln(0.5265) * (1.6518 * -50335 * sin(16) * sin((3803893.942 - -114385)))
-27057799732892.574
sin(log2(-2721942 * -4) + 5537113.1395 / -622175.9532 / -486330749 * -0.2375)
-0.9827998590156906
atan((265.9606 * -48.9786 + (2.3151 / -0.0004) + (-38.6485 + 3044475 + (-24.7011 * 0.0033))))
1.5707959962843592
(((-0.6309 / -13192848 - (0.0003 * 0)) + (ln(19) + sin(296.3952))) * 0 + -101 + sqrt(32010) - ln((159793457 * 172854)))
46.963791634321765
tan((0.0006 * 3 + (30560463 / 0.0929) + (6 + -0.0099) * (11 / 42344.6856)))
-0.5358678583279264
ln(atan(29)) + (acos(0.006) + exp(-102796059)) - cos(111386902 + 240351691 / (282505.2584 - -38.6859))
2.9177023045006267
sin(((-189709313 + -1266001 / 108885 / -0.537) + ln(19027321 - -27131341.9117)))
0.8437982522546524
tan(138725471 / -558.7753 * (-973290833.9068 / -0.0001) - ((-6.1434 + 0) - tan(0.9935)))
-1.4809251213173236
sqrt(log2((asin(0.1414) * 0 + 2875029.5337)))
4.631969920619261
((99932 + 4493.6813 - -11893746.5964 - -0.3296) / sin(-813916214) + (-5 * 165)) * ((0 * -3.8564) + 22.018 * 0.7982 / (-92219.9891 * 18 * (306592 * -26.8526)))
1.569319247209103e-05
(log2(531036835) + atan(-0.6308)) / (sin(0) + 0.0009 - 588) - tan((0.0004 - 0 * 0 * -116068541.9692))
-0.048735920027275774
cos((log10(8737) * cos(6.7149)) / cos((-0.0678 / 3.4837)))
-0.9052510057757047
(log10((-0.7679 - -270212.703 - (-3846 * 166826192))) + (asin(tan(113330.4661)) * (-53.6999 - 618687.9388 / 149955.2816 - 0.0002)))
-38.516288784857316
(239467484 + -70165664 / -14211 + 3144441 - (0 + -11556452 / 949.0836 / 78)) * (938 + 642 * atan(0)) * (103 + 347200) - (-582.2298 + 0)
7.90373980456765e+16
atan(((-0.0001 - 4.5047) / (-8036 / -9.0555)) + (-363115.212 - -1.2314 + (-308411.6653 - 0.0613)))
-1.570794837648641
asin(((log10(0.0006) + tan(19.7515)) / log2((-2488354 + 676398354))))
-0.06676563751398246
sin((sin(sin(-9437)) / (-160274 - -12 - 4290727.0405 * -28937033)))
2.6674478102773213e-15
sqrt(exp(-299346.428 + -1456) + (sqrt(0) * (0 - 2605)))
0.0
(exp(-48192497 - -1.0452 + sin(-1767)) - ((-0.0115 * 0 + 4 + 116633179.1245) * ((0 - -2589789) - 0.0122 * -434241.741)))
-302673228048095.7
atan((cos((2562 * -924815)) * sin((45 * 14153400.4427))))
-0.12617603022909013
atan(cos(acos((0 - -0.0003))))
0.00029999999099998445
acos(sin(log2(sqrt(0.0052))))
0.918752649680511
cos(sin((-8998959 * -69503544.1477 / (43160152 + -1))))
0.8439768523495713
(cos((0 / -25.125)) / ((215377765 + -352064703) - (12030 + 401601960.8175))) - tan(acos((-0.0007 * -15)))
-95.23284509524149
((0 / 8) * ln(14554737.1605) - (cos(0) / -563104 + 863003234)) - log2(66009590) * (1518829.0418 + 3921511.0011) - (-945145517 / 1701.8696 / (1444.8169 / -626317.5221))
-1245065709.765044
atan(((-0.2895 / -1356.2569) / exp(-86) - (atan(-36322) / -0.0009 / -2)))
1.5707963267948966
tan(((0 / -3724204) + (-0.1756 * 32165.8238))) + asin((920 / 37347)) * (-857.0184 + 0) / sin(3468888)
24.183361202840597
atan((0 - -237.8971 + 59400000.2599 * 26575 / (0.0002 / 1) - 437174630.0567 * 18983))
1.5707963267948966
-76 - -40090693 / (302.082 / -285811613) + cos(0.001) / (1870512 - 0) * (-1992.6503 / -689954 + (0.0239 - -474) - ln(-9849852 * -350555.9516))
-37931375032741.99
atan(((-1223594 / 0.0021) / (0.0545 - 33)) - (1784361 + -25722262) - 859365.8075 - 0)
1.5707963022635811
tan(acos((0.0039 + 0)) * acos(tan(0.1626)))
-1.3650212267448598
exp(acos(-32177589.7019 / 80908800) * cos(-3.6758) * exp(0))
0.18196051278533645
atan((sin((-31592278 * -0.0039)) * log2(0 - -3017009.6188)))
1.3762946691550093

Math Expressions 1M

Overview

This dataset is a comprehensive collection of 1,000,000 mathematical expressions, including both valid and invalid expressions. This dataset is intended for use in various machine learning and natural language processing tasks, such as calculations, mathematical reasoning, and validation.

Dataset Description

The dataset consists of mathematical expressions generated using a combination of basic arithmetic operations and mathematical functions. The expressions vary in complexity, containing both simple and nested structures, and are labeled with their evaluation results.

Features

  • Expressions: The dataset includes expressions involving basic arithmetic operations (+, -, *, /) and various mathematical functions (sqrt, log10, log2, ln, exp, sin, cos, tan, asin, acos, atan).
  • Valid and Invalid Expressions: Exactly 95% of the expressions are valid and correctly evaluated, while the remaining 5% are deliberately invalid to provide a diverse set for training and testing validation models.
  • Evaluation Results: Each expression is paired with its evaluation result. Valid expressions have their numerical results, while invalid expressions are marked as "INVALID".
  • Number Ranges: The numbers used in the expressions range from 0.0001 to 1,000,000,000, including both positive and negative values, and are generated with logarithmic distribution. Some numbers are integers, while others are floating-point numbers with up to four decimal places.
  • Expression Depth: The expressions have varying depths, with a maximum depth of 3 levels. This includes both simple expressions and more complex, nested structures.

License

This dataset is licensed under the MIT License.

Downloads last month
68

Models trained or fine-tuned on Gusarich/math-expressions-1m