Details

Time bar (total: 8.2s)

sample45.0ms

Algorithm
intervals
Results
19.0ms260×body80valid
11.0ms233×body80nan

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.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

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.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:
3.0ms
(- x (* (+ y 0.5) (log y)))
65.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
10.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
10.0ms
(* (+ y 0.5) (log y))

series368.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- x (* (+ y 0.5) (log y)))
48.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
46.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
233.0ms
(* (+ y 0.5) (log y))

simplify60.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05391002
12085847
25002829

prune299.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (+ y 0.5) (* 2 (log (cbrt y))))
0.3b
(+ (* (+ y 0.5) (* 2 (log (cbrt y)))) (* (log (cbrt y)) (+ y 0.5)))
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
49×distribute-rgt-in distribute-lft-in
48×log-prod
30×cbrt-prod
25×*-un-lft-identity
24×associate-+l+
23×add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
flip3-+ associate-*l/ flip-+ add-log-exp
expm1-log1p-u associate-*r/ associate-*l* frac-add log1p-expm1-u
pow-prod-down prod-exp cbrt-unprod
associate-+r+ pow1/3
+-commutative fma-def associate-*r* sum-log *-commutative distribute-lft-out
Counts
4 → 117
Calls
4 calls:
17.0ms
(* (+ y 0.5) (* 2 (log (cbrt y))))
14.0ms
(+ (* (+ y 0.5) (* 2 (log (cbrt y)))) (* (log (cbrt y)) (+ y 0.5)))
0.0ms
(cbrt y)
1.0ms
(cbrt y)

series1.6s

Counts
4 → 12
Calls
4 calls:
470.0ms
(* (+ y 0.5) (* 2 (log (cbrt y))))
770.0ms
(+ (* (+ y 0.5) (* 2 (log (cbrt y)))) (* (log (cbrt y)) (+ y 0.5)))
172.0ms
(cbrt y)
178.0ms
(cbrt y)

simplify72.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06811130
12712984
25001947

prune454.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt (cbrt y))
0.6b
(cbrt (* (cbrt y) (cbrt y)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 53
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
1.0ms
(cbrt (cbrt y))
3.0ms
(cbrt (* (cbrt y) (cbrt y)))

series857.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(cbrt y)
187.0ms
(cbrt y)
234.0ms
(cbrt (cbrt y))
264.0ms
(cbrt (* (cbrt y) (cbrt y)))

simplify101.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (96.0ms)

IterNodesCost
0112239
1242219
2759209
33150209
45002204

prune344.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y)) (* 0.5 (log (cbrt y))))
0.2b
(* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y))
0.6b
(cbrt y)
5.1b
(pow y 1/3)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×associate-+r+ log-prod
cbrt-prod
distribute-rgt-in distribute-lft-in
pow1 add-exp-log
add-cbrt-cube add-log-exp
expm1-log1p-u associate-*l* log1p-expm1-u
unpow-prod-down pow-unpow associate-*r*
associate-+l+ flip3-+ associate-*r/ flip-+
+-commutative pow-to-exp pow-pow fma-def unpow1/3 pow1/3 pow-prod-down pow-exp prod-exp sum-log log-pow *-commutative cbrt-unprod unswap-sqr sqr-pow
Counts
4 → 86
Calls
4 calls:
10.0ms
(+ (* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y)) (* 0.5 (log (cbrt y))))
22.0ms
(* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y))
0.0ms
(cbrt y)
2.0ms
(pow y 1/3)

series1.8s

Counts
4 → 12
Calls
4 calls:
1.0s
(+ (* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y)) (* 0.5 (log (cbrt y))))
432.0ms
(* (log (pow y 1/3)) (+ (* (+ y 0.5) 2) y))
173.0ms
(cbrt y)
173.0ms
(pow y 1/3)

simplify64.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0471667
11988591
25002561

prune360.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes168.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
0136
1136

end0.0ms

sample1.2s

Algorithm
intervals
Results
513.0ms8031×body80valid
373.0ms8012×body80nan
0.0msbody320valid