Details

Time bar (total: 16.8s)

sample4.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
129.0ms49×body2560valid
65.0ms100×body1280valid
20.0ms57×body640valid
4.0ms23×body320valid
2.0ms15×body160valid
1.0ms12×body80valid

simplify374.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.4b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.4b
(- x (tan x))
1.5b
(- x (sin 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 (tan x))
6.0ms
(- x (sin x))

series38.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune103.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))
18.1b
(- (* 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))

series15.0ms

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

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

Counts
79 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- (* 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))
18.1b
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
15×associate-*r*
14×add-exp-log
12×*-un-lft-identity
11×add-log-exp
10×add-cube-cbrt
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 diff-log sqr-pow
sub-neg
pow-to-exp flip3-- pow-exp associate--l+ *-commutative flip-- cbrt-unprod unpow2
associate--l- distribute-lft-out-- difference-of-squares
Counts
4 → 82
Calls
4 calls:
6.0ms
(- (- (* 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))
4.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series20.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (- (* 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))
9.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify48.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0308474
11219442
25001431

prune139.0ms

Filtered
59 candidates to 94 candidates (-59.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New94094
Fresh044
Picked011
Done000
Total94599

Merged error: 0.1b

Counts
99 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series32.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0227719
1723651
23160649
35001649

prune240.0ms

Filtered
48 candidates to 67 candidates (-39.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New67067
Fresh033
Picked011
Done011
Total67572

Merged error: 0.1b

Counts
72 → 5

regimes93.0ms

Accuracy

100% (0.0b remaining)

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

bsearch49.0ms

Steps
ItersRangePoint
10
0.000975852108371138
15187447970.527506
0.028237605054750856
6
-0.12556691585268046
-0.019223410576720813
-0.02836701413477812

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03013
13013

end0.0ms

sample10.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
3.7s1518×body2560valid
1.7s2775×body1280valid
697.0ms1921×body640valid
172.0ms927×body320valid
69.0ms505×body160valid
32.0ms354×body80valid

Profiling

Loading profile data...