Details

Time bar (total: 6.9s)

sample31.0ms

Algorithm
intervals
Results
7.0ms188×body80valid
5.0ms256×pre80true
4.0ms22×body1280valid
4.0ms25×body640valid
1.0ms14×body320valid
0.0msbody160valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0206
1346
2526
3736
41236
51846
62506
72876
83496
94376
105746
116546
127126
137856
1410756
1511506
1611936
1712136
1812216
1912216

prune2.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.1b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
2.1b
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
104×*-un-lft-identity
50×times-frac
47×add-sqr-sqrt
34×distribute-lft-out
31×fma-def
25×add-cube-cbrt
11×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log associate-/r/ add-cbrt-cube add-log-exp
flip3-+ flip-+
pow1 expm1-log1p-u div-sub log1p-expm1-u div-inv associate-/l/
cbrt-undiv +-commutative associate-+l- flip3-- frac-2neg div-exp clear-num sum-log flip--
Counts
2 → 100
Calls
2 calls:
10.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
20.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series113.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
62.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

simplify38.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0335555
11087529
25002525

prune191.0ms

Filtered
106 candidates to 68 candidates (64.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9412106
Fresh000
Picked101
Done000
Total9512107

Merged error: 15.2b

Counts
107 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)
0.0b
(/ alpha (+ (+ alpha beta) 2.0))
0.0b
(/ beta (+ (+ alpha beta) 2.0))
2.1b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
215×*-un-lft-identity
118×add-sqr-sqrt
116×times-frac
93×add-cube-cbrt
63×prod-diff
60×distribute-lft-out
21×fma-neg
13×associate-/r* associate-/l* distribute-lft-out--
12×associate-/r/
10×add-exp-log add-cbrt-cube difference-of-squares
div-inv
flip3-+ flip-+ add-log-exp
pow1 expm1-log1p-u log1p-expm1-u associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip--
frac-sub
sub-neg diff-log div-sub
Counts
4 → 229
Calls
4 calls:
40.0ms
(/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
16.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series243.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)
50.0ms
(/ alpha (+ (+ alpha beta) 2.0))
45.0ms
(/ beta (+ (+ alpha beta) 2.0))
80.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify83.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07142537
125332035
250012004

prune389.0ms

Filtered
241 candidates to 137 candidates (56.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2338241
Fresh9211
Picked101
Done000
Total24310253

Merged error: 3.6b

Counts
253 → 10

localize32.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
0.1b
(pow (/ alpha (+ (+ alpha beta) 2.0)) 3)
0.1b
(/ (- (* beta (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))) (* (+ (+ alpha beta) 2.0) (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)))) (* (* 2.0 (+ (+ alpha beta) 2.0)) (fma (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)) (fma 1.0 1.0 (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))))
2.1b
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

rewrite222.0ms

Algorithm
rewrite-expression-head
Rules
1026×*-un-lft-identity
576×prod-diff
531×times-frac
522×add-sqr-sqrt
464×add-cube-cbrt
456×unpow-prod-down cube-prod
324×distribute-lft-out
99×associate-*r/
89×flip3-+ flip-+
72×sqr-pow
66×associate-/r/ associate-/l/
64×frac-sub
62×cube-mult unpow3
49×frac-times
48×fma-neg frac-add
39×swap-sqr
35×associate-*l/
33×div-inv
28×add-exp-log add-cbrt-cube
26×flip3-- flip--
24×difference-of-squares
21×associate-*r* associate-*l*
12×pow1
cbrt-undiv div-exp
prod-exp cbrt-unprod
add-log-exp
distribute-lft-out--
expm1-log1p-u log1p-expm1-u unswap-sqr
pow-unpow associate-/l*
pow-exp rem-cube-cbrt
difference-cubes cube-div pow2 pow-to-exp sub-neg pow-pow frac-2neg pow-plus diff-log div-sub pow-prod-down clear-num associate-/r* pow-sqr *-commutative pow-prod-up
Counts
4 → 937
Calls
4 calls:
24.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
10.0ms
(pow (/ alpha (+ (+ alpha beta) 2.0)) 3)
44.0ms
(/ (- (* beta (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))) (* (+ (+ alpha beta) 2.0) (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)))) (* (* 2.0 (+ (+ alpha beta) 2.0)) (fma (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)) (fma 1.0 1.0 (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))))
52.0ms
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

series805.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
69.0ms
(pow (/ alpha (+ (+ alpha beta) 2.0)) 3)
563.0ms
(/ (- (* beta (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))) (* (+ (+ alpha beta) 2.0) (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)))) (* (* 2.0 (+ (+ alpha beta) 2.0)) (fma (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)) (fma 1.0 1.0 (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))))
109.0ms
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

simplify242.0ms

Algorithm
egg-herbie
Counts
949 → 949
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0226417916
1500115106

prune1.6s

Filtered
949 candidates to 235 candidates (24.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9463949
Fresh099
Picked101
Done000
Total94712959

Merged error: 3.6b

Counts
959 → 12

localize40.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt alpha)
0.6b
(cbrt alpha)
0.6b
(cbrt alpha)
2.1b
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
798×*-un-lft-identity
576×prod-diff
444×add-sqr-sqrt
435×unpow-prod-down cube-prod
398×add-cube-cbrt times-frac
234×distribute-lft-out
71×sqr-pow
61×cube-mult unpow3
52×associate-/r/
48×fma-neg
26×flip3-+ flip-+ div-inv
24×difference-of-squares
cbrt-prod
add-log-exp
distribute-lft-out--
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow1/3
difference-cubes sub-neg flip3-- diff-log flip--
Counts
4 → 707
Calls
4 calls:
1.0ms
(cbrt alpha)
1.0ms
(cbrt alpha)
1.0ms
(cbrt alpha)
55.0ms
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

series648.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt alpha)
177.0ms
(cbrt alpha)
183.0ms
(cbrt alpha)
110.0ms
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

simplify251.0ms

Algorithm
egg-herbie
Counts
719 → 719
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
0100111937
132358328
250018310

prune677.0ms

Filtered
719 candidates to 101 candidates (14.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New7190719
Fresh01111
Picked011
Done000
Total71912731

Merged error: 3.6b

Counts
731 → 12

regimes144.0ms

Accuracy

73.8% (3.2b remaining)

Error of 6.4b against oracle of 3.1b and baseline of 15.5b

bsearch45.0ms

Steps
ItersRangePoint
7
20637641668174496.0
1.196592586218352e+18
6.909964380351935e+16

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03725
13725

end0.0ms

sample819.0ms

Algorithm
intervals
Results
218.0ms5872×body80valid
156.0ms839×body1280valid
133.0ms8000×pre80true
104.0ms714×body640valid
39.0ms367×body320valid
17.0ms208×body160valid