Details

Time bar (total: 2.8s)

sample26.0ms

Algorithm
intervals
Results
14.0ms440×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.9b

localize9.0ms

Local error

Found 2 expressions with local error:

6.3b
(- (+ (* x x) (* y y)) (* z z))
28.7b
(/ (- (+ (* 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))

series126.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0275450
11168388
25001380

prune117.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 13.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
0.0b
(+ y (/ (pow x 2) y))
9.9b
(/ (pow x 2) y)
11.1b
(/ (pow z 2) y)

rewrite46.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:
22.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
9.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series109.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0419838
11459771
25002759

prune358.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.7b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (* (fabs z) (/ (fabs z) y)))
0.0b
(+ y (/ (pow x 2) y))
0.2b
(* (fabs z) (/ (fabs z) y))
9.9b
(/ (pow x 2) y)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt times-frac
31×*-un-lft-identity
29×add-cube-cbrt
14×add-exp-log
13×associate-*r*
12×unpow-prod-down
11×add-cbrt-cube add-log-exp
associate-/l*
pow1
div-exp unpow2 sqr-pow
associate-*r/ 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 pow-prod-down pow-exp associate--l+ clear-num *-commutative flip-- distribute-lft-out
Counts
4 → 109
Calls
4 calls:
11.0ms
(- (+ y (/ (pow x 2) y)) (* (fabs z) (/ (fabs z) y)))
9.0ms
(+ y (/ (pow x 2) y))
6.0ms
(* (fabs z) (/ (fabs z) y))
5.0ms
(/ (pow x 2) y)

series112.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0429756
11830680
25002673

prune306.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
5.0ms
(- (+ y (* (fabs x) (/ (fabs x) y))) (* (fabs z) (/ (fabs z) y)))
3.0ms
(+ y (* (fabs x) (/ (fabs x) y)))
6.0ms
(* (fabs z) (/ (fabs z) y))
7.0ms
(* (fabs x) (/ (fabs x) y))

series103.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (+ y (* (fabs x) (/ (fabs x) y))) (* (fabs z) (/ (fabs z) y)))
20.0ms
(+ y (* (fabs x) (/ (fabs x) y)))
20.0ms
(* (fabs z) (/ (fabs z) y))
24.0ms
(* (fabs x) (/ (fabs x) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0441814
12177717
25001709

prune285.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes85.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
01711
11711

end0.0ms

sample703.0ms

Algorithm
intervals
Results
439.0ms13668×body80valid