Details

Time bar (total: 14.2s)

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 40%

Results
20.0ms44×body1280valid
11.0ms149×body80valid
11.0ms33×body640valid
6.0msbody2560valid
6.0ms76×body80nan
4.0ms15×body320valid
3.0ms37×body80invalid
1.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.2b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

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

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

series47.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
3.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
11.0ms
(cos (- y (/ (* z t) 3.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0419507
11751432
25002432

prune251.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New642084
Fresh000
Picked101
Done000
Total652085

Merged error: 16.2b

Counts
85 → 20

localize20.0ms

Local error

Found 4 expressions with local error:

13.6b
(cbrt (/ (* z t) 3.0))
13.6b
(cbrt (/ (* z t) 3.0))
13.6b
(cbrt (/ (* z t) 3.0))
23.5b
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (cbrt (/ (* z t) 3.0)))))

rewrite13.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 t) 3.0))
3.0ms
(cbrt (/ (* z t) 3.0))
3.0ms
(cbrt (/ (* z t) 3.0))
3.0ms
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (cbrt (/ (* z t) 3.0)))))

series69.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(cbrt (/ (* z t) 3.0))
17.0ms
(cbrt (/ (* z t) 3.0))
17.0ms
(cbrt (/ (* z t) 3.0))
17.0ms
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (cbrt (/ (* z t) 3.0)))))

simplify38.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
0163597
1358549
21149531
35001507

prune353.0ms

Filtered
58 candidates to 70 candidates (-20.7%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New601070
Fresh31619
Picked101
Done000
Total642690

Merged error: 15.8b

Counts
90 → 26

localize29.0ms

Local error

Found 4 expressions with local error:

13.6b
(cbrt (* z t))
13.6b
(cbrt (/ (* z t) 3.0))
13.6b
(cbrt (/ (* z t) 3.0))
23.6b
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (* (cbrt (* z t)) (cbrt (/ 1 3.0))))))

rewrite12.0ms

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

series63.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(cbrt (* z t))
17.0ms
(cbrt (/ (* z t) 3.0))
17.0ms
(cbrt (/ (* z t) 3.0))
15.0ms
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (* (cbrt (* z t)) (cbrt (/ 1 3.0))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0181564
1411514
21263497
35001473

prune345.0ms

Filtered
51 candidates to 63 candidates (-23.5%)
Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New57663
Fresh22325
Picked101
Done000
Total602989

Merged error: 15.7b

Counts
89 → 29

localize30.0ms

Local error

Found 4 expressions with local error:

13.6b
(cbrt (* z t))
13.6b
(cbrt (/ (* z t) 3.0))
13.6b
(cbrt (/ (* z t) 3.0))
23.6b
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (* (cbrt (* z t)) (cbrt (/ 1 3.0))))))

rewrite13.0ms

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

series67.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(cbrt (* z t))
21.0ms
(cbrt (/ (* z t) 3.0))
17.0ms
(cbrt (/ (* z t) 3.0))
15.0ms
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (* (cbrt (* z t)) (cbrt (/ 1 3.0))))))

simplify38.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0181564
1411514
21263497
35001473

prune182.0ms

Filtered
52 candidates to 63 candidates (-21.2%)
Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New57663
Fresh42428
Picked101
Done000
Total623092

Merged error: 15.7b

Counts
92 → 30

regimes4.8s

Accuracy

57% (1.9b remaining)

Error of 18.0b against oracle of 16.1b and baseline of 20.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04733
14733

end0.0ms

sample5.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 40%

Results
716.0ms1514×body1280valid
368.0ms4510×body80valid
331.0ms1015×body640valid
285.0ms376×body2560valid
186.0ms2327×body80nan
102.0ms410×body320valid
89.0ms1130×body80invalid
32.0ms175×body160valid

Profiling

Loading profile data...