Details

Time bar (total: 6.1s)

analyze997.0ms

Algorithm
search

sample81.0ms

Algorithm
intervals
Results
44.0ms95×body1280valid
16.0ms58×body640valid
5.0ms76×body80valid
5.0ms22×body320valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1165
2195
3205
4205

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.2b

Counts
2 → 1

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.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)))
4.0ms
(cos (+ a b))

series38.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0198305
1861257
25001256

prune90.0ms

Filtered
40 candidates to 56 candidates (-40.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New47956
Fresh000
Picked101
Done000
Total48957

Merged error: 0.2b

Counts
57 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
4.0ms
(* r (sin b))
5.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
8.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
5.0ms
(* (sin a) (sin b))

series86.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* r (sin b))
16.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
53.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
9.0ms
(* (sin a) (sin b))

simplify45.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0344770
11513673
25001663

prune148.0ms

Filtered
64 candidates to 88 candidates (-37.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New771188
Fresh808
Picked101
Done000
Total861197

Merged error: 0b

Counts
97 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.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)))
8.0ms
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b))
4.0ms
(* (sin a) (sin b))
7.0ms
(/ r (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b)))

series105.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
26.0ms
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b))
9.0ms
(* (sin a) (sin b))
53.0ms
(/ r (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b)))

simplify74.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05702145
124532009
250021988

prune173.0ms

Filtered
119 candidates to 147 candidates (-23.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1452147
Fresh2810
Picked011
Done000
Total14711158

Merged error: 0b

Counts
158 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
28×*-un-lft-identity
18×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
associate-/r*
pow1 add-log-exp
distribute-lft-out-- difference-of-squares
associate-/l*
cbrt-undiv div-exp associate-*r* associate-*l*
flip3-- frac-2neg prod-exp clear-num associate-/r/ cos-mult flip-- cbrt-unprod div-inv
sub-neg diff-log pow-prod-down *-commutative associate-/l/ unswap-sqr
Counts
4 → 92
Calls
4 calls:
7.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
4.0ms
(* (cos a) (cos b))
5.0ms
(/ (* (cos a) (cos b)) (sin b))
8.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
8.0ms
(* (cos a) (cos b))
19.0ms
(/ (* (cos a) (cos b)) (sin b))
45.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

simplify43.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03651006
11394920
25001915

prune233.0ms

Filtered
76 candidates to 104 candidates (-36.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh189
Picked101
Done011
Total10510115

Merged error: 0b

Counts
115 → 10

regimes239.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
01410
11410

end0.0ms

analyze996.0ms

Algorithm
search

sample2.5s

Algorithm
intervals
Results
1.4s2869×body1280valid
514.0ms1841×body640valid
154.0ms755×body320valid
139.0ms2175×body80valid
53.0ms360×body160valid

Profiling

Loading profile data...