Details

Time bar (total: 9.7s)

sample237.0ms

Algorithm
intervals
Results
166.0ms100×body2560valid
44.0ms78×body1280valid
8.0ms39×body640valid
5.0ms256×pre80true
3.0ms24×body320valid
1.0ms12×body160valid
0.0msbody80valid

simplify3.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.6b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (tan x))
3.7b
(- (/ 1.0 x) (/ 1.0 (tan x)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×*-un-lft-identity
19×times-frac
12×add-cube-cbrt
distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp difference-of-squares
associate-/r* div-inv associate-/l*
pow1
tan-quot cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num associate-/r/ frac-sub flip--
Counts
2 → 50
Calls
2 calls:
4.0ms
(/ 1.0 (tan x))
13.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series32.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(/ 1.0 (tan x))
21.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify57.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05145561

prune86.0ms

Filtered
45 candidates to 56 candidates (-24.4%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New55156
Fresh000
Picked101
Done000
Total56157

Merged error: 0.3b

Counts
57 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
4.0ms
(+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))
6.0ms
(* 0.022222222222222223 (pow x 3))
5.0ms
(* 0.0021164021164021165 (pow x 5))

series29.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05138884

prune154.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New87592
Fresh000
Picked011
Done000
Total87693

Merged error: 0.1b

Counts
93 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))) (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
0.6b
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
0.6b
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
0.6b
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))

rewrite28.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:
11.0ms
(* (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))) (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
6.0ms
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
4.0ms
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
4.0ms
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))) (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
58.0ms
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
58.0ms
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
57.0ms
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))

simplify35.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
050462298

prune446.0ms

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

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New94599
Fresh044
Picked011
Done011
Total9411105

Merged error: 0.1b

Counts
105 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-prod
14×cbrt-div
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 61
Calls
4 calls:
4.0ms
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
5.0ms
(cbrt (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
5.0ms
(cbrt (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
5.0ms
(cbrt (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))

series289.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
77.0ms
(cbrt (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
77.0ms
(cbrt (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
77.0ms
(cbrt (cbrt (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))

simplify30.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
052331801

prune538.0ms

Filtered
69 candidates to 73 candidates (-5.8%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New71273
Fresh088
Picked011
Done022
Total711384

Merged error: 0.1b

Counts
84 → 13

regimes99.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01815
11815

end0.0ms

sample7.3s

Algorithm
intervals
Results
5.2s3265×body2560valid
1.4s2521×body1280valid
245.0ms1192×body640valid
132.0ms8000×pre80true
83.0ms648×body320valid
29.0ms326×body160valid
2.0ms48×body80valid

Profiling

Loading profile data...