Details

Time bar (total: 5.2s)

sample30.0ms

Algorithm
intervals
Results
9.0ms257×body80valid
6.0ms247×body80nan

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
0216
1636
22126
37255
418825
532315
645745
750015

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.0ms

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

series368.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
42.0ms
(- x (* (+ y 0.5) (log y)))
41.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
234.0ms
(* (+ y 0.5) (log y))

simplify71.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05391002
12085847
25002829

prune306.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

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

series371.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(- (+ x (fma (- (+ y 0.5)) (log y) y)) z)
43.0ms
(+ x (fma (- (+ y 0.5)) (log y) y))
282.0ms
(fma (- (+ y 0.5)) (log y) y)

simplify38.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0305659
1941532
25001525

prune192.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (log (cbrt y)) (+ y 0.5))
0.2b
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (log (cbrt y)) (+ y 0.5)))
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite15.0ms

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

series939.0ms

Counts
4 → 12
Calls
4 calls:
443.0ms
(* (log (cbrt y)) (+ y 0.5))
137.0ms
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (log (cbrt y)) (+ y 0.5)))
174.0ms
(cbrt y)
184.0ms
(cbrt y)

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0334658
11322596
25002567

prune328.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (log y) (+ y 0.5))
0.2b
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* 1/3 (* (log y) (+ y 0.5))))
0.3b
(* 1/3 (* (log y) (+ y 0.5)))
0.6b
(cbrt y)

rewrite32.0ms

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

series804.0ms

Counts
4 → 12
Calls
4 calls:
244.0ms
(* (log y) (+ y 0.5))
125.0ms
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* 1/3 (* (log y) (+ y 0.5))))
260.0ms
(* 1/3 (* (log y) (+ y 0.5)))
175.0ms
(cbrt y)

simplify71.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0517805
12100708
25003684

prune364.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes91.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
0156
1166
2166

end0.0ms

sample818.0ms

Algorithm
intervals
Results
273.0ms8035×body80valid
218.0ms8042×body80nan
0.0msbody640valid
0.0msbody1280valid