Details

Time bar (total: 2.9s)

sample32.0ms

Algorithm
intervals
Results
18.0ms429×body80valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.0b

Counts
2 → 1

localize14.0ms

Local error

Found 2 expressions with local error:

2.3b
(- (+ (* x x) (* y y)) (* z z))
26.8b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-sqr-sqrt add-cbrt-cube add-log-exp
add-cube-cbrt *-un-lft-identity times-frac associate-/l*
difference-of-squares
pow1 cbrt-undiv flip3-- diff-log div-exp flip-- associate-/l/
sub-neg frac-2neg div-sub prod-exp associate--l+ clear-num associate-/r* sum-log cbrt-unprod div-inv
Counts
2 → 41
Calls
2 calls:
6.0ms
(- (+ (* x x) (* y y)) (* z z))
9.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series125.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(- (+ (* x x) (* y y)) (* z z))
84.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify37.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0275450
11168388
25001380

prune107.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 9.2b

Counts
48 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
6.9b
(/ (pow z 2) y)
9.7b
(/ (pow x 2) y)

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
50×add-sqr-sqrt
45×*-un-lft-identity
38×add-cube-cbrt
25×unpow-prod-down
16×associate-/l*
14×add-exp-log
11×add-log-exp
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
difference-of-squares
pow1
cbrt-undiv pow-to-exp frac-2neg flip3-+ diff-log pow-exp clear-num sum-log frac-sub flip-+ div-inv distribute-lft-out distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 133
Calls
4 calls:
13.0ms
(+ y (/ (pow x 2) y))
19.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series109.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ y (/ (pow x 2) y))
40.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
19.0ms
(/ (pow z 2) y)
20.0ms
(/ (pow x 2) y)

simplify55.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0419838
11459771
25002759

prune304.0ms

Filtered
145 candidates to 92 candidates (63.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1396145
Fresh112
Picked101
Done000
Total1417148

Merged error: 0.9b

Counts
148 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* x (/ x y)))
0.0b
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
0.1b
(* x (/ x y))
6.9b
(/ (pow z 2) y)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×times-frac
31×*-un-lft-identity
29×add-cube-cbrt
14×add-exp-log
13×unpow-prod-down associate-*r*
11×add-cbrt-cube add-log-exp
associate-/l*
pow1
unpow2 difference-of-squares sqr-pow
div-exp
associate-*l* associate-/r*
cbrt-undiv flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ div-inv unswap-sqr
+-commutative pow-to-exp sub-neg flip3-- frac-2neg associate-*r/ pow-prod-down pow-exp associate--l+ clear-num *-commutative flip-- distribute-lft-out--
Counts
4 → 114
Calls
4 calls:
3.0ms
(+ y (* x (/ x y)))
11.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
6.0ms
(* x (/ x y))
5.0ms
(/ (pow z 2) y)

series108.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ y (* x (/ x y)))
40.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
23.0ms
(* x (/ x y))
19.0ms
(/ (pow z 2) y)

simplify63.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0447738
11924663
25001660

prune240.0ms

Filtered
126 candidates to 82 candidates (65.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1242126
Fresh336
Picked101
Done000
Total1285133

Merged error: 0b

Counts
133 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
68×add-sqr-sqrt
56×*-un-lft-identity
54×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r* associate-/r*
11×add-log-exp
pow1 div-inv
cbrt-undiv div-exp
associate-*l* associate-/l* difference-of-squares
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
+-commutative sub-neg flip3-- frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num associate-/r/ *-commutative flip-- distribute-lft-out--
Counts
4 → 133
Calls
4 calls:
3.0ms
(+ y (* x (/ x y)))
15.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
7.0ms
(* x (/ x y))
8.0ms
(/ z (/ y z))

series108.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ y (* x (/ x y)))
43.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
19.0ms
(* x (/ x y))
19.0ms
(/ z (/ y z))

simplify89.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0615908
13054845
25001838

prune259.0ms

Filtered
145 candidates to 102 candidates (70.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1450145
Fresh044
Picked011
Done000
Total1455150

Merged error: 0b

Counts
150 → 5

regimes86.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample906.0ms

Algorithm
intervals
Results
606.0ms13612×body80valid

Profiling

Loading profile data...