Details

Time bar (total: 6.1s)

sample57.0ms

Algorithm
intervals
Results
22.0ms257×body80valid
19.0ms275×body80nan

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0216
1636
22126
37255
418825
532315
645745
750015

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize9.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.2b
(* (+ 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:
64.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)
13.0ms
(* (+ y 0.5) (log y))

series380.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
43.0ms
(- x (* (+ y 0.5) (log y)))
42.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
244.0ms
(* (+ y 0.5) (log y))

simplify64.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05391002
12085847
25002829

prune311.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize11.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)

rewrite29.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:
21.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)

series361.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0305659
1941532
25001525

prune187.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
21×add-sqr-sqrt
19×add-cube-cbrt
17×add-log-exp
15×prod-diff
12×log-prod
11×associate-+r+
pow1 distribute-rgt-in distribute-lft-in associate--r+
add-exp-log associate-+l+ flip3-- diff-log add-cbrt-cube flip--
associate-*r* associate-*l* frac-add sum-log
expm1-log1p-u sub-neg fma-def fma-neg log1p-expm1-u distribute-lft-out
flip3-+ associate-*l/ flip-+
+-commutative associate-+l- associate-+r- pow-prod-down prod-exp log-pow *-commutative cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
3 → 99
Calls
3 calls:
3.0ms
(- x (* (+ y 0.5) (log y)))
16.0ms
(+ (- x (* (+ y 0.5) (log y))) (- y z))
11.0ms
(* (+ y 0.5) (log y))

series334.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0630855
12781756
25001735

prune280.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series1.5s

Counts
4 → 12
Calls
4 calls:
426.0ms
(* (log (cbrt y)) (+ y 0.5))
764.0ms
(+ (* (+ y 0.5) (* 2 (log (cbrt y)))) (* (log (cbrt y)) (+ y 0.5)))
175.0ms
(cbrt y)
183.0ms
(cbrt y)

simplify86.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0567825
12565707
25001680

prune407.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

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

sample1.6s

Algorithm
intervals
Results
702.0ms8037×body80valid
561.0ms8029×body80nan
0.0msbody1280valid
0.0msbody320valid