Details

Time bar (total: 11.1s)

sample184.0ms

Algorithm
intervals
Results
116.0ms95×body2560valid
45.0ms89×body1280valid
6.0ms34×body640valid
4.0ms256×pre80true
3.0ms30×body320valid
0.0msbody160valid
0.0msbody80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
1114
2114

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 59.9b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
271×times-frac
220×add-sqr-sqrt
216×*-un-lft-identity
208×add-cube-cbrt
182×prod-diff
31×div-inv
14×tan-quot associate-/r/
13×fma-neg
distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp difference-of-squares
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num frac-sub flip--
Counts
2 → 249
Calls
2 calls:
4.0ms
(/ 1.0 (tan x))
18.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series133.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(/ 1.0 (tan x))
97.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify85.0ms

Algorithm
egg-herbie
Counts
255 → 255
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
08115920
121934160
250013667

prune229.0ms

Filtered
255 candidates to 90 candidates (35.3%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New2541255
Fresh000
Picked101
Done000
Total2551256

Merged error: 0.4b

Counts
256 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))

series57.0ms

Counts
1 → 3
Calls
1 calls:
57.0ms
(fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))

simplify30.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
05089
115178
286278
3500178

prune43.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New9413
Fresh000
Picked011
Done000
Total9514

Merged error: 0.3b

Counts
14 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))) (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))))
1.0ms
(cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))
1.0ms
(cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))
1.0ms
(cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))

series1.0s

Counts
4 → 12
Calls
4 calls:
272.0ms
(* (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))) (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))))
258.0ms
(cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))
265.0ms
(cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))
254.0ms
(cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))

simplify59.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04061479
114321371
250021179

prune352.0ms

Filtered
93 candidates to 72 candidates (77.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New86793
Fresh123
Picked011
Done011
Total871198

Merged error: 0.3b

Counts
98 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 46
Calls
4 calls:
1.0ms
(cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))
4.0ms
(cbrt (* (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))) (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))))
4.0ms
(cbrt (* (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))) (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))))
4.0ms
(cbrt (* (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))) (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))))

series1.1s

Counts
4 → 12
Calls
4 calls:
278.0ms
(cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))
275.0ms
(cbrt (* (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))) (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))))
281.0ms
(cbrt (* (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))) (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))))
274.0ms
(cbrt (* (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x)))) (cbrt (fma 0.022222222222222223 (pow x 3) (fma 0.0021164021164021165 (pow x 5) (* 0.3333333333333333 x))))))

simplify44.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03671185
111951053
25001957

prune291.0ms

Filtered
58 candidates to 53 candidates (91.4%)
Pruning

18 alts after pruning (16 fresh and 2 done)

PrunedKeptTotal
New50858
Fresh088
Picked101
Done022
Total511869

Merged error: 0.2b

Counts
69 → 18

regimes103.0ms

Accuracy

0% (0.1b 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
0125
1125

end0.0ms

sample7.2s

Algorithm
intervals
Results
5.2s3259×body2560valid
1.4s2455×body1280valid
233.0ms1244×body640valid
130.0ms8000×pre80true
74.0ms651×body320valid
27.0ms326×body160valid
3.0ms65×body80valid