Details

Time bar (total: 5.4s)

sample61.0ms

Algorithm
intervals
Results
24.0ms256×body80valid
21.0ms263×body80nan

simplify12.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.5b

localize10.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)))

series171.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (+ (* x y) (* x z)) (* y z))
33.0ms
(+ (* x y) (* x z))
116.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify128.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune197.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 20.4b

localize12.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)))

series294.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* x y) (* x z))
33.0ms
(+ (* x y) (* x z))
113.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
115.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify98.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0228510
1818472
23145464
35001464

prune313.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.4b

localize19.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)))

rewrite80.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)))
2.0ms
(cbrt (+ (* x y) (* x z)))
59.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)))

series475.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(cbrt (+ (* x y) (* x z)))
124.0ms
(cbrt (+ (* x y) (* x z)))
115.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))
114.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify119.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0352898
11114594
23961576
35001576

prune402.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 20.4b

localize24.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)))

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

series463.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
116.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
119.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
113.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify71.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0150728
1524672
22049660
35001660

prune384.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 20.4b

regimes249.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 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample1.7s

Algorithm
intervals
Results
708.0ms8000×body80valid
668.0ms8114×body80nan