Details

Time bar (total: 2.4s)

sample25.0ms

Algorithm
intervals
Results
11.0ms324×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (43.0ms)

IterNodesCost
0226
1466
21116
32376
44056
55956
69196
726275
850015

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
times-frac associate-/r*
pow1 cbrt-undiv associate-*r/ div-exp 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 → 35
Calls
2 calls:
8.0ms
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)
6.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))

series22.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0254324
11030289
25002289

prune66.0ms

Filtered
41 candidates to 30 candidates (26.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh011
Picked101
Done000
Total40343

Merged error: 0.0b

Counts
43 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
26×associate-*r*
20×times-frac
19×add-cube-cbrt *-un-lft-identity
13×add-exp-log add-cbrt-cube
add-log-exp
pow1
associate-*l*
associate-*r/ prod-exp cbrt-unprod unswap-sqr
cbrt-undiv diff-log div-exp pow-prod-down *-commutative frac-sub div-inv
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 80
Calls
3 calls:
6.0ms
(* 4.0 (/ z y))
6.0ms
(* 4.0 (/ x y))
7.0ms
(- (+ (* 4.0 (/ x y)) 2.0) (* 4.0 (/ z y)))

series14.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 4.0 (/ z y))
3.0ms
(* 4.0 (/ x y))
7.0ms
(- (+ (* 4.0 (/ x y)) 2.0) (* 4.0 (/ z y)))

simplify57.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0419460
11825427
25001421

prune93.0ms

Filtered
89 candidates to 61 candidates (31.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh112
Picked011
Done000
Total89392

Merged error: 0b

Counts
92 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (+ (* 4.0 (/ x y)) 2.0))
0.1b
(* (- (* 4.0 (/ x y)) 2.0) y)
0.1b
(* (- (* 4.0 (/ x y)) 2.0) (- (* y (+ (* 4.0 (/ x y)) 2.0)) (* 4.0 z)))
7.2b
(/ (* (- (* 4.0 (/ x y)) 2.0) (- (* y (+ (* 4.0 (/ x y)) 2.0)) (* 4.0 z))) (* (- (* 4.0 (/ x y)) 2.0) y))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
14×flip3-- flip--
10×pow1 add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
frac-times associate-*l/ associate-/l/
distribute-rgt-in distribute-lft-in prod-exp cbrt-unprod
associate-*r/
cbrt-undiv div-exp associate--l+ add-log-exp
pow-prod-down *-commutative unswap-sqr
sub-neg associate-/r/
frac-2neg flip3-+ times-frac clear-num associate-/r* flip-+ div-inv associate-/l*
Counts
4 → 107
Calls
4 calls:
7.0ms
(* y (+ (* 4.0 (/ x y)) 2.0))
7.0ms
(* (- (* 4.0 (/ x y)) 2.0) y)
15.0ms
(* (- (* 4.0 (/ x y)) 2.0) (- (* y (+ (* 4.0 (/ x y)) 2.0)) (* 4.0 z)))
25.0ms
(/ (* (- (* 4.0 (/ x y)) 2.0) (- (* y (+ (* 4.0 (/ x y)) 2.0)) (* 4.0 z))) (* (- (* 4.0 (/ x y)) 2.0) y))

series36.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* y (+ (* 4.0 (/ x y)) 2.0))
6.0ms
(* (- (* 4.0 (/ x y)) 2.0) y)
13.0ms
(* (- (* 4.0 (/ x y)) 2.0) (- (* y (+ (* 4.0 (/ x y)) 2.0)) (* 4.0 z)))
10.0ms
(/ (* (- (* 4.0 (/ x y)) 2.0) (- (* y (+ (* 4.0 (/ x y)) 2.0)) (* 4.0 z))) (* (- (* 4.0 (/ x y)) 2.0) y))

simplify131.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
06011552
137561222
250011212

prune179.0ms

Filtered
119 candidates to 81 candidates (31.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh011
Picked011
Done011
Total1193122

Merged error: 0b

Counts
122 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity sqrt-prod
28×add-sqr-sqrt
21×pow1
16×sqrt-div
14×add-cube-cbrt
11×swap-sqr
10×sqrt-pow1 pow1/2
flip3-+ flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 106
Calls
4 calls:
6.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
4.0ms
(sqrt (+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))
4.0ms
(sqrt (+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))
13.0ms
(* (sqrt (+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))) (sqrt (+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
16.0ms
(sqrt (+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))
17.0ms
(sqrt (+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))
231.0ms
(* (sqrt (+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))) (sqrt (+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))

simplify54.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
02341299
18621195
250011145

prune186.0ms

Filtered
118 candidates to 68 candidates (42.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1180118
Fresh000
Picked011
Done022
Total1183121

Merged error: 0b

Counts
121 → 3

regimes222.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
0146
1146

end0.0ms

sample684.0ms

Algorithm
intervals
Results
354.0ms10177×body80valid

Profiling

Loading profile data...