Details

Time bar (total: 2.9s)

sample26.0ms

Algorithm
intervals
Results
13.0ms412×body80valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.4b

localize9.0ms

Local error

Found 2 expressions with local error:

4.5b
(- (+ (* x x) (* y y)) (* z z))
26.5b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite49.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:
19.0ms
(- (+ (* x x) (* y y)) (* z z))
29.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series124.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0275450
11168388
25001380

prune135.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 11.5b

localize15.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))
8.9b
(/ (pow z 2) y)
13.3b
(/ (pow x 2) y)

rewrite138.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:
11.0ms
(+ y (/ (pow x 2) y))
114.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
4.0ms
(/ (pow z 2) y)
4.0ms
(/ (pow x 2) y)

series113.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ y (/ (pow x 2) y))
47.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
19.0ms
(/ (pow z 2) y)
19.0ms
(/ (pow x 2) y)

simplify48.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0419838
11459771
25001759

prune364.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.3b

localize10.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))
8.9b
(/ (pow z 2) y)

rewrite36.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:
2.0ms
(+ y (* x (/ x y)))
20.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
7.0ms
(* x (/ x y))
4.0ms
(/ (pow z 2) y)

series108.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ y (* x (/ x y)))
38.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
18.0ms
(* x (/ x y))
22.0ms
(/ (pow z 2) y)

simplify51.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0447721
11850663
25002660

prune311.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series110.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ y (* x (/ x y)))
41.0ms
(- (+ y (* x (/ x y))) (* (fabs z) (/ (fabs z) y)))
18.0ms
(* x (/ x y))
20.0ms
(* (fabs z) (/ (fabs z) y))

simplify59.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0440645
12155578
25001574

prune256.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

regimes70.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
0169
1169

end0.0ms

sample764.0ms

Algorithm
intervals
Results
475.0ms13614×body80valid