Details

Time bar (total: 3.5s)

sample34.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
7.0ms285×body80nan

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0216
1636
22126
37255
418825
532315
645745
750015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (- (fma (log y) (+ y 0.5) z) y))
0.1b
(fma (log y) (+ y 0.5) z)
0.1b
(- (fma (log y) (+ y 0.5) z) y)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
35×add-sqr-sqrt
33×prod-diff
25×add-cube-cbrt
12×associate--r+
10×add-log-exp
distribute-lft-out--
fma-neg
difference-of-squares
diff-log
pow1 add-exp-log expm1-log1p-u sub-neg add-cbrt-cube fma-udef log1p-expm1-u
flip3-- associate--l+ flip--
associate--r-
Counts
3 → 88
Calls
3 calls:
11.0ms
(- x (- (fma (log y) (+ y 0.5) z) y))
0.0ms
(fma (log y) (+ y 0.5) z)
3.0ms
(- (fma (log y) (+ y 0.5) z) y)

series133.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(- x (- (fma (log y) (+ y 0.5) z) y))
35.0ms
(fma (log y) (+ y 0.5) z)
48.0ms
(- (fma (log y) (+ y 0.5) z) y)

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04041160
11496822
25003746

prune221.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (+ (* (log y) (+ y 0.5)) (- z y)))
0.1b
(+ (* (log y) (+ y 0.5)) (- z y))
0.1b
(* (log y) (+ y 0.5))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
18×add-cube-cbrt prod-diff
17×add-log-exp
11×associate-+r+
pow1 associate-*r/
add-exp-log diff-log add-cbrt-cube
flip3-+ associate-*r* associate-*l* frac-add sum-log flip-+
expm1-log1p-u flip3-- fma-neg flip-- log1p-expm1-u
distribute-rgt-in associate-+r- sub-neg associate-+l+ distribute-lft-in
+-commutative fma-def pow-prod-down prod-exp log-pow *-commutative cbrt-unprod distribute-lft-out associate--r+ distribute-lft-out-- associate--r- difference-of-squares unswap-sqr
Counts
3 → 91
Calls
3 calls:
37.0ms
(- x (+ (* (log y) (+ y 0.5)) (- z y)))
11.0ms
(+ (* (log y) (+ y 0.5)) (- z y))
10.0ms
(* (log y) (+ y 0.5))

series514.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(- x (+ (* (log y) (+ y 0.5)) (- z y)))
54.0ms
(+ (* (log y) (+ y 0.5)) (- z y))
408.0ms
(* (log y) (+ y 0.5))

simplify81.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06641000
13136717
25002715

prune271.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (fma (log y) (+ y 0.5) (- z y)))
0.1b
(fma (log y) (+ y 0.5) (- z y))
0.1b
(fma (log y) (+ y 0.5) (- z y))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
10×add-cube-cbrt
prod-diff
add-log-exp
pow1 add-exp-log expm1-log1p-u fma-neg add-cbrt-cube fma-udef log1p-expm1-u
sub-neg flip3-- diff-log flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
3 → 49
Calls
3 calls:
3.0ms
(- x (fma (log y) (+ y 0.5) (- z y)))
0.0ms
(fma (log y) (+ y 0.5) (- z y))
0.0ms
(fma (log y) (+ y 0.5) (- z y))

series141.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- x (fma (log y) (+ y 0.5) (- z y)))
42.0ms
(fma (log y) (+ y 0.5) (- z y))
48.0ms
(fma (log y) (+ y 0.5) (- z y))

simplify119.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0236624
1669439
23924422
35001420

prune235.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (+ (* (log y) y) (fma 0.5 (log y) (- z y))))
0.0b
(fma 0.5 (log y) (- z y))
0.1b
(+ (* (log y) y) (fma 0.5 (log y) (- z y)))
0.3b
(* (log y) y)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×add-log-exp
prod-diff
pow1
add-exp-log add-cbrt-cube
expm1-log1p-u associate-*l* log1p-expm1-u
fma-neg associate-*r*
diff-log sum-log fma-udef
+-commutative sub-neg associate-+r+ flip3-- fma-def flip3-+ pow-prod-down prod-exp log-pow *-commutative flip-- cbrt-unprod flip-+ associate--r+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 76
Calls
4 calls:
13.0ms
(- x (+ (* (log y) y) (fma 0.5 (log y) (- z y))))
0.0ms
(fma 0.5 (log y) (- z y))
3.0ms
(+ (* (log y) y) (fma 0.5 (log y) (- z y)))
3.0ms
(* (log y) y)

series325.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- x (+ (* (log y) y) (fma 0.5 (log y) (- z y))))
30.0ms
(fma 0.5 (log y) (- z y))
73.0ms
(+ (* (log y) y) (fma 0.5 (log y) (- z y)))
171.0ms
(* (log y) y)

simplify49.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0394900
11345633
25001600

prune221.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes104.0ms

Accuracy

0% (0.1b 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
02013
12013

end0.0ms

sample806.0ms

Algorithm
intervals
Results
269.0ms8043×body80valid
215.0ms8094×body80nan
0.0msbody1280valid
0.0msbody320valid