Details

Time bar (total: 5.0s)

sample45.0ms

Algorithm
intervals
Results
30.0ms422×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.7b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.9b
(- (+ (* x x) (* y y)) (* z z))
25.7b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite64.0ms

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

series173.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (* x x) (* y y))
45.0ms
(- (+ (* x x) (* y y)) (* z z))
90.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0365571
11599486
25002469

prune208.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 12.2b

localize11.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))
10.1b
(/ (pow z 2) y)
11.6b
(/ (pow x 2) y)

rewrite197.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:
13.0ms
(+ y (/ (pow x 2) y))
158.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series120.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ y (/ (pow x 2) y))
44.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
21.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

prune480.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.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))
10.1b
(/ (pow z 2) y)

rewrite264.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:
17.0ms
(+ y (/ x (/ y x)))
218.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
5.0ms
(/ x (/ y x))
5.0ms
(/ (pow z 2) y)

series120.0ms

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

simplify146.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
011514671
145983224
250013219

prune563.0ms

Pruning

7 alts after pruning (6 fresh and 1 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))) (* z (/ z y)))
0.2b
(/ x (/ y x))
0.2b
(* z (/ z y))

rewrite241.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:
19.0ms
(+ y (/ x (/ y x)))
203.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
5.0ms
(/ x (/ y x))
8.0ms
(* z (/ z y))

series126.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ y (/ x (/ y x)))
50.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
24.0ms
(/ x (/ y x))
21.0ms
(* z (/ z y))

simplify93.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0630958
13096864
25002855

prune379.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes167.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
0126
1126

end0.0ms

sample1.3s

Algorithm
intervals
Results
994.0ms13793×body80valid