Details

Time bar (total: 6.7s)

sample103.0ms

Algorithm
intervals
Results
30.0ms77×body10240exit
20.0ms51×body1280valid
18.0ms348×body80valid
16.0ms51×body640valid
2.0ms15×body320valid
0.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 28.5b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
0.0b
(exp (* (- 1.0 eps) x))
0.0b
(exp (* (+ 1.0 eps) x))
0.5b
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

rewrite187.0ms

Algorithm
rewrite-expression-head
Rules
101×*-un-lft-identity
94×times-frac
81×add-sqr-sqrt
26×distribute-lft-out--
25×add-cube-cbrt
17×difference-of-squares
14×add-log-exp
add-cbrt-cube distribute-lft-out associate-/l*
add-exp-log
pow1 exp-to-pow
div-sub associate-/r* div-inv
exp-prod flip3-- diff-log flip-- rem-exp-log associate-/l/
cbrt-undiv sub-neg distribute-rgt-out-- frac-2neg div-exp clear-num sum-log frac-sub sub-div associate--r-
Counts
4 → 105
Calls
4 calls:
12.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
3.0ms
(exp (* (- 1.0 eps) x))
3.0ms
(exp (* (+ 1.0 eps) x))
164.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

series262.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
20.0ms
(exp (* (- 1.0 eps) x))
18.0ms
(exp (* (+ 1.0 eps) x))
177.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
05061621
114401536
250021520

prune342.0ms

Filtered
117 candidates to 85 candidates (72.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1143117
Fresh000
Picked101
Done000
Total1153118

Merged error: 0.6b

Counts
118 → 3

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (pow x 2) (- (* x 0.33333333333333337) 0.5))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
associate-*l*
add-exp-log
add-cube-cbrt unpow-prod-down *-un-lft-identity unswap-sqr
associate-*r* prod-exp add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ unpow2 sqr-pow
pow1 pow-to-exp flip3-- pow-exp *-commutative flip-- cbrt-unprod add-log-exp
Counts
1 → 33
Calls
1 calls:
8.0ms
(* (pow x 2) (- (* x 0.33333333333333337) 0.5))

series80.0ms

Counts
1 → 3
Calls
1 calls:
79.0ms
(* (pow x 2) (- (* x 0.33333333333333337) 0.5))

simplify164.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0158214
1638189
24553189
35001189

prune70.0ms

Filtered
36 candidates to 22 candidates (61.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New34236
Fresh022
Picked101
Done000
Total35439

Merged error: 0.6b

Counts
39 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (pow x 2)) (cbrt (pow x 2)))
29.2b
(cbrt (pow x 2))
29.2b
(cbrt (pow x 2))
29.2b
(cbrt (pow x 2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
96×cbrt-prod
52×add-sqr-sqrt
31×unpow-prod-down
25×unswap-sqr
22×add-cube-cbrt *-un-lft-identity
17×unpow2 sqr-pow
11×pow1 swap-sqr associate-*r* associate-*l*
pow1/3
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 124
Calls
4 calls:
10.0ms
(* (cbrt (pow x 2)) (cbrt (pow x 2)))
2.0ms
(cbrt (pow x 2))
2.0ms
(cbrt (pow x 2))
2.0ms
(cbrt (pow x 2))

series722.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(* (cbrt (pow x 2)) (cbrt (pow x 2)))
176.0ms
(cbrt (pow x 2))
172.0ms
(cbrt (pow x 2))
177.0ms
(cbrt (pow x 2))

simplify82.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0168785
1552648
22672604
35001600

prune313.0ms

Filtered
136 candidates to 83 candidates (61.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1342136
Fresh123
Picked101
Done000
Total1364140

Merged error: 0.6b

Counts
140 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

29.2b
(cbrt (pow x 2))
29.2b
(cbrt (pow x 2))
29.2b
(cbrt (pow x 2))
29.2b
(cbrt (pow x 2))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube unpow2 add-log-exp sqr-pow
Counts
4 → 64
Calls
4 calls:
2.0ms
(cbrt (pow x 2))
2.0ms
(cbrt (pow x 2))
2.0ms
(cbrt (pow x 2))
2.0ms
(cbrt (pow x 2))

series717.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt (pow x 2))
179.0ms
(cbrt (pow x 2))
183.0ms
(cbrt (pow x 2))
176.0ms
(cbrt (pow x 2))

simplify195.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
066296
1162260
2607244
33985244
45002244

prune247.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75176
Fresh033
Picked101
Done000
Total76480

Merged error: 0.6b

Counts
80 → 4

regimes92.0ms

Accuracy

96.2% (0.6b remaining)

Error of 1.1b against oracle of 0.5b and baseline of 16.3b

bsearch132.0ms

Steps
ItersRangePoint
9
0.08433677106829839
715934.3120435103
282.8047645330818

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04632
14632

end0.0ms

sample2.8s

Algorithm
intervals
Results
792.0ms1990×body10240exit
748.0ms1778×body1280valid
511.0ms9707×body80valid
304.0ms1274×body640valid
99.0ms630×body320valid
38.0ms379×body160valid