Details

Time bar (total: 11.2s)

sample217.0ms

Algorithm
intervals
Results
144.0ms110×body2560valid
47.0ms86×body1280valid
8.0ms33×body640valid
3.0ms256×pre80true
3.0ms19×body320valid
1.0msbody160valid
0.0msbody80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
1114
2114

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 59.8b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite27.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:
26.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series110.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
0163196
1351186
21151186
33993185
45001185

prune55.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
cube-prod sqr-pow
pow1 sum-log
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative cube-mult associate-+r+ flip3-+ unpow3 flip-+
Counts
3 → 69
Calls
3 calls:
23.0ms
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))
11.0ms
(* 0.0021164021164021165 (pow x 5))
12.0ms
(* 0.022222222222222223 (pow x 3))

series150.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))
54.0ms
(* 0.0021164021164021165 (pow x 5))
37.0ms
(* 0.022222222222222223 (pow x 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0301381
11298348
25002348

prune176.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite179.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:
127.0ms
(* (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))) (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))))
18.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
15.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
16.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))

series1.3s

Counts
4 → 12
Calls
4 calls:
309.0ms
(* (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))) (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))))
258.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
257.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
466.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))

simplify69.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04962207
119322080
250011862

prune406.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-div
16×cbrt-prod
flip3-+ flip-+
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log frac-times pow1/3 add-cbrt-cube add-log-exp
associate-*r/ associate-*l/
Counts
4 → 59
Calls
4 calls:
17.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
15.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
16.0ms
(cbrt (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))))
44.0ms
(cbrt (* (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))) (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
269.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
273.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
292.0ms
(cbrt (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))))
339.0ms
(cbrt (* (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))) (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))))

simplify65.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06061822
121381719
250021711

prune381.0ms

Pruning

18 alts after pruning (16 fresh and 2 done)

Merged error: 0.1b

regimes103.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0187
1187

end0.0ms

sample6.4s

Algorithm
intervals
Results
4.3s3175×body2560valid
1.4s2556×body1280valid
334.0ms1283×body640valid
127.0ms635×body320valid
94.0ms8000×pre80true
35.0ms302×body160valid
3.0ms49×body80valid