Details

Time bar (total: 3.3s)

sample30.0ms

Algorithm
intervals
Results
12.0ms405×body80valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 26.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
3.0b
(- (+ (* x x) (* y y)) (* z z))
24.3b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite128.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:
7.0ms
(+ (* x x) (* y y))
44.0ms
(- (+ (* x x) (* y y)) (* z z))
75.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series151.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* x x) (* y y))
44.0ms
(- (+ (* x x) (* y y)) (* z z))
81.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0365571
11599486
25002469

prune172.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 6.6b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.4b
(/ (pow x 2) y)
9.8b
(/ (pow z 2) y)

rewrite224.0ms

Algorithm
rewrite-expression-head
Rules
189×*-un-lft-identity
148×times-frac
138×add-sqr-sqrt
126×add-cube-cbrt
112×prod-diff
61×unpow-prod-down
30×distribute-lft-out
21×unpow2 sqr-pow
16×associate-/l*
13×add-exp-log
add-log-exp
add-cbrt-cube
div-exp associate-/r* div-inv
difference-of-squares
fma-neg
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg diff-log pow-exp clear-num frac-sub distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 243
Calls
3 calls:
192.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
8.0ms
(/ (pow x 2) y)
8.0ms
(/ (pow z 2) y)

series80.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
19.0ms
(/ (pow x 2) y)
20.0ms
(/ (pow z 2) y)

simplify106.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
09574380
132313066
250022874

prune354.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
0.1b
(* z (/ z y))
5.4b
(/ (pow x 2) y)

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
34×*-un-lft-identity times-frac
30×add-cube-cbrt
13×add-exp-log associate-*r*
12×unpow-prod-down
10×add-cbrt-cube
associate-/l* add-log-exp
pow1
fma-neg div-exp prod-diff unpow2 sqr-pow
expm1-log1p-u associate-*r/ associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv diff-log prod-exp frac-sub cbrt-unprod div-inv distribute-lft-out unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg flip3-+ pow-prod-down pow-exp associate--l+ clear-num sum-log *-commutative flip-- flip-+
Counts
3 → 111
Calls
3 calls:
173.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
13.0ms
(* z (/ z y))
8.0ms
(/ (pow x 2) y)

series82.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
19.0ms
(* z (/ z y))
20.0ms
(/ (pow x 2) y)

simplify61.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0451667
11889597
25002591

prune258.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
26×associate-*r*
21×add-cube-cbrt *-un-lft-identity
20×times-frac
13×add-exp-log add-cbrt-cube
add-log-exp
pow1
associate-*l*
associate-*r/ prod-exp cbrt-unprod unswap-sqr
expm1-log1p-u fma-neg prod-diff log1p-expm1-u
cbrt-undiv diff-log div-exp pow-prod-down *-commutative frac-sub div-inv
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 92
Calls
3 calls:
33.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
13.0ms
(* z (/ z y))
13.0ms
(* x (/ x y))

series82.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
19.0ms
(* z (/ z y))
19.0ms
(* x (/ x y))

simplify62.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0462544
12217475
25001468

prune203.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes57.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1208
2208

end0.0ms

sample813.0ms

Algorithm
intervals
Results
441.0ms13645×body80valid