Details

Time bar (total: 6.2s)

sample43.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
10.0ms234×body80nan

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune4.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: 16.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (* x z))
0.6b
(+ (+ (* x y) (* x z)) (* y z))
15.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite87.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:
16.0ms
(+ (* x y) (* x z))
30.0ms
(+ (+ (* x y) (* x z)) (* y z))
36.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series220.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ (* x y) (* x z))
35.0ms
(+ (+ (* x y) (* x z)) (* y z))
143.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify160.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 3 (151.0ms)

IterNodesCost
0291511
11033462
24363453
35001452

prune260.0ms

Filtered
110 candidates to 69 candidates (62.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1037110
Fresh000
Picked011
Done000
Total1038111

Merged error: 15.6b

Counts
111 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (+ (* x y) (* x z)) (* y z))
0.6b
(+ (+ (* x y) (* x z)) (* y z))
15.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
15.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite107.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:
25.0ms
(+ (+ (* x y) (* x z)) (* y z))
24.0ms
(+ (+ (* x y) (* x z)) (* y z))
28.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
24.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series272.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0203842
1732754
23298738
35001736

prune394.0ms

Filtered
146 candidates to 82 candidates (56.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1442146
Fresh156
Picked011
Done011
Total1459154

Merged error: 15.6b

Counts
154 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

11.6b
(cbrt (+ (* x y) (* x z)))
11.6b
(cbrt (+ (* x y) (* x z)))
15.6b
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))
15.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
34×distribute-lft-out
29×associate-*l*
24×cbrt-prod
19×add-sqr-sqrt
16×sqrt-prod
12×add-cube-cbrt
pow1
add-exp-log expm1-log1p-u cbrt-div associate-*r* *-commutative add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ flip-+
rem-sqrt-square distribute-rgt-out sqrt-pow1 pow1/2 pow1/3 sqrt-div hypot-def
unswap-sqr
Counts
4 → 92
Calls
4 calls:
13.0ms
(cbrt (+ (* x y) (* x z)))
13.0ms
(cbrt (+ (* x y) (* x z)))
2.0ms
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))
28.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series756.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(cbrt (+ (* x y) (* x z)))
130.0ms
(cbrt (+ (* x y) (* x z)))
390.0ms
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))
114.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify67.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05051038
11805980
25001777

prune429.0ms

Filtered
104 candidates to 74 candidates (71.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1022104
Fresh246
Picked011
Done112
Total1058113

Merged error: 15.6b

Counts
113 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
15.6b
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

rewrite164.0ms

Algorithm
rewrite-expression-head
Rules
372×add-sqr-sqrt
205×unswap-sqr
107×cbrt-prod
76×fma-def
57×associate-*l*
56×hypot-def
47×*-un-lft-identity
27×associate-*r*
24×swap-sqr
21×add-cube-cbrt
13×distribute-lft-out
12×*-commutative
sqrt-prod
distribute-rgt-in associate-+l+ distribute-lft-in
add-log-exp
pow1 +-commutative
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
flip3-+ pow1/3 sqrt-div flip-+
rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 208
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
71.0ms
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
71.0ms
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

series579.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt x)
188.0ms
(cbrt x)
60.0ms
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
145.0ms
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

simplify228.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 3 (213.0ms)

IterNodesCost
0298731
11006654
24950586
35001583

prune681.0ms

Filtered
220 candidates to 165 candidates (75.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2146220
Fresh235
Picked101
Done022
Total21711228

Merged error: 10.2b

Counts
228 → 11

regimes648.0ms

Accuracy

50.2% (3.6b remaining)

Error of 15.7b against oracle of 12.2b and baseline of 19.3b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03624
13624

end0.0ms

sample818.0ms

Algorithm
intervals
Results
252.0ms8000×body80valid
241.0ms7991×body80nan