Details

Time bar (total: 17.6s)

sample4.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0.219727%

Results
167.0ms57×body2560valid
47.0ms82×body1280valid
16.0ms65×body640valid
5.0ms26×body320valid
2.0ms14×body160valid
1.0ms12×body80valid

simplify364.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: 33.3b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.4b
(- x (sin x))
1.4b
(- 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:
7.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
5.0ms
(- x (tan x))

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

simplify148.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune105.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.1b

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

series15.0ms

Counts
3 → 9
Calls
3 calls:
4.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))

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273349
11123316
25001313

prune114.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh033
Picked011
Done000
Total74579

Merged error: 0.1b

Counts
79 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

13.8b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
15.4b
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
15.4b
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
15.4b
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log flip3-- add-cbrt-cube flip--
pow1/3
diff-log
sub-neg sum-log associate--r+
Counts
4 → 53
Calls
4 calls:
6.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
6.0ms
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
6.0ms
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
6.0ms
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))

series51.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
17.0ms
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
14.0ms
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
16.0ms
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))

simplify101.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0227901
1723833
23160827
35001827

prune322.0ms

Filtered
56 candidates to 65 candidates (-16.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New65065
Fresh033
Picked011
Done011
Total65570

Merged error: 0.1b

Counts
70 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
1.3b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.4b
(- x (tan x))
1.4b
(- x (tan x))

rewrite43.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)))
26.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series61.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0376909
11205870
25001870

prune85.0ms

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1051106
Fresh112
Picked101
Done022
Total1074111

Merged error: 0.1b

Counts
111 → 4

regimes49.0ms

Accuracy

100% (0.0b remaining)

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

bsearch44.0ms

Steps
ItersRangePoint
8
0.018355360142520552
391.0994193283684
0.03436993896801193
9
-0.11178818041521428
-1.1746611908901782e-08
-0.02909113960781213

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03316
13316

end0.0ms

sample11.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0.219727%

Results
3.9s1575×body2560valid
1.6s2760×body1280valid
491.0ms1849×body640valid
174.0ms976×body320valid
58.0ms468×body160valid
28.0ms372×body80valid

Profiling

Loading profile data...