Details

Time bar (total: 2.2s)

sample16.0ms

Algorithm
intervals
Results
7.0ms321×body80valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1243
2403
3643
4843
51023
61283
71773
82723
95083
107363
117543
127563
137563

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.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:
1.0ms
(fma x y (* (- 1.0 x) z))
6.0ms
(* (- 1.0 x) z)

series59.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0131158
1458135
22209135
35001135

prune83.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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:
1.0ms
(fma x y (/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x)))
6.0ms
(* (- (* 1.0 1.0) (* x x)) z)
9.0ms
(/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x))

series146.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0322509
11510434
25002421

prune165.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x y (* (+ (sqrt 1.0) (sqrt x)) (* (- (sqrt 1.0) (sqrt x)) z)))
0.0b
(* (+ (sqrt 1.0) (sqrt x)) (* (- (sqrt 1.0) (sqrt x)) z))
0.1b
(* (- (sqrt 1.0) (sqrt x)) z)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity associate-*l*
10×pow1 add-exp-log associate-*l/ add-cbrt-cube
sqrt-prod
add-cube-cbrt
frac-times flip3-- associate-*r* pow-prod-down prod-exp flip-- cbrt-unprod difference-of-squares
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u add-log-exp
associate-*r/ *-commutative distribute-lft-out distribute-lft-out--
fma-udef unswap-sqr
Counts
3 → 68
Calls
3 calls:
1.0ms
(fma x y (* (+ (sqrt 1.0) (sqrt x)) (* (- (sqrt 1.0) (sqrt x)) z)))
14.0ms
(* (+ (sqrt 1.0) (sqrt x)) (* (- (sqrt 1.0) (sqrt x)) z))
9.0ms
(* (- (sqrt 1.0) (sqrt x)) z)

series781.0ms

Counts
3 → 9
Calls
3 calls:
363.0ms
(fma x y (* (+ (sqrt 1.0) (sqrt x)) (* (- (sqrt 1.0) (sqrt x)) z)))
331.0ms
(* (+ (sqrt 1.0) (sqrt x)) (* (- (sqrt 1.0) (sqrt x)) z))
87.0ms
(* (- (sqrt 1.0) (sqrt x)) z)

simplify59.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0475808
12135655
25001622

prune198.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes48.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

sample429.0ms

Algorithm
intervals
Results
231.0ms10141×body80valid