Details

Time bar (total: 17.5s)

sample105.0ms

Algorithm
intervals
Results
21.0ms49×body1280valid
19.0ms310×body80nan
12.0ms186×body80valid
11.0ms15×body2560valid
7.0ms24×body640valid
2.0ms10×body320valid
1.0msbody160valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.9b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
211×add-sqr-sqrt
180×times-frac
165×add-cube-cbrt *-un-lft-identity
122×cos-sum
120×prod-diff
70×associate-*l*
60×associate-*r*
24×unswap-sqr
19×add-exp-log *-commutative add-cbrt-cube
15×associate-/r* associate-/l*
pow1
prod-exp sqrt-prod cbrt-unprod div-inv
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
cos-diff pow-prod-down
frac-2neg clear-num
distribute-rgt-in sub-neg distribute-lft-in
Counts
4 → 306
Calls
4 calls:
8.0ms
(/ a (* b 3.0))
32.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
9.0ms
(/ (* z t) 3.0)
35.0ms
(cos (- y (/ (* z t) 3.0)))

series209.0ms

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

simplify146.0ms

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 1 (65.0ms)

IterNodesCost
022128598
150017928

prune1.5s

Filtered
318 candidates to 191 candidates (60.1%)
Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New28731318
Fresh000
Picked101
Done000
Total28831319

Merged error: 15.1b

Counts
319 → 31

localize54.0ms

Local error

Found 4 expressions with local error:

26.6b
(sin (fma 1 y (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))))
26.7b
(cos (fma 1 y (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))))
54.6b
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
54.6b
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

rewrite7.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:
2.0ms
(sin (fma 1 y (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))))
2.0ms
(cos (fma 1 y (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))))
1.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
1.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

series1.4s

Counts
4 → 12
Calls
4 calls:
225.0ms
(sin (fma 1 y (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))))
238.0ms
(cos (fma 1 y (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))))
485.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
476.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

simplify72.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0141983
1381842
21489801
35001743

prune658.0ms

Filtered
52 candidates to 46 candidates (88.5%)
Pruning

35 alts after pruning (35 fresh and 0 done)

PrunedKeptTotal
New43952
Fresh42630
Picked101
Done000
Total483583

Merged error: 15.0b

Counts
83 → 35

localize61.0ms

Local error

Found 4 expressions with local error:

30.7b
(sin (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)))))
31.0b
(cos (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
54.6b
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
54.6b
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

rewrite524.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:
280.0ms
(sin (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)))))
241.0ms
(cos (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
1.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
1.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

series1.1s

Counts
4 → 12
Calls
4 calls:
132.0ms
(sin (- (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)))))
103.0ms
(cos (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
429.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
418.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

simplify58.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
099900
1256763
21142725
35002659

prune769.0ms

Filtered
52 candidates to 46 candidates (88.5%)
Pruning

36 alts after pruning (36 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh33134
Picked101
Done000
Total513687

Merged error: 15.0b

Counts
87 → 36

localize71.0ms

Local error

Found 4 expressions with local error:

54.6b
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
54.6b
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
54.6b
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
54.6b
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

rewrite4.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
Counts
4 → 40
Calls
4 calls:
1.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
1.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
1.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
1.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

series1.7s

Counts
4 → 12
Calls
4 calls:
429.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
427.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
425.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))
434.0ms
(fma (- (/ (cbrt t) (sqrt 3.0))) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0)) (* (/ (cbrt t) (sqrt 3.0)) (/ (* z (* (cbrt t) (cbrt t))) (sqrt 3.0))))

simplify298.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0411100
1116928
2538864
34435708
45001708

prune568.0ms

Filtered
52 candidates to 44 candidates (84.6%)
Pruning

37 alts after pruning (37 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh23335
Picked101
Done000
Total513788

Merged error: 14.9b

Counts
88 → 37

regimes5.1s

Accuracy

27.8% (3.2b remaining)

Error of 18.8b against oracle of 15.6b and baseline of 20.0b

bsearch6.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079101
185101
291101
393101
493101

end0.0ms

sample2.9s

Algorithm
intervals
Results
658.0ms1597×body1280valid
575.0ms9303×body80nan
366.0ms5608×body80valid
266.0ms949×body640valid
255.0ms370×body2560valid
86.0ms418×body320valid
33.0ms220×body160valid