Details

Time bar (total: 3.2s)

sample47.0ms

Algorithm
intervals
Results
15.0ms232×body80nan
11.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
2.2b
(+ (+ (* x y) (* x z)) (* y z))
21.1b
(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))
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series47.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

prune80.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New44549
Fresh000
Picked011
Done000
Total44650

Merged error: 22.3b

Counts
50 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (+ (* x y) (* x z)) (* y z))
2.2b
(+ (+ (* x y) (* x z)) (* y z))
21.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
21.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite24.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))
8.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:
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
31.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
31.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify95.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0193582
1729538
23189532
35003532

prune93.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh134
Picked011
Done011
Total68674

Merged error: 22.3b

Counts
74 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (+ (* x y) (* x z)) (* y z))
21.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
21.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
21.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite23.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))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
5.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series213.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
52.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
101.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
53.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify104.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0265653
1904605
23752592
35001583

prune124.0ms

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

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New64266
Fresh033
Picked011
Done022
Total64872

Merged error: 22.3b

Counts
72 → 8

localize25.0ms

Local error

Found 4 expressions with local error:

21.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
21.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
21.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
21.6b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite22.0ms

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

series154.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
31.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
31.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
58.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify75.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0220691
1710660
22610655
35001646

prune112.0ms

Filtered
60 candidates to 70 candidates (-16.7%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New70070
Fresh044
Picked011
Done033
Total70878

Merged error: 22.3b

Counts
78 → 8

regimes443.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample1.3s

Algorithm
intervals
Results
363.0ms8000×body80valid
343.0ms7923×body80nan

Profiling

Loading profile data...