Details

Time bar (total: 2.7s)

sample22.0ms

Algorithm
intervals
Results
14.0ms363×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0103
1233
2443
3623
4633
5633

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (* x y))
0.1b
(* x (- 1.0 (* x y)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
prod-diff
add-cube-cbrt *-un-lft-identity
distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube add-log-exp
sub-neg fma-neg associate-*r* associate-*l*
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 52
Calls
2 calls:
2.0ms
(- 1.0 (* x y))
8.0ms
(* x (- 1.0 (* x y)))

series67.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(- 1.0 (* x y))
41.0ms
(* x (- 1.0 (* x y)))

simplify111.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0171294
1703256
23872252
35002250

prune98.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* x y))
0.1b
(* x (- 1.0 (* x y)))
49.5b
(fma (- y) x (* y x))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube add-log-exp
expm1-log1p-u sub-neg fma-neg associate-*r* associate-*l* log1p-expm1-u
flip3-- associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 62
Calls
3 calls:
3.0ms
(- 1.0 (* x y))
8.0ms
(* x (- 1.0 (* x y)))
0.0ms
(fma (- y) x (* y x))

series92.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(- 1.0 (* x y))
42.0ms
(* x (- 1.0 (* x y)))
24.0ms
(fma (- y) x (* y x))

simplify116.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0181344
1748299
24048295
35002293

prune158.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (* x y))
0.1b
(* x (fma y x 1.0))
0.1b
(* (* x (fma y x 1.0)) (- 1.0 (* x y)))
5.9b
(/ (* (* x (fma y x 1.0)) (- 1.0 (* x y))) (+ 1.0 (* x y)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
11×pow1
prod-diff
prod-exp cbrt-unprod
distribute-rgt-in distribute-lft-in associate-*r* add-log-exp
expm1-log1p-u associate-*r/ associate-*l* pow-prod-down log1p-expm1-u
cbrt-undiv sub-neg flip3-- times-frac fma-neg div-exp associate-/r* flip--
associate-/r/ *-commutative fma-udef associate-/l/
frac-2neg flip3-+ diff-log clear-num flip-+ div-inv associate-/l* unswap-sqr
Counts
4 → 103
Calls
4 calls:
2.0ms
(- 1.0 (* x y))
3.0ms
(* x (fma y x 1.0))
13.0ms
(* (* x (fma y x 1.0)) (- 1.0 (* x y)))
14.0ms
(/ (* (* x (fma y x 1.0)) (- 1.0 (* x y))) (+ 1.0 (* x y)))

series257.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- 1.0 (* x y))
38.0ms
(* x (fma y x 1.0))
88.0ms
(* (* x (fma y x 1.0)) (- 1.0 (* x y)))
102.0ms
(/ (* (* x (fma y x 1.0)) (- 1.0 (* x y))) (+ 1.0 (* x y)))

simplify72.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0427816
12621673
25002664

prune230.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* x (fma y x 1.0))
0.1b
(/ (fma y x 1.0) (* x (fma y x 1.0)))
0.2b
(/ (/ (fma y x 1.0) (* x (fma y x 1.0))) (- 1.0 (* x y)))
0.2b
(/ 1 (/ (/ (fma y x 1.0) (* x (fma y x 1.0))) (- 1.0 (* x y))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
237×times-frac
110×add-sqr-sqrt
108×add-cube-cbrt *-un-lft-identity
54×add-exp-log
34×add-cbrt-cube
31×associate-/r*
30×div-exp
23×div-inv
16×cbrt-undiv
13×associate-/l*
11×associate-/r/
pow1
prod-exp
flip3-- flip--
expm1-log1p-u rec-exp 1-exp cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg associate-*r* associate-*l* clear-num
fma-udef
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down *-commutative associate-/l/ inv-pow unswap-sqr
Counts
4 → 239
Calls
4 calls:
3.0ms
(* x (fma y x 1.0))
3.0ms
(/ (fma y x 1.0) (* x (fma y x 1.0)))
8.0ms
(/ (/ (fma y x 1.0) (* x (fma y x 1.0))) (- 1.0 (* x y)))
16.0ms
(/ 1 (/ (/ (fma y x 1.0) (* x (fma y x 1.0))) (- 1.0 (* x y))))

series139.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* x (fma y x 1.0))
7.0ms
(/ (fma y x 1.0) (* x (fma y x 1.0)))
49.0ms
(/ (/ (fma y x 1.0) (* x (fma y x 1.0))) (- 1.0 (* x y)))
43.0ms
(/ 1 (/ (/ (fma y x 1.0) (* x (fma y x 1.0))) (- 1.0 (* x y))))

simplify55.0ms

Algorithm
egg-herbie
Counts
251 → 251
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
09362996
150012418

prune488.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes39.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0148
1148

end0.0ms

sample581.0ms

Algorithm
intervals
Results
412.0ms10701×body80valid