Details

Time bar (total: 5.2s)

sample16.0ms

Algorithm
intervals
Results
7.0ms277×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0215
1404
2694
31044
41464
51604
61604

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.4b

localize9.0ms

Local error

Found 2 expressions with local error:

3.2b
(/ (/ 1.0 x) (fma z z 1.0))
3.7b
(/ (/ (/ 1.0 x) (fma z z 1.0)) y)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
468×times-frac
228×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
56×associate-/l*
22×div-inv
16×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
associate-/r*
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 266
Calls
2 calls:
6.0ms
(/ (/ 1.0 x) (fma z z 1.0))
16.0ms
(/ (/ (/ 1.0 x) (fma z z 1.0)) y)

series136.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(/ (/ 1.0 x) (fma z z 1.0))
73.0ms
(/ (/ (/ 1.0 x) (fma z z 1.0)) y)

simplify108.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011482808
146382733
250032733

prune755.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (/ 1.0 x))
0.6b
(/ y (/ (cbrt (/ 1.0 x)) (sqrt (fma z z 1.0))))
16.6b
(sqrt (fma z z 1.0))
16.6b
(sqrt (fma z z 1.0))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
909×times-frac
440×add-sqr-sqrt
438×add-cube-cbrt *-un-lft-identity
325×cbrt-prod
198×sqrt-prod
100×associate-/r*
30×div-inv
add-exp-log
add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv div-exp associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-div frac-2neg pow1/3 clear-num associate-/r/
Counts
4 → 474
Calls
4 calls:
2.0ms
(cbrt (/ 1.0 x))
25.0ms
(/ y (/ (cbrt (/ 1.0 x)) (sqrt (fma z z 1.0))))
1.0ms
(sqrt (fma z z 1.0))
1.0ms
(sqrt (fma z z 1.0))

series595.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(cbrt (/ 1.0 x))
264.0ms
(/ y (/ (cbrt (/ 1.0 x)) (sqrt (fma z z 1.0))))
49.0ms
(sqrt (fma z z 1.0))
60.0ms
(sqrt (fma z z 1.0))

simplify94.0ms

Algorithm
egg-herbie
Counts
486 → 486
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
017326712
150016483

prune1.6s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (/ 1.0 1) (* y (* (fma z z 1.0) x)))
3.1b
(* (fma z z 1.0) x)
3.8b
(* y (* (fma z z 1.0) x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
40×add-exp-log
31×times-frac add-cbrt-cube
22×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
15×div-exp
13×prod-exp associate-/l*
10×pow1 cbrt-unprod
cbrt-undiv
associate-*l*
associate-*r* pow-prod-down
expm1-log1p-u 1-exp log1p-expm1-u div-inv add-log-exp
*-commutative
frac-2neg clear-num associate-/r* associate-/l/ unswap-sqr
Counts
3 → 95
Calls
3 calls:
9.0ms
(/ (/ 1.0 1) (* y (* (fma z z 1.0) x)))
3.0ms
(* (fma z z 1.0) x)
6.0ms
(* y (* (fma z z 1.0) x))

series158.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(/ (/ 1.0 1) (* y (* (fma z z 1.0) x)))
40.0ms
(* (fma z z 1.0) x)
50.0ms
(* y (* (fma z z 1.0) x))

simplify91.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0487623
12289499
25001475

prune189.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ 1.0 1) (* y (* (sqrt (fma z z 1.0)) (* (sqrt (fma z z 1.0)) x))))
3.8b
(* y (* (sqrt (fma z z 1.0)) (* (sqrt (fma z z 1.0)) x)))
16.6b
(sqrt (fma z z 1.0))
16.6b
(sqrt (fma z z 1.0))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
59×add-exp-log
45×add-cbrt-cube
31×times-frac
24×prod-exp
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
20×div-exp
18×cbrt-unprod
15×pow1
13×associate-/l*
12×cbrt-undiv
pow-prod-down sqrt-prod
expm1-log1p-u 1-exp log1p-expm1-u add-log-exp
associate-*l* div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-2neg associate-*r* clear-num associate-/r* *-commutative associate-/l/
Counts
4 → 113
Calls
4 calls:
33.0ms
(/ (/ 1.0 1) (* y (* (sqrt (fma z z 1.0)) (* (sqrt (fma z z 1.0)) x))))
26.0ms
(* y (* (sqrt (fma z z 1.0)) (* (sqrt (fma z z 1.0)) x)))
1.0ms
(sqrt (fma z z 1.0))
1.0ms
(sqrt (fma z z 1.0))

series227.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ (/ 1.0 1) (* y (* (sqrt (fma z z 1.0)) (* (sqrt (fma z z 1.0)) x))))
54.0ms
(* y (* (sqrt (fma z z 1.0)) (* (sqrt (fma z z 1.0)) x)))
58.0ms
(sqrt (fma z z 1.0))
51.0ms
(sqrt (fma z z 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0591937
12774678
25001641

prune263.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.2b

regimes279.0ms

Accuracy

82.3% (0.3b remaining)

Error of 5.4b against oracle of 5.1b and baseline of 7.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03622
13822
23822

end0.0ms

sample418.0ms

Algorithm
intervals
Results
241.0ms8632×body80valid