Details

Time bar (total: 12.6s)

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 60%

Results
28.0ms60×body1280valid
14.0ms143×body80valid
11.0ms15×body2560valid
6.0ms18×body640valid
6.0ms72×body80nan
3.0ms14×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: 22.0b

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))))
22.6b
(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:
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)))

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

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0419507
11751432
25001432

prune256.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: 18.1b

Counts
85 → 20

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.6b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
27.0b
(cos (/ (* z t) 3.0))
27.5b
(sin (/ (* z t) 3.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r/ associate-*r* associate-*l* *-commutative
cos-mult sin-mult
Counts
4 → 60
Calls
4 calls:
8.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
8.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series71.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0383704
11621550
25002550

prune267.0ms

Filtered
46 candidates to 72 candidates (-56.5%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New63972
Fresh11819
Picked101
Done000
Total652792

Merged error: 17.9b

Counts
92 → 27

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.6b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
27.0b
(cos (/ (* z t) 3.0))
27.3b
(sin (* 0.3333333333333333 (* t z)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r/ associate-*r* associate-*l* *-commutative
cos-mult sin-mult
Counts
4 → 60
Calls
4 calls:
8.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
9.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (* 0.3333333333333333 (* t z)))

series71.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0387704
11638550
25002550

prune359.0ms

Filtered
43 candidates to 72 candidates (-67.4%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh02626
Picked101
Done000
Total712899

Merged error: 17.9b

Counts
99 → 28

localize56.0ms

Local error

Found 4 expressions with local error:

27.0b
(cos (/ (* z t) 3.0))
27.0b
(cos (/ (* z t) 3.0))
27.0b
(cos (/ (* z t) 3.0))
27.3b
(sin (* 0.3333333333333333 (* t z)))

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 t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (* 0.3333333333333333 (* t z)))

series21.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cos (/ (* z t) 3.0))
6.0ms
(cos (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (* 0.3333333333333333 (* t z)))

simplify115.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
035186
149158
261158
370158
498158
5172158
6691158
72256158
85001158

prune132.0ms

Filtered
35 candidates to 40 candidates (-14.3%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh32427
Picked101
Done000
Total402868

Merged error: 17.9b

Counts
68 → 28

regimes4.4s

Accuracy

50.1% (1.8b remaining)

Error of 18.3b against oracle of 16.5b and baseline of 20.2b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06147
16347
26347

end0.0ms

sample4.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 60%

Results
787.0ms1607×body1280valid
371.0ms4459×body80valid
314.0ms912×body640valid
304.0ms389×body2560valid
187.0ms2261×body80nan
111.0ms437×body320valid
87.0ms1102×body80invalid
38.0ms196×body160valid

Profiling

Loading profile data...