Details

Time bar (total: 1.5m)

sample176.0ms

Algorithm
intervals
Results
99.0ms27×body1280valid
15.0ms178×body80valid
9.0ms122×body80nan
8.0ms25×body640valid
5.0ms18×body640nan
4.0ms12×body1280nan
3.0ms13×body320valid
2.0ms13×body160valid
2.0msbody320nan
1.0msbody160nan

simplify12.8s

Counts
1 → 1
Iterations
IterNodes
done5000
2294984
2284965
2274941
2264923
2254897
2244880
2234856
2224834
2214812
2204795
2194769
2184751
2174729
2164710
2154686
2144668
2134642
2124625
2114601
2104581
2094559
2084542
2074516
2064498
2054476
2044457
2034433
2024415
2014391
2004374
1994350
1984328
1974306
1964289
1954263
1944245
1934223
1924204
1914180
1904162
1894138
1884121
1874097
1864077
1854055
1844038
1834012
1823994
1813972
1803953
1793929
1783911
1773887
1763870
1753846
1743826
1733804
1723787
1713761
1703743
1693721
1683702
1673678
1663660
1653636
1643619
1633595
1623573
1613551
1603534
1593508
1583490
1573468
1563449
1553425
1543407
1533383
1523366
1513342
1503320
1493298
1483281
1473255
1463237
1453215
1443196
1433172
1423154
1413128
1403111
1393087
1383065
1373043
1363026
1353000
1342982
1332960
1322941
1312917
1302899
1292875
1282858
1272834
1262814
1252792
1242775
1232749
1222731
1212709
1202690
1192666
1182648
1172624
1162607
1152583
1142563
1132541
1122524
1112498
1102480
1092458
1082439
1072415
1062397
1052371
1042354
1032330
1022308
1012286
1002269
992243
982225
972203
962184
952160
942142
932116
922099
912075
902053
892031
882014
871988
861970
851948
841929
831905
821887
811863
801846
791822
781800
771778
761761
751735
741717
731695
721676
711652
701634
691608
681591
671567
661545
651523
641506
631480
621462
611440
601421
591397
581379
571353
561336
551312
541290
531268
521251
511225
501207
491185
481166
471142
461124
451098
441081
431057
421037
411015
40998
39972
38954
37932
36913
35889
34871
33847
32830
31806
30786
29764
28747
27721
26703
25681
24662
23638
22620
21594
20577
19553
18533
17511
16494
15468
14452
13429
12409
11381
10336
9270
8126
786
675
565
453
340
229
119
09

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.9b

localize47.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
3.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.3b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite350.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
184×*-un-lft-identity
105×prod-diff
103×times-frac
91×add-cube-cbrt
49×difference-of-squares
47×distribute-lft-out--
12×log-prod
pow1 flip3-- flip--
associate-/r/
add-exp-log add-log-exp
fma-neg add-cbrt-cube associate--r+
associate-/r* log-pow associate-/l*
expm1-log1p-u log-div log1p-expm1-u div-inv
associate--r-
sub-neg diff-log div-sub associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num
Counts
4 → 227
Calls
4 calls:
84.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
48.0ms
(/ (- x y) (- 1.0 y))
97.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
95.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series550.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
73.0ms
(/ (- x y) (- 1.0 y))
108.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
175.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify9.3s

Counts
239 → 239
Iterations
IterNodes
done5001
22856
11026
0390

prune2.4s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize77.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1 (- 1.0 y)) (- x y))
3.3b
(log (+ (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (/ 1 (- 1.0 y)) (- x y)))) (fma (- (/ 1 (- 1.0 y))) (- x y) (* (/ 1 (- 1.0 y)) (- x y)))))
5.1b
(fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (/ 1 (- 1.0 y)) (- x y))))
29.2b
(fma (- (/ 1 (- 1.0 y))) (- x y) (* (/ 1 (- 1.0 y)) (- x y)))

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
38×*-un-lft-identity
27×add-cube-cbrt
21×associate-*l*
18×prod-diff
17×times-frac
14×add-exp-log
11×distribute-rgt-in distribute-lft-in
add-cbrt-cube
pow1
associate-*r*
expm1-log1p-u log-prod prod-exp log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
flip3-- flip-- unswap-sqr
frac-times sub-neg log-div associate-*r/ div-exp associate-/r/ cbrt-unprod fma-udef
cbrt-undiv rec-exp flip3-+ 1-exp rem-log-exp pow-prod-down associate-*l/ log-pow *-commutative flip-+ div-inv distribute-lft-out
Counts
4 → 110
Calls
4 calls:
133.0ms
(* (/ 1 (- 1.0 y)) (- x y))
9.0ms
(log (+ (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (/ 1 (- 1.0 y)) (- x y)))) (fma (- (/ 1 (- 1.0 y))) (- x y) (* (/ 1 (- 1.0 y)) (- x y)))))
1.0ms
(fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (/ 1 (- 1.0 y)) (- x y))))
1.0ms
(fma (- (/ 1 (- 1.0 y))) (- x y) (* (/ 1 (- 1.0 y)) (- x y)))

