Details

Time bar (total: 4.8s)

sample30.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms243×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
19.3b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite19.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:
4.0ms
(+ (* x y) (* x z))
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
6.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series176.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (* x y) (* x z))
27.0ms
(+ (+ (* x y) (* x z)) (* y z))
115.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

prune189.0ms

Filtered
60 candidates to 48 candidates (80.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New54660
Fresh000
Picked011
Done000
Total54761

Merged error: 20.3b

Counts
61 → 7

localize13.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))
19.3b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.3b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite28.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:
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
6.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
6.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series282.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune313.0ms

Filtered
84 candidates to 68 candidates (81.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh055
Picked011
Done011
Total84791

Merged error: 20.3b

Counts
91 → 7

localize14.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))
19.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite26.0ms

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

series510.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
22.0ms
(+ (+ (* x y) (* x z)) (* y z))
231.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
234.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify102.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0208636
1684580
22983550
35001548

prune340.0ms

Filtered
80 candidates to 70 candidates (87.5%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New79180
Fresh134
Picked011
Done022
Total80787

Merged error: 20.3b

Counts
87 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

19.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite24.0ms

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

series926.0ms

Counts
4 → 12
Calls
4 calls:
228.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
228.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
238.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
232.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify70.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0158756
1503704
21925664
35001660

prune387.0ms

Filtered
72 candidates to 72 candidates (100.0%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New72072
Fresh033
Picked011
Done033
Total72779

Merged error: 20.3b

Counts
79 → 7

regimes246.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample819.0ms

Algorithm
intervals
Results
253.0ms8000×body80valid
244.0ms7885×body80nan