Details

Time bar (total: 6.2s)

sample23.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
3.0ms256×pre80true

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
03317
112215
259813
3447513
4500113

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.1b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
0.0b
(+ (+ alpha beta) (* beta alpha))
0.1b
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
2.9b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
804×times-frac
587×*-un-lft-identity
341×add-sqr-sqrt add-cube-cbrt
123×distribute-lft-out
82×associate-/l*
54×associate-/r/
29×flip3-+ flip-+
27×div-inv
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp associate-/r*
add-log-exp
pow1 expm1-log1p-u fma-def log1p-expm1-u associate-/l/
frac-2neg clear-num sum-log
+-commutative associate-+l+
Counts
4 → 475
Calls
4 calls:
20.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
6.0ms
(+ (+ alpha beta) (* beta alpha))
41.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
14.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series415.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
17.0ms
(+ (+ alpha beta) (* beta alpha))
164.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
98.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify137.0ms

Algorithm
egg-herbie
Counts
487 → 487
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
0153413079
1500112129

prune1.1s

Filtered
487 candidates to 297 candidates (61.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4807487
Fresh101
Picked101
Done000
Total4827489

Merged error: 0.7b

Counts
489 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
0.1b
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
2.9b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))
2.9b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
210×times-frac
160×*-un-lft-identity
120×add-sqr-sqrt sqrt-prod
108×add-cube-cbrt
26×distribute-lft-out
20×associate-/r/
12×flip3-+ flip-+
10×div-inv
add-exp-log add-cbrt-cube associate-/l*
pow1 rem-sqrt-square associate-/r*
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num
Counts
4 → 224
Calls
4 calls:
21.0ms
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
24.0ms
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
15.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))
15.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series540.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
193.0ms
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
77.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))
80.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify95.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06444874
123804546
250014384

prune857.0ms

Filtered
236 candidates to 168 candidates (71.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2360236
Fresh066
Picked011
Done000
Total2367243

Merged error: 0.7b

Counts
243 → 7

localize23.0ms

Local error

Found 4 expressions with local error:

1.6b
(/ (* (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
3.1b
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
3.1b
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
3.1b
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
17×*-un-lft-identity
12×cbrt-prod
11×add-sqr-sqrt add-cube-cbrt
10×flip3-+ flip-+
add-exp-log
associate-/l/
add-cbrt-cube
times-frac associate-/r* sqrt-prod
pow1 expm1-log1p-u frac-times log1p-expm1-u add-log-exp
pow1/3 distribute-lft-out
cbrt-undiv sqrt-div associate-*r/ div-exp associate-*l/ associate-/r/
frac-2neg prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 87
Calls
4 calls:
26.0ms
(/ (* (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
7.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
7.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
7.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

series427.0ms

Counts
4 → 12
Calls
4 calls:
235.0ms
(/ (* (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
61.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
65.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
65.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05241497
117551376
250011341

prune501.0ms

Filtered
99 candidates to 87 candidates (87.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh055
Picked011
Done011
Total997106

Merged error: 0.7b

Counts
106 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ alpha beta) (* beta alpha))
0.0b
(* (+ beta (+ alpha (fma 1.0 2.0 1.0))) (fma 1.0 2.0 (+ alpha beta)))
1.2b
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (* (+ beta (+ alpha (fma 1.0 2.0 1.0))) (fma 1.0 2.0 (+ alpha beta))))
2.9b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
54×times-frac
34×add-sqr-sqrt
32×add-cube-cbrt
22×associate-/l*
20×add-exp-log add-cbrt-cube
14×distribute-lft-out
add-log-exp
associate-/r/
cbrt-undiv flip3-+ div-exp flip-+
pow1
associate-*l*
expm1-log1p-u fma-def associate-*l/ associate-/r* log1p-expm1-u div-inv
associate-*r* prod-exp sum-log cbrt-unprod associate-/l/
frac-2neg clear-num fma-udef
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in pow-prod-down *-commutative unswap-sqr
Counts
4 → 142
Calls
4 calls:
6.0ms
(+ (+ alpha beta) (* beta alpha))
8.0ms
(* (+ beta (+ alpha (fma 1.0 2.0 1.0))) (fma 1.0 2.0 (+ alpha beta)))
21.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (* (+ beta (+ alpha (fma 1.0 2.0 1.0))) (fma 1.0 2.0 (+ alpha beta))))
14.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series313.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ (+ alpha beta) (* beta alpha))
42.0ms
(* (+ beta (+ alpha (fma 1.0 2.0 1.0))) (fma 1.0 2.0 (+ alpha beta)))
179.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (* (+ beta (+ alpha (fma 1.0 2.0 1.0))) (fma 1.0 2.0 (+ alpha beta))))
77.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify103.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07082094
137541752
250011749

prune449.0ms

Filtered
154 candidates to 113 candidates (73.4%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1531154
Fresh134
Picked011
Done022
Total1547161

Merged error: 0.7b

Counts
161 → 7

regimes77.0ms

Accuracy

40.6% (1.6b remaining)

Error of 2.8b against oracle of 1.2b and baseline of 3.9b

bsearch52.0ms

Steps
ItersRangePoint
6
4.909214320538352e+91
3.7507584931071266e+92
7.929088531646719e+91

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04446
14446

end0.0ms

sample535.0ms

Algorithm
intervals
Results
299.0ms8000×body80valid
96.0ms8000×pre80true