Details

Time bar (total: 5.0s)

sample33.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
9.0ms263×body80nan

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.5b

localize12.0ms

Local error

Found 3 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (* x y) (* x z))
19.4b
(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)))

series194.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (+ (* x y) (* x z)) (* y z))
36.0ms
(+ (* x y) (* x z))
132.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify161.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (154.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune220.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 20.4b

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (* x y) (* x z))
1.0b
(+ (* x y) (* x z))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(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)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (* x y) (* x z))
37.0ms
(+ (* x y) (* x z))
132.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
126.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify120.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0228510
1818472
23145464
35001464

prune337.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.4b

localize26.0ms

Local error

Found 4 expressions with local error:

15.0b
(cbrt (+ (* x y) (* x z)))
15.0b
(cbrt (+ (* x y) (* x z)))
19.4b
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
cbrt-prod add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log expm1-log1p-u cbrt-div flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3 distribute-lft-out
Counts
4 → 66
Calls
4 calls:
2.0ms
(cbrt (+ (* x y) (* x z)))
3.0ms
(cbrt (+ (* x y) (* x z)))
61.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series530.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(cbrt (+ (* x y) (* x z)))
135.0ms
(cbrt (+ (* x y) (* x z)))
130.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))
128.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify147.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0352898
11114594
23961576
35001576

prune431.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 20.4b

localize21.0ms

Local error

Found 4 expressions with local error:

19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite63.0ms

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

series506.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0150724
1524668
22049656
35001656

prune394.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 20.4b

regimes259.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1177

end0.0ms

sample902.0ms

Algorithm
intervals
Results
284.0ms8000×body80valid
275.0ms8114×body80nan