Details

Time bar (total: 9.5s)

sample461.0ms

Algorithm
intervals
Results
104.0ms51×body2560valid
56.0ms85×body1280valid
22.0ms62×body640valid
8.0ms36×body320valid
2.0ms16×body160valid
1.0msbody80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.1b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.7b
(- x (tan x))
1.7b
(- x (sin x))

rewrite56.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:
36.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (tan x))
9.0ms
(- x (sin x))

series168.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(/ (- x (sin x)) (- x (tan x)))
54.0ms
(- x (tan x))
39.0ms
(- x (sin x))

simplify152.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune208.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(* 9/40 (pow x 2))
0.5b
(* 27/2800 (pow x 4))
16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite44.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:
12.0ms
(* 9/40 (pow x 2))
11.0ms
(* 27/2800 (pow x 4))
18.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series107.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(* 9/40 (pow x 2))
34.0ms
(* 27/2800 (pow x 4))
45.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 (35.0ms)

IterNodesCost
0273349
11123318
25002315

prune149.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(* 9/40 (pow x 2))
0.5b
(* 27/2800 (pow x 4))
16.1b
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

rewrite39.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-cbrt-cube unswap-sqr
associate-*l* prod-exp
add-log-exp
sqr-pow
pow1
pow-to-exp pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- diff-log flip--
Counts
3 → 64
Calls
3 calls:
12.0ms
(* 9/40 (pow x 2))
15.0ms
(* 27/2800 (pow x 4))
10.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series166.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* 9/40 (pow x 2))
39.0ms
(* 27/2800 (pow x 4))
103.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify41.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0249310
11003281
25002275

prune149.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin x) 3)
1.7b
(- x (tan x))
1.7b
(- (pow x 3) (pow (sin x) 3))
20.4b
(/ (- (pow x 3) (pow (sin x) 3)) (* (+ (* (sin x) (+ (sin x) x)) (pow x 2)) (- x (tan x))))

rewrite137.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:
4.0ms
(pow (sin x) 3)
5.0ms
(- x (tan x))
26.0ms
(- (pow x 3) (pow (sin x) 3))
94.0ms
(/ (- (pow x 3) (pow (sin x) 3)) (* (+ (* (sin x) (+ (sin x) x)) (pow x 2)) (- x (tan x))))

series416.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sin x) 3)
52.0ms
(- x (tan x))
95.0ms
(- (pow x 3) (pow (sin x) 3))
241.0ms
(/ (- (pow x 3) (pow (sin x) 3)) (* (+ (* (sin x) (+ (sin x) x)) (pow x 2)) (- x (tan x))))

simplify93.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06301900
130221778
250021734

prune420.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes52.0ms

Accuracy

100% (0.0b remaining)

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

bsearch85.0ms

Steps
ItersRangePoint
10
8.950540206577903e-05
66689094922.78456
0.028137121054087433
10
-1500.694570789724
-6.177030851099824e-09
-0.029160662270036743

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02811
12811

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.5s1601×body2560valid
1.8s2790×body1280valid
621.0ms1874×body640valid
206.0ms930×body320valid
71.0ms474×body160valid
37.0ms331×body80valid