Details

Time bar (total: 8.5s)

sample417.0ms

Algorithm
intervals
Results
240.0ms88×body1280valid
138.0ms51×body2560valid
14.0ms52×body640valid
8.0ms43×body320valid
2.0msbody80valid
2.0ms13×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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 (sin x))
7.0ms
(- x (tan x))

series37.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (sin x))
20.0ms
(- x (tan x))

simplify153.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune87.0ms

Filtered
63 candidates to 89 candidates (-41.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New86389
Fresh000
Picked101
Done000
Total87390

Merged error: 0b

Counts
90 → 3

localize11.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.6b
(- x (sin x))
1.6b
(- x (tan x))

rewrite43.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:
15.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
12.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))

series47.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
13.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
5.0ms
(- x (sin x))
10.0ms
(- x (tan x))

simplify84.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07362195
130512082
250022068

prune130.0ms

Filtered
87 candidates to 200 candidates (-129.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1991200
Fresh112
Picked011
Done000
Total2003203

Merged error: 0b

Counts
203 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series11.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 27/2800 (pow x 4))
3.0ms
(* 9/40 (pow x 2))
5.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify40.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273349
11123316
25001313

prune99.0ms

Filtered
46 candidates to 75 candidates (-63.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh011
Picked011
Done011
Total75378

Merged error: 0b

Counts
78 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (/ (pow (- x (sin x)) 3) (pow (- x (tan x)) 3)))
1.6b
(- x (sin x))
1.6b
(- x (tan x))
19.9b
(/ (pow (- x (sin x)) 3) (pow (- x (tan x)) 3))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
512×times-frac
471×add-sqr-sqrt *-un-lft-identity
330×unpow-prod-down cube-prod
262×cbrt-prod
203×add-cube-cbrt
134×distribute-lft-out-- difference-of-squares
66×cube-mult unpow3 sqr-pow
16×add-exp-log associate-/r* associate-/l*
div-exp
add-log-exp
cube-div pow-to-exp pow-exp add-cbrt-cube
flip3-- flip--
pow1 associate-/r/
sub-neg diff-log div-inv associate-/l/
cbrt-undiv cbrt-div frac-2neg pow1/3 clear-num
Counts
4 → 611
Calls
4 calls:
25.0ms
(cbrt (/ (pow (- x (sin x)) 3) (pow (- x (tan x)) 3)))
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))
17.0ms
(/ (pow (- x (sin x)) 3) (pow (- x (tan x)) 3))

series46.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(cbrt (/ (pow (- x (sin x)) 3) (pow (- x (tan x)) 3)))
5.0ms
(- x (sin x))
10.0ms
(- x (tan x))
18.0ms
(/ (pow (- x (sin x)) 3) (pow (- x (tan x)) 3))

simplify186.0ms

Algorithm
egg-herbie
Counts
623 → 623
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
09078729
144498558
250018531

prune325.0ms

Filtered
170 candidates to 623 candidates (-266.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New6230623
Fresh000
Picked011
Done022
Total6233626

Merged error: 0b

Counts
626 → 3

regimes74.0ms

Accuracy

100% (0.0b remaining)

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

bsearch40.0ms

Steps
ItersRangePoint
8
2.4879688186424768e-05
0.3609580473631881
0.031796315249784685
10
-522.1368722912733
-5.949899967025005e-16
-0.025835475030384893

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03213
13213

end0.0ms

sample6.5s

Algorithm
intervals
Results
4.0s1609×body2560valid
1.6s2726×body1280valid
494.0ms1921×body640valid
162.0ms926×body320valid
52.0ms440×body160valid
27.0ms378×body80valid

Profiling

Loading profile data...