Details

Time bar (total: 6.3s)

analyze1.2s

Algorithm
search

sample82.0ms

Algorithm
intervals
Results
43.0ms91×body1280valid
16.0ms54×body640valid
6.0ms28×body320valid
5.0ms73×body80valid
2.0ms10×body160valid

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: 12.0b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* r (sin b))
0.2b
(/ (* r (sin b)) (cos (+ a b)))
3.0b
(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))

series42.0ms

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

simplify31.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0198305
1861257
25001256

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

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

series83.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0344770
11513673
25001663

prune137.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New761288
Fresh808
Picked101
Done000
Total851297

Merged error: 0.0b

Counts
97 → 12

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

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

series102.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05702145
124532009
250021988

prune168.0ms

Filtered
118 candidates to 147 candidates (-24.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1452147
Fresh3811
Picked101
Done000
Total14910159

Merged error: 0.0b

Counts
159 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

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

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

series89.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (cos a) (cos b))
19.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
16.0ms
(/ (* (cos a) (cos b)) (sin b))
44.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

simplify44.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03651006
11394920
25001915

prune92.0ms

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

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1004104
Fresh369
Picked011
Done000
Total10311114

Merged error: 0.0b

Counts
114 → 11

regimes247.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
0128
1128

end0.0ms

analyze1.0s

Algorithm
search

sample2.6s

Algorithm
intervals
Results
1.4s2930×body1280valid
543.0ms1810×body640valid
176.0ms782×body320valid
147.0ms2122×body80valid
60.0ms356×body160valid
0.0msbody640invalid

Profiling

Loading profile data...