Details

Time bar (total: 7.7s)

sample46.0ms

Algorithm
intervals
Results
16.0ms256×body80valid
14.0ms226×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.7b

localize13.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.7b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite30.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:
3.0ms
(+ (* x y) (* x z))
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series39.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune507.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 18.7b

localize12.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.7b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
17.7b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

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

series62.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune956.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 18.7b

localize19.0ms

Local error

Found 4 expressions with local error:

17.7b
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
18.3b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.3b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.3b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 97
Calls
4 calls:
79.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
8.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series403.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
57.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
261.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
57.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify134.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
03722234
19192168
234402120
350012099

prune1.6s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 18.7b

localize21.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.7b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.3b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite50.0ms

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

series99.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
25.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
57.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify123.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0274627
1888559
23686536
35001534

prune978.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 18.7b

regimes765.0ms

Accuracy

0% (0.1b remaining)

Error of 19.5b against oracle of 19.5b and baseline of 19.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample1.3s

Algorithm
intervals
Results
493.0ms8189×body80nan
489.0ms8000×body80valid