Details

Time bar (total: 10.0s)

sample259.0ms

Algorithm
intervals
Results
189.0ms98×body2560valid
44.0ms80×body1280valid
8.0ms43×body640valid
4.0ms256×pre80true
3.0ms25×body320valid
1.0msbody160valid
0.0msbody80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
084
1114
2114

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 60.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
3.0ms
(/ 1.0 (tan x))
13.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series30.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(/ 1.0 (tan x))
20.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0232342
1610327
21880327
35002326

prune84.0ms

Filtered
56 candidates to 46 candidates (17.9%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New55156
Fresh000
Picked101
Done000
Total56157

Merged error: 0.3b

Counts
57 → 1

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.1b
(* 0.0021164021164021165 (pow x 5))
0.1b
(* 0.022222222222222223 (pow x 3))

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

series14.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))
4.0ms
(* 0.0021164021164021165 (pow x 5))
4.0ms
(* 0.022222222222222223 (pow x 3))

simplify48.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0301381
11298348
25002348

prune124.0ms

Filtered
78 candidates to 49 candidates (37.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New73578
Fresh000
Picked011
Done000
Total73679

Merged error: 0.2b

Counts
79 → 6

localize15.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))))

rewrite36.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:
16.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)))))
6.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
6.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
6.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))

series84.0ms

Counts
4 → 12
Calls
4 calls:
22.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)))))
19.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
19.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
23.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))

simplify67.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04962207
119322080
250011862

prune575.0ms

Filtered
99 candidates to 75 candidates (24.2%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New891099
Fresh044
Picked011
Done011
Total8916105

Merged error: 0.1b

Counts
105 → 16

localize23.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)))) (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)))))

rewrite38.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:
7.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
8.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
15.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))))))
7.0ms
(cbrt (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))))

series93.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
20.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))))
28.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))))))
24.0ms
(cbrt (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06061822
121381719
250021711

prune692.0ms

Filtered
71 candidates to 64 candidates (9.9%)
Pruning

19 alts after pruning (17 fresh and 2 done)

PrunedKeptTotal
New64771
Fresh31013
Picked101
Done022
Total681987

Merged error: 0.1b

Counts
87 → 19

regimes181.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1187

end0.0ms

sample7.4s

Algorithm
intervals
Results
5.5s3263×body2560valid
1.3s2495×body1280valid
231.0ms1236×body640valid
130.0ms8000×pre80true
75.0ms605×body320valid
28.0ms352×body160valid
2.0ms49×body80valid

Profiling

Loading profile data...