Details

Time bar (total: 8.0s)

sample225.0ms

Algorithm
intervals
Results
114.0ms41×body2560valid
67.0ms91×body1280valid
17.0ms55×body640valid
7.0ms37×body320valid
3.0ms22×body160valid
1.0ms10×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0199
1199

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.5b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.7b
(- x (tan x))
1.8b
(- x (sin x))

rewrite23.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:
9.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series43.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
051941147

prune113.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

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (/ (- x (sin x)) (- x (tan x))))
0.0b
(log (exp (/ (- x (sin x)) (- x (tan x)))))
1.7b
(- x (tan x))
1.8b
(- x (sin x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt *-un-lft-identity
62×exp-prod
50×times-frac
32×log-pow
27×add-cube-cbrt
22×distribute-lft-out-- difference-of-squares
add-log-exp
pow1
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
log-prod
sub-neg exp-diff diff-log div-sub div-inv
log-div rem-log-exp rem-exp-log
Counts
4 → 112
Calls
4 calls:
13.0ms
(exp (/ (- x (sin x)) (- x (tan x))))
12.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
4.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series51.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(exp (/ (- x (sin x)) (- x (tan x))))
15.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
12.0ms
(- x (tan x))
5.0ms
(- x (sin x))

simplify30.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
049851348
149851348

prune140.0ms

Filtered
88 candidates to 124 candidates (-40.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh134
Picked011
Done000
Total1236129

Merged error: 0.0b

Counts
129 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow x 4) 351/22400)
0.1b
(* x (* x 9/40))
0.2b
(* x 9/40)
22.6b
(log (* (exp -1/2) (+ (* (pow x 4) 351/22400) (+ 1 (* x (* x 9/40))))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log
17×add-sqr-sqrt
14×pow1
13×associate-*l* add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
prod-exp
associate-*r*
pow-prod-down cbrt-unprod
unpow-prod-down add-log-exp unswap-sqr
*-commutative
log-div associate-*r/ rem-log-exp log-pow sqr-pow
pow-to-exp log-prod flip3-+ pow-exp flip-+
Counts
4 → 75
Calls
4 calls:
6.0ms
(* (pow x 4) 351/22400)
6.0ms
(* x (* x 9/40))
4.0ms
(* x 9/40)
11.0ms
(log (* (exp -1/2) (+ (* (pow x 4) 351/22400) (+ 1 (* x (* x 9/40))))))

series25.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow x 4) 351/22400)
3.0ms
(* x (* x 9/40))
2.0ms
(* x 9/40)
15.0ms
(log (* (exp -1/2) (+ (* (pow x 4) 351/22400) (+ 1 (* x (* x 9/40))))))

simplify38.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
04940706
14940706

prune151.0ms

Filtered
55 candidates to 87 candidates (-58.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New85287
Fresh134
Picked101
Done011
Total87693

Merged error: 0.0b

Counts
93 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow x 4) 351/22400)
0.1b
(* x (* x 9/40))
0.2b
(* x 9/40)
24.3b
(log (+ (* (pow x 4) 351/22400) (+ 1 (* x (* x 9/40)))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
17×add-exp-log
13×associate-*l* add-cbrt-cube
12×pow1
11×add-cube-cbrt *-un-lft-identity
associate-*r* prod-exp
cbrt-unprod
unpow-prod-down pow-prod-down add-log-exp unswap-sqr
log-prod *-commutative
log-div sqr-pow
pow-to-exp flip3-+ rem-log-exp pow-exp log-pow flip-+
Counts
4 → 75
Calls
4 calls:
6.0ms
(* (pow x 4) 351/22400)
6.0ms
(* x (* x 9/40))
4.0ms
(* x 9/40)
6.0ms
(log (+ (* (pow x 4) 351/22400) (+ 1 (* x (* x 9/40)))))

series19.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow x 4) 351/22400)
3.0ms
(* x (* x 9/40))
2.0ms
(* x 9/40)
9.0ms
(log (+ (* (pow x 4) 351/22400) (+ 1 (* x (* x 9/40)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04917727
14917727

prune131.0ms

Filtered
56 candidates to 87 candidates (-55.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New87087
Fresh044
Picked011
Done011
Total87693

Merged error: 0.0b

Counts
93 → 6

regimes103.0ms

Accuracy

100% (0.0b remaining)

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

bsearch35.0ms

Steps
ItersRangePoint
9
0.009971872296741319
901.3230478674768
0.028213698630483845
7
-0.0552767792151412
-0.0004813576712207844
-0.026253755058246165

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03233
13233

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.9s1644×body2560valid
1.7s2772×body1280valid
498.0ms1835×body640valid
169.0ms919×body320valid
63.0ms460×body160valid
28.0ms370×body80valid

Profiling

Loading profile data...