Details

Time bar (total: 5.5s)

sample81.0ms

Algorithm
intervals
Results
39.0ms90×body1280valid
16.0ms61×body640valid
8.0ms63×body80valid
6.0ms30×body320valid
2.0ms12×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: 14.8b

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)))
4.3b
(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))

series160.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0198305
1861257
25001256

prune125.0ms

Filtered
56 candidates to 40 candidates (71.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New49756
Fresh000
Picked101
Done000
Total50757

Merged error: 0.2b

Counts
57 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.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
associate-/r/ cos-mult
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 diff-log clear-num div-inv associate-/l*
Counts
4 → 76
Calls
4 calls:
5.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
4.0ms
(* r (sin b))
5.0ms
(* (sin a) (sin b))
8.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series380.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
42.0ms
(* r (sin b))
42.0ms
(* (sin a) (sin b))
214.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0344770
11513673
25002663

prune269.0ms

Filtered
88 candidates to 64 candidates (72.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New761288
Fresh606
Picked101
Done000
Total831295

Merged error: 0.0b

Counts
95 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series461.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
47.0ms
(* (sin a) (sin b))
112.0ms
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b))
220.0ms
(/ r (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b)))

simplify73.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05702145
124532009
250011988

prune439.0ms

Filtered
147 candidates to 119 candidates (81.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1407147
Fresh7411
Picked011
Done000
Total14712159

Merged error: 0.0b

Counts
159 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
43×*-un-lft-identity
35×times-frac
26×add-cube-cbrt
22×add-exp-log
21×associate-*r*
16×add-cbrt-cube
associate-/r* distribute-lft-out-- difference-of-squares
pow1
div-exp add-log-exp
prod-exp
cbrt-undiv associate-/r/ associate-/l*
flip3-- associate-*l* flip-- cbrt-unprod div-inv unswap-sqr
rec-exp frac-2neg 1-exp clear-num
sub-neg pow-flip diff-log associate-*r/ pow-prod-down un-div-inv cos-mult *-commutative associate-/l/ inv-pow
Counts
4 → 121
Calls
4 calls:
7.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
14.0ms
(* r (/ 1 (- (/ (* (cos a) (cos b)) (sin b)) (sin a))))
5.0ms
(/ (* (cos a) (cos b)) (sin b))
9.0ms
(/ 1 (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

series443.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
186.0ms
(* r (/ 1 (- (/ (* (cos a) (cos b)) (sin b)) (sin a))))
68.0ms
(/ (* (cos a) (cos b)) (sin b))
102.0ms
(/ 1 (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

simplify60.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04481433
119771280
250021231

prune272.0ms

Filtered
133 candidates to 82 candidates (61.7%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1303133
Fresh3710
Picked011
Done011
Total13312145

Merged error: 0.0b

Counts
145 → 12

regimes160.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1179

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s2949×body1280valid
484.0ms1802×body640valid
146.0ms770×body320valid
130.0ms2110×body80valid
51.0ms370×body160valid