Details

Time bar (total: 3.7s)

sample28.0ms

Algorithm
intervals
Results
14.0ms422×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 27.7b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.3b
(fma x x (- (* y y) (* z z)))
4.4b
(- (* y y) (* z z))
25.7b
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
45×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×associate-/l*
add-exp-log add-cbrt-cube
div-inv add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u
sub-neg flip3-- frac-2neg fma-neg diff-log prod-diff clear-num flip-- fma-udef associate-/l/ difference-of-squares
Counts
3 → 99
Calls
3 calls:
1.0ms
(fma x x (- (* y y) (* z z)))
4.0ms
(- (* y y) (* z z))
8.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

series195.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(fma x x (- (* y y) (* z z)))
40.0ms
(- (* y y) (* z z))
104.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

simplify68.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04661096
118811029
250011026

prune337.0ms

Filtered
108 candidates to 87 candidates (80.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1017108
Fresh000
Picked101
Done000
Total1027109

Merged error: 14.4b

Counts
109 → 7

localize12.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)

rewrite67.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:
11.0ms
(+ y (/ (pow x 2) y))
31.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.0ms
(/ (pow z 2) y)
6.0ms
(/ (pow x 2) y)

series127.0ms

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

simplify141.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
09664460
132723145
250012950

prune470.0ms

Filtered
272 candidates to 118 candidates (43.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2666272
Fresh426
Picked101
Done000
Total2718279

Merged error: 3.0b

Counts
279 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
121×add-sqr-sqrt
110×times-frac
106×*-un-lft-identity
104×add-cube-cbrt
84×prod-diff
40×unpow-prod-down
14×add-exp-log unpow2 sqr-pow
13×associate-*r*
11×add-cbrt-cube add-log-exp
associate-/l*
pow1
div-inv difference-of-squares
expm1-log1p-u div-exp log1p-expm1-u
fma-def fma-neg associate-*l* associate-/r*
cbrt-undiv flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
+-commutative pow-to-exp sub-neg flip3-- frac-2neg associate-*r/ pow-prod-down pow-exp associate--l+ clear-num *-commutative flip-- distribute-lft-out--
Counts
4 → 212
Calls
4 calls:
8.0ms
(+ y (* x (/ x y)))
16.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
8.0ms
(* x (/ x y))
6.0ms
(/ (pow z 2) y)

series119.0ms

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

simplify140.0ms

Algorithm
egg-herbie
Counts
224 → 224
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
09943551
136672455
250012446

prune449.0ms

Filtered
224 candidates to 116 candidates (51.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2213224
Fresh347
Picked101
Done000
Total2257232

Merged error: 0.0b

Counts
232 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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:
3.0ms
(+ y (* x (/ x y)))
6.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
7.0ms
(* z (/ z y))
8.0ms
(* x (/ x y))

series122.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0471621
12270544
25002536

prune255.0ms

Filtered
120 candidates to 86 candidates (71.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1200120
Fresh066
Picked011
Done000
Total1207127

Merged error: 0.0b

Counts
127 → 7

regimes109.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 (1.0ms)

IterNodesCost
0157
1157

end0.0ms

sample796.0ms

Algorithm
intervals
Results
489.0ms13793×body80valid