Details

Time bar (total: 16.2s)

sample4.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0.219727%

Results
95.0ms40×body2560valid
56.0ms86×body1280valid
17.0ms65×body640valid
7.0ms33×body320valid
2.0ms19×body160valid
1.0ms13×body80valid

simplify372.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: 29.0b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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))
5.0ms
(- x (tan x))

series40.0ms

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

simplify150.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune108.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590

Merged error: 0.1b

Counts
90 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.9b
(- x (tan x))
1.9b
(- x (tan x))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
28.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series68.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(/ (sin x) (- x (tan x)))
35.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
10.0ms
(- x (tan x))
11.0ms
(- x (tan x))

simplify40.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0376909
11205870
25001870

prune101.0ms

Filtered
80 candidates to 106 candidates (-32.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1051106
Fresh044
Picked011
Done000
Total1056111

Merged error: 0.1b

Counts
111 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

1.9b
(- x (sin x))
1.9b
(- x (tan x))
1.9b
(- x (tan x))
1.9b
(- x (tan x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series37.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- x (sin x))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))
11.0ms
(- x (tan x))

simplify67.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0150319
1342296
2774296
32023296
45001296

prune77.0ms

Filtered
51 candidates to 68 candidates (-33.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh044
Picked011
Done011
Total68674

Merged error: 0.1b

Counts
74 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series13.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 27/2800 (pow x 4))
3.0ms
(* 9/40 (pow x 2))
6.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
11123316
25001313

prune100.0ms

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New73275
Fresh033
Picked101
Done022
Total74781

Merged error: 0.1b

Counts
81 → 7

regimes59.0ms

Accuracy

100% (0.0b remaining)

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

bsearch51.0ms

Steps
ItersRangePoint
8
1.2712346180526327e-06
0.03920241966066582
0.028395693174625137
6
-0.03985459117158147
-0.007938092672561575
-0.03378721284896674

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample10.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.1s1608×body2560valid
1.6s2703×body1280valid
488.0ms1919×body640valid
161.0ms941×body320valid
58.0ms470×body160valid
27.0ms359×body80valid

Profiling

Loading profile data...