Details

Time bar (total: 4.3s)

sample261.0ms

Algorithm
intervals
Results
24.0ms53×body1280valid
15.0ms46×body640valid
11.0ms151×body80valid
5.0ms26×body320valid
2.0ms11×body160valid

simplify441.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04911
14911

prune13.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
0.1b
(/ 1.0 (sin B))
0.2b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
cbrt-undiv div-exp associate-*l* div-inv
tan-quot frac-2neg associate-*r/ prod-exp clear-num associate-/r/ cbrt-unprod unswap-sqr
sub-neg flip3-- diff-log pow-prod-down *-commutative frac-sub flip--
Counts
4 → 101
Calls
4 calls:
6.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
23.0ms
(/ 1.0 (sin B))
4.0ms
(/ 1.0 (tan B))
10.0ms
(* x (/ 1.0 (tan B)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
5.0ms
(/ 1.0 (sin B))
13.0ms
(/ 1.0 (tan B))
36.0ms
(* x (/ 1.0 (tan B)))

simplify84.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
04977986
14977986

prune186.0ms

Filtered
88 candidates to 113 candidates (-28.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10310113
Fresh000
Picked101
Done000
Total10410114

Merged error: 0b

Counts
114 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 (sin B)) (* 1.0 (* (cos B) (/ x (sin B)))))
0.1b
(/ 1.0 (sin B))
0.2b
(/ x (sin B))
0.2b
(* (cos B) (/ x (sin B)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity times-frac
13×add-exp-log associate-*r* add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
associate-*r/
div-inv
cbrt-undiv div-exp associate-*l*
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
sub-neg flip3-- diff-log pow-prod-down *-commutative frac-sub flip-- distribute-lft-out-- sub-div
Counts
4 → 101
Calls
4 calls:
7.0ms
(- (/ 1.0 (sin B)) (* 1.0 (* (cos B) (/ x (sin B)))))
3.0ms
(/ 1.0 (sin B))
3.0ms
(/ x (sin B))
7.0ms
(* (cos B) (/ x (sin B)))

series59.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(- (/ 1.0 (sin B)) (* 1.0 (* (cos B) (/ x (sin B)))))
5.0ms
(/ 1.0 (sin B))
11.0ms
(/ x (sin B))
18.0ms
(* (cos B) (/ x (sin B)))

simplify36.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
052911077

prune139.0ms

Filtered
86 candidates to 113 candidates (-31.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1112113
Fresh279
Picked101
Done000
Total1149123

Merged error: 0b

Counts
123 → 9

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* (cos B) (* x 1.0)))
0.1b
(* (cos B) (* x 1.0))
0.2b
(/ (- 1.0 (* (cos B) (* x 1.0))) (sin B))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
times-frac
pow1
add-log-exp
associate-*l* pow-prod-down prod-exp associate-/r* cbrt-unprod associate-/l*
flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp associate-*r* clear-num *-commutative div-inv
Counts
3 → 60
Calls
3 calls:
3.0ms
(- 1.0 (* (cos B) (* x 1.0)))
5.0ms
(* (cos B) (* x 1.0))
5.0ms
(/ (- 1.0 (* (cos B) (* x 1.0))) (sin B))

series37.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(- 1.0 (* (cos B) (* x 1.0)))
8.0ms
(* (cos B) (* x 1.0))
18.0ms
(/ (- 1.0 (* (cos B) (* x 1.0))) (sin B))

simplify41.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05053852

prune102.0ms

Filtered
54 candidates to 69 candidates (-27.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New69069
Fresh088
Picked011
Done000
Total69978

Merged error: 0b

Counts
78 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ 1.0 (sin B)))
0.4b
(cbrt (/ 1.0 (sin B)))
0.4b
(cbrt (/ 1.0 (sin B)))
0.5b
(* (cbrt (/ 1.0 (sin B))) (cbrt (/ 1.0 (sin B))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
103×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
16×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
cbrt-div div-inv
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 144
Calls
4 calls:
3.0ms
(cbrt (/ 1.0 (sin B)))
3.0ms
(cbrt (/ 1.0 (sin B)))
3.0ms
(cbrt (/ 1.0 (sin B)))
13.0ms
(* (cbrt (/ 1.0 (sin B))) (cbrt (/ 1.0 (sin B))))

series120.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(cbrt (/ 1.0 (sin B)))
29.0ms
(cbrt (/ 1.0 (sin B)))
26.0ms
(cbrt (/ 1.0 (sin B)))
39.0ms
(* (cbrt (/ 1.0 (sin B))) (cbrt (/ 1.0 (sin B))))

simplify65.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049221836
149221836

prune307.0ms

Filtered
119 candidates to 156 candidates (-31.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1560156
Fresh077
Picked011
Done011
Total1569165

Merged error: 0b

Counts
165 → 9

regimes130.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01111
11111

end0.0ms

sample2.0s

Algorithm
intervals
Results
773.0ms1697×body1280valid
397.0ms1419×body640valid
362.0ms4951×body80valid
142.0ms714×body320valid
58.0ms403×body160valid

Profiling

Loading profile data...