Details

Time bar (total: 9.7s)

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

sample242.0ms

Algorithm
intervals
Results
179.0ms111×body2560valid
43.0ms80×body1280valid
7.0ms36×body640valid
4.0ms256×pre80true
2.0ms20×body320valid
1.0msbody160valid
0.0msbody80valid

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: 59.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series56.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ 1.0 (tan x))
37.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04916556
14916556

prune78.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

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

rewrite21.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:
9.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))

series14.0ms

Counts
3 → 9
Calls
3 calls:
6.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

prune124.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New73578
Fresh000
Picked011
Done000
Total73679

Merged error: 0.2b

Counts
79 → 6

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

rewrite42.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:
18.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))))

series84.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
049873186
149873186

prune578.0ms

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

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New881199
Fresh134
Picked011
Done011
Total8916105

Merged error: 0.2b

Counts
105 → 16

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

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

series81.0ms

Counts
4 → 12
Calls
4 calls:
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))))
23.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))))

simplify50.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
053891852

prune561.0ms

Filtered
60 candidates to 64 candidates (-6.7%)
Pruning

17 alts after pruning (14 fresh and 3 done)

PrunedKeptTotal
New63164
Fresh01313
Picked011
Done022
Total631780

Merged error: 0.1b

Counts
80 → 17

regimes159.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
01815
11815

end0.0ms

sample7.3s

Algorithm
intervals
Results
5.4s3284×body2560valid
1.3s2431×body1280valid
241.0ms1269×body640valid
136.0ms8000×pre80true
75.0ms640×body320valid
27.0ms333×body160valid
2.0ms43×body80valid

Profiling

Loading profile data...