Details

Time bar (total: 8.6s)

sample468.0ms

Algorithm
intervals
Results
135.0ms60×body2560valid
44.0ms83×body1280valid
18.0ms60×body640valid
5.0ms30×body320valid
1.0ms10×body160valid
1.0ms13×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.2b

Counts
2 → 1

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))

rewrite38.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:
24.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series176.0ms

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

simplify158.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune186.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New86389
Fresh000
Picked011
Done000
Total86490

Merged error: 0.0b

Counts
90 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

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

series113.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(* 27/2800 (pow x 4))
25.0ms
(* 9/40 (pow x 2))
48.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify45.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0273349
11123316
25001313

prune138.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New74175
Fresh022
Picked011
Done011
Total74579

Merged error: 0.0b

Counts
79 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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))
4.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series169.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)))

simplify44.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0249308
11003278
25001273

prune131.0ms

Filtered
73 candidates to 45 candidates (61.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New73073
Fresh022
Picked011
Done022
Total73578

Merged error: 0.0b

Counts
78 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- x (tan x)) 3)
0.6b
(- x (tan x))
0.6b
(- x (sin x))
20.3b
(cbrt (pow (- x (tan x)) 3))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
16×cbrt-prod
10×add-cube-cbrt unpow-prod-down cube-prod
add-log-exp
distribute-lft-out-- difference-of-squares
pow1 add-exp-log add-cbrt-cube
cube-div flip3-- flip--
pow-unpow
cube-mult sub-neg cbrt-div diff-log unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 84
Calls
4 calls:
5.0ms
(pow (- x (tan x)) 3)
3.0ms
(- x (tan x))
4.0ms
(- x (sin x))
5.0ms
(cbrt (pow (- x (tan x)) 3))

series214.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(pow (- x (tan x)) 3)
54.0ms
(- x (tan x))
31.0ms
(- x (sin x))
69.0ms
(cbrt (pow (- x (tan x)) 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0352506
11243480
25001474

prune181.0ms

Filtered
96 candidates to 57 candidates (59.4%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New96096
Fresh011
Picked011
Done033
Total965101

Merged error: 0.0b

Counts
101 → 5

regimes65.0ms

Accuracy

100% (0.0b remaining)

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

bsearch71.0ms

Steps
ItersRangePoint
10
1.4358440906352691e-08
58326792.95653587
0.02968012863964934
7
-0.42296476227477825
-0.006911778759371886
-0.02929154713524706

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02911
12911

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.8s1584×body2560valid
1.6s2775×body1280valid
503.0ms1905×body640valid
159.0ms936×body320valid
52.0ms421×body160valid
28.0ms379×body80valid

Profiling

Loading profile data...