Details

Time bar (total: 5.5s)

sample34.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
6.0ms263×body80nan

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
0216
1636
22126
37255
418825
532315
645745
750015

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite193.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:
139.0ms
(- (+ (- x (* (+ y 0.5) (log y))) y) z)
7.0ms
(- x (* (+ y 0.5) (log y)))
22.0ms
(+ (- x (* (+ y 0.5) (log y))) y)
22.0ms
(* (+ y 0.5) (log y))

series399.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05391002
12085847
25002829

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

rewrite52.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:
44.0ms
(- (+ x (fma (- (+ y 0.5)) (log y) y)) z)
6.0ms
(+ x (fma (- (+ y 0.5)) (log y) y))
0.0ms
(fma (- (+ y 0.5)) (log y) y)

series385.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0305659
1941532
25001525

prune205.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize16.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.5b
(cbrt y)
0.5b
(cbrt y)

rewrite30.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:
20.0ms
(* (log (cbrt y)) (+ y 0.5))
6.0ms
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (log (cbrt y)) (+ y 0.5)))
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series1.0s

Counts
4 → 12
Calls
4 calls:
471.0ms
(* (log (cbrt y)) (+ y 0.5))
144.0ms
(- (fma (- (+ y 0.5)) (* 2 (log (cbrt y))) x) (* (log (cbrt y)) (+ y 0.5)))
193.0ms
(cbrt y)
201.0ms
(cbrt y)

simplify54.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0334658
11322596
25002567

prune367.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (- (+ y 0.5)) (log (cbrt y)) (fma (* 2/3 (log y)) (- (+ y 0.5)) x))
0.4b
(* 2/3 (log y))
0.5b
(cbrt y)
0.5b
(cbrt y)

rewrite13.0ms

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

series672.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(fma (- (+ y 0.5)) (log (cbrt y)) (fma (* 2/3 (log y)) (- (+ y 0.5)) x))
155.0ms
(* 2/3 (log y))
193.0ms
(cbrt y)
200.0ms
(cbrt y)

simplify122.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (115.0ms)

IterNodesCost
0268393
1904335
23926322
35001319

prune336.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes107.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1166
2166

end0.0ms

sample939.0ms

Algorithm
intervals
Results
279.0ms8036×body80valid
210.0ms8060×body80nan
0.0msbody640valid