Details

Time bar (total: 13.7s)

sample142.0ms

Algorithm
intervals
Results
32.0ms302×body80nan
29.0ms46×body1280valid
19.0ms185×body80valid
14.0ms32×body640valid
12.0ms13×body2560valid
3.0ms10×body320valid
2.0ms10×body160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.9b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* z t) 3.0)
0.2b
(/ a (* b 3.0))
0.2b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
23.7b
(cos (- y (/ (* z t) 3.0)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
cos-diff associate-*r* pow-prod-down
cos-sum frac-2neg clear-num div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 72
Calls
4 calls:
3.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
11.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
8.0ms
(cos (- y (/ (* z t) 3.0)))

series166.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (* z t) 3.0)
18.0ms
(/ a (* b 3.0))
92.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
39.0ms
(cos (- y (/ (* z t) 3.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0404507
11689429
25001426

prune310.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 15.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 (sqrt x)) (cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))))
0.3b
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))
0.4b
(/ t (cbrt 3.0))
23.7b
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
46×times-frac
35×add-cube-cbrt *-un-lft-identity
32×add-exp-log
25×associate-*r*
24×add-cbrt-cube
23×cbrt-prod
11×pow1 prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l*
associate-/r* unswap-sqr
pow-prod-down add-log-exp
cos-diff div-inv associate-/l*
cos-sum *-commutative
distribute-rgt-in frac-times sub-neg frac-2neg distribute-lft-in associate-*r/ associate-*l/ clear-num
Counts
4 → 128
Calls
4 calls:
11.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))))
25.0ms
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))
3.0ms
(/ t (cbrt 3.0))
4.0ms
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))))

series436.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))))
98.0ms
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))
60.0ms
(/ t (cbrt 3.0))
100.0ms
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))))

simplify76.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06091376
130011200
250011171

prune619.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 15.7b

localize26.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
0.6b
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
0.6b
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
23.8b
(cos (- y (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0))))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-div pow1/3 div-inv
cos-sum
cos-diff sub-neg
Counts
4 → 58
Calls
4 calls:
3.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
3.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
3.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
4.0ms
(cos (- y (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0))))))

series1.4s

Counts
4 → 12
Calls
4 calls:
437.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
415.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
428.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
136.0ms
(cos (- y (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0))))))

simplify112.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 4 (103.0ms)

IterNodesCost
0157858
1333777
2906756
33548747
45002726

prune529.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 15.5b

localize43.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
0.6b
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
28.5b
(sin (- (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0))))))
28.7b
(cos (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0)))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-div pow1/3 div-inv
neg-sub0 sin-neg sin-diff
Counts
4 → 48
Calls
4 calls:
3.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
3.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
16.0ms
(sin (- (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0))))))
26.0ms
(cos (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
452.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
444.0ms
(cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))
100.0ms
(sin (- (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0))))))
86.0ms
(cos (* (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0))))) (* (cbrt (/ z (* (cbrt 3.0) (cbrt 3.0)))) (/ t (cbrt 3.0)))))

simplify206.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 4 (199.0ms)

IterNodesCost
0157826
1348713
21007699
34245693
45002679

prune665.0ms

Pruning

32 alts after pruning (32 fresh and 0 done)

Merged error: 15.4b

regimes3.5s

Accuracy

57.2% (1.7b remaining)

Error of 17.3b against oracle of 15.6b and baseline of 19.5b

bsearch4.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07373
18473
29273
39273

end0.0ms

sample4.1s

Algorithm
intervals
Results
951.0ms9328×body80nan
920.0ms1542×body1280valid
625.0ms5739×body80valid
429.0ms969×body640valid
313.0ms338×body2560valid
142.0ms432×body320valid
52.0ms215×body160valid