Details

Time bar (total: 9.6s)

sample521.0ms

Algorithm
intervals
Results
186.0ms56×body2560valid
63.0ms90×body1280valid
13.0ms51×body640valid
5.0ms29×body320valid
2.0ms20×body160valid
1.0ms10×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.6b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.1b
(- x (tan x))
1.2b
(- x (sin x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
8.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series182.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(/ (- x (sin x)) (- x (tan x)))
56.0ms
(- x (tan x))
50.0ms
(- x (sin x))

simplify150.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune200.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (/ (- x (sin x)) (- x (tan x))) 3)
0.0b
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
1.1b
(- x (tan x))
1.2b
(- x (sin x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
134×add-sqr-sqrt *-un-lft-identity
100×times-frac
68×cbrt-prod
62×unpow-prod-down cube-prod
50×add-cube-cbrt
42×distribute-lft-out-- difference-of-squares
associate-/r/ add-log-exp
add-exp-log add-cbrt-cube
flip3-- flip--
pow1
div-inv
pow-unpow
cube-div cube-mult sub-neg diff-log unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv pow-to-exp cbrt-div pow-pow pow1/3 div-exp rem-cbrt-cube
Counts
4 → 188
Calls
4 calls:
11.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
12.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
3.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series252.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
75.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
54.0ms
(- x (tan x))
31.0ms
(- x (sin x))

simplify80.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07362195
130512083
250012069

prune300.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 9/40 (pow x 2))
0.3b
(* 27/2800 (pow x 4))
14.3b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 9/40 (pow x 2))
9.0ms
(* 27/2800 (pow x 4))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series109.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* 9/40 (pow x 2))
40.0ms
(* 27/2800 (pow x 4))
44.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0273349
11123318
25002315

prune144.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (sin x) 3)
1.1b
(- x (tan x))
1.2b
(- (pow x 3) (pow (sin x) 3))
19.7b
(/ (- (pow x 3) (pow (sin x) 3)) (* (+ (* (sin x) (+ (sin x) x)) (pow x 2)) (- x (tan x))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
49×difference-of-squares
41×*-un-lft-identity
39×unpow-prod-down cube-prod
25×times-frac associate-/l* sqr-pow
16×distribute-lft-out--
10×add-exp-log add-cbrt-cube
add-cube-cbrt
associate-/r/ add-log-exp
flip3-- flip--
pow1
frac-times
difference-cubes pow-unpow flip3-+ flip-+
cbrt-undiv sub-neg diff-log associate-*r/ div-exp associate-*l/ associate-/l/
cube-mult pow-to-exp pow-pow frac-2neg unpow3 div-sub pow-exp prod-exp clear-num associate-/r* cbrt-unprod div-inv rem-cube-cbrt
Counts
4 → 147
Calls
4 calls:
3.0ms
(pow (sin x) 3)
3.0ms
(- x (tan x))
11.0ms
(- (pow x 3) (pow (sin x) 3))
27.0ms
(/ (- (pow x 3) (pow (sin x) 3)) (* (+ (* (sin x) (+ (sin x) x)) (pow x 2)) (- x (tan x))))

series439.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (sin x) 3)
49.0ms
(- x (tan x))
102.0ms
(- (pow x 3) (pow (sin x) 3))
253.0ms
(/ (- (pow x 3) (pow (sin x) 3)) (* (+ (* (sin x) (+ (sin x) x)) (pow x 2)) (- x (tan x))))

simplify90.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06301900
130221778
250021734

prune393.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes75.0ms

Accuracy

100% (0.0b remaining)

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

bsearch76.0ms

Steps
ItersRangePoint
10
1.4316099847845607e-10
21.660028671588154
0.02927114404593424
9
-8.718619127186496
-1.4100946153605287e-08
-0.02800886827920761

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02911
12911

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.8s1584×body2560valid
1.6s2769×body1280valid
489.0ms1889×body640valid
149.0ms913×body320valid
57.0ms487×body160valid
31.0ms358×body80valid