Details

Time bar (total: 1.9s)

sample27.0ms

Algorithm
intervals
Results
10.0ms334×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
01349
11349

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) (* (- x 1.0) z))
0.0b
(* (- x 1.0) z)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
associate-*l/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 33
Calls
2 calls:
5.0ms
(+ (* x y) (* (- x 1.0) z))
11.0ms
(* (- x 1.0) z)

series14.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x y) (* (- x 1.0) z))
5.0ms
(* (- x 1.0) z)

simplify23.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
05716345

prune58.0ms

Filtered
26 candidates to 39 candidates (-50.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New35439
Fresh000
Picked011
Done000
Total35540

Merged error: 0.0b

Counts
40 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x y) (/ (* (- x 1.0) (* z (+ x 1.0))) (+ x 1.0)))
0.0b
(* z (+ x 1.0))
0.1b
(* (- x 1.0) (* z (+ x 1.0)))
5.0b
(/ (* (- x 1.0) (* z (+ x 1.0))) (+ x 1.0))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
18×associate-*r/
17×*-un-lft-identity
13×add-sqr-sqrt
11×pow1
add-cube-cbrt flip3-+ flip-+
frac-times associate-*l* associate-/l/
prod-exp cbrt-unprod
flip3-- flip-- add-log-exp
distribute-rgt-in distribute-lft-in associate-*r*
times-frac pow-prod-down associate-*l/ associate-/r*
cbrt-undiv div-exp distribute-lft-out
associate-/r/ *-commutative
+-commutative frac-2neg clear-num sum-log div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 101
Calls
4 calls:
9.0ms
(+ (* x y) (/ (* (- x 1.0) (* z (+ x 1.0))) (+ x 1.0)))
7.0ms
(* z (+ x 1.0))
12.0ms
(* (- x 1.0) (* z (+ x 1.0)))
16.0ms
(/ (* (- x 1.0) (* z (+ x 1.0))) (+ x 1.0))

series28.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (* x y) (/ (* (- x 1.0) (* z (+ x 1.0))) (+ x 1.0)))
6.0ms
(* z (+ x 1.0))
8.0ms
(* (- x 1.0) (* z (+ x 1.0)))
5.0ms
(/ (* (- x 1.0) (* z (+ x 1.0))) (+ x 1.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049771149
149771149

prune131.0ms

Filtered
71 candidates to 113 candidates (-59.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh123
Picked101
Done011
Total1144118

Merged error: 0.0b

Counts
118 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (/ (* z (- (* x x) 1.0)) (+ x 1.0)))
3.3b
(* z (- (* x x) 1.0))
5.0b
(/ (* z (- (* x x) 1.0)) (+ x 1.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt
pow1 add-log-exp
times-frac associate-*r/ associate-*r* associate-/r*
associate-*l*
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/ distribute-lft-out
+-commutative frac-2neg pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 63
Calls
3 calls:
8.0ms
(+ (* x y) (/ (* z (- (* x x) 1.0)) (+ x 1.0)))
8.0ms
(* z (- (* x x) 1.0))
11.0ms
(/ (* z (- (* x x) 1.0)) (+ x 1.0))

series47.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ (* x y) (/ (* z (- (* x x) 1.0)) (+ x 1.0)))
11.0ms
(* z (- (* x x) 1.0))
17.0ms
(/ (* z (- (* x x) 1.0)) (+ x 1.0))

simplify21.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (14.0ms)

IterNodesCost
05043863

prune86.0ms

Filtered
50 candidates to 72 candidates (-44.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh022
Picked011
Done011
Total72476

Merged error: 0.0b

Counts
76 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x 1.0) z)
0.0b
(sqrt (+ (* (- x 1.0) z) (* x y)))
0.0b
(sqrt (+ (* (- x 1.0) z) (* x y)))
0.3b
(* (sqrt (+ (* (- x 1.0) z) (* x y))) (sqrt (+ (* (- x 1.0) z) (* x y))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×sqrt-prod
23×pow1
18×*-un-lft-identity
16×add-cube-cbrt sqrt-div
11×associate-*l*
10×sqrt-pow1 pow1/2
associate-*r*
add-exp-log flip3-+ swap-sqr add-cbrt-cube flip-+
pow-prod-up unswap-sqr
frac-times pow-prod-down associate-*l/ add-log-exp
pow-sqr
rem-sqrt-square associate-*r/ prod-exp *-commutative cbrt-unprod
pow2 flip3-- pow-plus sqrt-unprod rem-square-sqrt flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 109
Calls
4 calls:
7.0ms
(* (- x 1.0) z)
7.0ms
(sqrt (+ (* (- x 1.0) z) (* x y)))
7.0ms
(sqrt (+ (* (- x 1.0) z) (* x y)))
19.0ms
(* (sqrt (+ (* (- x 1.0) z) (* x y))) (sqrt (+ (* (- x 1.0) z) (* x y))))

series78.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (- x 1.0) z)
31.0ms
(sqrt (+ (* (- x 1.0) z) (* x y)))
31.0ms
(sqrt (+ (* (- x 1.0) z) (* x y)))
12.0ms
(* (sqrt (+ (* (- x 1.0) z) (* x y))) (sqrt (+ (* (- x 1.0) z) (* x y))))

simplify34.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
055411583

prune153.0ms

Filtered
72 candidates to 121 candidates (-68.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1201121
Fresh011
Picked011
Done022
Total1205125

Merged error: 0b

Counts
125 → 5

regimes217.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
0119
1119

end0.0ms

sample735.0ms

Algorithm
intervals
Results
322.0ms10234×body80valid

Profiling

Loading profile data...