Details

Time bar (total: 2.8s)

sample31.0ms

Algorithm
intervals
Results
18.0ms422×body80valid

simplify57.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: 28.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series150.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* x x) (* y y))
41.0ms
(- (+ (* x x) (* y y)) (* z z))
81.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0337520
11492454
25001446

prune134.0ms

Filtered
61 candidates to 46 candidates (75.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New55661
Fresh000
Picked101
Done000
Total56662

Merged error: 11.6b

Counts
62 → 6

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
10.4b
(/ (pow x 2) y)
11.1b
(/ (pow z 2) y)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
52×times-frac
44×*-un-lft-identity
39×add-cube-cbrt
25×unpow-prod-down
16×associate-/l*
15×add-exp-log
10×associate-*r*
add-cbrt-cube unpow2 sqr-pow
div-exp associate-/r*
pow1 difference-of-squares
associate-*r/
distribute-rgt-in distribute-lft-in associate-*l* add-log-exp
cbrt-undiv pow-to-exp sub-neg frac-2neg pow-exp associate--l+ clear-num frac-sub div-inv distribute-lft-out--
flip3-- flip3-+ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
3 → 133
Calls
3 calls:
25.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
5.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series92.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
18.0ms
(/ (pow x 2) y)
18.0ms
(/ (pow z 2) y)

simplify58.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0481830
11901743
25003737

prune282.0ms

Filtered
142 candidates to 90 candidates (63.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1384142
Fresh415
Picked101
Done000
Total1435148

Merged error: 2.3b

Counts
148 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ z (/ y z))
0.2b
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
10.4b
(/ (pow x 2) y)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
75×add-sqr-sqrt
69×*-un-lft-identity
64×add-cube-cbrt
16×associate-/r*
15×add-exp-log
12×unpow-prod-down add-cbrt-cube
11×associate-/l*
associate-*r*
div-exp div-inv
pow1
cbrt-undiv associate-*r/ unpow2 sqr-pow
distribute-rgt-in distribute-lft-in associate-*l* add-log-exp difference-of-squares
sub-neg frac-2neg associate--l+ clear-num frac-sub distribute-lft-out--
pow-to-exp flip3-- flip3-+ pow-prod-down pow-exp prod-exp associate-/r/ *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
3 → 152
Calls
3 calls:
5.0ms
(/ z (/ y z))
26.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
5.0ms
(/ (pow x 2) y)

series100.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(/ z (/ y z))
61.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
21.0ms
(/ (pow x 2) y)

simplify87.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06521026
13142928
25001927

prune293.0ms

Filtered
161 candidates to 107 candidates (66.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1601161
Fresh044
Picked011
Done000
Total1606166

Merged error: 0.0b

Counts
166 → 6

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (/ x y))
0.1b
(/ z (/ y z))
0.2b
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
71×add-sqr-sqrt
57×*-un-lft-identity
55×add-cube-cbrt
20×associate-*r*
15×add-exp-log add-cbrt-cube
13×associate-/r*
pow1
associate-*l* div-inv
associate-*r/
cbrt-undiv div-exp
distribute-rgt-in distribute-lft-in prod-exp cbrt-unprod associate-/l* add-log-exp difference-of-squares unswap-sqr
sub-neg pow-prod-down associate--l+ *-commutative frac-sub
flip3-- frac-2neg flip3-+ clear-num associate-/r/ flip-- flip-+ distribute-lft-out--
Counts
3 → 134
Calls
3 calls:
6.0ms
(* x (/ x y))
5.0ms
(/ z (/ y z))
17.0ms
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))

series90.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(* x (/ x y))
17.0ms
(/ z (/ y z))
54.0ms
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))

simplify102.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
0668918
13409833
25002830

prune231.0ms

Filtered
143 candidates to 96 candidates (67.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1421143
Fresh044
Picked011
Done011
Total1427149

Merged error: 0.0b

Counts
149 → 7

regimes112.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample744.0ms

Algorithm
intervals
Results
465.0ms13623×body80valid