Details

Time bar (total: 9.8s)

sample111.0ms

Algorithm
intervals
Results
26.0ms342×body80nan
22.0ms50×body1280valid
13.0ms187×body80valid
8.0ms26×body640valid
7.0ms10×body2560valid
4.0ms18×body320valid
1.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune3.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: 17.9b

Counts
2 → 1

localize20.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))))
21.5b
(cos (- y (/ (* z t) 3.0)))

rewrite22.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:
4.0ms
(/ (* z t) 3.0)
4.0ms
(/ a (* b 3.0))
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
5.0ms
(cos (- y (/ (* z t) 3.0)))

series165.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0404507
11689429
25001426

prune331.0ms

Filtered
84 candidates to 58 candidates (69.0%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New612384
Fresh000
Picked101
Done000
Total622385

Merged error: 15.0b

Counts
85 → 23

localize20.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))
21.7b
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))))

rewrite34.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:
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))))
15.0ms
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))
4.0ms
(/ t (cbrt 3.0))
3.0ms
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))))

series427.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))))
93.0ms
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))
58.0ms
(/ t (cbrt 3.0))
102.0ms
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))))

simplify77.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06091376
130011200
250011171

prune594.0ms

Filtered
140 candidates to 102 candidates (72.9%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New12713140
Fresh71522
Picked101
Done000
Total13528163

Merged error: 14.9b

Counts
163 → 28

localize30.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ t (cbrt 3.0))
0.4b
(/ t (cbrt 3.0))
25.5b
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
25.7b
(sin (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
34×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×cbrt-prod
12×associate-/r*
add-exp-log
add-cbrt-cube associate-/l*
pow1 add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 92
Calls
4 calls:
4.0ms
(/ t (cbrt 3.0))
4.0ms
(/ t (cbrt 3.0))
2.0ms
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
2.0ms
(sin (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))

series254.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ t (cbrt 3.0))
62.0ms
(/ t (cbrt 3.0))
66.0ms
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
73.0ms
(sin (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))

simplify71.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
0136628
1322584
2833584
32334568
45001568

prune615.0ms

Filtered
104 candidates to 78 candidates (75.0%)
Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New977104
Fresh42327
Picked101
Done000
Total10230132

Merged error: 14.8b

Counts
132 → 30

localize34.0ms

Local error

Found 4 expressions with local error:

25.5b
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
25.5b
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
25.5b
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
25.7b
(sin (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
2.0ms
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
2.0ms
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
2.0ms
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
2.0ms
(sin (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))

series251.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
55.0ms
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
61.0ms
(cos (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))
74.0ms
(sin (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))

simplify111.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
045386
175318
2119318
3170318
4209318
5297318
6856318
72563318
85001318

prune246.0ms

Filtered
40 candidates to 36 candidates (90.0%)
Pruning

31 alts after pruning (30 fresh and 1 done)

PrunedKeptTotal
New37340
Fresh22729
Picked011
Done000
Total393170

Merged error: 14.8b

Counts
70 → 31

regimes3.1s

Accuracy

58.7% (1.6b remaining)

Error of 17.5b against oracle of 16.0b and baseline of 19.8b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05761
15761

end0.0ms

sample3.2s

Algorithm
intervals
Results
705.0ms1560×body1280valid
646.0ms9214×body80nan
423.0ms5671×body80valid
306.0ms944×body640valid
244.0ms336×body2560valid
106.0ms452×body320valid
33.0ms207×body160valid