Details

Time bar (total: 5.3s)

sample34.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
7.0ms220×body80nan

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.8b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

1.0b
(+ (* x y) (* x z))
1.8b
(+ (+ (* x y) (* x z)) (* y z))
19.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
52×distribute-lft-out
45×associate-*l*
24×fma-def
20×add-sqr-sqrt
13×sqrt-prod
12×add-cube-cbrt
10×add-log-exp
associate-*r*
*-commutative
pow1 sum-log
add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+ distribute-rgt-out sqrt-div hypot-def unswap-sqr
rem-sqrt-square sqrt-pow1 pow1/2
Counts
3 → 101
Calls
3 calls:
19.0ms
(+ (* x y) (* x z))
25.0ms
(+ (+ (* x y) (* x z)) (* y z))
26.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series203.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(+ (* x y) (* x z))
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
133.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify177.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 3 (167.0ms)

IterNodesCost
0282511
1976462
24137454
35001453

prune215.0ms

Filtered
110 candidates to 69 candidates (37.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1037110
Fresh000
Picked011
Done000
Total1038111

Merged error: 18.7b

Counts
111 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
1.1b
(fma (* x (* (cbrt y) (cbrt y))) (cbrt y) (* x z))
1.8b
(+ (fma (* x (* (cbrt y) (cbrt y))) (cbrt y) (* x z)) (* y z))
19.6b
(sqrt (+ (fma (* x (* (cbrt y) (cbrt y))) (cbrt y) (* x z)) (* y z)))

rewrite19.0ms

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

series710.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(cbrt y)
177.0ms
(fma (* x (* (cbrt y) (cbrt y))) (cbrt y) (* x z))
91.0ms
(+ (fma (* x (* (cbrt y) (cbrt y))) (cbrt y) (* x z)) (* y z))
229.0ms
(sqrt (+ (fma (* x (* (cbrt y) (cbrt y))) (cbrt y) (* x z)) (* y z)))

simplify139.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0227654
1670601
22548562
35002543

prune490.0ms

Filtered
75 candidates to 62 candidates (17.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New73275
Fresh156
Picked011
Done011
Total74983

Merged error: 18.4b

Counts
83 → 9

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

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
140×*-un-lft-identity
88×distribute-lft-out
68×associate-*l*
26×sqrt-prod
24×add-sqr-sqrt fma-def
14×add-log-exp
12×add-cube-cbrt
pow1 sum-log
add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ sqrt-div associate-*r* *-commutative add-cbrt-cube flip-+ hypot-def log1p-expm1-u
rem-sqrt-square distribute-rgt-out sqrt-pow1 pow1/2 unswap-sqr
Counts
4 → 134
Calls
4 calls:
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
30.0ms
(+ (+ (* x y) (* x z)) (* y z))
26.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
26.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series312.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (+ (* x y) (* x z)) (* y z))
24.0ms
(+ (+ (* x y) (* x z)) (* y z))
132.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
130.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify148.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 3 (135.0ms)

IterNodesCost
0198842
1692754
23121740
35001738

prune323.0ms

Filtered
146 candidates to 82 candidates (43.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1451146
Fresh066
Picked101
Done022
Total1469155

Merged error: 18.4b

Counts
155 → 9

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

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
140×*-un-lft-identity
88×distribute-lft-out
68×associate-*l*
26×cbrt-prod
24×fma-def
14×add-log-exp
12×add-sqr-sqrt add-cube-cbrt
sum-log
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ cbrt-div flip3-+ associate-*r* *-commutative add-cbrt-cube flip-+ log1p-expm1-u
distribute-rgt-out pow1/3
Counts
4 → 126
Calls
4 calls:
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
28.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
24.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series550.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (+ (* x y) (* x z)) (* y z))
25.0ms
(+ (+ (* x y) (* x z)) (* y z))
254.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
247.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify135.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0206860
1642784
22804756
35001754

prune296.0ms

Filtered
138 candidates to 80 candidates (42.0%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1371138
Fresh156
Picked011
Done022
Total1389147

Merged error: 18.4b

Counts
147 → 9

regimes350.0ms

Accuracy

66.6% (0.6b remaining)

Error of 18.9b against oracle of 18.3b and baseline of 20.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02821
12821

end0.0ms

sample846.0ms

Algorithm
intervals
Results
268.0ms8000×body80valid
253.0ms8167×body80nan