Details

Time bar (total: 3.0s)

sample29.0ms

Algorithm
intervals
Results
15.0ms470×body80valid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.3b
(- (+ (* x x) (* y y)) (* z z))
25.5b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite55.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))
19.0ms
(- (+ (* x x) (* y y)) (* z z))
32.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series144.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
42.0ms
(- (+ (* x x) (* y y)) (* z z))
76.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0365571
11599486
25002469

prune179.0ms

Filtered
74 candidates to 57 candidates (77.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 10.1b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
10.1b
(/ (pow x 2) y)
10.2b
(/ (pow z 2) y)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
40×*-un-lft-identity
38×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
add-log-exp
pow1 expm1-log1p-u fma-def log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 119
Calls
3 calls:
11.0ms
(+ y (/ (pow x 2) y))
4.0ms
(/ (pow x 2) y)
4.0ms
(/ (pow z 2) y)

series63.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ y (/ (pow x 2) y))
17.0ms
(/ (pow x 2) y)
21.0ms
(/ (pow z 2) y)

simplify38.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0338574
11172513
25001507

prune339.0ms

Filtered
128 candidates to 85 candidates (66.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.3b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
107×*-un-lft-identity
105×add-sqr-sqrt add-cube-cbrt
54×unpow-prod-down
21×add-exp-log
18×sqr-pow
16×associate-/r*
15×associate-/l*
12×div-exp
10×add-cbrt-cube div-inv
add-log-exp
cbrt-undiv unpow2
pow1 expm1-log1p-u pow-to-exp fma-def pow-exp log1p-expm1-u
frac-2neg clear-num
+-commutative flip3-+ sum-log associate-/r/ flip-+ distribute-lft-out
Counts
3 → 200
Calls
3 calls:
12.0ms
(+ y (/ (pow x 2) y))
10.0ms
(/ (pow z (/ 2 2)) (/ y z))
4.0ms
(/ (pow x 2) y)

series67.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07291281
134121093
250021089

prune401.0ms

Filtered
209 candidates to 112 candidates (53.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
101×add-sqr-sqrt
96×add-cube-cbrt *-un-lft-identity
42×unpow-prod-down
21×add-exp-log
14×sqr-pow
13×associate-*r* associate-/r* add-cbrt-cube
10×div-exp div-inv
associate-/l*
pow1 add-log-exp
cbrt-undiv
expm1-log1p-u fma-def associate-*l* log1p-expm1-u
pow-to-exp pow-exp prod-exp cbrt-unprod unswap-sqr
+-commutative frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num sum-log associate-/r/ *-commutative flip-+
Counts
3 → 182
Calls
3 calls:
2.0ms
(+ y (* x (/ x y)))
7.0ms
(/ (pow z (/ 2 2)) (/ y z))
7.0ms
(* x (/ x y))

series64.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ y (* x (/ x y)))
18.0ms
(/ (pow z (/ 2 2)) (/ y z))
21.0ms
(* x (/ x y))

simplify108.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
07431170
13745988
25002985

prune345.0ms

Filtered
191 candidates to 102 candidates (53.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

regimes111.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1218
2218

end0.0ms

sample712.0ms

Algorithm
intervals
Results
439.0ms13708×body80valid