Details

Time bar (total: 2.4s)

sample19.0ms

Algorithm
intervals
Results
7.0ms332×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0143
1243
2403
3663
4863
5973
61183
71593
82443
94423
106263
116913
127383
137653
147653

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x y (* (- x 1.0) z))
0.0b
(* (- x 1.0) z)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r*
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 34
Calls
2 calls:
0.0ms
(fma x y (* (- x 1.0) z))
25.0ms
(* (- x 1.0) z)

series58.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(fma x y (* (- x 1.0) z))
27.0ms
(* (- x 1.0) z)

simplify52.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0133158
1462135
22228135
35001135

prune87.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x y (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
4.5b
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))
4.5b
(* (- (* x x) (* 1.0 1.0)) z)

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1
times-frac associate-*l* associate-*l/ associate-/r*
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
cbrt-undiv flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod associate-/l/ distribute-lft-out
frac-2neg flip3-+ pow-prod-down clear-num *-commutative flip-+ fma-udef div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 62
Calls
3 calls:
0.0ms
(fma x y (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
23.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))
27.0ms
(* (- (* x x) (* 1.0 1.0)) z)

series148.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(fma x y (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
54.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))
38.0ms
(* (- (* x x) (* 1.0 1.0)) z)

simplify48.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0325510
11504435
25001421

prune177.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x y (* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0))))
0.0b
(/ z (+ x 1.0))
8.8b
(* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
26×add-sqr-sqrt
25×times-frac
21×add-cube-cbrt
18×associate-*r*
10×add-exp-log add-cbrt-cube
distribute-lft-out
pow1
associate-*l* associate-/r* associate-/r/
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv frac-times flip3-- flip3-+ div-exp associate-*l/ prod-exp flip-- cbrt-unprod flip-+ div-inv unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative fma-udef difference-of-squares
Counts
3 → 89
Calls
3 calls:
0.0ms
(fma x y (* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0))))
10.0ms
(/ z (+ x 1.0))
47.0ms
(* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0)))

series139.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(fma x y (* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0))))
29.0ms
(/ z (+ x 1.0))
54.0ms
(* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0396685
11827613
25001597

prune246.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x y (/ 1 (/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z))))
0.2b
(/ 1 (/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z)))
4.5b
(* (- (* x x) (* 1.0 1.0)) z)
4.5b
(/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
50×times-frac
39×*-un-lft-identity
32×add-exp-log
29×add-sqr-sqrt
27×add-cube-cbrt
20×add-cbrt-cube
14×div-exp
12×associate-*l/
11×associate-/r* associate-/r/
pow1 cbrt-undiv associate-/l*
flip3-- flip-- div-inv distribute-lft-out
prod-exp
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
rec-exp 1-exp associate-*r* cbrt-unprod
frac-2neg clear-num associate-/l/
pow-flip flip3-+ pow-prod-down *-commutative flip-+ fma-udef inv-pow difference-of-squares unswap-sqr
Counts
4 → 132
Calls
4 calls:
0.0ms
(fma x y (/ 1 (/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z))))
38.0ms
(/ 1 (/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z)))
25.0ms
(* (- (* x x) (* 1.0 1.0)) z)
31.0ms
(/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z))

series185.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(fma x y (/ 1 (/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z))))
54.0ms
(/ 1 (/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z)))
37.0ms
(* (- (* x x) (* 1.0 1.0)) z)
42.0ms
(/ (+ x 1.0) (* (- (* x x) (* 1.0 1.0)) z))

simplify74.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05511354
125771174
250021113

prune294.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes61.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample476.0ms

Algorithm
intervals
Results
215.0ms10062×body80valid