Details

Time bar (total: 9.3s)

analyze5.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%49.7%50.3%0
0%49.7%50.3%1
0%49.7%50.3%2
24.8%24.8%50.3%3
37.3%12.4%50.3%4
43.5%6.2%50.3%5
46.6%3.1%50.3%6
48.1%1.6%50.3%7
48.9%0.8%50.3%8
49.3%0.4%50.3%9
49.5%0.2%50.3%10
49.6%0.1%50.3%11
49.6%0%50.3%12
49.7%0%50.3%13
49.7%0%50.3%14

sample274.0ms

Algorithm
intervals
Results
218.0ms103×body2560valid
36.0ms85×body1280valid
6.0ms36×body640valid
4.0ms256×pre80true
2.0ms22×body320valid
1.0ms10×body160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
02208
12208

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 60.3b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (tan x))
2.4b
(- (/ 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 → 49
Calls
2 calls:
3.0ms
(/ 1.0 (tan x))
13.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series29.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04916556
14916556

prune80.0ms

Filtered
45 candidates to 55 candidates (-22.2%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New54155
Fresh000
Picked101
Done000
Total55156

Merged error: 0.3b

Counts
56 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
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:
8.0ms
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))
5.0ms
(* 0.0021164021164021165 (pow x 5))
6.0ms
(* 0.022222222222222223 (pow x 3))

series16.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04943707
14943707

prune122.0ms

Filtered
49 candidates to 78 candidates (-59.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New74478
Fresh000
Picked011
Done000
Total74579

Merged error: 0.2b

Counts
79 → 5

localize14.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.6b
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
0.6b
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
0.6b
(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))))

series82.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
049873186
149873186

prune531.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New94599
Fresh123
Picked011
Done011
Total959104

Merged error: 0.2b

Counts
104 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down
cbrt-div
pow1 add-exp-log
pow1/3 add-cbrt-cube add-log-exp
pow-unpow flip3-+ flip-+
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 66
Calls
4 calls:
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))))
10.0ms
(cbrt (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))))
10.0ms
(pow (cbrt (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))) 4)

series108.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
21.0ms
(cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))
23.0ms
(cbrt (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333)))))
44.0ms
(pow (cbrt (cbrt (+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* x 0.3333333333333333))))) 4)

simplify49.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049502312
149502312

prune588.0ms

Filtered
69 candidates to 78 candidates (-13.0%)
Pruning

17 alts after pruning (14 fresh and 3 done)

PrunedKeptTotal
New70878
Fresh066
Picked011
Done022
Total701787

Merged error: 0.1b

Counts
87 → 17

regimes156.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01815
11815

end0.0ms

sample7.0s

Algorithm
intervals
Results
5.1s3207×body2560valid
1.2s2496×body1280valid
226.0ms1251×body640valid
131.0ms8000×pre80true
72.0ms635×body320valid
27.0ms348×body160valid
3.0ms63×body80valid

Profiling

Loading profile data...