Details

Time bar (total: 3.7s)

sample32.0ms

Algorithm
intervals
Results
18.0ms450×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.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.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite63.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))
23.0ms
(- (+ (* x x) (* y y)) (* z z))
36.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series168.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x x) (* y y))
52.0ms
(- (+ (* x x) (* y y)) (* z z))
86.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0365571
11599486
25002469

prune210.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 11.9b

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))
10.3b
(/ (pow x 2) y)
10.4b
(/ (pow z 2) y)

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

series122.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
09664460
132723145
250012953

prune480.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
37×add-sqr-sqrt
34×times-frac
32×add-cube-cbrt
14×add-exp-log
13×associate-*r*
12×unpow-prod-down
11×add-cbrt-cube add-log-exp
associate-/l*
pow1
expm1-log1p-u fma-neg div-exp prod-diff log1p-expm1-u unpow2 sqr-pow
fma-def associate-*r/ associate-*l* associate-/r* distribute-lft-out
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--
Counts
4 → 128
Calls
4 calls:
147.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
12.0ms
(+ y (/ (pow x 2) y))
8.0ms
(* z (/ z y))
5.0ms
(/ (pow x 2) y)

series122.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
29.0ms
(+ y (/ (pow x 2) y))
20.0ms
(* z (/ z y))
22.0ms
(/ (pow x 2) y)

simplify66.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0460760
11994676
25001670

prune358.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×associate-*r*
23×add-cube-cbrt *-un-lft-identity
20×times-frac
14×add-exp-log add-cbrt-cube
11×add-log-exp
pow1
associate-*l*
expm1-log1p-u associate-*r/ prod-exp cbrt-unprod log1p-expm1-u unswap-sqr
fma-def fma-neg prod-diff
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 → 108
Calls
4 calls:
15.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
2.0ms
(+ y (* x (/ x y)))
12.0ms
(* x (/ x y))
8.0ms
(* z (/ z y))

series117.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
34.0ms
(+ y (* x (/ x y)))
19.0ms
(* x (/ x y))
21.0ms
(* z (/ z y))

simplify73.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0471621
12270544
25002536

prune282.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

regimes100.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01914
11914

end0.0ms

sample763.0ms

Algorithm
intervals
Results
484.0ms13670×body80valid