Details

Time bar (total: 14.6s)

sample3.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 30%

Results
24.0ms49×body1280valid
12.0ms24×body640valid
12.0ms15×body2560valid
11.0ms143×body80valid
6.0ms74×body80nan
4.0ms17×body320valid
3.0ms37×body80invalid
2.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.7b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* z t) 3.0)
0.2b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
23.6b
(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:
4.0ms
(/ (* z t) 3.0)
8.0ms
(/ a (* b 3.0))
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
6.0ms
(cos (- y (/ (* z t) 3.0)))

series49.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0419507
11751432
25001432

prune261.0ms

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

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New651984
Fresh000
Picked101
Done000
Total661985

Merged error: 17.7b

Counts
85 → 19

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
27.7b
(cos (/ (* z t) 3.0))
28.3b
(sin (/ (* z t) 3.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
*-commutative sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+ unswap-sqr
Counts
4 → 56
Calls
4 calls:
5.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
9.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series79.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
60.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
3.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0392756
11908649
25002648

prune270.0ms

Filtered
52 candidates to 68 candidates (-30.8%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New60868
Fresh41418
Picked101
Done000
Total652287

Merged error: 17.5b

Counts
87 → 22

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
0.2b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
28.3b
(sin (/ (* z t) 3.0))
28.7b
(cos (* 0.3333333333333333 (* t z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
*-commutative sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+ unswap-sqr
Counts
4 → 56
Calls
4 calls:
5.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
10.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(cos (* 0.3333333333333333 (* t z)))

series90.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
62.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
4.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (* 0.3333333333333333 (* t z)))

simplify89.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0398756
11920649
25002648

prune293.0ms

Filtered
50 candidates to 68 candidates (-36.0%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh21921
Picked101
Done000
Total642690

Merged error: 17.5b

Counts
90 → 26

localize34.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (pow (cos (* 0.3333333333333333 (* t z))) 3))
0.3b
(pow (cos (* 0.3333333333333333 (* t z))) 3)
28.3b
(sin (/ (* z t) 3.0))
28.7b
(cos (* 0.3333333333333333 (* t z)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
add-log-exp
pow-unpow
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 58
Calls
4 calls:
3.0ms
(cbrt (pow (cos (* 0.3333333333333333 (* t z))) 3))
3.0ms
(pow (cos (* 0.3333333333333333 (* t z))) 3)
2.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (* 0.3333333333333333 (* t z)))

series19.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(cbrt (pow (cos (* 0.3333333333333333 (* t z))) 3))
8.0ms
(pow (cos (* 0.3333333333333333 (* t z))) 3)
4.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (* 0.3333333333333333 (* t z)))

simplify156.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0113373
1396347
22796341
35002341

prune112.0ms

Filtered
41 candidates to 70 candidates (-70.7%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New69170
Fresh12425
Picked101
Done000
Total712596

Merged error: 17.5b

Counts
96 → 25

regimes4.1s

Accuracy

63.4% (1.4b remaining)

Error of 17.8b against oracle of 16.4b and baseline of 20.2b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05939
16139
26139

end0.0ms

sample5.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 30%

Results
749.0ms1548×body1280valid
365.0ms4488×body80valid
319.0ms920×body640valid
316.0ms410×body2560valid
187.0ms2245×body80nan
103.0ms414×body320valid
84.0ms1057×body80invalid
39.0ms220×body160valid

Profiling

Loading profile data...