package tezos-protocol-020-PsParisC
Tezos protocol 020-PsParisC package
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/src/tezos_raw_protocol_020_PsParisC/michelson_v1_gas_costs_generated.ml.html
Source file michelson_v1_gas_costs_generated.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722
(* Do not edit this file manually. This file was automatically generated from benchmark models If you wish to update a function in this file, a. update the corresponding model, or b. move the function to another module and edit it there. *) [@@@warning "-33"] module S = Saturation_repr open S.Syntax (* model encoding/B58CHECK_DECODING_CHAIN_ID *) (* max 10 1600. *) let cost_B58CHECK_DECODING_CHAIN_ID = S.safe_int 1600 (* model encoding/B58CHECK_DECODING_PUBLIC_KEY_HASH_bls *) (* max 10 3600. *) let cost_B58CHECK_DECODING_PUBLIC_KEY_HASH_bls = S.safe_int 3600 (* model encoding/B58CHECK_DECODING_PUBLIC_KEY_HASH_ed25519 *) (* max 10 3300. *) let cost_B58CHECK_DECODING_PUBLIC_KEY_HASH_ed25519 = S.safe_int 3300 (* model encoding/B58CHECK_DECODING_PUBLIC_KEY_HASH_p256 *) (* max 10 3300. *) let cost_B58CHECK_DECODING_PUBLIC_KEY_HASH_p256 = S.safe_int 3300 (* model encoding/B58CHECK_DECODING_PUBLIC_KEY_HASH_secp256k1 *) (* max 10 3300. *) let cost_B58CHECK_DECODING_PUBLIC_KEY_HASH_secp256k1 = S.safe_int 3300 (* model encoding/B58CHECK_DECODING_PUBLIC_KEY_bls *) (* max 10 79000. *) let cost_B58CHECK_DECODING_PUBLIC_KEY_bls = S.safe_int 79000 (* model encoding/B58CHECK_DECODING_PUBLIC_KEY_ed25519 *) (* max 10 4200. *) let cost_B58CHECK_DECODING_PUBLIC_KEY_ed25519 = S.safe_int 4200 (* model encoding/B58CHECK_DECODING_PUBLIC_KEY_p256 *) (* max 10 13450. *) let cost_B58CHECK_DECODING_PUBLIC_KEY_p256 = S.safe_int 13450 (* model encoding/B58CHECK_DECODING_PUBLIC_KEY_secp256k1 *) (* max 10 9000. *) let cost_B58CHECK_DECODING_PUBLIC_KEY_secp256k1 = S.safe_int 9000 (* model encoding/B58CHECK_DECODING_SIGNATURE_bls *) (* max 10 6400. *) let cost_B58CHECK_DECODING_SIGNATURE_bls = S.safe_int 6400 (* model encoding/B58CHECK_DECODING_SIGNATURE_ed25519 *) (* max 10 6400. *) let cost_B58CHECK_DECODING_SIGNATURE_ed25519 = S.safe_int 6400 (* model encoding/B58CHECK_DECODING_SIGNATURE_p256 *) (* max 10 6400. *) let cost_B58CHECK_DECODING_SIGNATURE_p256 = S.safe_int 6400 (* model encoding/B58CHECK_DECODING_SIGNATURE_secp256k1 *) (* max 10 6400. *) let cost_B58CHECK_DECODING_SIGNATURE_secp256k1 = S.safe_int 6400 (* model encoding/B58CHECK_ENCODING_CHAIN_ID *) (* max 10 1800. *) let cost_B58CHECK_ENCODING_CHAIN_ID = S.safe_int 1800 (* model encoding/B58CHECK_ENCODING_PUBLIC_KEY_HASH_bls *) (* max 10 3200. *) let cost_B58CHECK_ENCODING_PUBLIC_KEY_HASH_bls = S.safe_int 3200 (* model encoding/B58CHECK_ENCODING_PUBLIC_KEY_HASH_ed25519 *) (* max 10 3200. *) let cost_B58CHECK_ENCODING_PUBLIC_KEY_HASH_ed25519 = S.safe_int 3200 (* model encoding/B58CHECK_ENCODING_PUBLIC_KEY_HASH_p256 *) (* max 10 3200. *) let cost_B58CHECK_ENCODING_PUBLIC_KEY_HASH_p256 = S.safe_int 3200 (* model encoding/B58CHECK_ENCODING_PUBLIC_KEY_HASH_secp256k1 *) (* max 10 3200. *) let cost_B58CHECK_ENCODING_PUBLIC_KEY_HASH_secp256k1 = S.safe_int 3200 (* model encoding/B58CHECK_ENCODING_PUBLIC_KEY_bls *) (* max 10 5900. *) let cost_B58CHECK_ENCODING_PUBLIC_KEY_bls = S.safe_int 5900 (* model encoding/B58CHECK_ENCODING_PUBLIC_KEY_ed25519 *) (* max 10 4500. *) let cost_B58CHECK_ENCODING_PUBLIC_KEY_ed25519 = S.safe_int 4500 (* model encoding/B58CHECK_ENCODING_PUBLIC_KEY_p256 *) (* max 10 4550. *) let cost_B58CHECK_ENCODING_PUBLIC_KEY_p256 = S.safe_int 4550 (* model encoding/B58CHECK_ENCODING_PUBLIC_KEY_secp256k1 *) (* max 10 4950. *) let cost_B58CHECK_ENCODING_PUBLIC_KEY_secp256k1 = S.safe_int 4950 (* model encoding/B58CHECK_ENCODING_SIGNATURE_bls *) (* max 10 8300. *) let cost_B58CHECK_ENCODING_SIGNATURE_bls = S.safe_int 8300 (* model encoding/B58CHECK_ENCODING_SIGNATURE_ed25519 *) (* max 10 8300. *) let cost_B58CHECK_ENCODING_SIGNATURE_ed25519 = S.safe_int 8300 (* model encoding/B58CHECK_ENCODING_SIGNATURE_p256 *) (* max 10 8300. *) let cost_B58CHECK_ENCODING_SIGNATURE_p256 = S.safe_int 8300 (* model encoding/B58CHECK_ENCODING_SIGNATURE_secp256k1 *) (* max 10 8300. *) let cost_B58CHECK_ENCODING_SIGNATURE_secp256k1 = S.safe_int 8300 (* model encoding/BLS_FR_FROM_Z *) (* max 10 178.443333333 *) let cost_BLS_FR_FROM_Z = S.safe_int 180 (* model encoding/BLS_FR_TO_Z *) (* max 10 82.8933333333 *) let cost_BLS_FR_TO_Z = S.safe_int 85 (* model encoding/CHECK_PRINTABLE *) (* fun size -> max 10 (14. + (10. * size)) *) let cost_CHECK_PRINTABLE size = let size = S.safe_int size in (size * S.safe_int 10) + S.safe_int 15 (* model encoding/DECODING_BLS_FR *) (* max 10 120. *) let cost_DECODING_BLS_FR = S.safe_int 120 (* model encoding/DECODING_BLS_G1 *) (* max 10 54600. *) let cost_DECODING_BLS_G1 = S.safe_int 54600 (* model encoding/DECODING_BLS_G2 *) (* max 10 69000. *) let cost_DECODING_BLS_G2 = S.safe_int 69000 (* model encoding/DECODING_CHAIN_ID *) (* max 10 50. *) let cost_DECODING_CHAIN_ID = S.safe_int 50 (* model encoding/DECODING_Chest *) (* fun size -> max 10 (3750. + (0.03125 * size)) *) let cost_DECODING_Chest size = let size = S.safe_int size in (size lsr 5) + S.safe_int 3750 (* model encoding/DECODING_Chest_key *) (* max 10 9550. *) let cost_DECODING_Chest_key = S.safe_int 9550 (* model encoding/DECODING_PUBLIC_KEY_HASH_bls *) (* max 10 60. *) let cost_DECODING_PUBLIC_KEY_HASH_bls = S.safe_int 60 (* model encoding/DECODING_PUBLIC_KEY_HASH_ed25519 *) (* max 10 60. *) let cost_DECODING_PUBLIC_KEY_HASH_ed25519 = S.safe_int 60 (* model encoding/DECODING_PUBLIC_KEY_HASH_p256 *) (* max 10 60. *) let cost_DECODING_PUBLIC_KEY_HASH_p256 = S.safe_int 60 (* model encoding/DECODING_PUBLIC_KEY_HASH_secp256k1 *) (* max 10 60. *) let cost_DECODING_PUBLIC_KEY_HASH_secp256k1 = S.safe_int 60 (* model encoding/DECODING_PUBLIC_KEY_bls *) (* max 10 74000. *) let cost_DECODING_PUBLIC_KEY_bls = S.safe_int 74000 (* model encoding/DECODING_PUBLIC_KEY_ed25519 *) (* max 10 60. *) let cost_DECODING_PUBLIC_KEY_ed25519 = S.safe_int 60 (* model encoding/DECODING_PUBLIC_KEY_p256 *) (* max 10 9550. *) let cost_DECODING_PUBLIC_KEY_p256 = S.safe_int 9550 (* model encoding/DECODING_PUBLIC_KEY_secp256k1 *) (* max 10 4900. *) let cost_DECODING_PUBLIC_KEY_secp256k1 = S.safe_int 4900 (* model encoding/DECODING_SIGNATURE_bls *) (* max 10 40. *) let cost_DECODING_SIGNATURE_bls = S.safe_int 40 (* model encoding/DECODING_SIGNATURE_ed25519 *) (* max 10 35. *) let cost_DECODING_SIGNATURE_ed25519 = S.safe_int 35 (* model encoding/DECODING_SIGNATURE_p256 *) (* max 10 35. *) let cost_DECODING_SIGNATURE_p256 = S.safe_int 35 (* model encoding/DECODING_SIGNATURE_secp256k1 *) (* max 10 35. *) let cost_DECODING_SIGNATURE_secp256k1 = S.safe_int 35 (* model encoding/ENCODING_BLS_FR *) (* max 10 80. *) let cost_ENCODING_BLS_FR = S.safe_int 80 (* model encoding/ENCODING_BLS_G1 *) (* max 10 3200. *) let cost_ENCODING_BLS_G1 = S.safe_int 3200 (* model encoding/ENCODING_BLS_G2 *) (* max 10 3900. *) let cost_ENCODING_BLS_G2 = S.safe_int 3900 (* model encoding/ENCODING_CHAIN_ID *) (* max 10 50. *) let cost_ENCODING_CHAIN_ID = S.safe_int 50 (* model encoding/ENCODING_Chest *) (* fun size -> max 10 (6250. + (0.09375 * size)) *) let cost_ENCODING_Chest size = let size = S.safe_int size in (size lsr 4) + (size lsr 5) + S.safe_int 6250 (* model encoding/ENCODING_Chest_key *) (* max 10 15900. *) let cost_ENCODING_Chest_key = S.safe_int 15900 (* model encoding/ENCODING_PUBLIC_KEY_HASH_bls *) (* max 10 80. *) let cost_ENCODING_PUBLIC_KEY_HASH_bls = S.safe_int 80 (* model encoding/ENCODING_PUBLIC_KEY_HASH_ed25519 *) (* max 10 70. *) let cost_ENCODING_PUBLIC_KEY_HASH_ed25519 = S.safe_int 70 (* model encoding/ENCODING_PUBLIC_KEY_HASH_p256 *) (* max 10 70. *) let cost_ENCODING_PUBLIC_KEY_HASH_p256 = S.safe_int 70 (* model encoding/ENCODING_PUBLIC_KEY_HASH_secp256k1 *) (* max 10 70. *) let cost_ENCODING_PUBLIC_KEY_HASH_secp256k1 = S.safe_int 70 (* model encoding/ENCODING_PUBLIC_KEY_bls *) (* max 10 90. *) let cost_ENCODING_PUBLIC_KEY_bls = S.safe_int 90 (* model encoding/ENCODING_PUBLIC_KEY_ed25519 *) (* max 10 80. *) let cost_ENCODING_PUBLIC_KEY_ed25519 = S.safe_int 80 (* model encoding/ENCODING_PUBLIC_KEY_p256 *) (* max 10 90. *) let cost_ENCODING_PUBLIC_KEY_p256 = S.safe_int 90 (* model encoding/ENCODING_PUBLIC_KEY_secp256k1 *) (* max 10 455. *) let cost_ENCODING_PUBLIC_KEY_secp256k1 = S.safe_int 455 (* model encoding/ENCODING_SIGNATURE_bls *) (* max 10 55. *) let cost_ENCODING_SIGNATURE_bls = S.safe_int 55 (* model encoding/ENCODING_SIGNATURE_ed25519 *) (* max 10 45. *) let cost_ENCODING_SIGNATURE_ed25519 = S.safe_int 45 (* model encoding/ENCODING_SIGNATURE_p256 *) (* max 10 45. *) let cost_ENCODING_SIGNATURE_p256 = S.safe_int 45 (* model encoding/ENCODING_SIGNATURE_secp256k1 *) (* max 10 45. *) let cost_ENCODING_SIGNATURE_secp256k1 = S.safe_int 45 (* model encoding/TIMESTAMP_READABLE_DECODING *) (* fun size -> max 10 (105. + (0.046875 * (size * (sqrt size)))) *) let cost_TIMESTAMP_READABLE_DECODING size = let size = S.safe_int size in let w2 = sqrt size * size in (w2 lsr 5) + (w2 lsr 6) + S.safe_int 105 (* model encoding/TIMESTAMP_READABLE_ENCODING *) (* max 10 820. *) let cost_TIMESTAMP_READABLE_ENCODING = S.safe_int 820 (* model interpreter/N_IAbs_int *) (* fun size -> max 10 (20. + (0.5 * size)) *) let cost_N_IAbs_int size = let size = S.safe_int size in (size lsr 1) + S.safe_int 20 (* model interpreter/N_IAbs_int_alloc *) (* fun size -> max 10 (14.9523489645 + (0.50021084529 * size)) *) let cost_N_IAbs_int_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 15 (* model interpreter/N_IAbs_int_synthesized *) (* fun size -> let time = 20. + (0.5 * size) in let alloc = 14.9523489645 + (0.50021084529 * size) in max 10 (max time alloc) *) let cost_N_IAbs_int_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + S.safe_int 20) (w1 + (size lsr 6) + S.safe_int 15) (* model interpreter/N_IAdd_bls12_381_fr *) (* max 10 30. *) let cost_N_IAdd_bls12_381_fr = S.safe_int 30 (* model interpreter/N_IAdd_bls12_381_fr_alloc *) (* max 10 24. *) let cost_N_IAdd_bls12_381_fr_alloc = S.safe_int 25 (* model interpreter/N_IAdd_bls12_381_fr_synthesized *) (* let time = 30. in let alloc = 24. in max 10 (max time alloc) *) let cost_N_IAdd_bls12_381_fr_synthesized = S.safe_int 30 (* model interpreter/N_IAdd_bls12_381_g1 *) (* max 10 900. *) let cost_N_IAdd_bls12_381_g1 = S.safe_int 900 (* model interpreter/N_IAdd_bls12_381_g1_alloc *) (* max 10 80. *) let cost_N_IAdd_bls12_381_g1_alloc = S.safe_int 80 (* model interpreter/N_IAdd_bls12_381_g1_synthesized *) (* let time = 900. in let alloc = 80. in max 10 (max time alloc) *) let cost_N_IAdd_bls12_381_g1_synthesized = S.safe_int 900 (* model interpreter/N_IAdd_bls12_381_g2 *) (* max 10 2470. *) let cost_N_IAdd_bls12_381_g2 = S.safe_int 2470 (* model interpreter/N_IAdd_bls12_381_g2_alloc *) (* max 10 152. *) let cost_N_IAdd_bls12_381_g2_alloc = S.safe_int 155 (* model interpreter/N_IAdd_bls12_381_g2_synthesized *) (* let time = 2470. in let alloc = 152. in max 10 (max time alloc) *) let cost_N_IAdd_bls12_381_g2_synthesized = S.safe_int 2470 (* model interpreter/N_IAdd_int *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_IAdd_int size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IAdd_int_alloc *) (* fun size1 -> fun size2 -> max 10 (16.6371367954 + (0.500211859928 * (max size1 size2))) *) let cost_N_IAdd_int_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_IAdd_int_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 16.6371367954 + (0.500211859928 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IAdd_int_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 20) (* model interpreter/N_IAdd_nat *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_IAdd_nat size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IAdd_nat_alloc *) (* fun size1 -> fun size2 -> max 10 (17.7896408261 + (0.500239743224 * (max size1 size2))) *) let cost_N_IAdd_nat_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_IAdd_nat_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 17.7896408261 + (0.500239743224 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IAdd_nat_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 20) (* model interpreter/N_IAdd_seconds_to_timestamp *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_IAdd_seconds_to_timestamp size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IAdd_seconds_to_timestamp_alloc *) (* fun size1 -> fun size2 -> max 10 (16.6371367954 + (0.500211859928 * (max size1 size2))) *) let cost_N_IAdd_seconds_to_timestamp_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_IAdd_seconds_to_timestamp_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 16.6371367954 + (0.500211859928 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IAdd_seconds_to_timestamp_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 20) (* model interpreter/N_IAdd_tez *) (* max 10 20. *) let cost_N_IAdd_tez = S.safe_int 20 (* model interpreter/N_IAdd_tez_alloc *) (* max 10 12. *) let cost_N_IAdd_tez_alloc = S.safe_int 15 (* model interpreter/N_IAdd_tez_synthesized *) (* let time = 20. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IAdd_tez_synthesized = S.safe_int 20 (* model interpreter/N_IAdd_timestamp_to_seconds *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_IAdd_timestamp_to_seconds size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IAdd_timestamp_to_seconds_alloc *) (* fun size1 -> fun size2 -> max 10 (16.6371367954 + (0.500211859928 * (max size1 size2))) *) let cost_N_IAdd_timestamp_to_seconds_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_IAdd_timestamp_to_seconds_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 16.6371367954 + (0.500211859928 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IAdd_timestamp_to_seconds_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 20) (* model interpreter/N_IAddress *) (* max 10 10. *) let cost_N_IAddress = S.safe_int 10 (* model interpreter/N_IAddress_alloc *) (* max 10 28. *) let cost_N_IAddress_alloc = S.safe_int 30 (* model interpreter/N_IAddress_synthesized *) (* let time = 10. in let alloc = 28. in max 10 (max time alloc) *) let cost_N_IAddress_synthesized = S.safe_int 30 (* model interpreter/N_IAmount *) (* max 10 10. *) let cost_N_IAmount = S.safe_int 10 (* model interpreter/N_IAmount_alloc *) (* max 10 12. *) let cost_N_IAmount_alloc = S.safe_int 15 (* model interpreter/N_IAmount_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IAmount_synthesized = S.safe_int 15 (* model interpreter/N_IAnd *) (* max 10 10. *) let cost_N_IAnd = S.safe_int 10 (* model interpreter/N_IAnd_alloc *) (* max 10 0. *) let cost_N_IAnd_alloc = S.safe_int 10 (* model interpreter/N_IAnd_bytes *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (min size1 size2))) *) let cost_N_IAnd_bytes size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.min size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IAnd_bytes_alloc *) (* fun size1 -> fun size2 -> max 10 (11.02845262 + (0.499972333803 * (min size1 size2))) *) let cost_N_IAnd_bytes_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.min size1 size2 lsr 1) + S.safe_int 15 (* model interpreter/N_IAnd_bytes_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (min size1 size2)) in let alloc = 11.02845262 + (0.499972333803 * (min size1 size2)) in max 10 (max time alloc) *) let cost_N_IAnd_bytes_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.min size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IAnd_int_nat *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (min size1 size2))) *) let cost_N_IAnd_int_nat size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.min size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IAnd_int_nat_alloc *) (* fun size1 -> fun size2 -> max 10 (15.9658045767 + (0.500213721396 * size2)) *) let cost_N_IAnd_int_nat_alloc _size1 size2 = let size2 = S.safe_int size2 in (size2 lsr 1) + (size2 lsr 6) + S.safe_int 20 (* model interpreter/N_IAnd_int_nat_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (min size1 size2)) in let alloc = 15.9658045767 + (0.500213721396 * size2) in max 10 (max time alloc) *) let cost_N_IAnd_int_nat_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in S.max ((S.min size1 size2 lsr 1) + S.safe_int 35) ((size2 lsr 1) + (size2 lsr 6) + S.safe_int 20) (* model interpreter/N_IAnd_nat *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (min size1 size2))) *) let cost_N_IAnd_nat size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.min size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IAnd_nat_alloc *) (* fun size1 -> fun size2 -> max 10 (15.929319772 + (0.50029450095 * (min size1 size2))) *) let cost_N_IAnd_nat_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.min size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_IAnd_nat_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (min size1 size2)) in let alloc = 15.929319772 + (0.50029450095 * (min size1 size2)) in max 10 (max time alloc) *) let cost_N_IAnd_nat_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.min size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 20) (* model interpreter/N_IAnd_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IAnd_synthesized = S.safe_int 10 (* model interpreter/N_IApply_alloc *) (* fun size -> max 10 (if size = 0 then 225.986577181 else 510.013245033) *) let cost_N_IApply_alloc size = let size = S.safe_int size in S.max (S.safe_int 10) (if size = S.safe_int 0 then S.safe_int 230 else S.safe_int 510) (* model interpreter/N_IApply_synthesized *) (* fun size -> let time = if size = 0 then 140. else 220. in let alloc = if size = 0 then 225.986577181 else 510.013245033 in max 10 (max time alloc) *) let cost_N_IApply_synthesized size = let size = S.safe_int size in let w1 = size = S.safe_int 0 in S.max (S.max (S.safe_int 10) (if w1 then S.safe_int 140 else S.safe_int 220)) (if w1 then S.safe_int 230 else S.safe_int 510) (* model interpreter/N_IBalance *) (* max 10 10. *) let cost_N_IBalance = S.safe_int 10 (* model interpreter/N_IBalance_alloc *) (* max 10 12. *) let cost_N_IBalance_alloc = S.safe_int 15 (* model interpreter/N_IBalance_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IBalance_synthesized = S.safe_int 15 (* model interpreter/N_IBig_map_get *) (* fun size1 -> fun size2 -> max 10 (822.930542675 + (2.84341564432 * (size1 * (log2 (1 + size2))))) *) let cost_N_IBig_map_get size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 * S.safe_int 2) + (w3 lsr 1) + (w3 lsr 2) + (w3 lsr 3) + S.safe_int 825 (* model interpreter/N_IBig_map_get_alloc *) (* fun size1 -> fun size2 -> max 10 0. *) let cost_N_IBig_map_get_alloc _size1 _size2 = S.safe_int 10 (* model interpreter/N_IBig_map_get_and_update *) (* fun size1 -> fun size2 -> max 10 (834.633876008 + (2.84264684858 * (size1 * (log2 (1 + size2))))) *) let cost_N_IBig_map_get_and_update size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 * S.safe_int 2) + (w3 lsr 1) + (w3 lsr 2) + (w3 lsr 3) + S.safe_int 835 (* model interpreter/N_IBig_map_get_and_update_alloc *) (* fun size1 -> fun size2 -> max 10 ((25.084669453 * (log2 (1 + size2))) + 178.035218425) *) let cost_N_IBig_map_get_and_update_alloc _size1 size2 = let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in (w1 * S.safe_int 25) + (w1 lsr 1) + S.safe_int 180 (* model interpreter/N_IBig_map_get_and_update_synthesized *) (* fun size1 -> fun size2 -> let time = 834.633876008 + (2.84264684858 * (size1 * (log2 (1 + size2)))) in let alloc = (25.084669453 * (log2 (1 + size2))) + 178.035218425 in max 10 (max time alloc) *) let cost_N_IBig_map_get_and_update_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in let w3 = w1 * size1 in S.max ((w3 * S.safe_int 2) + (w3 lsr 1) + (w3 lsr 2) + (w3 lsr 3) + S.safe_int 835) ((w1 * S.safe_int 25) + (w1 lsr 1) + S.safe_int 180) (* model interpreter/N_IBig_map_get_synthesized *) (* fun size1 -> fun size2 -> let time = 822.930542675 + (2.84341564432 * (size1 * (log2 (1 + size2)))) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IBig_map_get_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 * S.safe_int 2) + (w3 lsr 1) + (w3 lsr 2) + (w3 lsr 3) + S.safe_int 825 (* model interpreter/N_IBig_map_mem *) (* fun size1 -> fun size2 -> max 10 (824.703876008 + (2.8436528598 * (size1 * (log2 (1 + size2))))) *) let cost_N_IBig_map_mem size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 * S.safe_int 2) + (w3 lsr 1) + (w3 lsr 2) + (w3 lsr 3) + S.safe_int 825 (* model interpreter/N_IBig_map_mem_alloc *) (* fun size1 -> fun size2 -> max 10 0. *) let cost_N_IBig_map_mem_alloc _size1 _size2 = S.safe_int 10 (* model interpreter/N_IBig_map_mem_synthesized *) (* fun size1 -> fun size2 -> let time = 824.703876008 + (2.8436528598 * (size1 * (log2 (1 + size2)))) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IBig_map_mem_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 * S.safe_int 2) + (w3 lsr 1) + (w3 lsr 2) + (w3 lsr 3) + S.safe_int 825 (* model interpreter/N_IBig_map_update *) (* fun size1 -> fun size2 -> max 10 (816.020542675 + (3.16181279998 * (size1 * (log2 (1 + size2))))) *) let cost_N_IBig_map_update size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 * S.safe_int 3) + (w3 lsr 3) + (w3 lsr 4) + S.safe_int 820 (* model interpreter/N_IBig_map_update_alloc *) (* fun size1 -> fun size2 -> max 10 ((25.084669453 * (log2 (1 + size2))) + 166.035218425) *) let cost_N_IBig_map_update_alloc _size1 size2 = let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in (w1 * S.safe_int 25) + (w1 lsr 1) + S.safe_int 170 (* model interpreter/N_IBig_map_update_synthesized *) (* fun size1 -> fun size2 -> let time = 816.020542675 + (3.16181279998 * (size1 * (log2 (1 + size2)))) in let alloc = (25.084669453 * (log2 (1 + size2))) + 166.035218425 in max 10 (max time alloc) *) let cost_N_IBig_map_update_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in let w3 = w1 * size1 in S.max ((w3 * S.safe_int 3) + (w3 lsr 3) + (w3 lsr 4) + S.safe_int 820) ((w1 * S.safe_int 25) + (w1 lsr 1) + S.safe_int 170) (* model interpreter/N_IBlake2b *) (* fun size -> max 10 (430. + (1.125 * size)) *) let cost_N_IBlake2b size = let size = S.safe_int size in (size lsr 3) + size + S.safe_int 430 (* model interpreter/N_IBlake2b_alloc *) (* fun size -> max 10 24. *) let cost_N_IBlake2b_alloc _size = S.safe_int 25 (* model interpreter/N_IBlake2b_synthesized *) (* fun size -> let time = 430. + (1.125 * size) in let alloc = 24. in max 10 (max time alloc) *) let cost_N_IBlake2b_synthesized size = let size = S.safe_int size in (size lsr 3) + size + S.safe_int 430 (* model interpreter/N_IBytes_int *) (* fun size -> max 10 (90. + (3. * size)) *) let cost_N_IBytes_int size = let size = S.safe_int size in (size * S.safe_int 3) + S.safe_int 90 (* model interpreter/N_IBytes_int_alloc *) (* fun size -> max 10 (10.3902313247 + (0.499502439767 * size)) *) let cost_N_IBytes_int_alloc size = let size = S.safe_int size in (size lsr 1) + S.safe_int 10 (* model interpreter/N_IBytes_int_synthesized *) (* fun size -> let time = 90. + (3. * size) in let alloc = 10.3902313247 + (0.499502439767 * size) in max 10 (max time alloc) *) let cost_N_IBytes_int_synthesized size = let size = S.safe_int size in S.max ((size * S.safe_int 3) + S.safe_int 90) ((size lsr 1) + S.safe_int 10) (* model interpreter/N_IBytes_nat *) (* fun size -> max 10 (75. + (3. * size)) *) let cost_N_IBytes_nat size = let size = S.safe_int size in (size * S.safe_int 3) + S.safe_int 75 (* model interpreter/N_IBytes_nat_alloc *) (* fun size -> max 10 (10.7311846492 + (0.499435286092 * size)) *) let cost_N_IBytes_nat_alloc size = let size = S.safe_int size in (size lsr 1) + S.safe_int 15 (* model interpreter/N_IBytes_nat_synthesized *) (* fun size -> let time = 75. + (3. * size) in let alloc = 10.7311846492 + (0.499435286092 * size) in max 10 (max time alloc) *) let cost_N_IBytes_nat_synthesized size = let size = S.safe_int size in S.max ((size * S.safe_int 3) + S.safe_int 75) ((size lsr 1) + S.safe_int 15) (* model interpreter/N_IBytes_size *) (* max 10 10. *) let cost_N_IBytes_size = S.safe_int 10 (* model interpreter/N_IBytes_size_alloc *) (* max 10 0. *) let cost_N_IBytes_size_alloc = S.safe_int 10 (* model interpreter/N_IBytes_size_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IBytes_size_synthesized = S.safe_int 10 (* model interpreter/N_ICar *) (* max 10 10. *) let cost_N_ICar = S.safe_int 10 (* model interpreter/N_ICar_alloc *) (* max 10 0. *) let cost_N_ICar_alloc = S.safe_int 10 (* model interpreter/N_ICar_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ICar_synthesized = S.safe_int 10 (* model interpreter/N_ICdr *) (* max 10 10. *) let cost_N_ICdr = S.safe_int 10 (* model interpreter/N_ICdr_alloc *) (* max 10 0. *) let cost_N_ICdr_alloc = S.safe_int 10 (* model interpreter/N_ICdr_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ICdr_synthesized = S.safe_int 10 (* model interpreter/N_IChainId *) (* max 10 15. *) let cost_N_IChainId = S.safe_int 15 (* model interpreter/N_IChainId_alloc *) (* max 10 20. *) let cost_N_IChainId_alloc = S.safe_int 20 (* model interpreter/N_IChainId_synthesized *) (* let time = 15. in let alloc = 20. in max 10 (max time alloc) *) let cost_N_IChainId_synthesized = S.safe_int 20 (* model interpreter/N_ICheck_signature_bls *) (* fun size -> max 10 (1570000. + (3. * size)) *) let cost_N_ICheck_signature_bls size = let size = S.safe_int size in (size * S.safe_int 3) + S.safe_int 1570000 (* model interpreter/N_ICheck_signature_bls_alloc *) (* fun size -> max 10 0. *) let cost_N_ICheck_signature_bls_alloc _size = S.safe_int 10 (* model interpreter/N_ICheck_signature_bls_synthesized *) (* fun size -> let time = 1570000. + (3. * size) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ICheck_signature_bls_synthesized size = let size = S.safe_int size in (size * S.safe_int 3) + S.safe_int 1570000 (* model interpreter/N_ICheck_signature_ed25519 *) (* fun size -> max 10 (65800. + (1.125 * size)) *) let cost_N_ICheck_signature_ed25519 size = let size = S.safe_int size in (size lsr 3) + size + S.safe_int 65800 (* model interpreter/N_ICheck_signature_ed25519_alloc *) (* fun size -> max 10 0. *) let cost_N_ICheck_signature_ed25519_alloc _size = S.safe_int 10 (* model interpreter/N_ICheck_signature_ed25519_synthesized *) (* fun size -> let time = 65800. + (1.125 * size) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ICheck_signature_ed25519_synthesized size = let size = S.safe_int size in (size lsr 3) + size + S.safe_int 65800 (* model interpreter/N_ICheck_signature_p256 *) (* fun size -> max 10 (341000. + (1.125 * size)) *) let cost_N_ICheck_signature_p256 size = let size = S.safe_int size in (size lsr 3) + size + S.safe_int 341000 (* model interpreter/N_ICheck_signature_p256_alloc *) (* fun size -> max 10 0. *) let cost_N_ICheck_signature_p256_alloc _size = S.safe_int 10 (* model interpreter/N_ICheck_signature_p256_synthesized *) (* fun size -> let time = 341000. + (1.125 * size) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ICheck_signature_p256_synthesized size = let size = S.safe_int size in (size lsr 3) + size + S.safe_int 341000 (* model interpreter/N_ICheck_signature_secp256k1 *) (* fun size -> max 10 (51600. + (1.125 * size)) *) let cost_N_ICheck_signature_secp256k1 size = let size = S.safe_int size in (size lsr 3) + size + S.safe_int 51600 (* model interpreter/N_ICheck_signature_secp256k1_alloc *) (* fun size -> max 10 0. *) let cost_N_ICheck_signature_secp256k1_alloc _size = S.safe_int 10 (* model interpreter/N_ICheck_signature_secp256k1_synthesized *) (* fun size -> let time = 51600. + (1.125 * size) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ICheck_signature_secp256k1_synthesized size = let size = S.safe_int size in (size lsr 3) + size + S.safe_int 51600 (* model interpreter/N_IComb *) (* fun size -> max 10 (40. + (3.25 * (sub size 2))) *) let cost_N_IComb size = let size = S.safe_int size in let w1 = S.sub size (S.safe_int 2) in (w1 * S.safe_int 3) + (w1 lsr 2) + S.safe_int 40 (* model interpreter/N_IComb_alloc *) (* fun size -> max 10 (5.60949553813 + (11.9823552149 * size)) *) let cost_N_IComb_alloc size = let size = S.safe_int size in (size * S.safe_int 12) + S.safe_int 10 (* model interpreter/N_IComb_get *) (* fun size -> max 10 (20. + (0.5625 * size)) *) let cost_N_IComb_get size = let size = S.safe_int size in (size lsr 1) + (size lsr 4) + S.safe_int 20 (* model interpreter/N_IComb_get_alloc *) (* fun size -> max 10 (0. + (0. * size)) *) let cost_N_IComb_get_alloc _size = S.safe_int 10 (* model interpreter/N_IComb_get_synthesized *) (* fun size -> let time = 20. + (0.5625 * size) in let alloc = 0. + (0. * size) in max 10 (max time alloc) *) let cost_N_IComb_get_synthesized size = let size = S.safe_int size in (size lsr 1) + (size lsr 4) + S.safe_int 20 (* model interpreter/N_IComb_set *) (* fun size -> max 10 (30. + (1.28125 * size)) *) let cost_N_IComb_set size = let size = S.safe_int size in (size lsr 2) + (size lsr 5) + size + S.safe_int 30 (* model interpreter/N_IComb_set_alloc *) (* fun size -> max 10 (5.97947366264 + (6.00684211245 * size)) *) let cost_N_IComb_set_alloc size = let size = S.safe_int size in (size lsr 3) + (size * S.safe_int 6) + S.safe_int 10 (* model interpreter/N_IComb_set_synthesized *) (* fun size -> let time = 30. + (1.28125 * size) in let alloc = 5.97947366264 + (6.00684211245 * size) in max 10 (max time alloc) *) let cost_N_IComb_set_synthesized size = let size = S.safe_int size in S.max ((size lsr 2) + (size lsr 5) + size + S.safe_int 30) ((size lsr 3) + (size * S.safe_int 6) + S.safe_int 10) (* model interpreter/N_IComb_synthesized *) (* fun size -> let time = 40. + (3.25 * (sub size 2)) in let alloc = 5.60949553813 + (11.9823552149 * size) in max 10 (max time alloc) *) let cost_N_IComb_synthesized size = let size = S.safe_int size in let w1 = S.sub size (S.safe_int 2) in S.max ((w1 * S.safe_int 3) + (w1 lsr 2) + S.safe_int 40) ((size * S.safe_int 12) + S.safe_int 10) (* model interpreter/N_ICompare *) (* fun size1 -> fun size2 -> max 10 (35. + (0.0234375 * (sub (min size1 size2) 1))) *) let cost_N_ICompare size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub (S.min size1 size2) (S.safe_int 1) in (w1 lsr 6) + (w1 lsr 7) + S.safe_int 35 (* model interpreter/N_ICompare_alloc *) (* fun size1 -> fun size2 -> max 10 0. *) let cost_N_ICompare_alloc _size1 _size2 = S.safe_int 10 (* model interpreter/N_ICompare_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.0234375 * (sub (min size1 size2) 1)) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ICompare_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub (S.min size1 size2) (S.safe_int 1) in (w1 lsr 6) + (w1 lsr 7) + S.safe_int 35 (* model interpreter/N_IConcat_bytes_alloc *) (* fun size1 -> fun size2 -> max 10 ((8.00002622858 + (0. * size1)) + (0.499999999744 * size2)) *) let cost_N_IConcat_bytes_alloc _size1 size2 = let size2 = S.safe_int size2 in (size2 lsr 1) + S.safe_int 10 (* model interpreter/N_IConcat_bytes_pair *) (* fun size1 -> fun size2 -> max 10 (45. + (0.5 * (size1 + size2))) *) let cost_N_IConcat_bytes_pair size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in ((size1 + size2) lsr 1) + S.safe_int 45 (* model interpreter/N_IConcat_bytes_pair_alloc *) (* fun size1 -> fun size2 -> max 10 (8.00048828125 + (0.499999761581 * (size1 + size2))) *) let cost_N_IConcat_bytes_pair_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in ((size1 + size2) lsr 1) + S.safe_int 10 (* model interpreter/N_IConcat_bytes_pair_synthesized *) (* fun size1 -> fun size2 -> let time = 45. + (0.5 * (size1 + size2)) in let alloc = 8.00048828125 + (0.499999761581 * (size1 + size2)) in max 10 (max time alloc) *) let cost_N_IConcat_bytes_pair_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in ((size1 + size2) lsr 1) + S.safe_int 45 (* model interpreter/N_IConcat_bytes_synthesized *) (* fun size1 -> fun size2 -> let time = (31.0272093413 + (0. * size1)) + (0.0853190494597 * size2) in let alloc = (8.00002622858 + (0. * size1)) + (0.499999999744 * size2) in max 10 (max time alloc) *) let cost_N_IConcat_bytes_synthesized _size1 size2 = let size2 = S.safe_int size2 in S.max ((size2 lsr 4) + (size2 lsr 6) + (size2 lsr 7) + S.safe_int 35) ((size2 lsr 1) + S.safe_int 10) (* model interpreter/N_IConcat_string_alloc *) (* fun size1 -> fun size2 -> max 10 ((6.82629751442 + (0. * size1)) + (0.500114619383 * size2)) *) let cost_N_IConcat_string_alloc _size1 size2 = let size2 = S.safe_int size2 in (size2 lsr 1) + (size2 lsr 6) + S.safe_int 10 (* model interpreter/N_IConcat_string_pair *) (* fun size1 -> fun size2 -> max 10 (45. + (0.5 * (size1 + size2))) *) let cost_N_IConcat_string_pair size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in ((size1 + size2) lsr 1) + S.safe_int 45 (* model interpreter/N_IConcat_string_pair_alloc *) (* fun size1 -> fun size2 -> max 10 (8.00048828125 + (0.499999761581 * (size1 + size2))) *) let cost_N_IConcat_string_pair_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in ((size1 + size2) lsr 1) + S.safe_int 10 (* model interpreter/N_IConcat_string_pair_synthesized *) (* fun size1 -> fun size2 -> let time = 45. + (0.5 * (size1 + size2)) in let alloc = 8.00048828125 + (0.499999761581 * (size1 + size2)) in max 10 (max time alloc) *) let cost_N_IConcat_string_pair_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in ((size1 + size2) lsr 1) + S.safe_int 45 (* model interpreter/N_IConcat_string_synthesized *) (* fun size1 -> fun size2 -> let time = (33.8372093413 + (0. * size1)) + (0.089723875507 * size2) in let alloc = (6.82629751442 + (0. * size1)) + (0.500114619383 * size2) in max 10 (max time alloc) *) let cost_N_IConcat_string_synthesized _size1 size2 = let size2 = S.safe_int size2 in let w1 = size2 lsr 6 in S.max ((size2 lsr 4) + w1 + (size2 lsr 7) + (size2 lsr 8) + S.safe_int 35) ((size2 lsr 1) + w1 + S.safe_int 10) (* model interpreter/N_ICons_list *) (* max 10 10. *) let cost_N_ICons_list = S.safe_int 10 (* model interpreter/N_ICons_list_alloc *) (* max 10 24. *) let cost_N_ICons_list_alloc = S.safe_int 25 (* model interpreter/N_ICons_list_synthesized *) (* let time = 10. in let alloc = 24. in max 10 (max time alloc) *) let cost_N_ICons_list_synthesized = S.safe_int 25 (* model interpreter/N_ICons_none *) (* max 10 10. *) let cost_N_ICons_none = S.safe_int 10 (* model interpreter/N_ICons_none_alloc *) (* max 10 12. *) let cost_N_ICons_none_alloc = S.safe_int 15 (* model interpreter/N_ICons_none_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_ICons_none_synthesized = S.safe_int 15 (* model interpreter/N_ICons_pair *) (* max 10 10. *) let cost_N_ICons_pair = S.safe_int 10 (* model interpreter/N_ICons_pair_alloc *) (* max 10 12. *) let cost_N_ICons_pair_alloc = S.safe_int 15 (* model interpreter/N_ICons_pair_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_ICons_pair_synthesized = S.safe_int 15 (* model interpreter/N_ICons_some *) (* max 10 10. *) let cost_N_ICons_some = S.safe_int 10 (* model interpreter/N_ICons_some_alloc *) (* max 10 8. *) let cost_N_ICons_some_alloc = S.safe_int 10 (* model interpreter/N_ICons_some_synthesized *) (* let time = 10. in let alloc = 8. in max 10 (max time alloc) *) let cost_N_ICons_some_synthesized = S.safe_int 10 (* model interpreter/N_IContract_alloc *) (* max 10 16. *) let cost_N_IContract_alloc = S.safe_int 20 (* model interpreter/N_IContract_synthesized *) (* let time = 30. in let alloc = 16. in max 10 (max time alloc) *) let cost_N_IContract_synthesized = S.safe_int 30 (* model interpreter/N_ICreate_contract_alloc *) (* max 10 196. *) let cost_N_ICreate_contract_alloc = S.safe_int 200 (* model interpreter/N_ICreate_contract_synthesized *) (* let time = 60. in let alloc = 196. in max 10 (max time alloc) *) let cost_N_ICreate_contract_synthesized = S.safe_int 200 (* model interpreter/N_IDiff_timestamps *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_IDiff_timestamps size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IDiff_timestamps_alloc *) (* fun size1 -> fun size2 -> max 10 (17.5501373306 + (0.500211925836 * (max size1 size2))) *) let cost_N_IDiff_timestamps_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_IDiff_timestamps_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 17.5501373306 + (0.500211925836 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IDiff_timestamps_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 20) (* model interpreter/N_IDig *) (* fun size -> max 10 (30. + (6.75 * size)) *) let cost_N_IDig size = let size = S.safe_int size in (size lsr 1) + (size lsr 2) + (size * S.safe_int 6) + S.safe_int 30 (* model interpreter/N_IDig_alloc *) (* fun size -> max 10 (11.9761359318 + (12.005966017 * size)) *) let cost_N_IDig_alloc size = let size = S.safe_int size in (size lsr 2) + (size * S.safe_int 12) + S.safe_int 15 (* model interpreter/N_IDig_synthesized *) (* fun size -> let time = 30. + (6.75 * size) in let alloc = 11.9761359318 + (12.005966017 * size) in max 10 (max time alloc) *) let cost_N_IDig_synthesized size = let size = S.safe_int size in let w1 = size lsr 2 in S.max ((size lsr 1) + w1 + (size * S.safe_int 6) + S.safe_int 30) (w1 + (size * S.safe_int 12) + S.safe_int 15) (* model interpreter/N_IDip *) (* max 10 10. *) let cost_N_IDip = S.safe_int 10 (* model interpreter/N_IDipN *) (* fun size -> max 10 (15. + (4. * size)) *) let cost_N_IDipN size = let size = S.safe_int size in (size * S.safe_int 4) + S.safe_int 15 (* model interpreter/N_IDipN_alloc *) (* fun size -> max 10 (0.00283557047624 + (11.9999972146 * size)) *) let cost_N_IDipN_alloc size = let size = S.safe_int size in S.max (S.safe_int 10) (size * S.safe_int 12) (* model interpreter/N_IDipN_synthesized *) (* fun size -> let time = 15. + (4. * size) in let alloc = 0.00283557047624 + (11.9999972146 * size) in max 10 (max time alloc) *) let cost_N_IDipN_synthesized size = let size = S.safe_int size in S.max ((size * S.safe_int 4) + S.safe_int 15) (size * S.safe_int 12) (* model interpreter/N_IDip_alloc *) (* max 10 0. *) let cost_N_IDip_alloc = S.safe_int 10 (* model interpreter/N_IDip_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IDip_synthesized = S.safe_int 10 (* model interpreter/N_IDrop *) (* max 10 10. *) let cost_N_IDrop = S.safe_int 10 (* model interpreter/N_IDropN_alloc *) (* fun size -> max 10 ((((0. * (min 300 size)) + (0. * (sub (min 400 size) 300))) + (0. * (sub size 400))) + 0.) *) let cost_N_IDropN_alloc _size = S.safe_int 10 (* model interpreter/N_IDropN_synthesized *) (* fun size -> let time = (((2.625 * (min 300 size)) + (8.74162478422 * (sub (min 400 size) 300))) + (3.26994250393 * (sub size 400))) + 30. in let alloc = (((0. * (min 300 size)) + (0. * (sub (min 400 size) 300))) + (0. * (sub size 400))) + 0. in max 10 (max time alloc) *) let cost_N_IDropN_synthesized size = let size = S.safe_int size in let w2 = S.sub size (S.safe_int 400) in let w3 = S.min (S.safe_int 300) size in let w1 = S.sub (S.min (S.safe_int 400) size) (S.safe_int 300) in (w1 * S.safe_int 8) + (w2 * S.safe_int 3) + (w3 * S.safe_int 2) + (w1 lsr 1) + (w1 lsr 2) + (w2 lsr 2) + (w2 lsr 4) + (w3 lsr 1) + (w3 lsr 3) + S.safe_int 30 (* model interpreter/N_IDrop_alloc *) (* max 10 0. *) let cost_N_IDrop_alloc = S.safe_int 10 (* model interpreter/N_IDrop_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IDrop_synthesized = S.safe_int 10 (* model interpreter/N_IDug *) (* fun size -> max 10 (35. + (6.75 * size)) *) let cost_N_IDug size = let size = S.safe_int size in (size lsr 1) + (size lsr 2) + (size * S.safe_int 6) + S.safe_int 35 (* model interpreter/N_IDug_alloc *) (* fun size -> max 10 (11.9761359318 + (12.005966017 * size)) *) let cost_N_IDug_alloc size = let size = S.safe_int size in (size lsr 2) + (size * S.safe_int 12) + S.safe_int 15 (* model interpreter/N_IDug_synthesized *) (* fun size -> let time = 35. + (6.75 * size) in let alloc = 11.9761359318 + (12.005966017 * size) in max 10 (max time alloc) *) let cost_N_IDug_synthesized size = let size = S.safe_int size in let w1 = size lsr 2 in S.max ((size lsr 1) + w1 + (size * S.safe_int 6) + S.safe_int 35) (w1 + (size * S.safe_int 12) + S.safe_int 15) (* model interpreter/N_IDup *) (* max 10 10. *) let cost_N_IDup = S.safe_int 10 (* model interpreter/N_IDupN_alloc *) (* fun size -> let size = sub size 1 in max 10 ((((0. * (min 300 size)) + (0. * (sub (min 400 size) 300))) + (0. * (sub size 400))) + 12.) *) let cost_N_IDupN_alloc _size = S.safe_int 15 (* model interpreter/N_IDupN_synthesized *) (* fun size -> let time = let size = sub size 1 in (((1.25 * (min 300 size)) + (4.8094437716 * (sub (min 400 size) 300))) + (2.13759591646 * (sub size 400))) + 20. in let alloc = let size = sub size 1 in (((0. * (min 300 size)) + (0. * (sub (min 400 size) 300))) + (0. * (sub size 400))) + 12. in max 10 (max time alloc) *) let cost_N_IDupN_synthesized size = let size = S.safe_int size in let w3 = S.sub size (S.safe_int 1) in let w1 = S.sub w3 (S.safe_int 400) in let w4 = S.min (S.safe_int 300) w3 in let w2 = S.sub (S.min (S.safe_int 400) w3) (S.safe_int 300) in (w1 * S.safe_int 2) + (w2 * S.safe_int 4) + w4 + (w1 lsr 3) + (w1 lsr 4) + (w2 lsr 1) + (w2 lsr 2) + (w2 lsr 3) + (w4 lsr 2) + S.safe_int 20 (* model interpreter/N_IDup_alloc *) (* max 10 12. *) let cost_N_IDup_alloc = S.safe_int 15 (* model interpreter/N_IDup_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IDup_synthesized = S.safe_int 15 (* model interpreter/N_IEdiv_int *) (* fun size1 -> fun size2 -> let q = sub size1 size2 in max 10 (((((0.0010986328125 * q) * size2) + (1.25 * size1)) + (12. * q)) + 150.) *) let cost_N_IEdiv_int size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub size1 size2 in (w1 * S.safe_int 12) + (((w1 lsr 10) + (w1 lsr 13)) * size2) + (size1 lsr 2) + size1 + S.safe_int 150 (* model interpreter/N_IEdiv_int_alloc *) (* fun size1 -> fun size2 -> max 10 (47.5167186214 + (0.500572259393 * (max size1 size2))) *) let cost_N_IEdiv_int_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 50 (* model interpreter/N_IEdiv_int_synthesized *) (* fun size1 -> fun size2 -> let time = let q = sub size1 size2 in ((((0.0010986328125 * q) * size2) + (1.25 * size1)) + (12. * q)) + 150. in let alloc = 47.5167186214 + (0.500572259393 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IEdiv_int_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub size1 size2 in let w2 = S.max size1 size2 in S.max ((w1 * S.safe_int 12) + (((w1 lsr 10) + (w1 lsr 13)) * size2) + (size1 lsr 2) + size1 + S.safe_int 150) ((w2 lsr 1) + (w2 lsr 6) + S.safe_int 50) (* model interpreter/N_IEdiv_nat *) (* fun size1 -> fun size2 -> let q = sub size1 size2 in max 10 (((((0.0010986328125 * q) * size2) + (1.25 * size1)) + (12. * q)) + 150.) *) let cost_N_IEdiv_nat size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub size1 size2 in (w1 * S.safe_int 12) + (((w1 lsr 10) + (w1 lsr 13)) * size2) + (size1 lsr 2) + size1 + S.safe_int 150 (* model interpreter/N_IEdiv_nat_alloc *) (* fun size1 -> fun size2 -> max 10 ((if size2 < size1 then (0.500667315975 * size1) + (0. * size2) else 0) + 40.6929981256) *) let cost_N_IEdiv_nat_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (if size2 < size1 then (size1 lsr 1) + (size1 lsr 6) else S.safe_int 0) + S.safe_int 45 (* model interpreter/N_IEdiv_nat_synthesized *) (* fun size1 -> fun size2 -> let time = let q = sub size1 size2 in ((((0.0010986328125 * q) * size2) + (1.25 * size1)) + (12. * q)) + 150. in let alloc = (if size2 < size1 then (0.500667315975 * size1) + (0. * size2) else 0) + 40.6929981256 in max 10 (max time alloc) *) let cost_N_IEdiv_nat_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub size1 size2 in S.max ((w1 * S.safe_int 12) + (((w1 lsr 10) + (w1 lsr 13)) * size2) + (size1 lsr 2) + size1 + S.safe_int 150) ((if size2 < size1 then (size1 lsr 1) + (size1 lsr 6) else S.safe_int 0) + S.safe_int 45) (* model interpreter/N_IEdiv_tez *) (* max 10 80. *) let cost_N_IEdiv_tez = S.safe_int 80 (* model interpreter/N_IEdiv_tez_alloc *) (* max 10 32. *) let cost_N_IEdiv_tez_alloc = S.safe_int 35 (* model interpreter/N_IEdiv_tez_synthesized *) (* let time = 80. in let alloc = 32. in max 10 (max time alloc) *) let cost_N_IEdiv_tez_synthesized = S.safe_int 80 (* model interpreter/N_IEdiv_teznat *) (* max 10 70. *) let cost_N_IEdiv_teznat = S.safe_int 70 (* model interpreter/N_IEdiv_teznat_alloc *) (* max 10 44. *) let cost_N_IEdiv_teznat_alloc = S.safe_int 45 (* model interpreter/N_IEdiv_teznat_synthesized *) (* let time = 70. in let alloc = 44. in max 10 (max time alloc) *) let cost_N_IEdiv_teznat_synthesized = S.safe_int 70 (* model interpreter/N_IEmit_alloc *) (* max 10 124. *) let cost_N_IEmit_alloc = S.safe_int 125 (* model interpreter/N_IEmit_synthesized *) (* let time = 30. in let alloc = 124. in max 10 (max time alloc) *) let cost_N_IEmit_synthesized = S.safe_int 125 (* model interpreter/N_IEmpty_big_map *) (* max 10 300. *) let cost_N_IEmpty_big_map = S.safe_int 300 (* model interpreter/N_IEmpty_big_map_alloc *) (* max 10 44. *) let cost_N_IEmpty_big_map_alloc = S.safe_int 45 (* model interpreter/N_IEmpty_big_map_synthesized *) (* let time = 300. in let alloc = 44. in max 10 (max time alloc) *) let cost_N_IEmpty_big_map_synthesized = S.safe_int 300 (* model interpreter/N_IEmpty_map *) (* max 10 300. *) let cost_N_IEmpty_map = S.safe_int 300 (* model interpreter/N_IEmpty_map_alloc *) (* max 10 248. *) let cost_N_IEmpty_map_alloc = S.safe_int 250 (* model interpreter/N_IEmpty_map_synthesized *) (* let time = 300. in let alloc = 248. in max 10 (max time alloc) *) let cost_N_IEmpty_map_synthesized = S.safe_int 300 (* model interpreter/N_IEmpty_set *) (* max 10 300. *) let cost_N_IEmpty_set = S.safe_int 300 (* model interpreter/N_IEmpty_set_alloc *) (* max 10 184. *) let cost_N_IEmpty_set_alloc = S.safe_int 185 (* model interpreter/N_IEmpty_set_synthesized *) (* let time = 300. in let alloc = 184. in max 10 (max time alloc) *) let cost_N_IEmpty_set_synthesized = S.safe_int 300 (* model interpreter/N_IEq *) (* max 10 10. *) let cost_N_IEq = S.safe_int 10 (* model interpreter/N_IEq_alloc *) (* max 10 0. *) let cost_N_IEq_alloc = S.safe_int 10 (* model interpreter/N_IEq_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IEq_synthesized = S.safe_int 10 (* model interpreter/N_IExec *) (* max 10 10. *) let cost_N_IExec = S.safe_int 10 (* model interpreter/N_IExec_alloc *) (* max 10 0. *) let cost_N_IExec_alloc = S.safe_int 10 (* model interpreter/N_IExec_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IExec_synthesized = S.safe_int 10 (* model interpreter/N_IFailwith *) (* max 10 167.455190659 *) let cost_N_IFailwith = S.safe_int 170 (* model interpreter/N_IFailwith_alloc *) (* max 10 0. *) let cost_N_IFailwith_alloc = S.safe_int 10 (* model interpreter/N_IFailwith_synthesized *) (* let time = 167.455190659 in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IFailwith_synthesized = S.safe_int 170 (* model interpreter/N_IGe *) (* max 10 10. *) let cost_N_IGe = S.safe_int 10 (* model interpreter/N_IGe_alloc *) (* max 10 0. *) let cost_N_IGe_alloc = S.safe_int 10 (* model interpreter/N_IGe_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IGe_synthesized = S.safe_int 10 (* model interpreter/N_IGt *) (* max 10 10. *) let cost_N_IGt = S.safe_int 10 (* model interpreter/N_IGt_alloc *) (* max 10 0. *) let cost_N_IGt_alloc = S.safe_int 10 (* model interpreter/N_IGt_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IGt_synthesized = S.safe_int 10 (* model interpreter/N_IHalt *) (* max 10 15. *) let cost_N_IHalt = S.safe_int 15 (* model interpreter/N_IHalt_alloc *) (* max 10 0. *) let cost_N_IHalt_alloc = S.safe_int 10 (* model interpreter/N_IHalt_synthesized *) (* let time = 15. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IHalt_synthesized = S.safe_int 15 (* model interpreter/N_IHash_key *) (* max 10 605. *) let cost_N_IHash_key = S.safe_int 605 (* model interpreter/N_IHash_key_alloc *) (* max 10 32. *) let cost_N_IHash_key_alloc = S.safe_int 35 (* model interpreter/N_IHash_key_synthesized *) (* let time = 605. in let alloc = 32. in max 10 (max time alloc) *) let cost_N_IHash_key_synthesized = S.safe_int 605 (* model interpreter/N_IIf *) (* max 10 10. *) let cost_N_IIf = S.safe_int 10 (* model interpreter/N_IIf_alloc *) (* max 10 0. *) let cost_N_IIf_alloc = S.safe_int 10 (* model interpreter/N_IIf_cons *) (* max 10 10. *) let cost_N_IIf_cons = S.safe_int 10 (* model interpreter/N_IIf_cons_alloc *) (* max 10 0. *) let cost_N_IIf_cons_alloc = S.safe_int 10 (* model interpreter/N_IIf_cons_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IIf_cons_synthesized = S.safe_int 10 (* model interpreter/N_IIf_left *) (* max 10 10. *) let cost_N_IIf_left = S.safe_int 10 (* model interpreter/N_IIf_left_alloc *) (* max 10 0. *) let cost_N_IIf_left_alloc = S.safe_int 10 (* model interpreter/N_IIf_left_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IIf_left_synthesized = S.safe_int 10 (* model interpreter/N_IIf_none *) (* max 10 10. *) let cost_N_IIf_none = S.safe_int 10 (* model interpreter/N_IIf_none_alloc *) (* max 10 0. *) let cost_N_IIf_none_alloc = S.safe_int 10 (* model interpreter/N_IIf_none_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IIf_none_synthesized = S.safe_int 10 (* model interpreter/N_IIf_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IIf_synthesized = S.safe_int 10 (* model interpreter/N_IImplicit_account *) (* max 10 10. *) let cost_N_IImplicit_account = S.safe_int 10 (* model interpreter/N_IImplicit_account_alloc *) (* max 10 8. *) let cost_N_IImplicit_account_alloc = S.safe_int 10 (* model interpreter/N_IImplicit_account_synthesized *) (* let time = 10. in let alloc = 8. in max 10 (max time alloc) *) let cost_N_IImplicit_account_synthesized = S.safe_int 10 (* model interpreter/N_IInt_bls12_381_z_fr *) (* max 10 115. *) let cost_N_IInt_bls12_381_z_fr = S.safe_int 115 (* model interpreter/N_IInt_bls12_381_z_fr_alloc *) (* max 10 28. *) let cost_N_IInt_bls12_381_z_fr_alloc = S.safe_int 30 (* model interpreter/N_IInt_bls12_381_z_fr_synthesized *) (* let time = 115. in let alloc = 28. in max 10 (max time alloc) *) let cost_N_IInt_bls12_381_z_fr_synthesized = S.safe_int 115 (* model interpreter/N_IInt_bytes *) (* fun size -> max 10 (20. + (2.5 * size)) *) let cost_N_IInt_bytes size = let size = S.safe_int size in (size lsr 1) + (size * S.safe_int 2) + S.safe_int 20 (* model interpreter/N_IInt_bytes_alloc *) (* fun size -> max 10 (15.3727158555 + (0.505091365778 * size)) *) let cost_N_IInt_bytes_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 15 (* model interpreter/N_IInt_bytes_synthesized *) (* fun size -> let time = 20. + (2.5 * size) in let alloc = 15.3727158555 + (0.505091365778 * size) in max 10 (max time alloc) *) let cost_N_IInt_bytes_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + (size * S.safe_int 2) + S.safe_int 20) (w1 + (size lsr 6) + S.safe_int 15) (* model interpreter/N_IInt_nat *) (* max 10 10. *) let cost_N_IInt_nat = S.safe_int 10 (* model interpreter/N_IInt_nat_alloc *) (* max 10 0. *) let cost_N_IInt_nat_alloc = S.safe_int 10 (* model interpreter/N_IInt_nat_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IInt_nat_synthesized = S.safe_int 10 (* model interpreter/N_IIs_nat *) (* max 10 10. *) let cost_N_IIs_nat = S.safe_int 10 (* model interpreter/N_IIs_nat_alloc *) (* max 10 8. *) let cost_N_IIs_nat_alloc = S.safe_int 10 (* model interpreter/N_IIs_nat_synthesized *) (* let time = 10. in let alloc = 8. in max 10 (max time alloc) *) let cost_N_IIs_nat_synthesized = S.safe_int 10 (* model interpreter/N_IJoin_tickets *) (* fun content_size_x -> fun content_size_y -> fun amount_size_x -> fun amount_size_y -> max 10 ((88.1705426747 + (0. * (min content_size_x content_size_y))) + (0.0788934824125 * (max amount_size_x amount_size_y))) *) let cost_N_IJoin_tickets _content_size_x _content_size_y amount_size_x amount_size_y = let amount_size_x = S.safe_int amount_size_x in let amount_size_y = S.safe_int amount_size_y in let w1 = S.max amount_size_x amount_size_y in (w1 lsr 4) + (w1 lsr 6) + (w1 lsr 9) + S.safe_int 90 (* model interpreter/N_IJoin_tickets_alloc *) (* fun content_size_x -> fun content_size_y -> fun amount_size_x -> fun amount_size_y -> max 10 (42.1137922063 + (0.500124881342 * (max amount_size_x amount_size_y))) *) let cost_N_IJoin_tickets_alloc _content_size_x _content_size_y amount_size_x amount_size_y = let amount_size_x = S.safe_int amount_size_x in let amount_size_y = S.safe_int amount_size_y in let w1 = S.max amount_size_x amount_size_y in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 45 (* model interpreter/N_IJoin_tickets_synthesized *) (* fun content_size_x -> fun content_size_y -> fun amount_size_x -> fun amount_size_y -> let time = (88.1705426747 + (0. * (min content_size_x content_size_y))) + (0.0788934824125 * (max amount_size_x amount_size_y)) in let alloc = 42.1137922063 + (0.500124881342 * (max amount_size_x amount_size_y)) in max 10 (max time alloc) *) let cost_N_IJoin_tickets_synthesized _content_size_x _content_size_y amount_size_x amount_size_y = let amount_size_x = S.safe_int amount_size_x in let amount_size_y = S.safe_int amount_size_y in let w1 = S.max amount_size_x amount_size_y in let w2 = w1 lsr 6 in S.max ((w1 lsr 4) + w2 + (w1 lsr 9) + S.safe_int 90) ((w1 lsr 1) + w2 + S.safe_int 45) (* model interpreter/N_IKeccak *) (* fun size -> max 10 (1350. + (8.25 * size)) *) let cost_N_IKeccak size = let size = S.safe_int size in (size lsr 2) + (size * S.safe_int 8) + S.safe_int 1350 (* model interpreter/N_IKeccak_alloc *) (* fun size -> max 10 24. *) let cost_N_IKeccak_alloc _size = S.safe_int 25 (* model interpreter/N_IKeccak_synthesized *) (* fun size -> let time = 1350. + (8.25 * size) in let alloc = 24. in max 10 (max time alloc) *) let cost_N_IKeccak_synthesized size = let size = S.safe_int size in (size lsr 2) + (size * S.safe_int 8) + S.safe_int 1350 (* model interpreter/N_ILambda *) (* max 10 (max 10. 10.) *) let cost_N_ILambda = S.safe_int 10 (* model interpreter/N_ILambda_lam *) (* max 10 10. *) let cost_N_ILambda_lam = S.safe_int 10 (* model interpreter/N_ILambda_lam_alloc *) (* max 10 68. *) let cost_N_ILambda_lam_alloc = S.safe_int 70 (* model interpreter/N_ILambda_lam_synthesized *) (* let time = 10. in let alloc = 68. in max 10 (max time alloc) *) let cost_N_ILambda_lam_synthesized = S.safe_int 70 (* model interpreter/N_ILambda_lamrec *) (* max 10 10. *) let cost_N_ILambda_lamrec = S.safe_int 10 (* model interpreter/N_ILambda_lamrec_alloc *) (* max 10 140. *) let cost_N_ILambda_lamrec_alloc = S.safe_int 140 (* model interpreter/N_ILambda_lamrec_synthesized *) (* let time = 10. in let alloc = 140. in max 10 (max time alloc) *) let cost_N_ILambda_lamrec_synthesized = S.safe_int 140 (* model interpreter/N_ILe *) (* max 10 10. *) let cost_N_ILe = S.safe_int 10 (* model interpreter/N_ILe_alloc *) (* max 10 0. *) let cost_N_ILe_alloc = S.safe_int 10 (* model interpreter/N_ILe_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ILe_synthesized = S.safe_int 10 (* model interpreter/N_ILeft *) (* max 10 10. *) let cost_N_ILeft = S.safe_int 10 (* model interpreter/N_ILeft_alloc *) (* max 10 8. *) let cost_N_ILeft_alloc = S.safe_int 10 (* model interpreter/N_ILeft_synthesized *) (* let time = 10. in let alloc = 8. in max 10 (max time alloc) *) let cost_N_ILeft_synthesized = S.safe_int 10 (* model interpreter/N_ILevel *) (* max 10 10. *) let cost_N_ILevel = S.safe_int 10 (* model interpreter/N_ILevel_alloc *) (* max 10 12. *) let cost_N_ILevel_alloc = S.safe_int 15 (* model interpreter/N_ILevel_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_ILevel_synthesized = S.safe_int 15 (* model interpreter/N_IList_iter *) (* max 10 20. *) let cost_N_IList_iter = S.safe_int 20 (* model interpreter/N_IList_iter_alloc *) (* max 10 0. *) let cost_N_IList_iter_alloc = S.safe_int 10 (* model interpreter/N_IList_iter_synthesized *) (* let time = 20. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IList_iter_synthesized = S.safe_int 20 (* model interpreter/N_IList_map *) (* max 10 20. *) let cost_N_IList_map = S.safe_int 20 (* model interpreter/N_IList_map_alloc *) (* max 10 1. *) let cost_N_IList_map_alloc = S.safe_int 10 (* model interpreter/N_IList_map_synthesized *) (* let time = 20. in let alloc = 1. in max 10 (max time alloc) *) let cost_N_IList_map_synthesized = S.safe_int 20 (* model interpreter/N_IList_size *) (* max 10 10. *) let cost_N_IList_size = S.safe_int 10 (* model interpreter/N_IList_size_alloc *) (* max 10 0. *) let cost_N_IList_size_alloc = S.safe_int 10 (* model interpreter/N_IList_size_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IList_size_synthesized = S.safe_int 10 (* model interpreter/N_ILoop *) (* max 10 (max 10. 1.01451868265) *) let cost_N_ILoop = S.safe_int 10 (* model interpreter/N_ILoop_in *) (* max 10 10. *) let cost_N_ILoop_in = S.safe_int 10 (* model interpreter/N_ILoop_in_alloc *) (* max 10 0. *) let cost_N_ILoop_in_alloc = S.safe_int 10 (* model interpreter/N_ILoop_in_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ILoop_in_synthesized = S.safe_int 10 (* model interpreter/N_ILoop_left *) (* max 10 (max 10. 10.) *) let cost_N_ILoop_left = S.safe_int 10 (* model interpreter/N_ILoop_left_in *) (* max 10 10. *) let cost_N_ILoop_left_in = S.safe_int 10 (* model interpreter/N_ILoop_left_in_alloc *) (* max 10 0. *) let cost_N_ILoop_left_in_alloc = S.safe_int 10 (* model interpreter/N_ILoop_left_in_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ILoop_left_in_synthesized = S.safe_int 10 (* model interpreter/N_ILoop_left_out *) (* max 10 10. *) let cost_N_ILoop_left_out = S.safe_int 10 (* model interpreter/N_ILoop_left_out_alloc *) (* max 10 0. *) let cost_N_ILoop_left_out_alloc = S.safe_int 10 (* model interpreter/N_ILoop_left_out_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ILoop_left_out_synthesized = S.safe_int 10 (* model interpreter/N_ILoop_out *) (* max 10 1.01451868265 *) let cost_N_ILoop_out = S.safe_int 10 (* model interpreter/N_ILoop_out_alloc *) (* max 10 0. *) let cost_N_ILoop_out_alloc = S.safe_int 10 (* model interpreter/N_ILoop_out_synthesized *) (* let time = 1.01451868265 in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ILoop_out_synthesized = S.safe_int 10 (* model interpreter/N_ILsl_bytes_alloc *) (* fun size1 -> fun size2 -> max 10 ((11.757438371 + (0.500014421862 * size1)) + (0.0624426926223 * (sub size2 1))) *) let cost_N_ILsl_bytes_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.sub size2 (S.safe_int 1) lsr 4) + (size1 lsr 1) + (size1 lsr 6) + S.safe_int 15 (* model interpreter/N_ILsl_bytes_synthesized *) (* fun size1 -> fun size2 -> let time = (65. + (0.75 * size1)) + (0.0625 * (sub size2 1)) in let alloc = (11.757438371 + (0.500014421862 * size1)) + (0.0624426926223 * (sub size2 1)) in max 10 (max time alloc) *) let cost_N_ILsl_bytes_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = (S.sub size2 (S.safe_int 1) lsr 4) + (size1 lsr 1) in S.max (w1 + (size1 lsr 2) + S.safe_int 65) (w1 + (size1 lsr 6) + S.safe_int 15) (* model interpreter/N_ILsl_nat_alloc *) (* fun size -> max 10 (29.0640101265 + (0.500355618928 * size)) *) let cost_N_ILsl_nat_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 30 (* model interpreter/N_ILsl_nat_synthesized *) (* fun size -> let time = 128. + (0.5 * size) in let alloc = 29.0640101265 + (0.500355618928 * size) in max 10 (max time alloc) *) let cost_N_ILsl_nat_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + S.safe_int 130) (w1 + (size lsr 6) + S.safe_int 30) (* model interpreter/N_ILsr_bytes *) (* fun size1 -> fun size2 -> let q = sub size1 (size2 * 0.125) in max 10 (55. + (0.75 * q)) *) let cost_N_ILsr_bytes size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub size1 (size2 lsr 3) in (w1 lsr 1) + (w1 lsr 2) + S.safe_int 55 (* model interpreter/N_ILsr_bytes_alloc *) (* fun size1 -> fun size2 -> let q = sub size1 (size2 * 0.125) in max 10 (11.1748222186 + (0.499974561517 * q)) *) let cost_N_ILsr_bytes_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.sub size1 (size2 lsr 3) lsr 1) + S.safe_int 15 (* model interpreter/N_ILsr_bytes_synthesized *) (* fun size1 -> fun size2 -> let time = let q = sub size1 (size2 * 0.125) in 55. + (0.75 * q) in let alloc = let q = sub size1 (size2 * 0.125) in 11.1748222186 + (0.499974561517 * q) in max 10 (max time alloc) *) let cost_N_ILsr_bytes_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub size1 (size2 lsr 3) in (w1 lsr 1) + (w1 lsr 2) + S.safe_int 55 (* model interpreter/N_ILsr_nat *) (* fun size -> max 10 (45. + (0.5 * size)) *) let cost_N_ILsr_nat size = let size = S.safe_int size in (size lsr 1) + S.safe_int 45 (* model interpreter/N_ILsr_nat_alloc *) (* fun size -> max 10 (19.6693071446 + (0.500176652166 * size)) *) let cost_N_ILsr_nat_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 20 (* model interpreter/N_ILsr_nat_synthesized *) (* fun size -> let time = 45. + (0.5 * size) in let alloc = 19.6693071446 + (0.500176652166 * size) in max 10 (max time alloc) *) let cost_N_ILsr_nat_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + S.safe_int 45) (w1 + (size lsr 6) + S.safe_int 20) (* model interpreter/N_ILt *) (* max 10 10. *) let cost_N_ILt = S.safe_int 10 (* model interpreter/N_ILt_alloc *) (* max 10 0. *) let cost_N_ILt_alloc = S.safe_int 10 (* model interpreter/N_ILt_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ILt_synthesized = S.safe_int 10 (* model interpreter/N_IMap_get *) (* fun size1 -> fun size2 -> max 10 (45. + (0.046875 * (size1 * (log2 (1 + size2))))) *) let cost_N_IMap_get size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 5) + (w3 lsr 6) + S.safe_int 45 (* model interpreter/N_IMap_get_alloc *) (* fun size1 -> fun size2 -> max 10 8. *) let cost_N_IMap_get_alloc _size1 _size2 = S.safe_int 10 (* model interpreter/N_IMap_get_and_update *) (* fun size1 -> fun size2 -> max 10 (75. + (0.140625 * (size1 * (log2 (1 + size2))))) *) let cost_N_IMap_get_and_update size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 3) + (w3 lsr 6) + S.safe_int 75 (* model interpreter/N_IMap_get_and_update_alloc *) (* fun size1 -> fun size2 -> max 10 ((27.8275684249 * (log2 (1 + size2))) + 90.906332394) *) let cost_N_IMap_get_and_update_alloc _size1 size2 = let size2 = S.safe_int size2 in (log2 (size2 + S.safe_int 1) * S.safe_int 28) + S.safe_int 95 (* model interpreter/N_IMap_get_and_update_synthesized *) (* fun size1 -> fun size2 -> let time = 75. + (0.140625 * (size1 * (log2 (1 + size2)))) in let alloc = (27.8275684249 * (log2 (1 + size2))) + 90.906332394 in max 10 (max time alloc) *) let cost_N_IMap_get_and_update_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in let w3 = w1 * size1 in S.max ((w3 lsr 3) + (w3 lsr 6) + S.safe_int 75) ((w1 * S.safe_int 28) + S.safe_int 95) (* model interpreter/N_IMap_get_synthesized *) (* fun size1 -> fun size2 -> let time = 45. + (0.046875 * (size1 * (log2 (1 + size2)))) in let alloc = 8. in max 10 (max time alloc) *) let cost_N_IMap_get_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 5) + (w3 lsr 6) + S.safe_int 45 (* model interpreter/N_IMap_iter *) (* fun size -> max 10 (50. + (7.625 * size)) *) let cost_N_IMap_iter size = let size = S.safe_int size in (size lsr 1) + (size lsr 3) + (size * S.safe_int 7) + S.safe_int 50 (* model interpreter/N_IMap_iter_alloc *) (* fun size -> max 10 0. *) let cost_N_IMap_iter_alloc _size = S.safe_int 10 (* model interpreter/N_IMap_iter_synthesized *) (* fun size -> let time = 50. + (7.625 * size) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IMap_iter_synthesized size = let size = S.safe_int size in (size lsr 1) + (size lsr 3) + (size * S.safe_int 7) + S.safe_int 50 (* model interpreter/N_IMap_map *) (* fun size -> max 10 (40. + (8.5 * size)) *) let cost_N_IMap_map size = let size = S.safe_int size in (size lsr 1) + (size * S.safe_int 8) + S.safe_int 40 (* model interpreter/N_IMap_map_alloc *) (* fun size -> max 10 0. *) let cost_N_IMap_map_alloc _size = S.safe_int 10 (* model interpreter/N_IMap_map_synthesized *) (* fun size -> let time = 40. + (8.5 * size) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IMap_map_synthesized size = let size = S.safe_int size in (size lsr 1) + (size * S.safe_int 8) + S.safe_int 40 (* model interpreter/N_IMap_mem *) (* fun size1 -> fun size2 -> max 10 (45. + (0.046875 * (size1 * (log2 (1 + size2))))) *) let cost_N_IMap_mem size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 5) + (w3 lsr 6) + S.safe_int 45 (* model interpreter/N_IMap_mem_alloc *) (* fun size1 -> fun size2 -> max 10 0. *) let cost_N_IMap_mem_alloc _size1 _size2 = S.safe_int 10 (* model interpreter/N_IMap_mem_synthesized *) (* fun size1 -> fun size2 -> let time = 45. + (0.046875 * (size1 * (log2 (1 + size2)))) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IMap_mem_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 5) + (w3 lsr 6) + S.safe_int 45 (* model interpreter/N_IMap_size *) (* max 10 10. *) let cost_N_IMap_size = S.safe_int 10 (* model interpreter/N_IMap_size_alloc *) (* max 10 0. *) let cost_N_IMap_size_alloc = S.safe_int 10 (* model interpreter/N_IMap_size_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IMap_size_synthesized = S.safe_int 10 (* model interpreter/N_IMap_update *) (* fun size1 -> fun size2 -> max 10 (55. + (0.09375 * (size1 * (log2 (1 + size2))))) *) let cost_N_IMap_update size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 4) + (w3 lsr 5) + S.safe_int 55 (* model interpreter/N_IMap_update_alloc *) (* fun size1 -> fun size2 -> max 10 ((27.8275684249 * (log2 (1 + size2))) + 78.906332394) *) let cost_N_IMap_update_alloc _size1 size2 = let size2 = S.safe_int size2 in (log2 (size2 + S.safe_int 1) * S.safe_int 28) + S.safe_int 80 (* model interpreter/N_IMap_update_synthesized *) (* fun size1 -> fun size2 -> let time = 55. + (0.09375 * (size1 * (log2 (1 + size2)))) in let alloc = (27.8275684249 * (log2 (1 + size2))) + 78.906332394 in max 10 (max time alloc) *) let cost_N_IMap_update_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in let w3 = w1 * size1 in S.max ((w3 lsr 4) + (w3 lsr 5) + S.safe_int 55) ((w1 * S.safe_int 28) + S.safe_int 80) (* model interpreter/N_IMin_block_time *) (* max 10 20. *) let cost_N_IMin_block_time = S.safe_int 20 (* model interpreter/N_IMin_block_time_alloc *) (* max 10 12. *) let cost_N_IMin_block_time_alloc = S.safe_int 15 (* model interpreter/N_IMin_block_time_synthesized *) (* let time = 20. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IMin_block_time_synthesized = S.safe_int 20 (* model interpreter/N_IMul_bls12_381_fr *) (* max 10 45. *) let cost_N_IMul_bls12_381_fr = S.safe_int 45 (* model interpreter/N_IMul_bls12_381_fr_alloc *) (* max 10 24. *) let cost_N_IMul_bls12_381_fr_alloc = S.safe_int 25 (* model interpreter/N_IMul_bls12_381_fr_synthesized *) (* let time = 45. in let alloc = 24. in max 10 (max time alloc) *) let cost_N_IMul_bls12_381_fr_synthesized = S.safe_int 45 (* model interpreter/N_IMul_bls12_381_fr_z *) (* fun size -> max 10 (265. + (1.0625 * size)) *) let cost_N_IMul_bls12_381_fr_z size = let size = S.safe_int size in (size lsr 4) + size + S.safe_int 265 (* model interpreter/N_IMul_bls12_381_fr_z_alloc *) (* fun size -> max 10 24. *) let cost_N_IMul_bls12_381_fr_z_alloc _size = S.safe_int 25 (* model interpreter/N_IMul_bls12_381_fr_z_synthesized *) (* fun size -> let time = 265. + (1.0625 * size) in let alloc = 24. in max 10 (max time alloc) *) let cost_N_IMul_bls12_381_fr_z_synthesized size = let size = S.safe_int size in (size lsr 4) + size + S.safe_int 265 (* model interpreter/N_IMul_bls12_381_g1 *) (* max 10 103000. *) let cost_N_IMul_bls12_381_g1 = S.safe_int 103000 (* model interpreter/N_IMul_bls12_381_g1_alloc *) (* max 10 80. *) let cost_N_IMul_bls12_381_g1_alloc = S.safe_int 80 (* model interpreter/N_IMul_bls12_381_g1_synthesized *) (* let time = 103000. in let alloc = 80. in max 10 (max time alloc) *) let cost_N_IMul_bls12_381_g1_synthesized = S.safe_int 103000 (* model interpreter/N_IMul_bls12_381_g2 *) (* max 10 220000. *) let cost_N_IMul_bls12_381_g2 = S.safe_int 220000 (* model interpreter/N_IMul_bls12_381_g2_alloc *) (* max 10 152. *) let cost_N_IMul_bls12_381_g2_alloc = S.safe_int 155 (* model interpreter/N_IMul_bls12_381_g2_synthesized *) (* let time = 220000. in let alloc = 152. in max 10 (max time alloc) *) let cost_N_IMul_bls12_381_g2_synthesized = S.safe_int 220000 (* model interpreter/N_IMul_bls12_381_z_fr *) (* fun size -> max 10 (265. + (1.0625 * size)) *) let cost_N_IMul_bls12_381_z_fr size = let size = S.safe_int size in (size lsr 4) + size + S.safe_int 265 (* model interpreter/N_IMul_bls12_381_z_fr_alloc *) (* fun size -> max 10 24. *) let cost_N_IMul_bls12_381_z_fr_alloc _size = S.safe_int 25 (* model interpreter/N_IMul_bls12_381_z_fr_synthesized *) (* fun size -> let time = 265. + (1.0625 * size) in let alloc = 24. in max 10 (max time alloc) *) let cost_N_IMul_bls12_381_z_fr_synthesized size = let size = S.safe_int size in (size lsr 4) + size + S.safe_int 265 (* model interpreter/N_IMul_int *) (* fun size1 -> fun size2 -> let a = size1 + size2 in max 10 ((0.8125 * (a * (log2 (1 + a)))) + 55.) *) let cost_N_IMul_int size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = size1 + size2 in let w4 = log2 (w3 + S.safe_int 1) * w3 in (w4 lsr 1) + (w4 lsr 2) + (w4 lsr 4) + S.safe_int 55 (* model interpreter/N_IMul_int_alloc *) (* fun size1 -> fun size2 -> max 10 (16.9221412881 + (0.500135612537 * (size1 + size2))) *) let cost_N_IMul_int_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = size1 + size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_IMul_int_synthesized *) (* fun size1 -> fun size2 -> let time = let a = size1 + size2 in (0.8125 * (a * (log2 (1 + a)))) + 55. in let alloc = 16.9221412881 + (0.500135612537 * (size1 + size2)) in max 10 (max time alloc) *) let cost_N_IMul_int_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = size1 + size2 in let w4 = log2 (w3 + S.safe_int 1) * w3 in S.max ((w4 lsr 1) + (w4 lsr 2) + (w4 lsr 4) + S.safe_int 55) ((w3 lsr 1) + (w3 lsr 6) + S.safe_int 20) (* model interpreter/N_IMul_nat *) (* fun size1 -> fun size2 -> let a = size1 + size2 in max 10 ((0.8125 * (a * (log2 (1 + a)))) + 55.) *) let cost_N_IMul_nat size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = size1 + size2 in let w4 = log2 (w3 + S.safe_int 1) * w3 in (w4 lsr 1) + (w4 lsr 2) + (w4 lsr 4) + S.safe_int 55 (* model interpreter/N_IMul_nat_alloc *) (* fun size1 -> fun size2 -> max 10 (15.2155091333 + (0.500139029901 * (size1 + size2))) *) let cost_N_IMul_nat_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = size1 + size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 15 (* model interpreter/N_IMul_nat_synthesized *) (* fun size1 -> fun size2 -> let time = let a = size1 + size2 in (0.8125 * (a * (log2 (1 + a)))) + 55. in let alloc = 15.2155091333 + (0.500139029901 * (size1 + size2)) in max 10 (max time alloc) *) let cost_N_IMul_nat_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = size1 + size2 in let w4 = log2 (w3 + S.safe_int 1) * w3 in S.max ((w4 lsr 1) + (w4 lsr 2) + (w4 lsr 4) + S.safe_int 55) ((w3 lsr 1) + (w3 lsr 6) + S.safe_int 15) (* model interpreter/N_IMul_nattez *) (* max 10 50. *) let cost_N_IMul_nattez = S.safe_int 50 (* model interpreter/N_IMul_nattez_alloc *) (* max 10 12. *) let cost_N_IMul_nattez_alloc = S.safe_int 15 (* model interpreter/N_IMul_nattez_synthesized *) (* let time = 50. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IMul_nattez_synthesized = S.safe_int 50 (* model interpreter/N_IMul_teznat *) (* max 10 50. *) let cost_N_IMul_teznat = S.safe_int 50 (* model interpreter/N_IMul_teznat_alloc *) (* max 10 12. *) let cost_N_IMul_teznat_alloc = S.safe_int 15 (* model interpreter/N_IMul_teznat_synthesized *) (* let time = 50. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IMul_teznat_synthesized = S.safe_int 50 (* model interpreter/N_INat_bytes *) (* fun size -> max 10 (45. + (2.5 * size)) *) let cost_N_INat_bytes size = let size = S.safe_int size in (size lsr 1) + (size * S.safe_int 2) + S.safe_int 45 (* model interpreter/N_INat_bytes_alloc *) (* fun size -> max 10 (15.3744531872 + (0.505021872511 * size)) *) let cost_N_INat_bytes_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 15 (* model interpreter/N_INat_bytes_synthesized *) (* fun size -> let time = 45. + (2.5 * size) in let alloc = 15.3744531872 + (0.505021872511 * size) in max 10 (max time alloc) *) let cost_N_INat_bytes_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + (size * S.safe_int 2) + S.safe_int 45) (w1 + (size lsr 6) + S.safe_int 15) (* model interpreter/N_INeg *) (* fun size -> max 10 (25. + (0.5 * size)) *) let cost_N_INeg size = let size = S.safe_int size in (size lsr 1) + S.safe_int 25 (* model interpreter/N_INeg_alloc *) (* fun size -> max 10 (15.6123273039 + (0.500207090115 * size)) *) let cost_N_INeg_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 20 (* model interpreter/N_INeg_bls12_381_fr *) (* max 10 30. *) let cost_N_INeg_bls12_381_fr = S.safe_int 30 (* model interpreter/N_INeg_bls12_381_fr_alloc *) (* max 10 24. *) let cost_N_INeg_bls12_381_fr_alloc = S.safe_int 25 (* model interpreter/N_INeg_bls12_381_fr_synthesized *) (* let time = 30. in let alloc = 24. in max 10 (max time alloc) *) let cost_N_INeg_bls12_381_fr_synthesized = S.safe_int 30 (* model interpreter/N_INeg_bls12_381_g1 *) (* max 10 50. *) let cost_N_INeg_bls12_381_g1 = S.safe_int 50 (* model interpreter/N_INeg_bls12_381_g1_alloc *) (* max 10 80. *) let cost_N_INeg_bls12_381_g1_alloc = S.safe_int 80 (* model interpreter/N_INeg_bls12_381_g1_synthesized *) (* let time = 50. in let alloc = 80. in max 10 (max time alloc) *) let cost_N_INeg_bls12_381_g1_synthesized = S.safe_int 80 (* model interpreter/N_INeg_bls12_381_g2 *) (* max 10 70. *) let cost_N_INeg_bls12_381_g2 = S.safe_int 70 (* model interpreter/N_INeg_bls12_381_g2_alloc *) (* max 10 152. *) let cost_N_INeg_bls12_381_g2_alloc = S.safe_int 155 (* model interpreter/N_INeg_bls12_381_g2_synthesized *) (* let time = 70. in let alloc = 152. in max 10 (max time alloc) *) let cost_N_INeg_bls12_381_g2_synthesized = S.safe_int 155 (* model interpreter/N_INeg_synthesized *) (* fun size -> let time = 25. + (0.5 * size) in let alloc = 15.6123273039 + (0.500207090115 * size) in max 10 (max time alloc) *) let cost_N_INeg_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + S.safe_int 25) (w1 + (size lsr 6) + S.safe_int 20) (* model interpreter/N_INeq *) (* max 10 10. *) let cost_N_INeq = S.safe_int 10 (* model interpreter/N_INeq_alloc *) (* max 10 0. *) let cost_N_INeq_alloc = S.safe_int 10 (* model interpreter/N_INeq_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_INeq_synthesized = S.safe_int 10 (* model interpreter/N_INil *) (* max 10 10. *) let cost_N_INil = S.safe_int 10 (* model interpreter/N_INil_alloc *) (* max 10 12. *) let cost_N_INil_alloc = S.safe_int 15 (* model interpreter/N_INil_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_INil_synthesized = S.safe_int 15 (* model interpreter/N_INot *) (* max 10 10. *) let cost_N_INot = S.safe_int 10 (* model interpreter/N_INot_alloc *) (* max 10 0. *) let cost_N_INot_alloc = S.safe_int 10 (* model interpreter/N_INot_bytes *) (* fun size -> max 10 (30. + (0.5 * size)) *) let cost_N_INot_bytes size = let size = S.safe_int size in (size lsr 1) + S.safe_int 30 (* model interpreter/N_INot_bytes_alloc *) (* fun size -> max 10 (10.5493304199 + (0.499980342588 * size)) *) let cost_N_INot_bytes_alloc size = let size = S.safe_int size in (size lsr 1) + S.safe_int 15 (* model interpreter/N_INot_bytes_synthesized *) (* fun size -> let time = 30. + (0.5 * size) in let alloc = 10.5493304199 + (0.499980342588 * size) in max 10 (max time alloc) *) let cost_N_INot_bytes_synthesized size = let size = S.safe_int size in (size lsr 1) + S.safe_int 30 (* model interpreter/N_INot_int *) (* fun size -> max 10 (25. + (0.5 * size)) *) let cost_N_INot_int size = let size = S.safe_int size in (size lsr 1) + S.safe_int 25 (* model interpreter/N_INot_int_alloc *) (* fun size -> max 10 (19.5017942553 + (0.500266135547 * size)) *) let cost_N_INot_int_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 20 (* model interpreter/N_INot_int_synthesized *) (* fun size -> let time = 25. + (0.5 * size) in let alloc = 19.5017942553 + (0.500266135547 * size) in max 10 (max time alloc) *) let cost_N_INot_int_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + S.safe_int 25) (w1 + (size lsr 6) + S.safe_int 20) (* model interpreter/N_INot_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_INot_synthesized = S.safe_int 10 (* model interpreter/N_INow *) (* max 10 10. *) let cost_N_INow = S.safe_int 10 (* model interpreter/N_INow_alloc *) (* max 10 12. *) let cost_N_INow_alloc = S.safe_int 15 (* model interpreter/N_INow_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_INow_synthesized = S.safe_int 15 (* model interpreter/N_IOpen_chest *) (* fun size1 -> fun size2 -> max 10 ((919000. + (22528. * (sub size1 1))) + (3.25 * size2)) *) let cost_N_IOpen_chest size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.sub size1 (S.safe_int 1) * S.safe_int 22528) + (size2 lsr 2) + (size2 * S.safe_int 3) + S.safe_int 919000 (* model interpreter/N_IOpen_chest_alloc *) (* fun size1 -> fun size2 -> max 10 ((15.4181598756 + (0.25261512656 * (sub size1 1))) + (0.500643059623 * size2)) *) let cost_N_IOpen_chest_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub size1 (S.safe_int 1) in (w1 lsr 2) + (w1 lsr 7) + (size2 lsr 1) + (size2 lsr 6) + S.safe_int 15 (* model interpreter/N_IOpen_chest_synthesized *) (* fun size1 -> fun size2 -> let time = (919000. + (22528. * (sub size1 1))) + (3.25 * size2) in let alloc = (15.4181598756 + (0.25261512656 * (sub size1 1))) + (0.500643059623 * size2) in max 10 (max time alloc) *) let cost_N_IOpen_chest_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.sub size1 (S.safe_int 1) in S.max ((w1 * S.safe_int 22528) + (size2 lsr 2) + (size2 * S.safe_int 3) + S.safe_int 919000) ((w1 lsr 2) + (w1 lsr 7) + (size2 lsr 1) + (size2 lsr 6) + S.safe_int 15) (* model interpreter/N_IOpt_map *) (* max 10 (max 10. 0.) *) let cost_N_IOpt_map = S.safe_int 10 (* model interpreter/N_IOpt_map_none *) (* max 10 10. *) let cost_N_IOpt_map_none = S.safe_int 10 (* model interpreter/N_IOpt_map_none_alloc *) (* max 10 0. *) let cost_N_IOpt_map_none_alloc = S.safe_int 10 (* model interpreter/N_IOpt_map_none_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IOpt_map_none_synthesized = S.safe_int 10 (* model interpreter/N_IOpt_map_some *) (* max 10 0. *) let cost_N_IOpt_map_some = S.safe_int 10 (* model interpreter/N_IOpt_map_some_alloc *) (* max 10 0. *) let cost_N_IOpt_map_some_alloc = S.safe_int 10 (* model interpreter/N_IOpt_map_some_synthesized *) (* let time = 0. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IOpt_map_some_synthesized = S.safe_int 10 (* model interpreter/N_IOr *) (* max 10 10. *) let cost_N_IOr = S.safe_int 10 (* model interpreter/N_IOr_alloc *) (* max 10 0. *) let cost_N_IOr_alloc = S.safe_int 10 (* model interpreter/N_IOr_bytes *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_IOr_bytes size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IOr_bytes_alloc *) (* fun size1 -> fun size2 -> max 10 (10.6873582322 + (0.499979321651 * (max size1 size2))) *) let cost_N_IOr_bytes_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 15 (* model interpreter/N_IOr_bytes_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 10.6873582322 + (0.499979321651 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IOr_bytes_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IOr_nat *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_IOr_nat size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IOr_nat_alloc *) (* fun size1 -> fun size2 -> max 10 (13.9478780796 + (0.500186338819 * (max size1 size2))) *) let cost_N_IOr_nat_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 15 (* model interpreter/N_IOr_nat_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 13.9478780796 + (0.500186338819 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IOr_nat_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 15) (* model interpreter/N_IOr_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IOr_synthesized = S.safe_int 10 (* model interpreter/N_IPairing_check_bls12_381 *) (* fun size -> max 10 (450000. + (342500. * size)) *) let cost_N_IPairing_check_bls12_381 size = let size = S.safe_int size in (size * S.safe_int 344064) + S.safe_int 450000 (* model interpreter/N_IPairing_check_bls12_381_alloc *) (* fun size -> max 10 0. *) let cost_N_IPairing_check_bls12_381_alloc _size = S.safe_int 10 (* model interpreter/N_IPairing_check_bls12_381_synthesized *) (* fun size -> let time = 450000. + (342500. * size) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IPairing_check_bls12_381_synthesized size = let size = S.safe_int size in (size * S.safe_int 344064) + S.safe_int 450000 (* model interpreter/N_IPush *) (* max 10 10. *) let cost_N_IPush = S.safe_int 10 (* model interpreter/N_IPush_alloc *) (* max 10 12. *) let cost_N_IPush_alloc = S.safe_int 15 (* model interpreter/N_IPush_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IPush_synthesized = S.safe_int 15 (* model interpreter/N_IRead_ticket *) (* max 10 10. *) let cost_N_IRead_ticket = S.safe_int 10 (* model interpreter/N_IRead_ticket_alloc *) (* max 10 56. *) let cost_N_IRead_ticket_alloc = S.safe_int 60 (* model interpreter/N_IRead_ticket_synthesized *) (* let time = 10. in let alloc = 56. in max 10 (max time alloc) *) let cost_N_IRead_ticket_synthesized = S.safe_int 60 (* model interpreter/N_IRight *) (* max 10 10. *) let cost_N_IRight = S.safe_int 10 (* model interpreter/N_IRight_alloc *) (* max 10 8. *) let cost_N_IRight_alloc = S.safe_int 10 (* model interpreter/N_IRight_synthesized *) (* let time = 10. in let alloc = 8. in max 10 (max time alloc) *) let cost_N_IRight_synthesized = S.safe_int 10 (* model interpreter/N_ISapling_empty_state *) (* max 10 300. *) let cost_N_ISapling_empty_state = S.safe_int 300 (* model interpreter/N_ISapling_empty_state_alloc *) (* max 10 28. *) let cost_N_ISapling_empty_state_alloc = S.safe_int 30 (* model interpreter/N_ISapling_empty_state_synthesized *) (* let time = 300. in let alloc = 28. in max 10 (max time alloc) *) let cost_N_ISapling_empty_state_synthesized = S.safe_int 300 (* model interpreter/N_ISapling_verify_update *) (* fun size1 -> fun size2 -> max 10 ((432500. + (5740000. * size1)) + (4636500. * size2)) *) let cost_N_ISapling_verify_update size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (size1 * S.safe_int 5767168) + (size2 * S.safe_int 4718592) + S.safe_int 432500 (* model interpreter/N_ISapling_verify_update_alloc *) (* fun size1 -> fun size2 -> max 10 ((50.74 + (12.0173040271 * size1)) + (24.0179324276 * size2)) *) let cost_N_ISapling_verify_update_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (size1 lsr 2) + (size2 lsr 1) + (size1 * S.safe_int 12) + (size2 * S.safe_int 24) + S.safe_int 55 (* model interpreter/N_ISapling_verify_update_synthesized *) (* fun size1 -> fun size2 -> let time = (432500. + (5740000. * size1)) + (4636500. * size2) in let alloc = (50.74 + (12.0173040271 * size1)) + (24.0179324276 * size2) in max 10 (max time alloc) *) let cost_N_ISapling_verify_update_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in S.max ((size1 * S.safe_int 5767168) + (size2 * S.safe_int 4718592) + S.safe_int 432500) ((size1 lsr 2) + (size2 lsr 1) + (size1 * S.safe_int 12) + (size2 * S.safe_int 24) + S.safe_int 55) (* model interpreter/N_ISelf *) (* max 10 10. *) let cost_N_ISelf = S.safe_int 10 (* model interpreter/N_ISelf_address *) (* max 10 10. *) let cost_N_ISelf_address = S.safe_int 10 (* model interpreter/N_ISelf_address_alloc *) (* max 10 64. *) let cost_N_ISelf_address_alloc = S.safe_int 65 (* model interpreter/N_ISelf_address_synthesized *) (* let time = 10. in let alloc = 64. in max 10 (max time alloc) *) let cost_N_ISelf_address_synthesized = S.safe_int 65 (* model interpreter/N_ISelf_alloc *) (* max 10 52. *) let cost_N_ISelf_alloc = S.safe_int 55 (* model interpreter/N_ISelf_synthesized *) (* let time = 10. in let alloc = 52. in max 10 (max time alloc) *) let cost_N_ISelf_synthesized = S.safe_int 55 (* model interpreter/N_ISender *) (* max 10 10. *) let cost_N_ISender = S.safe_int 10 (* model interpreter/N_ISender_alloc *) (* max 10 72. *) let cost_N_ISender_alloc = S.safe_int 75 (* model interpreter/N_ISender_synthesized *) (* let time = 10. in let alloc = 72. in max 10 (max time alloc) *) let cost_N_ISender_synthesized = S.safe_int 75 (* model interpreter/N_ISet_delegate *) (* max 10 60. *) let cost_N_ISet_delegate = S.safe_int 60 (* model interpreter/N_ISet_delegate_alloc *) (* max 10 76. *) let cost_N_ISet_delegate_alloc = S.safe_int 80 (* model interpreter/N_ISet_delegate_synthesized *) (* let time = 60. in let alloc = 76. in max 10 (max time alloc) *) let cost_N_ISet_delegate_synthesized = S.safe_int 80 (* model interpreter/N_ISet_iter *) (* fun size -> max 10 (50. + (7.625 * size)) *) let cost_N_ISet_iter size = let size = S.safe_int size in (size lsr 1) + (size lsr 3) + (size * S.safe_int 7) + S.safe_int 50 (* model interpreter/N_ISet_iter_alloc *) (* fun size -> max 10 0. *) let cost_N_ISet_iter_alloc _size = S.safe_int 10 (* model interpreter/N_ISet_iter_synthesized *) (* fun size -> let time = 50. + (7.625 * size) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ISet_iter_synthesized size = let size = S.safe_int size in (size lsr 1) + (size lsr 3) + (size * S.safe_int 7) + S.safe_int 50 (* model interpreter/N_ISet_mem *) (* fun size1 -> fun size2 -> max 10 (39.3805426747 + (0.0564536354586 * (size1 * (log2 (1 + size2))))) *) let cost_N_ISet_mem size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 5) + (w3 lsr 6) + (w3 lsr 7) + (w3 lsr 9) + S.safe_int 40 (* model interpreter/N_ISet_mem_alloc *) (* fun size1 -> fun size2 -> max 10 0. *) let cost_N_ISet_mem_alloc _size1 _size2 = S.safe_int 10 (* model interpreter/N_ISet_mem_synthesized *) (* fun size1 -> fun size2 -> let time = 39.3805426747 + (0.0564536354586 * (size1 * (log2 (1 + size2)))) in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ISet_mem_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 5) + (w3 lsr 6) + (w3 lsr 7) + (w3 lsr 9) + S.safe_int 40 (* model interpreter/N_ISet_size *) (* max 10 10. *) let cost_N_ISet_size = S.safe_int 10 (* model interpreter/N_ISet_size_alloc *) (* max 10 0. *) let cost_N_ISet_size_alloc = S.safe_int 10 (* model interpreter/N_ISet_size_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_ISet_size_synthesized = S.safe_int 10 (* model interpreter/N_ISet_update *) (* fun size1 -> fun size2 -> max 10 (49.8905426747 + (0.140036207663 * (size1 * (log2 (1 + size2))))) *) let cost_N_ISet_update size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in (w3 lsr 3) + (w3 lsr 6) + S.safe_int 50 (* model interpreter/N_ISet_update_alloc *) (* fun size1 -> fun size2 -> max 10 ((21.7417458006 * (log2 (1 + size2))) + 77.6256737848) *) let cost_N_ISet_update_alloc _size1 size2 = let size2 = S.safe_int size2 in (log2 (size2 + S.safe_int 1) * S.safe_int 22) + S.safe_int 80 (* model interpreter/N_ISet_update_synthesized *) (* fun size1 -> fun size2 -> let time = 49.8905426747 + (0.140036207663 * (size1 * (log2 (1 + size2)))) in let alloc = (21.7417458006 * (log2 (1 + size2))) + 77.6256737848 in max 10 (max time alloc) *) let cost_N_ISet_update_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in let w3 = w1 * size1 in S.max ((w3 lsr 3) + (w3 lsr 6) + S.safe_int 50) ((w1 * S.safe_int 22) + S.safe_int 80) (* model interpreter/N_ISha256 *) (* fun size -> max 10 (600. + (4.75 * size)) *) let cost_N_ISha256 size = let size = S.safe_int size in (size lsr 1) + (size lsr 2) + (size * S.safe_int 4) + S.safe_int 600 (* model interpreter/N_ISha256_alloc *) (* fun size -> max 10 24. *) let cost_N_ISha256_alloc _size = S.safe_int 25 (* model interpreter/N_ISha256_synthesized *) (* fun size -> let time = 600. + (4.75 * size) in let alloc = 24. in max 10 (max time alloc) *) let cost_N_ISha256_synthesized size = let size = S.safe_int size in (size lsr 1) + (size lsr 2) + (size * S.safe_int 4) + S.safe_int 600 (* model interpreter/N_ISha3 *) (* fun size -> max 10 (1350. + (8.25 * size)) *) let cost_N_ISha3 size = let size = S.safe_int size in (size lsr 2) + (size * S.safe_int 8) + S.safe_int 1350 (* model interpreter/N_ISha3_alloc *) (* fun size -> max 10 24. *) let cost_N_ISha3_alloc _size = S.safe_int 25 (* model interpreter/N_ISha3_synthesized *) (* fun size -> let time = 1350. + (8.25 * size) in let alloc = 24. in max 10 (max time alloc) *) let cost_N_ISha3_synthesized size = let size = S.safe_int size in (size lsr 2) + (size * S.safe_int 8) + S.safe_int 1350 (* model interpreter/N_ISha512 *) (* fun size -> max 10 (680. + (3. * size)) *) let cost_N_ISha512 size = let size = S.safe_int size in (size * S.safe_int 3) + S.safe_int 680 (* model interpreter/N_ISha512_alloc *) (* fun size -> max 10 40. *) let cost_N_ISha512_alloc _size = S.safe_int 40 (* model interpreter/N_ISha512_synthesized *) (* fun size -> let time = 680. + (3. * size) in let alloc = 40. in max 10 (max time alloc) *) let cost_N_ISha512_synthesized size = let size = S.safe_int size in (size * S.safe_int 3) + S.safe_int 680 (* model interpreter/N_ISlice_bytes *) (* fun size -> max 10 (25. + (0.5 * size)) *) let cost_N_ISlice_bytes size = let size = S.safe_int size in (size lsr 1) + S.safe_int 25 (* model interpreter/N_ISlice_bytes_alloc *) (* fun size -> max 10 (14.6142328624 + (0.500160203859 * size)) *) let cost_N_ISlice_bytes_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 15 (* model interpreter/N_ISlice_bytes_synthesized *) (* fun size -> let time = 25. + (0.5 * size) in let alloc = 14.6142328624 + (0.500160203859 * size) in max 10 (max time alloc) *) let cost_N_ISlice_bytes_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + S.safe_int 25) (w1 + (size lsr 6) + S.safe_int 15) (* model interpreter/N_ISlice_string *) (* fun size -> max 10 (25. + (0.5 * size)) *) let cost_N_ISlice_string size = let size = S.safe_int size in (size lsr 1) + S.safe_int 25 (* model interpreter/N_ISlice_string_alloc *) (* fun size -> max 10 (15.686099896 + (0.500163489638 * size)) *) let cost_N_ISlice_string_alloc size = let size = S.safe_int size in (size lsr 1) + (size lsr 6) + S.safe_int 20 (* model interpreter/N_ISlice_string_synthesized *) (* fun size -> let time = 25. + (0.5 * size) in let alloc = 15.686099896 + (0.500163489638 * size) in max 10 (max time alloc) *) let cost_N_ISlice_string_synthesized size = let size = S.safe_int size in let w1 = size lsr 1 in S.max (w1 + S.safe_int 25) (w1 + (size lsr 6) + S.safe_int 20) (* model interpreter/N_ISource *) (* max 10 10. *) let cost_N_ISource = S.safe_int 10 (* model interpreter/N_ISource_alloc *) (* max 10 72. *) let cost_N_ISource_alloc = S.safe_int 75 (* model interpreter/N_ISource_synthesized *) (* let time = 10. in let alloc = 72. in max 10 (max time alloc) *) let cost_N_ISource_synthesized = S.safe_int 75 (* model interpreter/N_ISplit_ticket *) (* fun size1 -> fun size2 -> max 10 (40. + (0.5 * (max size1 size2))) *) let cost_N_ISplit_ticket size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 40 (* model interpreter/N_ISplit_ticket_alloc *) (* fun size1 -> fun size2 -> max 10 52. *) let cost_N_ISplit_ticket_alloc _size1 _size2 = S.safe_int 55 (* model interpreter/N_ISplit_ticket_synthesized *) (* fun size1 -> fun size2 -> let time = 40. + (0.5 * (max size1 size2)) in let alloc = 52. in max 10 (max time alloc) *) let cost_N_ISplit_ticket_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in S.max ((S.max size1 size2 lsr 1) + S.safe_int 40) (S.safe_int 55) (* model interpreter/N_IString_size *) (* max 10 15. *) let cost_N_IString_size = S.safe_int 15 (* model interpreter/N_IString_size_alloc *) (* max 10 0. *) let cost_N_IString_size_alloc = S.safe_int 10 (* model interpreter/N_IString_size_synthesized *) (* let time = 15. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IString_size_synthesized = S.safe_int 15 (* model interpreter/N_ISub_int *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_ISub_int size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_ISub_int_alloc *) (* fun size1 -> fun size2 -> max 10 (17.5501373306 + (0.500211925836 * (max size1 size2))) *) let cost_N_ISub_int_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_ISub_int_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 17.5501373306 + (0.500211925836 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_ISub_int_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 20) (* model interpreter/N_ISub_tez *) (* max 10 15. *) let cost_N_ISub_tez = S.safe_int 15 (* model interpreter/N_ISub_tez_alloc *) (* max 10 20. *) let cost_N_ISub_tez_alloc = S.safe_int 20 (* model interpreter/N_ISub_tez_legacy *) (* max 10 20. *) let cost_N_ISub_tez_legacy = S.safe_int 20 (* model interpreter/N_ISub_tez_legacy_alloc *) (* max 10 12. *) let cost_N_ISub_tez_legacy_alloc = S.safe_int 15 (* model interpreter/N_ISub_tez_legacy_synthesized *) (* let time = 20. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_ISub_tez_legacy_synthesized = S.safe_int 20 (* model interpreter/N_ISub_tez_synthesized *) (* let time = 15. in let alloc = 20. in max 10 (max time alloc) *) let cost_N_ISub_tez_synthesized = S.safe_int 20 (* model interpreter/N_ISub_timestamp_seconds *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_ISub_timestamp_seconds size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_ISub_timestamp_seconds_alloc *) (* fun size1 -> fun size2 -> max 10 (17.5501373306 + (0.500211925836 * (max size1 size2))) *) let cost_N_ISub_timestamp_seconds_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 20 (* model interpreter/N_ISub_timestamp_seconds_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 17.5501373306 + (0.500211925836 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_ISub_timestamp_seconds_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 20) (* model interpreter/N_ISwap *) (* max 10 10. *) let cost_N_ISwap = S.safe_int 10 (* model interpreter/N_ISwap_alloc *) (* max 10 12. *) let cost_N_ISwap_alloc = S.safe_int 15 (* model interpreter/N_ISwap_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_ISwap_synthesized = S.safe_int 15 (* model interpreter/N_ITicket *) (* max 10 10. *) let cost_N_ITicket = S.safe_int 10 (* model interpreter/N_ITicket_alloc *) (* max 10 56. *) let cost_N_ITicket_alloc = S.safe_int 60 (* model interpreter/N_ITicket_synthesized *) (* let time = 10. in let alloc = 56. in max 10 (max time alloc) *) let cost_N_ITicket_synthesized = S.safe_int 60 (* model interpreter/N_ITotal_voting_power *) (* max 10 450. *) let cost_N_ITotal_voting_power = S.safe_int 450 (* model interpreter/N_ITotal_voting_power_alloc *) (* max 10 12. *) let cost_N_ITotal_voting_power_alloc = S.safe_int 15 (* model interpreter/N_ITotal_voting_power_synthesized *) (* let time = 450. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_ITotal_voting_power_synthesized = S.safe_int 450 (* model interpreter/N_ITransfer_tokens_alloc *) (* max 10 120. *) let cost_N_ITransfer_tokens_alloc = S.safe_int 120 (* model interpreter/N_ITransfer_tokens_synthesized *) (* let time = 60. in let alloc = 120. in max 10 (max time alloc) *) let cost_N_ITransfer_tokens_synthesized = S.safe_int 120 (* model interpreter/N_IUncomb *) (* fun size -> max 10 (30. + (4. * (sub size 2))) *) let cost_N_IUncomb size = let size = S.safe_int size in (S.sub size (S.safe_int 2) * S.safe_int 4) + S.safe_int 30 (* model interpreter/N_IUncomb_alloc *) (* fun size -> max 10 (6.30950568452 + (11.9815614243 * size)) *) let cost_N_IUncomb_alloc size = let size = S.safe_int size in (size * S.safe_int 12) + S.safe_int 10 (* model interpreter/N_IUncomb_synthesized *) (* fun size -> let time = 30. + (4. * (sub size 2)) in let alloc = 6.30950568452 + (11.9815614243 * size) in max 10 (max time alloc) *) let cost_N_IUncomb_synthesized size = let size = S.safe_int size in S.max ((S.sub size (S.safe_int 2) * S.safe_int 4) + S.safe_int 30) ((size * S.safe_int 12) + S.safe_int 10) (* model interpreter/N_IUnit *) (* max 10 10. *) let cost_N_IUnit = S.safe_int 10 (* model interpreter/N_IUnit_alloc *) (* max 10 12. *) let cost_N_IUnit_alloc = S.safe_int 15 (* model interpreter/N_IUnit_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IUnit_synthesized = S.safe_int 15 (* model interpreter/N_IUnpack_alloc *) (* max 10 8. *) let cost_N_IUnpack_alloc = S.safe_int 10 (* model interpreter/N_IUnpack_synthesized *) (* let time = 278.760542675 in let alloc = 8. in max 10 (max time alloc) *) let cost_N_IUnpack_synthesized = S.safe_int 280 (* model interpreter/N_IUnpair *) (* max 10 10. *) let cost_N_IUnpair = S.safe_int 10 (* model interpreter/N_IUnpair_alloc *) (* max 10 12. *) let cost_N_IUnpair_alloc = S.safe_int 15 (* model interpreter/N_IUnpair_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_IUnpair_synthesized = S.safe_int 15 (* model interpreter/N_IView *) (* max 10 1460. *) let cost_N_IView = S.safe_int 1460 (* model interpreter/N_IView_alloc *) (* max 10 0. *) let cost_N_IView_alloc = S.safe_int 10 (* model interpreter/N_IView_synthesized *) (* let time = 1460. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IView_synthesized = S.safe_int 1460 (* model interpreter/N_IVoting_power *) (* max 10 640. *) let cost_N_IVoting_power = S.safe_int 640 (* model interpreter/N_IVoting_power_alloc *) (* max 10 0. *) let cost_N_IVoting_power_alloc = S.safe_int 10 (* model interpreter/N_IVoting_power_synthesized *) (* let time = 640. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IVoting_power_synthesized = S.safe_int 640 (* model interpreter/N_IXor *) (* max 10 15. *) let cost_N_IXor = S.safe_int 15 (* model interpreter/N_IXor_alloc *) (* max 10 0. *) let cost_N_IXor_alloc = S.safe_int 10 (* model interpreter/N_IXor_bytes *) (* fun size1 -> fun size2 -> max 10 (40. + (0.5 * (max size1 size2))) *) let cost_N_IXor_bytes size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 40 (* model interpreter/N_IXor_bytes_alloc *) (* fun size1 -> fun size2 -> max 10 (10.6873582322 + (0.499979321651 * (max size1 size2))) *) let cost_N_IXor_bytes_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 15 (* model interpreter/N_IXor_bytes_synthesized *) (* fun size1 -> fun size2 -> let time = 40. + (0.5 * (max size1 size2)) in let alloc = 10.6873582322 + (0.499979321651 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IXor_bytes_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 40 (* model interpreter/N_IXor_nat *) (* fun size1 -> fun size2 -> max 10 (35. + (0.5 * (max size1 size2))) *) let cost_N_IXor_nat size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in (S.max size1 size2 lsr 1) + S.safe_int 35 (* model interpreter/N_IXor_nat_alloc *) (* fun size1 -> fun size2 -> max 10 (13.9478780796 + (0.500186338819 * (max size1 size2))) *) let cost_N_IXor_nat_alloc size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in (w1 lsr 1) + (w1 lsr 6) + S.safe_int 15 (* model interpreter/N_IXor_nat_synthesized *) (* fun size1 -> fun size2 -> let time = 35. + (0.5 * (max size1 size2)) in let alloc = 13.9478780796 + (0.500186338819 * (max size1 size2)) in max 10 (max time alloc) *) let cost_N_IXor_nat_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = S.max size1 size2 in let w2 = w1 lsr 1 in S.max (w2 + S.safe_int 35) (w2 + (w1 lsr 6) + S.safe_int 15) (* model interpreter/N_IXor_synthesized *) (* let time = 15. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_IXor_synthesized = S.safe_int 15 (* model interpreter/N_KCons *) (* max 10 10. *) let cost_N_KCons = S.safe_int 10 (* model interpreter/N_KCons_alloc *) (* max 10 0. *) let cost_N_KCons_alloc = S.safe_int 10 (* model interpreter/N_KCons_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KCons_synthesized = S.safe_int 10 (* model interpreter/N_KIter *) (* max 10 (max 10. 10.) *) let cost_N_KIter = S.safe_int 10 (* model interpreter/N_KIter_empty *) (* max 10 10. *) let cost_N_KIter_empty = S.safe_int 10 (* model interpreter/N_KIter_empty_alloc *) (* max 10 0. *) let cost_N_KIter_empty_alloc = S.safe_int 10 (* model interpreter/N_KIter_empty_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KIter_empty_synthesized = S.safe_int 10 (* model interpreter/N_KIter_nonempty *) (* max 10 10. *) let cost_N_KIter_nonempty = S.safe_int 10 (* model interpreter/N_KIter_nonempty_alloc *) (* max 10 0. *) let cost_N_KIter_nonempty_alloc = S.safe_int 10 (* model interpreter/N_KIter_nonempty_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KIter_nonempty_synthesized = S.safe_int 10 (* model interpreter/N_KList_enter_body_alloc *) (* fun size_xs -> fun size_ys -> max 10 (if size_xs = 0 then 23. + (12.0014700944 * size_ys) else 0.) *) let cost_N_KList_enter_body_alloc size_xs size_ys = let size_xs = S.safe_int size_xs in let size_ys = S.safe_int size_ys in S.max (S.safe_int 10) (if size_xs = S.safe_int 0 then (size_ys lsr 2) + (size_ys * S.safe_int 12) + S.safe_int 25 else S.safe_int 0) (* model interpreter/N_KList_enter_body_synthesized *) (* fun size_xs -> fun size_ys -> let time = if size_xs = 0 then 30. + (1.8125 * size_ys) else 30. in let alloc = if size_xs = 0 then 23. + (12.0014700944 * size_ys) else 0. in max 10 (max time alloc) *) let cost_N_KList_enter_body_synthesized size_xs size_ys = let size_xs = S.safe_int size_xs in let size_ys = S.safe_int size_ys in let w1 = size_ys lsr 2 in let w2 = size_xs = S.safe_int 0 in S.max (S.max (S.safe_int 10) (if w2 then (size_ys lsr 1) + w1 + (size_ys lsr 4) + size_ys + S.safe_int 30 else S.safe_int 30)) (if w2 then w1 + (size_ys * S.safe_int 12) + S.safe_int 25 else S.safe_int 0) (* model interpreter/N_KList_exit_body *) (* max 10 10. *) let cost_N_KList_exit_body = S.safe_int 10 (* model interpreter/N_KList_exit_body_alloc *) (* max 10 0. *) let cost_N_KList_exit_body_alloc = S.safe_int 10 (* model interpreter/N_KList_exit_body_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KList_exit_body_synthesized = S.safe_int 10 (* model interpreter/N_KLoop_in *) (* max 10 10. *) let cost_N_KLoop_in = S.safe_int 10 (* model interpreter/N_KLoop_in_alloc *) (* max 10 0. *) let cost_N_KLoop_in_alloc = S.safe_int 10 (* model interpreter/N_KLoop_in_left *) (* max 10 10. *) let cost_N_KLoop_in_left = S.safe_int 10 (* model interpreter/N_KLoop_in_left_alloc *) (* max 10 0. *) let cost_N_KLoop_in_left_alloc = S.safe_int 10 (* model interpreter/N_KLoop_in_left_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KLoop_in_left_synthesized = S.safe_int 10 (* model interpreter/N_KLoop_in_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KLoop_in_synthesized = S.safe_int 10 (* model interpreter/N_KMap_enter_body_alloc *) (* fun size -> max 10 (if size = 0 then 11. else 0.) *) let cost_N_KMap_enter_body_alloc size = let size = S.safe_int size in S.max (S.safe_int 10) (if size = S.safe_int 0 then S.safe_int 15 else S.safe_int 0) (* model interpreter/N_KMap_enter_body_synthesized *) (* fun size -> let time = if size = 0 then 10. else 80. in let alloc = if size = 0 then 11. else 0. in max 10 (max time alloc) *) let cost_N_KMap_enter_body_synthesized size = let size = S.safe_int size in let w1 = size = S.safe_int 0 in S.max (S.max (S.safe_int 10) (if w1 then S.safe_int 10 else S.safe_int 80)) (if w1 then S.safe_int 15 else S.safe_int 0) (* model interpreter/N_KMap_exit_body *) (* fun size1 -> fun size2 -> max 10 (0. + (0.114964427843 * (size1 * (log2 (1 + size2))))) *) let cost_N_KMap_exit_body size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w3 = log2 (size2 + S.safe_int 1) * size1 in S.max (S.safe_int 10) ((w3 lsr 4) + (w3 lsr 5) + (w3 lsr 6) + (w3 lsr 8) + (w3 lsr 9)) (* model interpreter/N_KMap_exit_body_alloc *) (* fun size1 -> fun size2 -> max 10 ((28.3877828935 * (log2 (1 + size2))) + 74.4085101791) *) let cost_N_KMap_exit_body_alloc _size1 size2 = let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in (w1 * S.safe_int 28) + (w1 lsr 1) + S.safe_int 75 (* model interpreter/N_KMap_exit_body_synthesized *) (* fun size1 -> fun size2 -> let time = 0. + (0.114964427843 * (size1 * (log2 (1 + size2)))) in let alloc = (28.3877828935 * (log2 (1 + size2))) + 74.4085101791 in max 10 (max time alloc) *) let cost_N_KMap_exit_body_synthesized size1 size2 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let w1 = log2 (size2 + S.safe_int 1) in let w3 = w1 * size1 in S.max ((w3 lsr 4) + (w3 lsr 5) + (w3 lsr 6) + (w3 lsr 8) + (w3 lsr 9)) ((w1 * S.safe_int 28) + (w1 lsr 1) + S.safe_int 75) (* model interpreter/N_KMap_head *) (* max 10 20. *) let cost_N_KMap_head = S.safe_int 20 (* model interpreter/N_KMap_head_alloc *) (* max 10 8. *) let cost_N_KMap_head_alloc = S.safe_int 10 (* model interpreter/N_KMap_head_synthesized *) (* let time = 20. in let alloc = 8. in max 10 (max time alloc) *) let cost_N_KMap_head_synthesized = S.safe_int 20 (* model interpreter/N_KNil *) (* max 10 15. *) let cost_N_KNil = S.safe_int 15 (* model interpreter/N_KNil_alloc *) (* max 10 0. *) let cost_N_KNil_alloc = S.safe_int 10 (* model interpreter/N_KNil_synthesized *) (* let time = 15. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KNil_synthesized = S.safe_int 15 (* model interpreter/N_KReturn *) (* max 10 10. *) let cost_N_KReturn = S.safe_int 10 (* model interpreter/N_KReturn_alloc *) (* max 10 0. *) let cost_N_KReturn_alloc = S.safe_int 10 (* model interpreter/N_KReturn_synthesized *) (* let time = 10. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KReturn_synthesized = S.safe_int 10 (* model interpreter/N_KUndip *) (* max 10 10. *) let cost_N_KUndip = S.safe_int 10 (* model interpreter/N_KUndip_alloc *) (* max 10 12. *) let cost_N_KUndip_alloc = S.safe_int 15 (* model interpreter/N_KUndip_synthesized *) (* let time = 10. in let alloc = 12. in max 10 (max time alloc) *) let cost_N_KUndip_synthesized = S.safe_int 15 (* model interpreter/N_KView_exit *) (* max 10 20. *) let cost_N_KView_exit = S.safe_int 20 (* model interpreter/N_KView_exit_alloc *) (* max 10 0. *) let cost_N_KView_exit_alloc = S.safe_int 10 (* model interpreter/N_KView_exit_synthesized *) (* let time = 20. in let alloc = 0. in max 10 (max time alloc) *) let cost_N_KView_exit_synthesized = S.safe_int 20 (* model interpreter/amplification_loop_model *) (* fun size -> max 10 (0.329309341324 * size) *) let cost_amplification_loop_model size = let size = S.safe_int size in S.max (S.safe_int 10) ((size lsr 2) + (size lsr 4) + (size lsr 6) + (size lsr 7)) (* model translator/PARSE_TYPE *) (* fun size -> max 10 (0. + (60. * size)) *) let cost_PARSE_TYPE size = let size = S.safe_int size in S.max (S.safe_int 10) (size * S.safe_int 60) (* model translator/Parsing_Code_gas *) (* fun size -> max 10 (0. + (0.890391244567 * size)) *) let cost_Parsing_Code_gas size = let size = S.safe_int size in S.max (S.safe_int 10) ((size lsr 1) + (size lsr 2) + (size lsr 3) + (size lsr 6)) (* model translator/Parsing_Code_size *) (* fun size1 -> fun size2 -> fun size3 -> max 10 (((187.300458967 * size1) + (0. * size2)) + (0. * size3)) *) let cost_Parsing_Code_size size1 _size2 _size3 = let size1 = S.safe_int size1 in S.max (S.safe_int 10) (size1 * S.safe_int 188) (* model translator/Parsing_Data_gas *) (* fun size -> max 10 (67277.397394 + (0.142972986751 * size)) *) let cost_Parsing_Data_gas size = let size = S.safe_int size in (size lsr 3) + (size lsr 6) + (size lsr 8) + S.safe_int 67280 (* model translator/Parsing_Data_size *) (* fun size1 -> fun size2 -> fun size3 -> max 10 (((80.363444899 * size1) + (16.1426805777 * size2)) + (68.9487320686 * size3)) *) let cost_Parsing_Data_size size1 size2 size3 = let size1 = S.safe_int size1 in let size2 = S.safe_int size2 in let size3 = S.safe_int size3 in S.max (S.safe_int 10) ((size2 lsr 1) + (size1 * S.safe_int 82) + (size2 * S.safe_int 16) + (size3 * S.safe_int 70)) (* model translator/TY_EQ *) (* fun size -> max 10 (31.1882471167 + (21.8805791266 * size)) *) let cost_TY_EQ size = (size * S.safe_int 22) + S.safe_int 35 (* model translator/UNPARSE_TYPE *) (* fun size -> max 10 (0. + (20. * size)) *) let cost_UNPARSE_TYPE size = S.max (S.safe_int 10) (size * S.safe_int 20) (* model translator/Unparsing_Code_gas *) (* fun size -> max 10 (0. + (0.592309924661 * size)) *) let cost_Unparsing_Code_gas size = let size = S.safe_int size in S.max (S.safe_int 10) ((size lsr 1) + (size lsr 4) + (size lsr 5)) (* model translator/Unparsing_Code_size *) (* fun size1 -> fun size2 -> fun size3 -> max 10 (((124.72642512 * size1) + (0. * size2)) + (0. * size3)) *) let cost_Unparsing_Code_size size1 _size2 _size3 = let size1 = S.safe_int size1 in S.max (S.safe_int 10) (size1 * S.safe_int 126) (* model translator/Unparsing_Data_gas *) (* fun size -> max 10 (31944.7865384 + (0.033862305692 * size)) *) let cost_Unparsing_Data_gas size = let size = S.safe_int size in (size lsr 5) + (size lsr 9) + (size lsr 10) + S.safe_int 31945 (* model translator/Unparsing_Data_size *) (* fun size1 -> fun size2 -> fun size3 -> max 10 (((54.8706646933 * size1) + (0. * size2)) + (0. * size3)) *) let cost_Unparsing_Data_size size1 _size2 _size3 = let size1 = S.safe_int size1 in S.max (S.safe_int 10) (size1 * S.safe_int 55)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>