Details

Time bar (total: 8.2s)

sample98.0ms

Algorithm
intervals
Results
47.0ms103×body1280valid
20.0ms83×body640valid
9.0ms40×body320valid
8.0ms277×body80nan
2.0ms25×body160valid
0.0msbody80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0186
1256
2406
3656
4986
51226
61356
71376
81376

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.6b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ 1.0 x) (- 1.0 x))
5.9b
(log (/ (+ 1.0 x) (- 1.0 x)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
63×*-un-lft-identity
41×add-sqr-sqrt
40×times-frac
26×log-prod
23×add-cube-cbrt
11×distribute-lft-out
distribute-lft-out-- difference-of-squares
add-exp-log
associate-/r*
associate-/r/ add-cbrt-cube associate-/l*
pow1
expm1-log1p-u flip3-- div-exp rem-log-exp flip-- log1p-expm1-u div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 86
Calls
2 calls:
11.0ms
(/ (+ 1.0 x) (- 1.0 x))
6.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

series156.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(/ (+ 1.0 x) (- 1.0 x))
125.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

simplify118.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0334673
11078636
24549616
35001613

prune196.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
0.0b
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
70×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
36×add-cube-cbrt *-un-lft-identity
25×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp
add-cbrt-cube
pow-to-exp pow-exp
pow1
associate-*l*
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
cbrt-undiv associate-*r/ pow-prod-down *-commutative fma-udef div-inv
Counts
2 → 122
Calls
2 calls:
0.0ms
(fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
30.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

series362.0ms

Counts
2 → 6
Calls
2 calls:
308.0ms
(fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
54.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

simplify54.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0555769
12288635
25002634

prune340.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
0.0b
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
0.0b
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
0.2b
(* (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))) (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
160×add-sqr-sqrt times-frac
142×associate-*r*
112×unpow-prod-down
80×add-cube-cbrt *-un-lft-identity
52×add-exp-log
48×unpow2 sqr-pow
38×unswap-sqr
23×pow1
21×prod-exp
18×div-exp sqrt-prod
16×add-cbrt-cube
12×pow-to-exp associate-*l* pow-exp
sqrt-pow1 pow1/2 swap-sqr
pow-prod-down pow-prod-up cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
pow-sqr *-commutative
cbrt-undiv associate-*r/ div-inv
pow2 pow-plus sqrt-unprod rem-square-sqrt fma-udef
Counts
4 → 285
Calls
4 calls:
0.0ms
(fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
30.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
27.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
7.0ms
(* (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))) (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

series891.0ms

Counts
4 → 12
Calls
4 calls:
297.0ms
(fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
51.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
49.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
495.0ms
(* (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))) (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

simplify93.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06352089
129011745
250011702

prune941.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
0.1b
(sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
0.1b
(* (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (pow (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) 3))
0.3b
(pow (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) 3)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
107×sqrt-prod
74×add-sqr-sqrt
27×unpow-prod-down cube-prod
25×add-cube-cbrt *-un-lft-identity
24×associate-*r* unswap-sqr
12×pow1 sqrt-pow1
10×add-exp-log
associate-*l*
add-cbrt-cube
pow1/2
pow-pow sqr-pow
expm1-log1p-u rem-sqrt-square log1p-expm1-u add-log-exp
pow-unpow prod-exp
cube-mult pow-to-exp unpow3 pow-exp
*-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 156
Calls
4 calls:
4.0ms
(sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
1.0ms
(sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
20.0ms
(* (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (pow (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) 3))
3.0ms
(pow (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) 3)

series1.2s

Counts
4 → 12
Calls
4 calls:
253.0ms
(sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
249.0ms
(sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
315.0ms
(* (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (pow (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) 3))
354.0ms
(pow (sqrt (sqrt (fma (fma x x x) 2.0 (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) 3)

simplify100.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05533588
127152763
250032515

prune452.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes74.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01610
11610

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.5s3359×body1280valid
656.0ms2593×body640valid
230.0ms8044×body80nan
182.0ms1217×body320valid
57.0ms630×body160valid
8.0ms201×body80valid