Details

Time bar (total: 4.0s)

sample30.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
8.0ms243×body80nan

simplify16.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: 18.2b

localize15.0ms

Local error

Found 3 expressions with local error:

1.4b
(+ (+ (* x y) (* x z)) (* y z))
1.6b
(+ (* x y) (* x z))
17.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite31.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))
15.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series179.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune191.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 18.1b

localize10.0ms

Local error

Found 3 expressions with local error:

1.0b
(fma x z (* y z))
1.6b
(+ (* x y) (fma x z (* y z)))
17.2b
(sqrt (+ (* x y) (fma x z (* y z))))

rewrite9.0ms

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

series190.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(fma x z (* y z))
26.0ms
(+ (* x y) (fma x z (* y z)))
128.0ms
(sqrt (+ (* x y) (fma x z (* y z))))

simplify90.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0188299
1659276
22794273
35001273

prune179.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 18.1b

localize13.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (* x y) (fma x z (* y z)))
1.6b
(+ (* x y) (fma x z (* y z)))
17.2b
(sqrt (+ (* x y) (fma x z (* y z))))
17.2b
(sqrt (+ (* x y) (fma x z (* y z))))

rewrite20.0ms

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

series301.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* x y) (fma x z (* y z)))
25.0ms
(+ (* x y) (fma x z (* y z)))
125.0ms
(sqrt (+ (* x y) (fma x z (* y z))))
125.0ms
(sqrt (+ (* x y) (fma x z (* y z))))

simplify91.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0180522
1592476
22516470
35001470

prune318.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 18.1b

localize20.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (* x y) (fma x z (* y z)))
17.2b
(sqrt (+ (* x y) (fma x z (* y z))))
17.8b
(cbrt (+ (* x y) (fma x z (* y z))))
17.8b
(cbrt (+ (* x y) (fma x z (* y z))))

rewrite14.0ms

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

series626.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* x y) (fma x z (* y z)))
121.0ms
(sqrt (+ (* x y) (fma x z (* y z))))
243.0ms
(cbrt (+ (* x y) (fma x z (* y z))))
237.0ms
(cbrt (+ (* x y) (fma x z (* y z))))

simplify90.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0254590
1746545
22902524
35002524

prune385.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 18.1b

regimes189.0ms

Accuracy

0% (0.1b remaining)

Error of 20.0b against oracle of 20.0b and baseline of 20.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample854.0ms

Algorithm
intervals
Results
271.0ms8000×body80valid
253.0ms8093×body80nan