Details

Time bar (total: 4.8s)

sample37.0ms

Algorithm
intervals
Results
11.0ms266×body80nan
7.0ms256×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.4b

localize11.0ms

Local error

Found 3 expressions with local error:

0.4b
(+ (* x y) (* x z))
1.4b
(+ (+ (* x y) (* x z)) (* y z))
18.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite75.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:
8.0ms
(+ (* x y) (* x z))
35.0ms
(+ (+ (* x y) (* x z)) (* y z))
32.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series151.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* x y) (* x z))
19.0ms
(+ (+ (* x y) (* x z)) (* y z))
100.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify129.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune173.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 19.3b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
10×add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log 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 distribute-lft-out
Counts
4 → 72
Calls
4 calls:
31.0ms
(+ (+ (* x y) (* x z)) (* y z))
33.0ms
(+ (+ (* x y) (* x z)) (* y z))
31.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
34.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series238.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (+ (* x y) (* x z)) (* y z))
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
98.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
98.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify105.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune308.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 19.3b

localize20.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (+ (* x y) (* x z)) (* y z))
18.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite102.0ms

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

series515.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (+ (* x y) (* x z)) (* y z))
102.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
199.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
195.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify114.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0274687
1888627
23686599
35001598

prune389.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 19.3b

localize22.0ms

Local error

Found 4 expressions with local error:

18.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite117.0ms

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

series495.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
99.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
100.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
196.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify79.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0224732
1678677
22435658
35002654

prune403.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 19.3b

regimes193.0ms

Accuracy

0% (0.1b remaining)

Error of 19.8b against oracle of 19.8b and baseline of 19.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample938.0ms

Algorithm
intervals
Results
244.0ms8000×body80valid
236.0ms8086×body80nan