Details

Time bar (total: 5.3s)

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

prune3.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

localize12.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))

rewrite18.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))

series161.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0207327
1884279
25001279

prune162.0ms

Filtered
62 candidates to 46 candidates (74.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New54862
Fresh000
Picked101
Done000
Total55863

Merged error: 0.2b

Counts
63 → 8

localize19.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))

rewrite25.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*
expm1-log1p-u prod-exp associate-/r/ cbrt-unprod log1p-expm1-u 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 → 89
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))

series342.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (cos a) (cos b))
36.0ms
(* r (sin b))
218.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
44.0ms
(* (sin a) (sin b))

simplify51.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0382724
11662634
25001633

prune321.0ms

Filtered
101 candidates to 73 candidates (72.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9011101
Fresh617
Picked101
Done000
Total9712109

Merged error: 0.0b

Counts
109 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin a) (sin b)) 3))))
0.2b
(* (sin a) (sin b))
0.3b
(pow (* (sin a) (sin b)) 3)
30.0b
(cbrt (pow (* (sin a) (sin b)) 3))

rewrite26.0ms

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

series373.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin a) (sin b)) 3))))
48.0ms
(* (sin a) (sin b))
68.0ms
(pow (* (sin a) (sin b)) 3)
46.0ms
(cbrt (pow (* (sin a) (sin b)) 3))

simplify56.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0402840
11873732
25001723

prune343.0ms

Filtered
104 candidates to 73 candidates (70.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh01111
Picked011
Done000
Total10313116

Merged error: 0.0b

Counts
116 → 13

localize16.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
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u 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 → 113
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))
9.0ms
(/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (cos b) (cos a))
221.0ms
(* r (/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b)))))
44.0ms
(* (sin a) (sin b))
115.0ms
(/ (sin b) (- (* (cos b) (cos a)) (* (sin a) (sin b))))

simplify58.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04441273
118901154
250021152

prune346.0ms

Filtered
125 candidates to 94 candidates (75.2%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1223125
Fresh3811
Picked011
Done011
Total12513138

Merged error: 0b

Counts
138 → 13

regimes184.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01812
11812

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s2843×body1280valid
500.0ms1872×body640valid
132.0ms734×body320valid
131.0ms2212×body80valid
43.0ms339×body160valid