Details

Time bar (total: 4.2s)

sample24.0ms

Algorithm
intervals
Results
5.0ms188×body80valid
3.0ms256×pre80true
3.0ms26×body1280valid
3.0ms28×body640valid
1.0ms12×body320valid
0.0msbody160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0206
1346
2526
3736
41236
51726
62246
72616
83236
94116
105326
116126
126546
136976
149226
159806
1610076
1710276
1810356
1910356

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
26×add-sqr-sqrt
25×times-frac
19×distribute-lft-out
14×add-cube-cbrt
distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-+ div-sub associate-/r/ flip-+ associate-/l/
cbrt-undiv +-commutative associate-+l- flip3-- frac-2neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 65
Calls
2 calls:
25.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
87.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series107.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0320535
11022510
25001502

prune148.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 15.6b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite369.0ms

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
34×add-sqr-sqrt
32×times-frac
24×add-cube-cbrt distribute-lft-out
11×add-log-exp
10×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 diff-log associate-/r/ distribute-lft-out-- difference-of-squares
sub-neg flip3-- flip--
cbrt-undiv frac-2neg flip3-+ div-exp clear-num frac-sub flip-+ div-inv associate--r+
associate--r-
Counts
4 → 111
Calls
4 calls:
19.0ms
(/ beta (+ (+ alpha beta) 2.0))
227.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
20.0ms
(/ alpha (+ (+ alpha beta) 2.0))
98.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series239.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ beta (+ (+ alpha beta) 2.0))
64.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
45.0ms
(/ alpha (+ (+ alpha beta) 2.0))
78.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify47.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0450903
11596871
25002859

prune288.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.8b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
0.0b
(/ alpha (+ (+ alpha beta) 2.0))
0.9b
(log (exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))
0.9b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite519.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
32×add-sqr-sqrt
18×times-frac
17×add-cube-cbrt
12×exp-prod distribute-lft-out
add-log-exp
log-pow
add-exp-log add-cbrt-cube difference-of-squares
pow1 log-prod associate-/r*
exp-sum
sub-neg associate-/l* distribute-lft-out--
exp-diff diff-log associate-/r/ rem-exp-log
cbrt-undiv log-div flip3-- frac-2neg flip3-+ div-exp rem-log-exp clear-num flip-- flip-+ div-inv
Counts
4 → 91
Calls
4 calls:
188.0ms
(exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
18.0ms
(/ alpha (+ (+ alpha beta) 2.0))
211.0ms
(log (exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))
99.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series270.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
44.0ms
(/ alpha (+ (+ alpha beta) 2.0))
77.0ms
(log (exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))
76.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify141.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0325652
11064606
24504591
35001591

prune263.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 2.8b

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (+ (+ alpha beta) 2.0))
0.7b
(cbrt (+ (+ alpha beta) 2.0))
0.7b
(cbrt (+ (+ alpha beta) 2.0))
0.9b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
15×cbrt-prod
12×add-sqr-sqrt
distribute-lft-out
add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+
difference-of-squares
sub-neg flip3-- times-frac diff-log flip-- distribute-lft-out--
Counts
4 → 60
Calls
4 calls:
9.0ms
(cbrt (+ (+ alpha beta) 2.0))
8.0ms
(cbrt (+ (+ alpha beta) 2.0))
9.0ms
(cbrt (+ (+ alpha beta) 2.0))
99.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series372.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(cbrt (+ (+ alpha beta) 2.0))
98.0ms
(cbrt (+ (+ alpha beta) 2.0))
98.0ms
(cbrt (+ (+ alpha beta) 2.0))
77.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify69.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0278567
1708537
22658521
35001512

prune256.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 2.8b

regimes116.0ms

Accuracy

98% (0.3b remaining)

Error of 3.2b against oracle of 3.0b and baseline of 16.3b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03528
13528

end0.0ms

sample589.0ms

Algorithm
intervals
Results
140.0ms5765×body80valid
106.0ms855×body1280valid
91.0ms8000×pre80true
68.0ms733×body640valid
30.0ms436×body320valid
13.0ms211×body160valid