Details

Time bar (total: 5.1s)

sample79.0ms

Algorithm
intervals
Results
42.0ms95×body1280valid
17.0ms68×body640valid
4.0ms22×body320valid
3.0ms58×body80valid
2.0ms13×body160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1165
2195
3205
4205

prune2.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: 12.6b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(* r (sin b))
0.2b
(/ (* r (sin b)) (cos (+ a b)))
3.6b
(cos (+ a b))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*r* associate-*l* associate-/r* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod
cos-sum frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 47
Calls
3 calls:
4.0ms
(* r (sin b))
5.0ms
(/ (* r (sin b)) (cos (+ a b)))
6.0ms
(cos (+ a b))

series157.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(* r (sin b))
95.0ms
(/ (* r (sin b)) (cos (+ a b)))
23.0ms
(cos (+ a b))

simplify32.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0198305
1861257
25001256

prune130.0ms

Filtered
56 candidates to 40 candidates (71.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New48856
Fresh000
Picked101
Done000
Total49857

Merged error: 0.2b

Counts
57 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos a) (cos b))
0.1b
(* r (sin b))
0.2b
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
0.2b
(* (sin a) (sin b))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
10×pow1
associate-*r* associate-*l*
prod-exp associate-/r/ cbrt-unprod add-log-exp
times-frac pow-prod-down associate-/r* cos-mult *-commutative sin-mult unswap-sqr
cbrt-undiv div-exp
flip3-- frac-2neg clear-num frac-sub flip-- div-inv associate-/l* sub-div
Counts
4 → 81
Calls
4 calls:
4.0ms
(* (cos a) (cos b))
4.0ms
(* r (sin b))
9.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
5.0ms
(* (sin a) (sin b))

series334.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (cos a) (cos b))
39.0ms
(* r (sin b))
211.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
46.0ms
(* (sin a) (sin b))

simplify48.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0367682
11616594
25001593

prune273.0ms

Filtered
93 candidates to 65 candidates (69.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New821193
Fresh617
Picked101
Done000
Total8912101

Merged error: 0.0b

Counts
101 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos b) (cos a))
0.2b
(* r (/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b)))))
0.2b
(* (sin a) (sin b))
0.2b
(/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity
23×associate-*r*
19×times-frac
15×add-exp-log add-cbrt-cube
10×pow1
associate-*l*
associate-/r/
cos-mult sin-mult
prod-exp cbrt-unprod add-log-exp unswap-sqr
pow-prod-down associate-/r* *-commutative associate-/l*
cbrt-undiv flip3-- div-exp frac-sub flip-- div-inv sub-div
frac-2neg associate-*r/ clear-num
Counts
4 → 105
Calls
4 calls:
5.0ms
(* (cos b) (cos a))
12.0ms
(* r (/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b)))))
5.0ms
(* (sin a) (sin b))
8.0ms
(/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b))))

series403.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (cos b) (cos a))
205.0ms
(* r (/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b)))))
45.0ms
(* (sin a) (sin b))
111.0ms
(/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b))))

simplify55.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04281219
118401103
250011098

prune320.0ms

Filtered
117 candidates to 86 candidates (73.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1143117
Fresh2911
Picked011
Done000
Total11613129

Merged error: 0b

Counts
129 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (sin a)) (cbrt (sin a)))
0.6b
(cbrt (sin a))
0.6b
(cbrt (sin a))
0.6b
(cbrt (sin a))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
7.0ms
(* (cbrt (sin a)) (cbrt (sin a)))
2.0ms
(cbrt (sin a))
1.0ms
(cbrt (sin a))
2.0ms
(cbrt (sin a))

series399.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (cbrt (sin a)) (cbrt (sin a)))
94.0ms
(cbrt (sin a))
96.0ms
(cbrt (sin a))
97.0ms
(cbrt (sin a))

simplify94.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0154453
1551401
23082369
35002363

prune244.0ms

Filtered
85 candidates to 60 candidates (70.6%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh01111
Picked011
Done011
Total851398

Merged error: 0b

Counts
98 → 13

regimes171.0ms

Accuracy

0% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s2843×body1280valid
477.0ms1872×body640valid
147.0ms734×body320valid
125.0ms2212×body80valid
43.0ms339×body160valid