Details

Time bar (total: 10.0m)

sample306.0ms

Algorithm
intervals
Results
22.0ms53×body1280valid
12.0ms49×body640valid
9.0ms149×body80valid
6.0ms26×body320valid
2.0ms13×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune8.0ms

Filtered
1 candidates to 1 candidates (100.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 (tan B))
0.1b
(/ 1.0 (sin B))
0.2b
(* x (/ 1.0 (tan B)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
99×frac-sub
96×add-sqr-sqrt
90×associate-*r/
84×*-un-lft-identity
79×associate-/l*
70×add-cube-cbrt
69×associate-/r*
33×times-frac clear-num
23×frac-2neg
20×un-div-inv
14×associate-*r*
13×add-exp-log add-cbrt-cube
pow1 add-log-exp difference-of-squares unswap-sqr
associate-*l*
cbrt-undiv div-exp div-inv
tan-quot prod-exp associate-/r/ cbrt-unprod distribute-lft-out--
sub-neg flip3-- diff-log pow-prod-down *-commutative flip--
Counts
4 → 217
Calls
4 calls:
45.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
4.0ms
(/ 1.0 (tan B))
4.0ms
(/ 1.0 (sin B))
11.0ms
(* x (/ 1.0 (tan B)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
34.0ms
(/ 1.0 (tan B))
22.0ms
(/ 1.0 (sin B))
124.0ms
(* x (/ 1.0 (tan B)))

simplify53.0ms

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011662295
150012214

prune488.0ms

Filtered
229 candidates to 146 candidates (63.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2218229
Fresh000
Picked101
Done000
Total2228230

Merged error: 0.0b

Counts
230 → 8

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite201.0ms

Algorithm
rewrite-expression-head
Rules
323×add-sqr-sqrt
289×associate-/l*
288×frac-sub
280×*-un-lft-identity
262×add-cube-cbrt
214×times-frac
200×associate-*r*
199×associate-/r*
149×distribute-rgt-neg-in
147×distribute-lft-neg-in
62×associate-*l*
49×neg-mul-1
43×frac-2neg clear-num
22×unswap-sqr
20×*-commutative
10×add-exp-log add-cbrt-cube
difference-of-squares
distribute-lft-out-- add-log-exp
pow1 cbrt-undiv div-exp
div-inv
tan-quot sub-neg flip3-- diff-log distribute-frac-neg prod-exp associate-/r/ distribute-rgt-neg-out flip-- cbrt-unprod distribute-neg-frac
Counts
3 → 573
Calls
3 calls:
146.0ms
(- (/ 1.0 (sin B)) (/ (* x (- 1.0)) (- (tan B))))
15.0ms
(/ (* x (- 1.0)) (- (tan B)))
4.0ms
(/ 1.0 (sin B))

series252.0ms

Counts
3 → 9
Calls
3 calls:
124.0ms
(- (/ 1.0 (sin B)) (/ (* x (- 1.0)) (- (tan B))))
109.0ms
(/ (* x (- 1.0)) (- (tan B)))
19.0ms
(/ 1.0 (sin B))

simplify136.0ms

Algorithm
egg-herbie
Counts
582 → 582
Iterations

Useful iterations: 1 (66.0ms)

IterNodesCost
036148670
150028621

prune1.4s

Filtered
582 candidates to 403 candidates (69.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New5766582
Fresh617
Picked011
Done000
Total5828590

Merged error: 0.0b

Counts
590 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (sin B))
0.7b
(cbrt (sin B))
0.7b
(cbrt (sin B))
2.6b
(/ (- (* (/ 1.0 (* (cbrt (sin B)) (cbrt (sin B)))) (tan B)) (* (cbrt (sin B)) (/ (* x (- 1.0)) (- 1)))) (* (tan B) (cbrt (sin B))))

rewrite1.8s

Algorithm
rewrite-expression-head
Rules
10233×add-sqr-sqrt
3679×unswap-sqr
3163×times-frac
2744×cbrt-prod
2576×associate-/r*
2347×associate-/l/
2345×frac-sub
2179×associate-*r/
1870×*-un-lft-identity
1701×associate-/l*
1600×add-cube-cbrt associate-*r*
1309×difference-of-squares
1191×tan-quot
1156×associate-*l/
1155×frac-times
1011×associate-*l*
658×swap-sqr
402×distribute-lft-neg-in distribute-rgt-neg-in
341×*-commutative
205×clear-num
201×un-div-inv
138×frac-2neg
134×neg-mul-1
68×distribute-lft-out--
11×add-cbrt-cube
add-exp-log
pow1 add-log-exp
cbrt-undiv pow1/3
div-exp cbrt-unprod
flip3-- div-sub prod-exp associate-/r/ flip-- div-inv
Counts
4 → 3841
Calls
4 calls:
2.0ms
(cbrt (sin B))
1.0ms
(cbrt (sin B))
2.0ms
(cbrt (sin B))
1.2s
(/ (- (* (/ 1.0 (* (cbrt (sin B)) (cbrt (sin B)))) (tan B)) (* (cbrt (sin B)) (/ (* x (- 1.0)) (- 1)))) (* (tan B) (cbrt (sin B))))

series664.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(cbrt (sin B))
95.0ms
(cbrt (sin B))
95.0ms
(cbrt (sin B))
380.0ms
(/ (- (* (/ 1.0 (* (cbrt (sin B)) (cbrt (sin B)))) (tan B)) (* (cbrt (sin B)) (/ (* x (- 1.0)) (- 1)))) (* (tan B) (cbrt (sin B))))

simplify732.0ms

Algorithm
egg-herbie
Counts
3853 → 3853
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05001103925

prune12.5s

Filtered
3853 candidates to 2506 candidates (65.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New385213853
Fresh156
Picked011
Done011
Total385383861

Merged error: 0b

Counts
3861 → 8

localize30.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (sin B))
0.7b
(cbrt (sin B))
0.7b
(cbrt (sin B))
2.2b
(/ (* (cbrt (- (* (/ 1.0 (* (cbrt (sin B)) (cbrt (sin B)))) (tan B)) (* (cbrt (sin B)) (/ (* x (- 1.0)) (- 1))))) (cbrt (- (* (/ 1.0 (* (cbrt (sin B)) (cbrt (sin B)))) (tan B)) (* (cbrt (sin B)) (/ (* x (- 1.0)) (- 1)))))) (* (tan B) (* (cbrt (cbrt (sin B))) (cbrt (cbrt (sin B))))))

rewrite9.7m

Algorithm
rewrite-expression-head
Calls
4 calls:
2.0ms
(cbrt (sin B))
2.0ms
(cbrt (sin B))
36.0ms
(cbrt (sin B))
9.5m
(/ (* (cbrt (- (* (/ 1.0 (* (cbrt (sin B)) (cbrt (sin B)))) (tan B)) (* (cbrt (sin B)) (/ (* x (- 1.0)) (- 1))))) (cbrt (- (* (/ 1.0 (* (cbrt (sin B)) (cbrt (sin B)))) (tan B)) (* (cbrt (sin B)) (/ (* x (- 1.0)) (- 1)))))) (* (tan B) (* (cbrt (cbrt (sin B))) (cbrt (cbrt (sin B))))))