Details

Time bar (total: 25.8s)

sample99.0ms

Algorithm
intervals
Results
20.0ms294×body80nan
17.0ms40×body1280valid
12.0ms183×body80valid
8.0ms28×body640valid
6.0msbody2560valid
4.0ms17×body320valid
1.0msbody160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.3b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.0ms

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

series171.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06851511
123611261
250011258

prune746.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 13.9b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite170.0ms

Algorithm
rewrite-expression-head
Rules
276×times-frac
198×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
134×cos-sum
132×prod-diff
19×add-exp-log add-cbrt-cube
18×div-inv
14×associate-/r*
pow1
associate-/l*
cbrt-undiv div-exp
expm1-log1p-u prod-exp associate-/r/ cbrt-unprod log1p-expm1-u add-log-exp
cos-diff associate-*r* pow-prod-down
frac-2neg clear-num
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 261
Calls
4 calls:
9.0ms
(/ z (/ 3.0 t))
50.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ z (/ 3.0 t)))))
10.0ms
(/ a (* b 3.0))
82.0ms
(cos (- y (/ z (/ 3.0 t))))

series206.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ z (/ 3.0 t))
117.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ z (/ 3.0 t)))))
23.0ms
(/ a (* b 3.0))
40.0ms
(cos (- y (/ z (/ 3.0 t))))

simplify138.0ms

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0235710386
150019699

prune5.0s

Pruning

33 alts after pruning (33 fresh and 0 done)

Merged error: 11.7b

localize34.0ms

Local error

Found 4 expressions with local error:

22.4b
(cos (fma 1 y (- (* t (/ z 3.0)))))
22.8b
(sin (fma 1 y (- (* t (/ z 3.0)))))
51.9b
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))
51.9b
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
cos-sum sin-sum
Counts
4 → 40
Calls
4 calls:
3.0ms
(cos (fma 1 y (- (* t (/ z 3.0)))))
3.0ms
(sin (fma 1 y (- (* t (/ z 3.0)))))
0.0ms
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))
0.0ms
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))

series165.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(cos (fma 1 y (- (* t (/ z 3.0)))))
39.0ms
(sin (fma 1 y (- (* t (/ z 3.0)))))
33.0ms
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))
39.0ms
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))

simplify154.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 4 (148.0ms)

IterNodesCost
0100343
1213299
2655297
33261275
45001219

prune2.0s

Pruning

35 alts after pruning (35 fresh and 0 done)

Merged error: 11.6b

localize46.0ms

Local error

Found 4 expressions with local error:

26.1b
(cos (* t (/ z 3.0)))
26.4b
(sin (- (* t (/ z 3.0))))
51.9b
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))
51.9b
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
fma-udef
neg-sub0 sin-neg sin-diff
Counts
4 → 40
Calls
4 calls:
10.0ms
(cos (* t (/ z 3.0)))
8.0ms
(sin (- (* t (/ z 3.0))))
0.0ms
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))
0.0ms
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))

series101.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(cos (* t (/ z 3.0)))
23.0ms
(sin (- (* t (/ z 3.0))))
33.0ms
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))
32.0ms
(fma (- t) (/ z 3.0) (* t (/ z 3.0)))

simplify141.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 4 (133.0ms)

IterNodesCost
081281
1158242
2482240
32282218
45001162

prune943.0ms

Pruning

35 alts after pruning (35 fresh and 0 done)

Merged error: 11.6b

regimes12.4s

Accuracy

53.8% (2.3b remaining)

Error of 16.5b against oracle of 14.2b and baseline of 19.1b

bsearch6.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06144
16544
26544

end0.0ms

sample3.0s

Algorithm
intervals
Results
652.0ms9219×body80nan
649.0ms1577×body1280valid
373.0ms5628×body80valid
278.0ms938×body640valid
262.0ms365×body2560valid
89.0ms402×body320valid
30.0ms206×body160valid