Details

Time bar (total: 8.3s)

sample453.0ms

Algorithm
intervals
Results
99.0ms52×body2560valid
70.0ms104×body1280valid
16.0ms48×body640valid
7.0ms32×body320valid
2.0ms13×body160valid
1.0msbody80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.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:
11.0ms
(/ (- x (sin x)) (- x (tan x)))
2.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series176.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(/ (- x (sin x)) (- x (tan x)))
58.0ms
(- x (tan x))
41.0ms
(- x (sin x))

simplify152.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune195.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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
(* 27/2800 (pow x 4))
5.0ms
(* 9/40 (pow x 2))
8.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series108.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 27/2800 (pow x 4))
27.0ms
(* 9/40 (pow x 2))
45.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify42.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0273349
11123318
25001315

prune140.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
18.3b
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

rewrite16.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:
5.0ms
(* 27/2800 (pow x 4))
6.0ms
(* 9/40 (pow x 2))
3.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series167.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 27/2800 (pow x 4))
27.0ms
(* 9/40 (pow x 2))
105.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify42.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0249310
11003281
25001275

prune138.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes41.0ms

Accuracy

100% (0.0b remaining)

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

bsearch70.0ms

Steps
ItersRangePoint
8
0.003342748024832997
13.582308112339199
0.02851743899812111
9
-118.89002763209811
-0.00028315217264546786
-0.024514420160319003

simplify6.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02811
12811

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.5s1593×body2560valid
1.9s2768×body1280valid
624.0ms1882×body640valid
211.0ms934×body320valid
71.0ms460×body160valid
33.0ms363×body80valid