Details

Time bar (total: 3.2s)

sample47.0ms

Algorithm
intervals
Results
12.0ms286×body80nan
11.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

1.2b
(+ (* x y) (* x z))
1.8b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 40
Calls
3 calls:
3.0ms
(+ (* x y) (* x z))
5.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series43.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* x y) (* x z))
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
30.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify119.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

prune81.0ms

Filtered
38 candidates to 49 candidates (-28.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New43649
Fresh000
Picked011
Done000
Total43750

Merged error: 18.9b

Counts
50 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
4 → 56
Calls
4 calls:
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series76.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0193584
1723540
23165534
35001534

prune97.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh145
Picked011
Done011
Total68775

Merged error: 18.9b

Counts
75 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div flip3-+ add-cbrt-cube flip-+
sum-log sqrt-prod
pow1/3 sqrt-div
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
7.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
5.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
5.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series150.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
30.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
57.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
55.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify108.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0265653
1904605
23752592
35001583

prune108.0ms

Filtered
55 candidates to 66 candidates (-20.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh044
Picked011
Done022
Total66773

Merged error: 18.9b

Counts
73 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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 add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
21.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
5.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
5.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series194.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
54.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
55.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
53.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify156.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (138.0ms)

IterNodesCost
03662169
19672109
242152076
350011972

prune108.0ms

Filtered
69 candidates to 101 candidates (-46.4%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1010101
Fresh033
Picked011
Done033
Total1017108

Merged error: 18.9b

Counts
108 → 7

regimes406.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
361.0ms8000×body80valid
354.0ms8123×body80nan

Profiling

Loading profile data...