Details

Time bar (total: 9.0s)

sample465.0ms

Algorithm
intervals
Results
139.0ms50×body2560valid
58.0ms95×body1280valid
15.0ms54×body640valid
5.0ms33×body320valid
1.0ms12×body160valid
1.0ms12×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.4b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.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:
22.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series175.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(/ (- x (sin x)) (- x (tan x)))
57.0ms
(- x (tan x))
41.0ms
(- x (sin x))

simplify150.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune178.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 0.0b

Counts
90 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
0.1b
(pow (/ (- x (sin x)) (- x (tan x))) 3)
1.9b
(- x (tan x))
1.9b
(- x (sin x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
134×add-sqr-sqrt *-un-lft-identity
100×times-frac
68×cbrt-prod
62×unpow-prod-down cube-prod
50×add-cube-cbrt
42×distribute-lft-out-- difference-of-squares
associate-/r/ add-log-exp
add-exp-log add-cbrt-cube
flip3-- flip--
pow1
div-inv
pow-unpow
cube-div cube-mult sub-neg diff-log unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv pow-to-exp cbrt-div pow-pow pow1/3 div-exp rem-cbrt-cube
Counts
4 → 188
Calls
4 calls:
12.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
11.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
3.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series250.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
90.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
53.0ms
(- x (tan x))
31.0ms
(- x (sin x))

simplify84.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07362195
130512083
250012069

prune254.0ms

Filtered
200 candidates to 86 candidates (43.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1982200
Fresh123
Picked011
Done000
Total1995204

Merged error: 0b

Counts
204 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- x (tan x)))
0.1b
(* (- x (sin x)) (/ 1 (- x (tan x))))
1.9b
(- x (tan x))
1.9b
(- x (sin x))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
45×*-un-lft-identity
32×times-frac
24×add-cube-cbrt
21×associate-*r*
17×add-exp-log
11×add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
add-log-exp
pow1
flip3-- flip--
associate-*l* associate-/r*
div-exp prod-exp associate-/r/
associate-/l* unswap-sqr
cbrt-undiv frac-times sub-neg rec-exp diff-log 1-exp associate-*l/ cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 119
Calls
4 calls:
5.0ms
(/ 1 (- x (tan x)))
13.0ms
(* (- x (sin x)) (/ 1 (- x (tan x))))
3.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series207.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ 1 (- x (tan x)))
73.0ms
(* (- x (sin x)) (/ 1 (- x (tan x))))
51.0ms
(- x (tan x))
31.0ms
(- x (sin x))

simplify56.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0462906
12072813
25002771

prune201.0ms

Filtered
131 candidates to 81 candidates (61.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1310131
Fresh033
Picked011
Done011
Total1315136

Merged error: 0b

Counts
136 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.3b
(* 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))

series111.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0273349
11123318
25001315

prune116.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New74175
Fresh112
Picked101
Done022
Total76480

Merged error: 0b

Counts
80 → 4

regimes55.0ms

Accuracy

100% (0.0b remaining)

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

bsearch76.0ms

Steps
ItersRangePoint
9
0.0002199982819353488
137964.03928948785
0.02902705871059986
9
-0.41295360884021565
-1.1902930357079885e-07
-0.02453727723232867

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03113
13113

end0.0ms

sample6.4s

Algorithm
intervals
Results
4.0s1645×body2560valid
1.6s2727×body1280valid
471.0ms1858×body640valid
153.0ms928×body320valid
55.0ms477×body160valid
25.0ms365×body80valid