Details

Time bar (total: 3.9s)

sample30.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms228×body80nan

simplify14.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: 19.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(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:
2.0ms
(+ (* x y) (* x z))
12.0ms
(+ (+ (* x y) (* x z)) (* y z))
15.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series169.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune178.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 19.1b

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite54.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:
12.0ms
(+ (+ (* x y) (* x z)) (* y z))
12.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)))

series272.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune309.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 19.1b

localize13.0ms

Local error

Found 4 expressions with local error:

14.9b
(cbrt (+ (* x y) (* x z)))
14.9b
(cbrt (+ (* x y) (* x z)))
14.9b
(cbrt (+ (* x y) (* x z)))
18.0b
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
12×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 distribute-lft-out
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 65
Calls
4 calls:
2.0ms
(cbrt (+ (* x y) (* x z)))
2.0ms
(cbrt (+ (* x y) (* x z)))
2.0ms
(cbrt (+ (* x y) (* x z)))
57.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

series467.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(cbrt (+ (* x y) (* x z)))
122.0ms
(cbrt (+ (* x y) (* x z)))
118.0ms
(cbrt (+ (* x y) (* x z)))
113.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

simplify90.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0291860
1852801
22886780
35002765

prune307.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 19.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
31.2b
(cbrt (pow (sqrt (+ (+ (* x y) (* x z)) (* y z))) 3))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity add-log-exp
sqrt-prod
unpow-prod-down cube-prod
pow1 fma-def
add-exp-log expm1-log1p-u flip3-+ sqrt-div sum-log add-cbrt-cube flip-+ log1p-expm1-u
+-commutative cube-div cbrt-div distribute-lft-out
cube-mult rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 pow1/3 unpow3 rem-cbrt-cube sqr-pow
Counts
4 → 82
Calls
4 calls:
3.0ms
(+ (* x y) (* x z))
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
17.0ms
(cbrt (pow (sqrt (+ (+ (* x y) (* x z)) (* y z))) 3))

series269.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* x y) (* x z))
24.0ms
(+ (+ (* x y) (* x z)) (* y z))
106.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
108.0ms
(cbrt (pow (sqrt (+ (+ (* x y) (* x z)) (* y z))) 3))

simplify53.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0370717
11410670
25001654

prune247.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 19.0b

regimes167.0ms

Accuracy

0% (0.1b remaining)

Error of 19.7b against oracle of 19.6b and baseline of 19.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample849.0ms

Algorithm
intervals
Results
263.0ms8000×body80valid
250.0ms8062×body80nan