Details

Time bar (total: 3.4s)

sample22.0ms

Algorithm
intervals
Results
11.0ms321×body80valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0226
1506
21244
32804
45344
58694
613974
735214
850014

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)
0.0b
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log *-un-lft-identity add-cbrt-cube
add-sqr-sqrt add-cube-cbrt
add-log-exp
fma-def times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u associate-*r/ div-exp log1p-expm1-u associate-/l/
+-commutative flip3-- frac-2neg flip3-+ prod-exp clear-num sum-log flip-- cbrt-unprod flip-+ div-inv distribute-lft-out associate-/l*
Counts
2 → 42
Calls
2 calls:
9.0ms
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)
6.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))

series65.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)
29.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))

simplify33.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0265349
11079306
25002297

prune107.0ms

Filtered
48 candidates to 38 candidates (79.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New44448
Fresh101
Picked101
Done000
Total46450

Merged error: 0b

Counts
50 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 2.0 (* 4.0 (/ z y)))
0.0b
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
0.0b
(* 4.0 (/ z y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity associate-*r*
10×times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
expm1-log1p-u fma-neg associate-*l* prod-diff log1p-expm1-u
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log associate-*r/ div-exp pow-prod-down *-commutative flip-- fma-udef div-inv
Counts
3 → 64
Calls
3 calls:
3.0ms
(- 2.0 (* 4.0 (/ z y)))
1.0ms
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
6.0ms
(* 4.0 (/ z y))

series73.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(- 2.0 (* 4.0 (/ z y)))
29.0ms
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
18.0ms
(* 4.0 (/ z y))

simplify36.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0267355
11067317
25001316

prune137.0ms

Filtered
73 candidates to 53 candidates (72.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh033
Picked011
Done000
Total73477

Merged error: 0b

Counts
77 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (* (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)) (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
0.1b
(sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
0.1b
(sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
0.2b
(* (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)) (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
48×sqrt-prod
35×add-sqr-sqrt
21×pow1 add-cube-cbrt *-un-lft-identity
18×times-frac
12×swap-sqr
10×sqrt-pow1 pow1/2 associate-*r* associate-*l*
add-exp-log sqrt-div add-cbrt-cube div-inv add-log-exp
pow-prod-up
expm1-log1p-u log1p-expm1-u unswap-sqr
fma-def pow-prod-down pow-sqr
rem-sqrt-square
+-commutative pow2 frac-times flip3-+ pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod flip-+
Counts
4 → 122
Calls
4 calls:
3.0ms
(+ 1.0 (* (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)) (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
6.0ms
(sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
6.0ms
(sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
29.0ms
(* (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)) (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))

series591.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(+ 1.0 (* (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)) (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
120.0ms
(sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
125.0ms
(sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
139.0ms
(* (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)) (sqrt (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))

simplify59.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04021304
116951145
250021089

prune280.0ms

Filtered
134 candidates to 94 candidates (70.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1340134
Fresh022
Picked011
Done011
Total1344138

Merged error: 0b

Counts
138 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 3)
0.2b
(fma (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0) (* 1.0 1.0))
2.9b
(- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0)
23.4b
(/ (+ (pow 1.0 3) (pow (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 3)) (fma (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0) (* 1.0 1.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity
45×times-frac
40×add-sqr-sqrt
38×add-cube-cbrt
23×unpow-prod-down cube-prod
21×prod-diff
20×distribute-lft-out
12×add-exp-log add-cbrt-cube
associate-/l*
fma-neg div-inv
add-log-exp
pow1
expm1-log1p-u sum-cubes log1p-expm1-u
cbrt-undiv pow-unpow div-exp pow-exp associate-/r* rem-cube-cbrt
associate-/l/
cube-div cube-mult pow-to-exp sub-neg flip3-- pow-pow frac-2neg flip3-+ diff-log unpow3 prod-exp clear-num flip-- cbrt-unprod flip-+ fma-udef distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 147
Calls
4 calls:
8.0ms
(pow (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 3)
1.0ms
(fma (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0) (* 1.0 1.0))
11.0ms
(- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0)
24.0ms
(/ (+ (pow 1.0 3) (pow (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 3)) (fma (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0) (* 1.0 1.0)))

series546.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(pow (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 3)
107.0ms
(fma (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0) (* 1.0 1.0))
46.0ms
(- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0)
198.0ms
(/ (+ (pow 1.0 3) (pow (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 3)) (fma (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (- (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) 1.0) (* 1.0 1.0)))

simplify104.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06163006
127962639
250012610

prune389.0ms

Filtered
159 candidates to 92 candidates (57.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1590159
Fresh011
Picked011
Done022
Total1594163

Merged error: 0b

Counts
163 → 4

regimes106.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample559.0ms

Algorithm
intervals
Results
353.0ms10079×body80valid

Profiling

Loading profile data...