Details

Time bar (total: 5.6s)

sample76.0ms

Algorithm
intervals
Results
36.0ms87×body1280valid
20.0ms65×body640valid
4.0ms72×body80valid
4.0ms22×body320valid
1.0ms10×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

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.5b

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(* r (sin b))
0.2b
(/ (* r (sin b)) (cos (+ a b)))
3.7b
(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
expm1-log1p-u times-frac associate-*r* associate-*l* associate-/r* log1p-expm1-u 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 → 53
Calls
3 calls:
4.0ms
(* r (sin b))
5.0ms
(/ (* r (sin b)) (cos (+ a b)))
6.0ms
(cos (+ a b))

series160.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0207327
1884279
25001279

prune174.0ms

Filtered
62 candidates to 46 candidates (74.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

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

series384.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
37.0ms
(* r (sin b))
44.0ms
(* (sin a) (sin b))
220.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify53.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0369836
11591736
25002730

prune342.0ms

Filtered
98 candidates to 74 candidates (75.5%)
Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* (cos b) (cos a)) (* (sin a) (sin b)))
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))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
20×associate-*r*
19×times-frac
13×add-exp-log add-cbrt-cube
pow1 associate-/r/
sin-mult
associate-*l* cos-mult add-log-exp
expm1-log1p-u log1p-expm1-u
flip3-- prod-exp associate-/r* frac-sub flip-- cbrt-unprod associate-/l* sub-div unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
sub-neg frac-2neg fma-neg diff-log associate-*r/ prod-diff clear-num
Counts
4 → 110
Calls
4 calls:
5.0ms
(- (* (cos b) (cos a)) (* (sin a) (sin b)))
11.0ms
(* r (/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b)))))
7.0ms
(* (sin a) (sin b))
8.0ms
(/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b))))

series450.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (* (cos b) (cos a)) (* (sin a) (sin b)))
216.0ms
(* r (/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b)))))
42.0ms
(* (sin a) (sin b))
111.0ms
(/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b))))

simplify55.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04271384
118191255
250011254

prune422.0ms

Filtered
122 candidates to 94 candidates (77.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
19×times-frac
16×associate-*r*
13×add-exp-log add-cbrt-cube
pow1
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
prod-exp associate-/r* cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
frac-2neg associate-*r/ clear-num fma-udef sin-mult
Counts
4 → 94
Calls
4 calls:
6.0ms
(* r (/ (sin b) (fma (cos b) (cos a) (- (* (sin a) (sin b))))))
1.0ms
(fma (cos b) (cos a) (- (* (sin a) (sin b))))
5.0ms
(* (sin a) (sin b))
4.0ms
(/ (sin b) (fma (cos b) (cos a) (- (* (sin a) (sin b)))))

series469.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(* r (/ (sin b) (fma (cos b) (cos a) (- (* (sin a) (sin b))))))
82.0ms
(fma (cos b) (cos a) (- (* (sin a) (sin b))))
48.0ms
(* (sin a) (sin b))
117.0ms
(/ (sin b) (fma (cos b) (cos a) (- (* (sin a) (sin b)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
03231173
114021043
250011043

prune331.0ms

Filtered
106 candidates to 81 candidates (76.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

regimes179.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01612
11612

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s2935×body1280valid
470.0ms1835×body640valid
130.0ms748×body320valid
123.0ms2144×body80valid
43.0ms342×body160valid