Details

Time bar (total: 4.2s)

sample27.0ms

Algorithm
intervals
Results
14.0ms420×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.1b

localize13.0ms

Local error

Found 2 expressions with local error:

3.5b
(- (+ (* x x) (* y y)) (* z z))
27.0b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite54.0ms

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

series131.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0299503
11242422
25001407

prune158.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 8.5b

localize14.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))
8.2b
(/ (pow z 2) y)
11.3b
(/ (pow x 2) y)

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
193×*-un-lft-identity
148×times-frac
140×add-sqr-sqrt
128×add-cube-cbrt
112×prod-diff
61×unpow-prod-down
31×distribute-lft-out
21×unpow2 sqr-pow
16×associate-/l*
14×add-exp-log
11×add-log-exp
add-cbrt-cube
div-exp associate-/r* div-inv
difference-of-squares
pow1 expm1-log1p-u fma-neg log1p-expm1-u
fma-def
cbrt-undiv pow-to-exp frac-2neg flip3-+ diff-log pow-exp clear-num sum-log frac-sub flip-+ distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 260
Calls
4 calls:
144.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
11.0ms
(+ y (/ (pow x 2) y))
4.0ms
(/ (pow z 2) y)
4.0ms
(/ (pow x 2) y)

series114.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
28.0ms
(+ y (/ (pow x 2) y))
20.0ms
(/ (pow z 2) y)
21.0ms
(/ (pow x 2) y)

simplify114.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
09664460
132723145
250012950

prune470.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 2.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ x (/ y x)))
0.0b
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
0.2b
(/ x (/ y x))
8.2b
(/ (pow z 2) y)

rewrite243.0ms

Algorithm
rewrite-expression-head
Rules
218×*-un-lft-identity
199×times-frac
165×add-sqr-sqrt
153×add-cube-cbrt
112×prod-diff
49×unpow-prod-down
31×distribute-lft-out
17×unpow2 sqr-pow
16×associate-/r*
14×add-exp-log
11×add-cbrt-cube associate-/l* add-log-exp
10×div-inv
div-exp
difference-of-squares
pow1 cbrt-undiv expm1-log1p-u fma-neg log1p-expm1-u
fma-def
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ distribute-lft-out--
+-commutative pow-to-exp sub-neg flip3-- pow-exp associate--l+ associate-/r/ flip--
Counts
4 → 281
Calls
4 calls:
16.0ms
(+ y (/ x (/ y x)))
201.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
5.0ms
(/ x (/ y x))
4.0ms
(/ (pow z 2) y)

series117.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ y (/ x (/ y x)))
46.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
20.0ms
(/ x (/ y x))
21.0ms
(/ (pow z 2) y)

simplify145.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
011514671
145983224
250013219

prune547.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite219.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
63×*-un-lft-identity
62×add-sqr-sqrt
57×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r* associate-/r*
11×add-log-exp
pow1 div-inv
cbrt-undiv expm1-log1p-u fma-neg div-exp prod-diff log1p-expm1-u
fma-def associate-*r/ associate-*l* distribute-lft-out associate-/l*
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
+-commutative sub-neg flip3-- frac-2neg pow-prod-down associate--l+ clear-num associate-/r/ *-commutative flip--
Counts
4 → 149
Calls
4 calls:
16.0ms
(+ y (/ x (/ y x)))
186.0ms
(- (+ y (/ x (/ y x))) (* (fabs z) (/ (fabs z) y)))
7.0ms
(* (fabs z) (/ (fabs z) y))
5.0ms
(/ x (/ y x))

series116.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06311113
13092992
25001971

prune427.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

regimes81.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
01910
11910

end0.0ms

sample755.0ms

Algorithm
intervals
Results
477.0ms13675×body80valid