Details

Time bar (total: 9.1s)

sample210.0ms

Algorithm
intervals
Results
140.0ms93×body2560valid
47.0ms92×body1280valid
7.0ms40×body640valid
4.0ms256×pre80true
2.0ms18×body320valid
1.0ms11×body160valid
0.0msbody80valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0118
1118

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 59.9b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

2.6b
(- (/ 1.0 x) (/ 1.0 (tan x)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×*-un-lft-identity
10×times-frac
distribute-lft-out--
difference-of-squares
add-cube-cbrt add-log-exp
div-inv
pow1 add-exp-log sub-neg flip3-- diff-log frac-sub add-cbrt-cube flip--
Counts
1 → 22
Calls
1 calls:
14.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series23.0ms

Counts
1 → 3
Calls
1 calls:
23.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05316327

prune48.0ms

Filtered
21 candidates to 25 candidates (-19.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New24125
Fresh000
Picked101
Done000
Total25126

Merged error: 0.3b

Counts
26 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x 0.3333333333333333) (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))))
0.0b
(+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))
0.0b
(* 0.0021164021164021165 (pow x 5))
0.1b
(* 0.022222222222222223 (pow x 3))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×associate-*r*
14×add-exp-log
11×add-cube-cbrt *-un-lft-identity add-log-exp
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
cube-mult associate-+r+ unpow3
Counts
4 → 80
Calls
4 calls:
7.0ms
(+ (* x 0.3333333333333333) (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))))
5.0ms
(+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))
6.0ms
(* 0.0021164021164021165 (pow x 5))
7.0ms
(* 0.022222222222222223 (pow x 3))

series29.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* x 0.3333333333333333) (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))))
13.0ms
(+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))
5.0ms
(* 0.0021164021164021165 (pow x 5))
4.0ms
(* 0.022222222222222223 (pow x 3))

simplify38.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
04948920
14948920

prune161.0ms

Filtered
60 candidates to 92 candidates (-53.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New88492
Fresh000
Picked011
Done000
Total88593

Merged error: 0.1b

Counts
93 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))) (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))))
0.7b
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
0.7b
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
0.7b
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
19.0ms
(* (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))) (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))))
7.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
7.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
7.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))

series95.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))) (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))))
22.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
22.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
25.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))

simplify50.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
050013117

prune580.0ms

Filtered
80 candidates to 99 candidates (-23.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New94599
Fresh033
Picked011
Done011
Total9410104

Merged error: 0.1b

Counts
104 → 10

localize33.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.7b
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
0.7b
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div pow1/3 add-cbrt-cube add-log-exp
flip3-+ flip-+
Counts
4 → 48
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
7.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
7.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))

series95.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(cbrt x)
24.0ms
(cbrt x)
22.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
24.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))

simplify35.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
052231026

prune306.0ms

Filtered
48 candidates to 60 candidates (-25.0%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New58260
Fresh167
Picked011
Done022
Total591170

Merged error: 0.1b

Counts
70 → 11

regimes103.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01815
11815

end0.0ms

sample7.1s

Algorithm
intervals
Results
5.2s3271×body2560valid
1.3s2515×body1280valid
224.0ms1195×body640valid
128.0ms8000×pre80true
73.0ms617×body320valid
30.0ms356×body160valid
2.0ms46×body80valid

Profiling

Loading profile data...