Details

Time bar (total: 4.5s)

sample77.0ms

Algorithm
intervals
Results
33.0ms302×body80nan
26.0ms256×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.0b

localize11.0ms

Local error

Found 3 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (* x y) (* x z))
18.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div distribute-lft-out
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
3 → 51
Calls
3 calls:
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
3.0ms
(+ (* x y) (* x z))
16.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series187.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
41.0ms
(+ (* x y) (* x z))
122.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify145.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune209.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 19.9b

localize10.0ms

Local error

Found 2 expressions with local error:

0.8b
(fma x (+ y z) (* y z))
18.9b
(sqrt (fma x (+ y z) (* y z)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
2 → 25
Calls
2 calls:
4.0ms
(fma x (+ y z) (* y z))
1.0ms
(sqrt (fma x (+ y z) (* y z)))

series146.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(fma x (+ y z) (* y z))
123.0ms
(sqrt (fma x (+ y z) (* y z)))

simplify111.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0106164
1261147
2833144
34087141
45001141

prune124.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.9b

localize11.0ms

Local error

Found 3 expressions with local error:

0.8b
(fma x y (* x z))
1.0b
(+ (fma x y (* x z)) (* y z))
18.9b
(sqrt (+ (fma x y (* x z)) (* y z)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
pow1
add-exp-log expm1-log1p-u fma-def sqrt-prod add-cbrt-cube log1p-expm1-u
flip3-+ sqrt-div flip-+ fma-udef
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 sum-log
Counts
3 → 44
Calls
3 calls:
0.0ms
(fma x y (* x z))
2.0ms
(+ (fma x y (* x z)) (* y z))
3.0ms
(sqrt (+ (fma x y (* x z)) (* y z)))

series199.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(fma x y (* x z))
33.0ms
(+ (fma x y (* x z)) (* y z))
127.0ms
(sqrt (+ (fma x y (* x z)) (* y z)))

simplify99.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0187303
1662279
22639274
35001272

prune202.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 19.9b

localize18.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (fma x y (* x z)) (* y z))
1.0b
(+ (fma x y (* x z)) (* y z))
18.9b
(sqrt (+ (fma x y (* x z)) (* y z)))
18.9b
(sqrt (+ (fma x y (* x z)) (* y z)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
pow1 fma-def sqrt-prod
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 sum-log fma-udef
Counts
4 → 68
Calls
4 calls:
2.0ms
(+ (fma x y (* x z)) (* y z))
2.0ms
(+ (fma x y (* x z)) (* y z))
3.0ms
(sqrt (+ (fma x y (* x z)) (* y z)))
3.0ms
(sqrt (+ (fma x y (* x z)) (* y z)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (fma x y (* x z)) (* y z))
26.0ms
(+ (fma x y (* x z)) (* y z))
123.0ms
(sqrt (+ (fma x y (* x z)) (* y z)))
127.0ms
(sqrt (+ (fma x y (* x z)) (* y z)))

simplify87.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0177530
1563478
22209472
35002468

prune345.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 19.9b

regimes113.0ms

Accuracy

0% (0.1b remaining)

Error of 19.6b against oracle of 19.5b and baseline of 19.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample2.0s

Algorithm
intervals
Results
842.0ms8000×body80valid
802.0ms8035×body80nan