series939.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(* (/ 1 (- 1.0 y)) (- x y))
503.0ms
(log (+ (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (/ 1 (- 1.0 y)) (- x y)))) (fma (- (/ 1 (- 1.0 y))) (- x y) (* (/ 1 (- 1.0 y)) (- x y)))))
191.0ms
(fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (/ 1 (- 1.0 y)) (- x y))))
174.0ms
(fma (- (/ 1 (- 1.0 y))) (- x y) (* (/ 1 (- 1.0 y)) (- x y)))

simplify7.2s

Counts
122 → 122
Iterations
IterNodes
done5000
34549
21527
1644
0253

prune1.4s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
0.2b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
3.1b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite444.0ms

Algorithm
rewrite-expression-head
Rules
226×add-sqr-sqrt
202×*-un-lft-identity
144×times-frac
102×add-cube-cbrt
93×prod-diff
58×difference-of-squares
50×distribute-lft-out--
24×log-prod
12×associate-/r/
11×associate-/r*
add-exp-log
flip3-- add-cbrt-cube flip-- associate-/l*
div-inv add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
fma-neg div-exp
cbrt-undiv frac-2neg div-sub rem-log-exp clear-num associate-/l/
sub-neg log-div diff-log log-pow associate--r-
Counts
4 → 248
Calls
4 calls:
79.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
50.0ms
(/ (- x y) (- 1.0 y))
179.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
105.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series731.0ms

Counts
4 → 12
Calls
4 calls:
300.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
69.0ms
(/ (- x y) (- 1.0 y))
269.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
92.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify11.2s

Counts
260 → 260
Iterations
IterNodes
done5001
23191
11123
0432

prune4.8s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize79.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
0.7b
(/ (exp 1.0) (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
3.1b
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
8.7b
(* (/ (exp 1.0) (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))) (+ 1.0 (/ (- x y) (- 1.0 y))))

rewrite762.0ms

Algorithm
rewrite-expression-head
Rules
256×*-un-lft-identity
187×add-sqr-sqrt
177×times-frac
76×distribute-lft-out--
74×add-cube-cbrt
56×difference-of-squares
55×swap-sqr
49×associate-*l*
35×associate-*r*
23×add-cbrt-cube
21×add-exp-log
13×pow1
12×associate-/r/
flip3-- flip--
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
expm1-log1p-u associate-/r* log1p-expm1-u
frac-times associate-*r/ associate-/l*
flip3-+ pow-prod-down associate-*l/ *-commutative flip-+
pow2 distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-plus fma-neg diff-log prod-diff clear-num pow-sqr pow-prod-up distribute-lft-out
Counts
4 → 245
Calls
4 calls:
200.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
74.0ms
(/ (exp 1.0) (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
23.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
409.0ms
(* (/ (exp 1.0) (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))) (+ 1.0 (/ (- x y) (- 1.0 y))))

series4.9s

Counts
4 → 12
Calls
4 calls:
230.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
2.1s
(/ (exp 1.0) (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
961.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
1.6s
(* (/ (exp 1.0) (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))) (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify6.8s

Counts
257 → 257
Iterations
IterNodes
done5001
11326
0363

prune6.0s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes1.1s

Accuracy

98.2% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 16.8b

bsearch9.0ms

simplify43.0ms

Iterations
IterNodes
done39
239
137
027

end1.0ms

sample14.7s

Algorithm
intervals
Results
5.4s3676×body80nan
3.1s5706×body80valid
2.7s405×body640nan
1.6s851×body1280valid
564.0ms752×body640valid
303.0ms315×body1280nan
213.0ms467×body320valid
77.0ms208×body320nan
44.0ms224×body160valid
27.0ms118×body160nan