Details

Time bar (total: 2.2s)

sample22.0ms

Algorithm
intervals
Results
11.0ms396×body80valid

simplify287.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0166
1334
2564
3763
4883
51313
62363
73283
83433
94433
107973
1134993
1250013

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x y) (* z z)) (* z z))
0.0b
(+ (* x y) (* z z))
0.1b
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+
Counts
3 → 51
Calls
3 calls:
6.0ms
(+ (+ (* x y) (* z z)) (* z z))
4.0ms
(+ (* x y) (* z z))
9.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series127.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ (+ (* x y) (* z z)) (* z z))
34.0ms
(+ (* x y) (* z z))
48.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify132.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0235373
11084317
24667293
35001292

prune164.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 3 (pow z 2) (* x y))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma 3 (pow z 2) (* x y))

series36.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(fma 3 (pow z 2) (* x y))

simplify48.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02759
17252
224852
3103052
4500152

prune44.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
associate-*l* prod-exp
pow1 expm1-log1p-u log1p-expm1-u unpow2 sqr-pow
+-commutative pow-to-exp fma-def flip3-+ pow-exp sum-log *-commutative cbrt-unprod flip-+
Counts
2 → 43
Calls
2 calls:
4.0ms
(+ (* 3 (pow z 2)) (* x y))
5.0ms
(* 3 (pow z 2))

series57.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (* 3 (pow z 2)) (* x y))
23.0ms
(* 3 (pow z 2))

simplify148.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0194203
1764180
23811178
35001178

prune101.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* 3 (fabs z)) (sqrt (pow z 2))) (* x y))
0.2b
(* (* 3 (fabs z)) (sqrt (pow z 2)))
20.8b
(sqrt (pow z 2))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-prod
11×associate-*r*
10×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
unpow-prod-down
add-log-exp
rem-sqrt-square
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u unpow2 sqr-pow
+-commutative fma-def sqrt-pow1 flip3-+ pow1/2 associate-*l* sum-log *-commutative flip-+
Counts
3 → 65
Calls
3 calls:
7.0ms
(+ (* (* 3 (fabs z)) (sqrt (pow z 2))) (* x y))
7.0ms
(* (* 3 (fabs z)) (sqrt (pow z 2)))
3.0ms
(sqrt (pow z 2))

series89.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(+ (* (* 3 (fabs z)) (sqrt (pow z 2))) (* x y))
41.0ms
(* (* 3 (fabs z)) (sqrt (pow z 2)))
8.0ms
(sqrt (pow z 2))

simplify42.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0276406
11167350
25001319

prune195.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes133.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0167
1167

end0.0ms

sample517.0ms

Algorithm
intervals
Results
288.0ms12243×body80valid