Details

Time bar (total: 5.7s)

sample51.0ms

Algorithm
intervals
Results
20.0ms256×body80valid
15.0ms248×body80nan

simplify15.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: 21.3b

localize10.0ms

Local error

Found 3 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.4b
(+ (* x y) (* x z))
20.1b
(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))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series182.0ms

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

simplify135.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune202.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 21.2b

localize13.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (* x y) (* x z))
1.4b
(+ (* x y) (* x z))
20.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
20.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite35.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 fma-def sqrt-pow1 pow1/2 sum-log distribute-lft-out
Counts
4 → 64
Calls
4 calls:
3.0ms
(+ (* x y) (* x z))
3.0ms
(+ (* x y) (* x z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series313.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* x y) (* x z))
35.0ms
(+ (* x y) (* x z))
124.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
120.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify97.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0228510
1818472
23145464
35001464

prune324.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 21.2b

localize19.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (* x y) (* x z))
20.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
20.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
20.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite33.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 fma-def sqrt-pow1 pow1/2 sum-log distribute-lft-out
Counts
4 → 62
Calls
4 calls:
3.0ms
(+ (* x y) (* x z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
8.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series620.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* x y) (* x z))
118.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
232.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
234.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify102.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0302634
1971589
23530565
35001565

prune422.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 21.2b

localize22.0ms

Local error

Found 4 expressions with local error:

20.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
20.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
20.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
20.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 62
Calls
4 calls:
17.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series810.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
227.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
227.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
230.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify81.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0224748
1678695
22435662
35002658

prune427.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 21.2b

regimes321.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample1.4s

Algorithm
intervals
Results
565.0ms8000×body80valid
516.0ms8158×body80nan