Details

Time bar (total: 29.9s)

sample10.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0.219727%

Results
168.0ms60×body2560valid
51.0ms84×body1280valid
23.0ms64×body640valid
4.0ms24×body320valid
2.0ms15×body160valid
1.0msbody80valid

simplify487.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: 32.3b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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:
7.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series37.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune101.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 0.0b

Counts
90 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series15.0ms

Counts
3 → 9
Calls
3 calls:
6.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 (34.0ms)

IterNodesCost
0273349
11123316
25001313

prune112.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New73275
Fresh033
Picked101
Done000
Total74579

Merged error: 0.0b

Counts
79 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series16.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0249308
11003278
25001273

prune104.0ms

Filtered
45 candidates to 73 candidates (-62.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh044
Picked011
Done000
Total73578

Merged error: 0.0b

Counts
78 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (exp (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))))
0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
15.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite25.0ms

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

series18.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(log (exp (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))))
3.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))

simplify43.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0304534
11244477
25001474

prune148.0ms

Filtered
60 candidates to 96 candidates (-60.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh033
Picked101
Done011
Total965101

Merged error: 0.0b

Counts
101 → 5

regimes51.0ms

Accuracy

100% (0.0b remaining)

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

bsearch66.0ms

Steps
ItersRangePoint
10
9.769643162898516e-11
668520.6088970661
0.02893033204655101
9
-2361.549549310402
-0.011074949245274652
-0.02844530949916754

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03212
13212

end0.0ms

sample17.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0.219727%

Results
4.1s1662×body2560valid
1.9s2736×body1280valid
496.0ms1888×body640valid
163.0ms936×body320valid
56.0ms450×body160valid
25.0ms328×body80valid

Profiling

Loading profile data...